1. Packages
  2. Azure Native
  3. API Docs
  4. storagecache
  5. getImportJob
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.44.1 published on Thursday, Jun 6, 2024 by Pulumi

azure-native.storagecache.getImportJob

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.44.1 published on Thursday, Jun 6, 2024 by Pulumi

    Returns an import job. Azure REST API version: 2024-03-01.

    Using getImportJob

    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 getImportJob(args: GetImportJobArgs, opts?: InvokeOptions): Promise<GetImportJobResult>
    function getImportJobOutput(args: GetImportJobOutputArgs, opts?: InvokeOptions): Output<GetImportJobResult>
    def get_import_job(aml_filesystem_name: Optional[str] = None,
                       import_job_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetImportJobResult
    def get_import_job_output(aml_filesystem_name: Optional[pulumi.Input[str]] = None,
                       import_job_name: Optional[pulumi.Input[str]] = None,
                       resource_group_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetImportJobResult]
    func LookupImportJob(ctx *Context, args *LookupImportJobArgs, opts ...InvokeOption) (*LookupImportJobResult, error)
    func LookupImportJobOutput(ctx *Context, args *LookupImportJobOutputArgs, opts ...InvokeOption) LookupImportJobResultOutput

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

    public static class GetImportJob 
    {
        public static Task<GetImportJobResult> InvokeAsync(GetImportJobArgs args, InvokeOptions? opts = null)
        public static Output<GetImportJobResult> Invoke(GetImportJobInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetImportJobResult> getImportJob(GetImportJobArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:storagecache:getImportJob
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AmlFilesystemName string
    Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
    ImportJobName string
    Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AmlFilesystemName string
    Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
    ImportJobName string
    Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    amlFilesystemName String
    Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
    importJobName String
    Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    amlFilesystemName string
    Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
    importJobName string
    Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    aml_filesystem_name str
    Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
    import_job_name str
    Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    amlFilesystemName String
    Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
    importJobName String
    Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    getImportJob Result

    The following output properties are available:

    BlobsImportedPerSecond double
    A recent and frequently updated rate of total files, directories, and symlinks imported per second.
    BlobsWalkedPerSecond double
    A recent and frequently updated rate of blobs walked per second.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    LastCompletionTime string
    The time of the last completed archive operation
    LastStartedTime string
    The time the latest archive operation started
    Location string
    The geo-location where the resource lives
    Name string
    The name of the resource
    ProvisioningState string
    ARM provisioning state.
    State string
    The state of the import job. InProgress indicates the import is still running. Canceled indicates it has been canceled by the user. Completed indicates import finished, successfully importing all discovered blobs into the Lustre namespace. CompletedPartial indicates the import finished but some blobs either were found to be conflicting and could not be imported or other errors were encountered. Failed means the import was unable to complete due to a fatal error.
    StatusMessage string
    The status message of the import job.
    SystemData Pulumi.AzureNative.StorageCache.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    TotalBlobsImported double
    The total blobs that have been imported since import began.
    TotalBlobsWalked double
    The total blob objects walked.
    TotalConflicts int
    Number of conflicts in the import job.
    TotalErrors int
    Number of errors in the import job.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    ConflictResolutionMode string
    How the import job will handle conflicts. For example, if the import job is trying to bring in a directory, but a file is at that path, how it handles it. Fail indicates that the import job should stop immediately and not do anything with the conflict. Skip indicates that it should pass over the conflict. OverwriteIfDirty causes the import job to delete and re-import the file or directory if it is a conflicting type, is dirty, or was not previously imported. OverwriteAlways extends OverwriteIfDirty to include releasing files that had been restored but were not dirty. Please reference https://learn.microsoft.com/en-us/azure/azure-managed-lustre/ for a thorough explanation of these resolution modes.
    ImportPrefixes List<string>
    An array of blob paths/prefixes that get imported into the cluster namespace. It has '/' as the default value.
    MaximumErrors int
    Total non-conflict oriented errors the import job will tolerate before exiting with failure. -1 means infinite. 0 means exit immediately and is the default.
    Tags Dictionary<string, string>
    Resource tags.
    BlobsImportedPerSecond float64
    A recent and frequently updated rate of total files, directories, and symlinks imported per second.
    BlobsWalkedPerSecond float64
    A recent and frequently updated rate of blobs walked per second.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    LastCompletionTime string
    The time of the last completed archive operation
    LastStartedTime string
    The time the latest archive operation started
    Location string
    The geo-location where the resource lives
    Name string
    The name of the resource
    ProvisioningState string
    ARM provisioning state.
    State string
    The state of the import job. InProgress indicates the import is still running. Canceled indicates it has been canceled by the user. Completed indicates import finished, successfully importing all discovered blobs into the Lustre namespace. CompletedPartial indicates the import finished but some blobs either were found to be conflicting and could not be imported or other errors were encountered. Failed means the import was unable to complete due to a fatal error.
    StatusMessage string
    The status message of the import job.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    TotalBlobsImported float64
    The total blobs that have been imported since import began.
    TotalBlobsWalked float64
    The total blob objects walked.
    TotalConflicts int
    Number of conflicts in the import job.
    TotalErrors int
    Number of errors in the import job.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    ConflictResolutionMode string
    How the import job will handle conflicts. For example, if the import job is trying to bring in a directory, but a file is at that path, how it handles it. Fail indicates that the import job should stop immediately and not do anything with the conflict. Skip indicates that it should pass over the conflict. OverwriteIfDirty causes the import job to delete and re-import the file or directory if it is a conflicting type, is dirty, or was not previously imported. OverwriteAlways extends OverwriteIfDirty to include releasing files that had been restored but were not dirty. Please reference https://learn.microsoft.com/en-us/azure/azure-managed-lustre/ for a thorough explanation of these resolution modes.
    ImportPrefixes []string
    An array of blob paths/prefixes that get imported into the cluster namespace. It has '/' as the default value.
    MaximumErrors int
    Total non-conflict oriented errors the import job will tolerate before exiting with failure. -1 means infinite. 0 means exit immediately and is the default.
    Tags map[string]string
    Resource tags.
    blobsImportedPerSecond Double
    A recent and frequently updated rate of total files, directories, and symlinks imported per second.
    blobsWalkedPerSecond Double
    A recent and frequently updated rate of blobs walked per second.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    lastCompletionTime String
    The time of the last completed archive operation
    lastStartedTime String
    The time the latest archive operation started
    location String
    The geo-location where the resource lives
    name String
    The name of the resource
    provisioningState String
    ARM provisioning state.
    state String
    The state of the import job. InProgress indicates the import is still running. Canceled indicates it has been canceled by the user. Completed indicates import finished, successfully importing all discovered blobs into the Lustre namespace. CompletedPartial indicates the import finished but some blobs either were found to be conflicting and could not be imported or other errors were encountered. Failed means the import was unable to complete due to a fatal error.
    statusMessage String
    The status message of the import job.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    totalBlobsImported Double
    The total blobs that have been imported since import began.
    totalBlobsWalked Double
    The total blob objects walked.
    totalConflicts Integer
    Number of conflicts in the import job.
    totalErrors Integer
    Number of errors in the import job.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    conflictResolutionMode String
    How the import job will handle conflicts. For example, if the import job is trying to bring in a directory, but a file is at that path, how it handles it. Fail indicates that the import job should stop immediately and not do anything with the conflict. Skip indicates that it should pass over the conflict. OverwriteIfDirty causes the import job to delete and re-import the file or directory if it is a conflicting type, is dirty, or was not previously imported. OverwriteAlways extends OverwriteIfDirty to include releasing files that had been restored but were not dirty. Please reference https://learn.microsoft.com/en-us/azure/azure-managed-lustre/ for a thorough explanation of these resolution modes.
    importPrefixes List<String>
    An array of blob paths/prefixes that get imported into the cluster namespace. It has '/' as the default value.
    maximumErrors Integer
    Total non-conflict oriented errors the import job will tolerate before exiting with failure. -1 means infinite. 0 means exit immediately and is the default.
    tags Map<String,String>
    Resource tags.
    blobsImportedPerSecond number
    A recent and frequently updated rate of total files, directories, and symlinks imported per second.
    blobsWalkedPerSecond number
    A recent and frequently updated rate of blobs walked per second.
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    lastCompletionTime string
    The time of the last completed archive operation
    lastStartedTime string
    The time the latest archive operation started
    location string
    The geo-location where the resource lives
    name string
    The name of the resource
    provisioningState string
    ARM provisioning state.
    state string
    The state of the import job. InProgress indicates the import is still running. Canceled indicates it has been canceled by the user. Completed indicates import finished, successfully importing all discovered blobs into the Lustre namespace. CompletedPartial indicates the import finished but some blobs either were found to be conflicting and could not be imported or other errors were encountered. Failed means the import was unable to complete due to a fatal error.
    statusMessage string
    The status message of the import job.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    totalBlobsImported number
    The total blobs that have been imported since import began.
    totalBlobsWalked number
    The total blob objects walked.
    totalConflicts number
    Number of conflicts in the import job.
    totalErrors number
    Number of errors in the import job.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    conflictResolutionMode string
    How the import job will handle conflicts. For example, if the import job is trying to bring in a directory, but a file is at that path, how it handles it. Fail indicates that the import job should stop immediately and not do anything with the conflict. Skip indicates that it should pass over the conflict. OverwriteIfDirty causes the import job to delete and re-import the file or directory if it is a conflicting type, is dirty, or was not previously imported. OverwriteAlways extends OverwriteIfDirty to include releasing files that had been restored but were not dirty. Please reference https://learn.microsoft.com/en-us/azure/azure-managed-lustre/ for a thorough explanation of these resolution modes.
    importPrefixes string[]
    An array of blob paths/prefixes that get imported into the cluster namespace. It has '/' as the default value.
    maximumErrors number
    Total non-conflict oriented errors the import job will tolerate before exiting with failure. -1 means infinite. 0 means exit immediately and is the default.
    tags {[key: string]: string}
    Resource tags.
    blobs_imported_per_second float
    A recent and frequently updated rate of total files, directories, and symlinks imported per second.
    blobs_walked_per_second float
    A recent and frequently updated rate of blobs walked per second.
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    last_completion_time str
    The time of the last completed archive operation
    last_started_time str
    The time the latest archive operation started
    location str
    The geo-location where the resource lives
    name str
    The name of the resource
    provisioning_state str
    ARM provisioning state.
    state str
    The state of the import job. InProgress indicates the import is still running. Canceled indicates it has been canceled by the user. Completed indicates import finished, successfully importing all discovered blobs into the Lustre namespace. CompletedPartial indicates the import finished but some blobs either were found to be conflicting and could not be imported or other errors were encountered. Failed means the import was unable to complete due to a fatal error.
    status_message str
    The status message of the import job.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    total_blobs_imported float
    The total blobs that have been imported since import began.
    total_blobs_walked float
    The total blob objects walked.
    total_conflicts int
    Number of conflicts in the import job.
    total_errors int
    Number of errors in the import job.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    conflict_resolution_mode str
    How the import job will handle conflicts. For example, if the import job is trying to bring in a directory, but a file is at that path, how it handles it. Fail indicates that the import job should stop immediately and not do anything with the conflict. Skip indicates that it should pass over the conflict. OverwriteIfDirty causes the import job to delete and re-import the file or directory if it is a conflicting type, is dirty, or was not previously imported. OverwriteAlways extends OverwriteIfDirty to include releasing files that had been restored but were not dirty. Please reference https://learn.microsoft.com/en-us/azure/azure-managed-lustre/ for a thorough explanation of these resolution modes.
    import_prefixes Sequence[str]
    An array of blob paths/prefixes that get imported into the cluster namespace. It has '/' as the default value.
    maximum_errors int
    Total non-conflict oriented errors the import job will tolerate before exiting with failure. -1 means infinite. 0 means exit immediately and is the default.
    tags Mapping[str, str]
    Resource tags.
    blobsImportedPerSecond Number
    A recent and frequently updated rate of total files, directories, and symlinks imported per second.
    blobsWalkedPerSecond Number
    A recent and frequently updated rate of blobs walked per second.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    lastCompletionTime String
    The time of the last completed archive operation
    lastStartedTime String
    The time the latest archive operation started
    location String
    The geo-location where the resource lives
    name String
    The name of the resource
    provisioningState String
    ARM provisioning state.
    state String
    The state of the import job. InProgress indicates the import is still running. Canceled indicates it has been canceled by the user. Completed indicates import finished, successfully importing all discovered blobs into the Lustre namespace. CompletedPartial indicates the import finished but some blobs either were found to be conflicting and could not be imported or other errors were encountered. Failed means the import was unable to complete due to a fatal error.
    statusMessage String
    The status message of the import job.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    totalBlobsImported Number
    The total blobs that have been imported since import began.
    totalBlobsWalked Number
    The total blob objects walked.
    totalConflicts Number
    Number of conflicts in the import job.
    totalErrors Number
    Number of errors in the import job.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    conflictResolutionMode String
    How the import job will handle conflicts. For example, if the import job is trying to bring in a directory, but a file is at that path, how it handles it. Fail indicates that the import job should stop immediately and not do anything with the conflict. Skip indicates that it should pass over the conflict. OverwriteIfDirty causes the import job to delete and re-import the file or directory if it is a conflicting type, is dirty, or was not previously imported. OverwriteAlways extends OverwriteIfDirty to include releasing files that had been restored but were not dirty. Please reference https://learn.microsoft.com/en-us/azure/azure-managed-lustre/ for a thorough explanation of these resolution modes.
    importPrefixes List<String>
    An array of blob paths/prefixes that get imported into the cluster namespace. It has '/' as the default value.
    maximumErrors Number
    Total non-conflict oriented errors the import job will tolerate before exiting with failure. -1 means infinite. 0 means exit immediately and is the default.
    tags Map<String>
    Resource tags.

    Supporting Types

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.44.1 published on Thursday, Jun 6, 2024 by Pulumi