Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.Lustre.getFileStorageObjectStorageLinkSyncJob
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by 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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testObjectStorageLinkSyncJob = oci.Lustre.getFileStorageObjectStorageLinkSyncJob({
objectStorageLinkId: testObjectStorageLink.id,
syncJobId: testJob.id,
});
import pulumi
import pulumi_oci as oci
test_object_storage_link_sync_job = oci.Lustre.get_file_storage_object_storage_link_sync_job(object_storage_link_id=test_object_storage_link["id"],
sync_job_id=test_job["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/lustre"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := lustre.GetFileStorageObjectStorageLinkSyncJob(ctx, &lustre.GetFileStorageObjectStorageLinkSyncJobArgs{
ObjectStorageLinkId: testObjectStorageLink.Id,
SyncJobId: testJob.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testObjectStorageLinkSyncJob = Oci.Lustre.GetFileStorageObjectStorageLinkSyncJob.Invoke(new()
{
ObjectStorageLinkId = testObjectStorageLink.Id,
SyncJobId = testJob.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Lustre.LustreFunctions;
import com.pulumi.oci.Lustre.inputs.GetFileStorageObjectStorageLinkSyncJobArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testObjectStorageLinkSyncJob = LustreFunctions.getFileStorageObjectStorageLinkSyncJob(GetFileStorageObjectStorageLinkSyncJobArgs.builder()
.objectStorageLinkId(testObjectStorageLink.id())
.syncJobId(testJob.id())
.build());
}
}
variables:
testObjectStorageLinkSyncJob:
fn::invoke:
function: oci:Lustre:getFileStorageObjectStorageLinkSyncJob
arguments:
objectStorageLinkId: ${testObjectStorageLink.id}
syncJobId: ${testJob.id}
Using getFileStorageObjectStorageLinkSyncJob
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFileStorageObjectStorageLinkSyncJob(args: GetFileStorageObjectStorageLinkSyncJobArgs, opts?: InvokeOptions): Promise<GetFileStorageObjectStorageLinkSyncJobResult>
function getFileStorageObjectStorageLinkSyncJobOutput(args: GetFileStorageObjectStorageLinkSyncJobOutputArgs, opts?: InvokeOptions): Output<GetFileStorageObjectStorageLinkSyncJobResult>def get_file_storage_object_storage_link_sync_job(object_storage_link_id: Optional[str] = None,
sync_job_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFileStorageObjectStorageLinkSyncJobResult
def get_file_storage_object_storage_link_sync_job_output(object_storage_link_id: Optional[pulumi.Input[str]] = None,
sync_job_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFileStorageObjectStorageLinkSyncJobResult]func GetFileStorageObjectStorageLinkSyncJob(ctx *Context, args *GetFileStorageObjectStorageLinkSyncJobArgs, opts ...InvokeOption) (*GetFileStorageObjectStorageLinkSyncJobResult, error)
func GetFileStorageObjectStorageLinkSyncJobOutput(ctx *Context, args *GetFileStorageObjectStorageLinkSyncJobOutputArgs, opts ...InvokeOption) GetFileStorageObjectStorageLinkSyncJobResultOutput> Note: This function is named GetFileStorageObjectStorageLinkSyncJob in the Go SDK.
public static class GetFileStorageObjectStorageLinkSyncJob
{
public static Task<GetFileStorageObjectStorageLinkSyncJobResult> InvokeAsync(GetFileStorageObjectStorageLinkSyncJobArgs args, InvokeOptions? opts = null)
public static Output<GetFileStorageObjectStorageLinkSyncJobResult> Invoke(GetFileStorageObjectStorageLinkSyncJobInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFileStorageObjectStorageLinkSyncJobResult> getFileStorageObjectStorageLinkSyncJob(GetFileStorageObjectStorageLinkSyncJobArgs args, InvokeOptions options)
public static Output<GetFileStorageObjectStorageLinkSyncJobResult> getFileStorageObjectStorageLinkSyncJob(GetFileStorageObjectStorageLinkSyncJobArgs args, InvokeOptions options)
fn::invoke:
function: oci:Lustre/getFileStorageObjectStorageLinkSyncJob:getFileStorageObjectStorageLinkSyncJob
arguments:
# arguments dictionaryThe following arguments are supported:
- Object
Storage stringLink Id - The OCID of the Object Storage link.
- Sync
Job stringId - The OCID of the sync job.
- Object
Storage stringLink Id - The OCID of the Object Storage link.
- Sync
Job stringId - The OCID of the sync job.
- object
Storage StringLink Id - The OCID of the Object Storage link.
- sync
Job StringId - The OCID of the sync job.
- object
Storage stringLink Id - The OCID of the Object Storage link.
- sync
Job stringId - The OCID of the sync job.
- object_
storage_ strlink_ id - The OCID of the Object Storage link.
- sync_
job_ strid - The OCID of the sync job.
- object
Storage StringLink Id - The OCID of the Object Storage link.
- sync
Job StringId - The OCID of the sync job.
getFileStorageObjectStorageLinkSyncJob Result
The following output properties are available:
- Bytes
Transferred string - Bytes transferred during the sync. This value changes while the sync is still in progress.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Dictionary<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. Example:
{"Department": "Finance"} - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Overwrite bool - The flag is an identifier to tell whether this specific job run has overwrite enabled. If
isOverwriteis false, the file to be imported or exported will be skipped if it already exists. IfisOverwriteis true, the file to be imported or exported will be overwritten if it already exists. - Job
Type string - The type of the sync job.
- Lifecycle
Details 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.
- Lustre
File stringSystem Path - The path in the Lustre file system used for this Object Storage link. Example:
myFileSystem/mount/myDirectory - Object
Storage stringLink Id - Object
Storage stringPath - 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 - Objects
Transferred string - Count of total files that transferred successfully.
- Parent
Id string - The OCID of the Object Storage link.
- Skipped
Error stringCount - Count of files or objects that failed to export or import due to errors.
- State string
- The current state of the sync job.
- Sync
Job stringId - Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Finished string - The date and time the job finished, expressed in RFC 3339 timestamp format. Example:
2020-07-25T21:10:29.600Z - Time
Started string - The date and time the job was started, expressed in RFC 3339 timestamp format. Example:
2020-07-25T21:10:29.600Z - Total
Objects stringScanned - Total object count for scanned files for import or export as part of this sync job.
- Bytes
Transferred string - Bytes transferred during the sync. This value changes while the sync is still in progress.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - map[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. Example:
{"Department": "Finance"} - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Overwrite bool - The flag is an identifier to tell whether this specific job run has overwrite enabled. If
isOverwriteis false, the file to be imported or exported will be skipped if it already exists. IfisOverwriteis true, the file to be imported or exported will be overwritten if it already exists. - Job
Type string - The type of the sync job.
- Lifecycle
Details 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.
- Lustre
File stringSystem Path - The path in the Lustre file system used for this Object Storage link. Example:
myFileSystem/mount/myDirectory - Object
Storage stringLink Id - Object
Storage stringPath - 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 - Objects
Transferred string - Count of total files that transferred successfully.
- Parent
Id string - The OCID of the Object Storage link.
- Skipped
Error stringCount - Count of files or objects that failed to export or import due to errors.
- State string
- The current state of the sync job.
- Sync
Job stringId - map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Finished string - The date and time the job finished, expressed in RFC 3339 timestamp format. Example:
2020-07-25T21:10:29.600Z - Time
Started string - The date and time the job was started, expressed in RFC 3339 timestamp format. Example:
2020-07-25T21:10:29.600Z - Total
Objects stringScanned - Total object count for scanned files for import or export as part of this sync job.
- bytes
Transferred String - Bytes transferred during the sync. This value changes while the sync is still in progress.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Map<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. Example:
{"Department": "Finance"} - id String
- The provider-assigned unique ID for this managed resource.
- is
Overwrite Boolean - The flag is an identifier to tell whether this specific job run has overwrite enabled. If
isOverwriteis false, the file to be imported or exported will be skipped if it already exists. IfisOverwriteis true, the file to be imported or exported will be overwritten if it already exists. - job
Type String - The type of the sync job.
- lifecycle
Details 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.
- lustre
File StringSystem Path - The path in the Lustre file system used for this Object Storage link. Example:
myFileSystem/mount/myDirectory - object
Storage StringLink Id - object
Storage StringPath - 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 - objects
Transferred String - Count of total files that transferred successfully.
- parent
Id String - The OCID of the Object Storage link.
- skipped
Error StringCount - Count of files or objects that failed to export or import due to errors.
- state String
- The current state of the sync job.
- sync
Job StringId - Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Finished String - The date and time the job finished, expressed in RFC 3339 timestamp format. Example:
2020-07-25T21:10:29.600Z - time
Started String - The date and time the job was started, expressed in RFC 3339 timestamp format. Example:
2020-07-25T21:10:29.600Z - total
Objects StringScanned - Total object count for scanned files for import or export as part of this sync job.
- bytes
Transferred string - Bytes transferred during the sync. This value changes while the sync is still in progress.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - {[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. Example:
{"Department": "Finance"} - id string
- The provider-assigned unique ID for this managed resource.
- is
Overwrite boolean - The flag is an identifier to tell whether this specific job run has overwrite enabled. If
isOverwriteis false, the file to be imported or exported will be skipped if it already exists. IfisOverwriteis true, the file to be imported or exported will be overwritten if it already exists. - job
Type string - The type of the sync job.
- lifecycle
Details 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.
- lustre
File stringSystem Path - The path in the Lustre file system used for this Object Storage link. Example:
myFileSystem/mount/myDirectory - object
Storage stringLink Id - object
Storage stringPath - 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 - objects
Transferred string - Count of total files that transferred successfully.
- parent
Id string - The OCID of the Object Storage link.
- skipped
Error stringCount - Count of files or objects that failed to export or import due to errors.
- state string
- The current state of the sync job.
- sync
Job stringId - {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Finished string - The date and time the job finished, expressed in RFC 3339 timestamp format. Example:
2020-07-25T21:10:29.600Z - time
Started string - The date and time the job was started, expressed in RFC 3339 timestamp format. Example:
2020-07-25T21:10:29.600Z - total
Objects stringScanned - Total object count for scanned files for import or export as part of this sync job.
- bytes_
transferred str - Bytes transferred during the sync. This value changes while the sync is still in progress.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Mapping[str, str]
- 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. Example:
{"Department": "Finance"} - id str
- The provider-assigned unique ID for this managed resource.
- is_
overwrite bool - The flag is an identifier to tell whether this specific job run has overwrite enabled. If
isOverwriteis false, the file to be imported or exported will be skipped if it already exists. IfisOverwriteis true, the file to be imported or exported will be overwritten if it already exists. - job_
type str - The type of the sync job.
- lifecycle_
details str - 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.
- lustre_
file_ strsystem_ path - The path in the Lustre file system used for this Object Storage link. Example:
myFileSystem/mount/myDirectory - object_
storage_ strlink_ id - object_
storage_ strpath - 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 - objects_
transferred str - Count of total files that transferred successfully.
- parent_
id str - The OCID of the Object Storage link.
- skipped_
error_ strcount - Count of files or objects that failed to export or import due to errors.
- state str
- The current state of the sync job.
- sync_
job_ strid - Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
finished str - The date and time the job finished, expressed in RFC 3339 timestamp format. Example:
2020-07-25T21:10:29.600Z - time_
started str - The date and time the job was started, expressed in RFC 3339 timestamp format. Example:
2020-07-25T21:10:29.600Z - total_
objects_ strscanned - Total object count for scanned files for import or export as part of this sync job.
- bytes
Transferred String - Bytes transferred during the sync. This value changes while the sync is still in progress.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Map<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. Example:
{"Department": "Finance"} - id String
- The provider-assigned unique ID for this managed resource.
- is
Overwrite Boolean - The flag is an identifier to tell whether this specific job run has overwrite enabled. If
isOverwriteis false, the file to be imported or exported will be skipped if it already exists. IfisOverwriteis true, the file to be imported or exported will be overwritten if it already exists. - job
Type String - The type of the sync job.
- lifecycle
Details 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.
- lustre
File StringSystem Path - The path in the Lustre file system used for this Object Storage link. Example:
myFileSystem/mount/myDirectory - object
Storage StringLink Id - object
Storage StringPath - 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 - objects
Transferred String - Count of total files that transferred successfully.
- parent
Id String - The OCID of the Object Storage link.
- skipped
Error StringCount - Count of files or objects that failed to export or import due to errors.
- state String
- The current state of the sync job.
- sync
Job StringId - Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Finished String - The date and time the job finished, expressed in RFC 3339 timestamp format. Example:
2020-07-25T21:10:29.600Z - time
Started String - The date and time the job was started, expressed in RFC 3339 timestamp format. Example:
2020-07-25T21:10:29.600Z - total
Objects StringScanned - Total object count for scanned files for import or export as part of this sync job.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
