import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Object Storage Link resource in Oracle Cloud Infrastructure Lustre File Storage service. * * Creates an Object Storage link. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testObjectStorageLink = new oci.lustre.FileStorageObjectStorageLink("test_object_storage_link", { * availabilityDomain: objectStorageLinkAvailabilityDomain, * compartmentId: compartmentId, * fileSystemPath: objectStorageLinkFileSystemPath, * isOverwrite: objectStorageLinkIsOverwrite === "true", * lustreFileSystemId: testLustreFileSystem.id, * objectStoragePrefix: objectStorageLinkObjectStoragePrefix, * definedTags: { * "Operations.CostCenter": "42", * }, * displayName: objectStorageLinkDisplayName, * freeformTags: { * Department: "Finance", * }, * }); * ``` * * ## Import * * ObjectStorageLinks can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Lustre/fileStorageObjectStorageLink:FileStorageObjectStorageLink test_object_storage_link "id" * ``` */ export declare class FileStorageObjectStorageLink extends pulumi.CustomResource { /** * Get an existing FileStorageObjectStorageLink resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: FileStorageObjectStorageLinkState, opts?: pulumi.CustomResourceOptions): FileStorageObjectStorageLink; /** * Returns true if the given object is an instance of FileStorageObjectStorageLink. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is FileStorageObjectStorageLink; /** * The availability domain that the Lustre file system is in. May be unset as a blank or NULL value. Example: `Uocm:PHX-AD-1` */ readonly availabilityDomain: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Object Storage link. */ readonly compartmentId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of currently running sync job. If no sync job is running, then this will be empty. */ readonly currentJobId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `My Object Storage Link` */ readonly displayName: pulumi.Output; /** * The path in the Lustre file system used for this Object Storage link. Example: `myFileSystem/mount/myDirectory` */ readonly fileSystemPath: pulumi.Output; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) The flag is an identifier to tell whether the job run has overwrite enabled. If `isOverwrite` is false, the file to be imported or exported will be skipped if it already exists. If `isOverwrite` is true, the file to be imported or exported will be overwritten if it already exists. */ readonly isOverwrite: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of last succeeded sync job. If no sync job has previously run, then this will be empty. */ readonly lastJobId: pulumi.Output; /** * A message that describes the current state of the Object Storage link in more detail. For example, can be used to provide actionable information for a resource in the Failed state. */ readonly lifecycleDetails: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated Lustre file system. */ readonly lustreFileSystemId: pulumi.Output; /** * The Object Storage namespace and bucket name, including optional object prefix string, to use as the source for imports or destination for exports. Example: `objectStorageNamespace:/bucketName/optionalFolder/optionalPrefix` */ readonly objectStoragePrefix: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Start Export To Object. Could be set to any integer value. */ readonly startExportToObjectTrigger: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Start Import From Object. Could be set to any integer value. */ readonly startImportFromObjectTrigger: pulumi.Output; /** * The current state of the Object Storage link. */ readonly state: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Stop Export To Object. Could be set to any integer value. */ readonly stopExportToObjectTrigger: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Stop Import From Object. Could be set to any integer value. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly stopImportFromObjectTrigger: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the Lustre file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2024-04-25T21:10:29.600Z` */ readonly timeCreated: pulumi.Output; /** * The date and time the Object Storage link was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2024-04-25T21:10:29.600Z` */ readonly timeUpdated: pulumi.Output; /** * Create a FileStorageObjectStorageLink resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: FileStorageObjectStorageLinkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FileStorageObjectStorageLink resources. */ export interface FileStorageObjectStorageLinkState { /** * The availability domain that the Lustre file system is in. May be unset as a blank or NULL value. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Object Storage link. */ compartmentId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of currently running sync job. If no sync job is running, then this will be empty. */ currentJobId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `My Object Storage Link` */ displayName?: pulumi.Input; /** * The path in the Lustre file system used for this Object Storage link. Example: `myFileSystem/mount/myDirectory` */ fileSystemPath?: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The flag is an identifier to tell whether the job run has overwrite enabled. If `isOverwrite` is false, the file to be imported or exported will be skipped if it already exists. If `isOverwrite` is true, the file to be imported or exported will be overwritten if it already exists. */ isOverwrite?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of last succeeded sync job. If no sync job has previously run, then this will be empty. */ lastJobId?: pulumi.Input; /** * A message that describes the current state of the Object Storage link in more detail. For example, can be used to provide actionable information for a resource in the Failed state. */ lifecycleDetails?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated Lustre file system. */ lustreFileSystemId?: pulumi.Input; /** * The Object Storage namespace and bucket name, including optional object prefix string, to use as the source for imports or destination for exports. Example: `objectStorageNamespace:/bucketName/optionalFolder/optionalPrefix` */ objectStoragePrefix?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Start Export To Object. Could be set to any integer value. */ startExportToObjectTrigger?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Start Import From Object. Could be set to any integer value. */ startImportFromObjectTrigger?: pulumi.Input; /** * The current state of the Object Storage link. */ state?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Stop Export To Object. Could be set to any integer value. */ stopExportToObjectTrigger?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Stop Import From Object. Could be set to any integer value. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ stopImportFromObjectTrigger?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the Lustre file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2024-04-25T21:10:29.600Z` */ timeCreated?: pulumi.Input; /** * The date and time the Object Storage link was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2024-04-25T21:10:29.600Z` */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a FileStorageObjectStorageLink resource. */ export interface FileStorageObjectStorageLinkArgs { /** * The availability domain that the Lustre file system is in. May be unset as a blank or NULL value. Example: `Uocm:PHX-AD-1` */ availabilityDomain: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Object Storage link. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `My Object Storage Link` */ displayName?: pulumi.Input; /** * The path in the Lustre file system used for this Object Storage link. Example: `myFileSystem/mount/myDirectory` */ fileSystemPath: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The flag is an identifier to tell whether the job run has overwrite enabled. If `isOverwrite` is false, the file to be imported or exported will be skipped if it already exists. If `isOverwrite` is true, the file to be imported or exported will be overwritten if it already exists. */ isOverwrite: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated Lustre file system. */ lustreFileSystemId: pulumi.Input; /** * The Object Storage namespace and bucket name, including optional object prefix string, to use as the source for imports or destination for exports. Example: `objectStorageNamespace:/bucketName/optionalFolder/optionalPrefix` */ objectStoragePrefix: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Start Export To Object. Could be set to any integer value. */ startExportToObjectTrigger?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Start Import From Object. Could be set to any integer value. */ startImportFromObjectTrigger?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Stop Export To Object. Could be set to any integer value. */ stopExportToObjectTrigger?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Stop Import From Object. Could be set to any integer value. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ stopImportFromObjectTrigger?: pulumi.Input; } //# sourceMappingURL=fileStorageObjectStorageLink.d.ts.map