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

oci.Lustre.getFileStorageObjectStorageLinkSyncJobs

Start a Neo task
Explain and create an oci.Lustre.getFileStorageObjectStorageLinkSyncJobs resource
oci logo
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi

    This data source provides the list of Object Storage Link Sync Jobs in Oracle Cloud Infrastructure Lustre File Storage service.

    Lists all sync jobs associated with the Object Storage link. Contains a unique ID for each sync job.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testObjectStorageLinkSyncJobs = oci.Lustre.getFileStorageObjectStorageLinkSyncJobs({
        objectStorageLinkId: testObjectStorageLink.id,
        state: objectStorageLinkSyncJobState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_object_storage_link_sync_jobs = oci.Lustre.get_file_storage_object_storage_link_sync_jobs(object_storage_link_id=test_object_storage_link["id"],
        state=object_storage_link_sync_job_state)
    
    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.GetFileStorageObjectStorageLinkSyncJobs(ctx, &lustre.GetFileStorageObjectStorageLinkSyncJobsArgs{
    			ObjectStorageLinkId: testObjectStorageLink.Id,
    			State:               pulumi.StringRef(objectStorageLinkSyncJobState),
    		}, 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 testObjectStorageLinkSyncJobs = Oci.Lustre.GetFileStorageObjectStorageLinkSyncJobs.Invoke(new()
        {
            ObjectStorageLinkId = testObjectStorageLink.Id,
            State = objectStorageLinkSyncJobState,
        });
    
    });
    
    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.GetFileStorageObjectStorageLinkSyncJobsArgs;
    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 testObjectStorageLinkSyncJobs = LustreFunctions.getFileStorageObjectStorageLinkSyncJobs(GetFileStorageObjectStorageLinkSyncJobsArgs.builder()
                .objectStorageLinkId(testObjectStorageLink.id())
                .state(objectStorageLinkSyncJobState)
                .build());
    
        }
    }
    
    variables:
      testObjectStorageLinkSyncJobs:
        fn::invoke:
          function: oci:Lustre:getFileStorageObjectStorageLinkSyncJobs
          arguments:
            objectStorageLinkId: ${testObjectStorageLink.id}
            state: ${objectStorageLinkSyncJobState}
    

    Using getFileStorageObjectStorageLinkSyncJobs

    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 getFileStorageObjectStorageLinkSyncJobs(args: GetFileStorageObjectStorageLinkSyncJobsArgs, opts?: InvokeOptions): Promise<GetFileStorageObjectStorageLinkSyncJobsResult>
    function getFileStorageObjectStorageLinkSyncJobsOutput(args: GetFileStorageObjectStorageLinkSyncJobsOutputArgs, opts?: InvokeOptions): Output<GetFileStorageObjectStorageLinkSyncJobsResult>
    def get_file_storage_object_storage_link_sync_jobs(filters: Optional[Sequence[GetFileStorageObjectStorageLinkSyncJobsFilter]] = None,
                                                       object_storage_link_id: Optional[str] = None,
                                                       state: Optional[str] = None,
                                                       opts: Optional[InvokeOptions] = None) -> GetFileStorageObjectStorageLinkSyncJobsResult
    def get_file_storage_object_storage_link_sync_jobs_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetFileStorageObjectStorageLinkSyncJobsFilterArgs]]]] = None,
                                                       object_storage_link_id: Optional[pulumi.Input[str]] = None,
                                                       state: Optional[pulumi.Input[str]] = None,
                                                       opts: Optional[InvokeOptions] = None) -> Output[GetFileStorageObjectStorageLinkSyncJobsResult]
    func GetFileStorageObjectStorageLinkSyncJobs(ctx *Context, args *GetFileStorageObjectStorageLinkSyncJobsArgs, opts ...InvokeOption) (*GetFileStorageObjectStorageLinkSyncJobsResult, error)
    func GetFileStorageObjectStorageLinkSyncJobsOutput(ctx *Context, args *GetFileStorageObjectStorageLinkSyncJobsOutputArgs, opts ...InvokeOption) GetFileStorageObjectStorageLinkSyncJobsResultOutput

    > Note: This function is named GetFileStorageObjectStorageLinkSyncJobs in the Go SDK.

    public static class GetFileStorageObjectStorageLinkSyncJobs 
    {
        public static Task<GetFileStorageObjectStorageLinkSyncJobsResult> InvokeAsync(GetFileStorageObjectStorageLinkSyncJobsArgs args, InvokeOptions? opts = null)
        public static Output<GetFileStorageObjectStorageLinkSyncJobsResult> Invoke(GetFileStorageObjectStorageLinkSyncJobsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFileStorageObjectStorageLinkSyncJobsResult> getFileStorageObjectStorageLinkSyncJobs(GetFileStorageObjectStorageLinkSyncJobsArgs args, InvokeOptions options)
    public static Output<GetFileStorageObjectStorageLinkSyncJobsResult> getFileStorageObjectStorageLinkSyncJobs(GetFileStorageObjectStorageLinkSyncJobsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:Lustre/getFileStorageObjectStorageLinkSyncJobs:getFileStorageObjectStorageLinkSyncJobs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ObjectStorageLinkId string
    The OCID of the Object Storage link.
    Filters List<GetFileStorageObjectStorageLinkSyncJobsFilter>
    State string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    ObjectStorageLinkId string
    The OCID of the Object Storage link.
    Filters []GetFileStorageObjectStorageLinkSyncJobsFilter
    State string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    objectStorageLinkId String
    The OCID of the Object Storage link.
    filters List<GetFileStorageObjectStorageLinkSyncJobsFilter>
    state String
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    objectStorageLinkId string
    The OCID of the Object Storage link.
    filters GetFileStorageObjectStorageLinkSyncJobsFilter[]
    state string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    object_storage_link_id str
    The OCID of the Object Storage link.
    filters Sequence[GetFileStorageObjectStorageLinkSyncJobsFilter]
    state str
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    objectStorageLinkId String
    The OCID of the Object Storage link.
    filters List<Property Map>
    state String
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.

    getFileStorageObjectStorageLinkSyncJobs Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ObjectStorageLinkId string
    SyncJobCollections List<GetFileStorageObjectStorageLinkSyncJobsSyncJobCollection>
    The list of sync_job_collection.
    Filters List<GetFileStorageObjectStorageLinkSyncJobsFilter>
    State string
    The current state of the sync job.
    Id string
    The provider-assigned unique ID for this managed resource.
    ObjectStorageLinkId string
    SyncJobCollections []GetFileStorageObjectStorageLinkSyncJobsSyncJobCollection
    The list of sync_job_collection.
    Filters []GetFileStorageObjectStorageLinkSyncJobsFilter
    State string
    The current state of the sync job.
    id String
    The provider-assigned unique ID for this managed resource.
    objectStorageLinkId String
    syncJobCollections List<GetFileStorageObjectStorageLinkSyncJobsSyncJobCollection>
    The list of sync_job_collection.
    filters List<GetFileStorageObjectStorageLinkSyncJobsFilter>
    state String
    The current state of the sync job.
    id string
    The provider-assigned unique ID for this managed resource.
    objectStorageLinkId string
    syncJobCollections GetFileStorageObjectStorageLinkSyncJobsSyncJobCollection[]
    The list of sync_job_collection.
    filters GetFileStorageObjectStorageLinkSyncJobsFilter[]
    state string
    The current state of the sync job.
    id str
    The provider-assigned unique ID for this managed resource.
    object_storage_link_id str
    sync_job_collections Sequence[GetFileStorageObjectStorageLinkSyncJobsSyncJobCollection]
    The list of sync_job_collection.
    filters Sequence[GetFileStorageObjectStorageLinkSyncJobsFilter]
    state str
    The current state of the sync job.
    id String
    The provider-assigned unique ID for this managed resource.
    objectStorageLinkId String
    syncJobCollections List<Property Map>
    The list of sync_job_collection.
    filters List<Property Map>
    state String
    The current state of the sync job.

    Supporting Types

    GetFileStorageObjectStorageLinkSyncJobsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetFileStorageObjectStorageLinkSyncJobsSyncJobCollection

    GetFileStorageObjectStorageLinkSyncJobsSyncJobCollectionItem

    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 OCID of the sync job.
    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
    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
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    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 OCID of the sync job.
    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
    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
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    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 OCID of the sync job.
    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
    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
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    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 OCID of the sync job.
    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
    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
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    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 OCID of the sync job.
    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_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
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    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 OCID of the sync job.
    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
    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
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    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