Registry / storage / oci-lustrefilestorage

oci-lustrefilestorage

JSON →
library2.132.0jsnpmunverified

The official Oracle Cloud Infrastructure SDK client for the Lustre File Storage Service (version 2.132.0). This package enables management of Lustre file system resources, including creation, update, deletion, and listing of file systems and associated resources. Part of the larger OCI TypeScript SDK, it is updated frequently alongside other OCI services, usually weekly. Key differentiators include native TypeScript support, direct integration with OCI IAM for authentication, and comprehensive coverage of the Lustre File Storage API.

npm install oci-lustrefilestorage
INSTALL
IMPORT
SIG · OCI-LUSTREFILESTOR
O
oci-lustrefilestorage
storagejavascriptv2.132.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LustreFileStorageClient
import { LustreFileStorageClient } from 'oci-lustrefilestorage'
const LustreFileStorageClient = require('oci-lustrefilestorage')
This package is ESM and TypeScript-friendly. Use named import.
CreateFileSystemRequest
import { CreateFileSystemRequest } from 'oci-lustrefilestorage'
import CreateFileSystemRequest from 'oci-lustrefilestorage'
Models are also named exports.

Creates an OCI Lustre file system using ConfigFileAuthenticationDetailsProvider, demonstrating client instantiation and request execution.

import { LustreFileStorageClient } from 'oci-lustrefilestorage'; import { common, models } from 'oci-common'; const provider = new common.ConfigFileAuthenticationDetailsProvider(); const client = new LustreFileStorageClient({ authenticationDetailsProvider: provider }); async function createFileSystem() { const request = { createFileSystemDetails: { displayName: 'my-fs', compartmentId: process.env.COMPARTMENT_ID ?? '', availabilityDomain: 'AD-1' } }; const response = await client.createFileSystem(request); console.log('Created file system:', response.fileSystem.id); } createFileSystem().catch(console.error);
Debug
Known issues
breakingIn v2.0.0, the package was renamed from oci-lustrefilestorage to the current name. Old imports no longer work.
fix
Update import to 'oci-lustrefilestorage' and change import paths.
affects: >=1.0.0 <2.0.0
deprecatedUse of 'Provider' authentication (deprecated in favor of ConfigFileAuthenticationDetailsProvider) will be removed in future versions.
fix
Replace new Provider() with new ConfigFileAuthenticationDetailsProvider() from oci-common.
affects: >=2.0.0
gotchaAll API calls require an appropriate OCI policy grant or they will fail with Forbidden error.
fix
Ensure IAM policies grant necessary permissions for Lustre File Storage API operations.
affects: >=1.0.0
gotchaThe 'oci-common' module is a peer dependency and must be explicitly installed.
fix
Run: npm install oci-common
affects: >=2.0.0
Errors
Common errors & fixes
Error: Cannot find module 'oci-common'
Missing peer dependency oci-common
fix
npm install oci-common
TypeError: provider.setService is not a function
Using deprecated authentication provider API
fix
Use ConfigFileAuthenticationDetailsProvider instead of Provider.
Upgrade
Version history
2.132.0latest on npm
Audit
Dependencies
oci-commonrequiredProvides common OCI SDK utilities, credential handling, and HTTP client
Agent activity
20 hits · last 30 days
node
18
Amazon
1
OpenAI (training)
1
Resources
oci-lustrefilestorage — npm install oci-lustrefilestorage · libregistry