1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Lustre
  5. getFileStorageObjectStorageLinkSyncJob
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi

oci.Lustre.getFileStorageObjectStorageLinkSyncJob

Get Started
oci logo
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 dictionary

    The following arguments are supported:

    ObjectStorageLinkId string
    The OCID of the Object Storage link.
    SyncJobId string
    The OCID of the sync job.
    ObjectStorageLinkId string
    The OCID of the Object Storage link.
    SyncJobId string
    The OCID of the sync job.
    objectStorageLinkId String
    The OCID of the Object Storage link.
    syncJobId String
    The OCID of the sync job.
    objectStorageLinkId string
    The OCID of the Object Storage link.
    syncJobId string
    The OCID of the sync job.
    object_storage_link_id str
    The OCID of the Object Storage link.
    sync_job_id str
    The OCID of the sync job.
    objectStorageLinkId String
    The OCID of the Object Storage link.
    syncJobId String
    The OCID of the sync job.

    getFileStorageObjectStorageLinkSyncJob Result

    The following output properties are available:

    BytesTransferred string
    Bytes transferred during the sync. This value changes while the sync is still in progress.
    DefinedTags 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"}
    FreeformTags 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.
    IsOverwrite bool
    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.
    JobType string
    The type of the sync job.
    LifecycleDetails 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.
    LustreFileSystemPath string
    The path in the Lustre file system used for this Object Storage link. Example: myFileSystem/mount/myDirectory
    ObjectStorageLinkId string
    ObjectStoragePath 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
    ObjectsTransferred string
    Count of total files that transferred successfully.
    ParentId string
    The OCID of the Object Storage link.
    SkippedErrorCount string
    Count of files or objects that failed to export or import due to errors.
    State string
    The current state of the sync job.
    SyncJobId string
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeFinished string
    The date and time the job finished, expressed in RFC 3339 timestamp format. Example: 2020-07-25T21:10:29.600Z
    TimeStarted string
    The date and time the job was started, expressed in RFC 3339 timestamp format. Example: 2020-07-25T21:10:29.600Z
    TotalObjectsScanned string
    Total object count for scanned files for import or export as part of this sync job.
    BytesTransferred string
    Bytes transferred during the sync. This value changes while the sync is still in progress.
    DefinedTags 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"}
    FreeformTags 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.
    IsOverwrite bool
    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.
    JobType string
    The type of the sync job.
    LifecycleDetails 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.
    LustreFileSystemPath string
    The path in the Lustre file system used for this Object Storage link. Example: myFileSystem/mount/myDirectory
    ObjectStorageLinkId string
    ObjectStoragePath 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
    ObjectsTransferred string
    Count of total files that transferred successfully.
    ParentId string
    The OCID of the Object Storage link.
    SkippedErrorCount string
    Count of files or objects that failed to export or import due to errors.
    State string
    The current state of the sync job.
    SyncJobId string
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeFinished string
    The date and time the job finished, expressed in RFC 3339 timestamp format. Example: 2020-07-25T21:10:29.600Z
    TimeStarted string
    The date and time the job was started, expressed in RFC 3339 timestamp format. Example: 2020-07-25T21:10:29.600Z
    TotalObjectsScanned string
    Total object count for scanned files for import or export as part of this sync job.
    bytesTransferred String
    Bytes transferred during the sync. This value changes while the sync is still in progress.
    definedTags 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"}
    freeformTags 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.
    isOverwrite Boolean
    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.
    jobType String
    The type of the sync job.
    lifecycleDetails 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.
    lustreFileSystemPath String
    The path in the Lustre file system used for this Object Storage link. Example: myFileSystem/mount/myDirectory
    objectStorageLinkId String
    objectStoragePath 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
    objectsTransferred String
    Count of total files that transferred successfully.
    parentId String
    The OCID of the Object Storage link.
    skippedErrorCount String
    Count of files or objects that failed to export or import due to errors.
    state String
    The current state of the sync job.
    syncJobId String
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeFinished String
    The date and time the job finished, expressed in RFC 3339 timestamp format. Example: 2020-07-25T21:10:29.600Z
    timeStarted String
    The date and time the job was started, expressed in RFC 3339 timestamp format. Example: 2020-07-25T21:10:29.600Z
    totalObjectsScanned String
    Total object count for scanned files for import or export as part of this sync job.
    bytesTransferred string
    Bytes transferred during the sync. This value changes while the sync is still in progress.
    definedTags {[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"}
    freeformTags {[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.
    isOverwrite boolean
    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.
    jobType string
    The type of the sync job.
    lifecycleDetails 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.
    lustreFileSystemPath string
    The path in the Lustre file system used for this Object Storage link. Example: myFileSystem/mount/myDirectory
    objectStorageLinkId string
    objectStoragePath 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
    objectsTransferred string
    Count of total files that transferred successfully.
    parentId string
    The OCID of the Object Storage link.
    skippedErrorCount string
    Count of files or objects that failed to export or import due to errors.
    state string
    The current state of the sync job.
    syncJobId string
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeFinished string
    The date and time the job finished, expressed in RFC 3339 timestamp format. Example: 2020-07-25T21:10:29.600Z
    timeStarted string
    The date and time the job was started, expressed in RFC 3339 timestamp format. Example: 2020-07-25T21:10:29.600Z
    totalObjectsScanned string
    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.
    defined_tags 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"}
    freeform_tags 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 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.
    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_system_path str
    The path in the Lustre file system used for this Object Storage link. Example: myFileSystem/mount/myDirectory
    object_storage_link_id str
    object_storage_path str
    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_count str
    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_id str
    system_tags 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_scanned str
    Total object count for scanned files for import or export as part of this sync job.
    bytesTransferred String
    Bytes transferred during the sync. This value changes while the sync is still in progress.
    definedTags 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"}
    freeformTags 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.
    isOverwrite Boolean
    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.
    jobType String
    The type of the sync job.
    lifecycleDetails 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.
    lustreFileSystemPath String
    The path in the Lustre file system used for this Object Storage link. Example: myFileSystem/mount/myDirectory
    objectStorageLinkId String
    objectStoragePath 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
    objectsTransferred String
    Count of total files that transferred successfully.
    parentId String
    The OCID of the Object Storage link.
    skippedErrorCount String
    Count of files or objects that failed to export or import due to errors.
    state String
    The current state of the sync job.
    syncJobId String
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeFinished String
    The date and time the job finished, expressed in RFC 3339 timestamp format. Example: 2020-07-25T21:10:29.600Z
    timeStarted String
    The date and time the job was started, expressed in RFC 3339 timestamp format. Example: 2020-07-25T21:10:29.600Z
    totalObjectsScanned String
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate