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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.storagecache.getImportJob
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 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)
public static Output<GetImportJobResult> getImportJob(GetImportJobArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:storagecache:getImportJob
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AmlFilesystem stringName 
- Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- ImportJob stringName 
- Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- AmlFilesystem stringName 
- Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- ImportJob stringName 
- Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- amlFilesystem StringName 
- Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- importJob StringName 
- Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- amlFilesystem stringName 
- Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- importJob stringName 
- Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- aml_filesystem_ strname 
- Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- import_job_ strname 
- Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- amlFilesystem StringName 
- Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- importJob StringName 
- Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getImportJob Result
The following output properties are available:
- BlobsImported doublePer Second 
- A recent and frequently updated rate of total files, directories, and symlinks imported per second.
- BlobsWalked doublePer Second 
- 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}
- LastCompletion stringTime 
- The time of the last completed archive operation
- LastStarted stringTime 
- 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.Azure Native. Storage Cache. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- TotalBlobs doubleImported 
- The total blobs that have been imported since import began.
- TotalBlobs doubleWalked 
- 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"
- ConflictResolution stringMode 
- 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.
- Dictionary<string, string>
- Resource tags.
- BlobsImported float64Per Second 
- A recent and frequently updated rate of total files, directories, and symlinks imported per second.
- BlobsWalked float64Per Second 
- 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}
- LastCompletion stringTime 
- The time of the last completed archive operation
- LastStarted stringTime 
- 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 SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- TotalBlobs float64Imported 
- The total blobs that have been imported since import began.
- TotalBlobs float64Walked 
- 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"
- ConflictResolution stringMode 
- 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.
- map[string]string
- Resource tags.
- blobsImported DoublePer Second 
- A recent and frequently updated rate of total files, directories, and symlinks imported per second.
- blobsWalked DoublePer Second 
- 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}
- lastCompletion StringTime 
- The time of the last completed archive operation
- lastStarted StringTime 
- 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 SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- totalBlobs DoubleImported 
- The total blobs that have been imported since import began.
- totalBlobs DoubleWalked 
- 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"
- conflictResolution StringMode 
- 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.
- Map<String,String>
- Resource tags.
- blobsImported numberPer Second 
- A recent and frequently updated rate of total files, directories, and symlinks imported per second.
- blobsWalked numberPer Second 
- 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}
- lastCompletion stringTime 
- The time of the last completed archive operation
- lastStarted stringTime 
- 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 SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- totalBlobs numberImported 
- The total blobs that have been imported since import began.
- totalBlobs numberWalked 
- 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"
- conflictResolution stringMode 
- 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.
- {[key: string]: string}
- Resource tags.
- blobs_imported_ floatper_ second 
- A recent and frequently updated rate of total files, directories, and symlinks imported per second.
- blobs_walked_ floatper_ second 
- 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_ strtime 
- The time of the last completed archive operation
- last_started_ strtime 
- 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 SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- total_blobs_ floatimported 
- The total blobs that have been imported since import began.
- total_blobs_ floatwalked 
- 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_ strmode 
- 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.
- Mapping[str, str]
- Resource tags.
- blobsImported NumberPer Second 
- A recent and frequently updated rate of total files, directories, and symlinks imported per second.
- blobsWalked NumberPer Second 
- 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}
- lastCompletion StringTime 
- The time of the last completed archive operation
- lastStarted StringTime 
- 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.
- totalBlobs NumberImported 
- The total blobs that have been imported since import began.
- totalBlobs NumberWalked 
- 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"
- conflictResolution StringMode 
- 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.
- Map<String>
- Resource tags.
Supporting Types
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi