import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Object Storage Link Sync Job resource in Oracle Cloud Infrastructure Lustre File Storage service. * * Gets details of a sync job associated with an Object Storage link when `objectStorageLink` and a unique ID are provided. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testObjectStorageLinkSyncJob = oci.lustre.getFileStorageObjectStorageLinkSyncJob({ * objectStorageLinkId: testObjectStorageLink.id, * syncJobId: testJob.id, * }); * ``` */ export declare function getFileStorageObjectStorageLinkSyncJob(args: GetFileStorageObjectStorageLinkSyncJobArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFileStorageObjectStorageLinkSyncJob. */ export interface GetFileStorageObjectStorageLinkSyncJobArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. */ objectStorageLinkId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the sync job. */ syncJobId: string; } /** * A collection of values returned by getFileStorageObjectStorageLinkSyncJob. */ export interface GetFileStorageObjectStorageLinkSyncJobResult { /** * Bytes transferred during the sync. This value changes while the sync is still in progress. */ readonly bytesTransferred: string; /** * 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: { [key: string]: string; }; /** * 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: { [key: string]: string; }; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The flag is an identifier to tell whether this specific 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: boolean; /** * The type of the sync job. */ readonly jobType: string; /** * A message that describes the current state of the sync job in more detail. For example, can be used to provide actionable information for a resource in the Failed state. */ readonly lifecycleDetails: string; /** * The path in the Lustre file system used for this Object Storage link. Example: `myFileSystem/mount/myDirectory` */ readonly lustreFileSystemPath: string; readonly objectStorageLinkId: string; /** * 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 objectStoragePath: string; /** * Count of total files that transferred successfully. */ readonly objectsTransferred: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. */ readonly parentId: string; /** * Count of files or objects that failed to export or import due to errors. */ readonly skippedErrorCount: string; /** * The current state of the sync job. */ readonly state: string; readonly syncJobId: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The date and time the job finished, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2020-07-25T21:10:29.600Z` */ readonly timeFinished: string; /** * The date and time the job was started, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2020-07-25T21:10:29.600Z` */ readonly timeStarted: string; /** * Total object count for scanned files for import or export as part of this sync job. */ readonly totalObjectsScanned: string; } /** * This data source provides details about a specific Object Storage Link Sync Job resource in Oracle Cloud Infrastructure Lustre File Storage service. * * Gets details of a sync job associated with an Object Storage link when `objectStorageLink` and a unique ID are provided. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testObjectStorageLinkSyncJob = oci.lustre.getFileStorageObjectStorageLinkSyncJob({ * objectStorageLinkId: testObjectStorageLink.id, * syncJobId: testJob.id, * }); * ``` */ export declare function getFileStorageObjectStorageLinkSyncJobOutput(args: GetFileStorageObjectStorageLinkSyncJobOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFileStorageObjectStorageLinkSyncJob. */ export interface GetFileStorageObjectStorageLinkSyncJobOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. */ objectStorageLinkId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the sync job. */ syncJobId: pulumi.Input; } //# sourceMappingURL=getFileStorageObjectStorageLinkSyncJob.d.ts.map