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.73.0 published on Wednesday, Nov 20, 2024 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.73.0 published on Wednesday, Nov 20, 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:
- Aml
Filesystem stringName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- Import
Job stringName - Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Aml
Filesystem stringName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- Import
Job stringName - Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- aml
Filesystem StringName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- import
Job StringName - Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- aml
Filesystem stringName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- import
Job stringName - Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- resource
Group 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.
- aml
Filesystem StringName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- import
Job StringName - Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getImportJob Result
The following output properties are available:
- Blobs
Imported doublePer Second - A recent and frequently updated rate of total files, directories, and symlinks imported per second.
- Blobs
Walked 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}
- Last
Completion stringTime - The time of the last completed archive operation
- Last
Started stringTime - The time the latest archive operation started
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Provisioning
State 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.
- Status
Message string - The status message of the import job.
- System
Data Pulumi.Azure Native. Storage Cache. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Total
Blobs doubleImported - The total blobs that have been imported since import began.
- Total
Blobs doubleWalked - 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 string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Conflict
Resolution 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.
- Import
Prefixes List<string> - 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.
- Dictionary<string, string>
- Resource tags.
- Blobs
Imported float64Per Second - A recent and frequently updated rate of total files, directories, and symlinks imported per second.
- Blobs
Walked 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}
- Last
Completion stringTime - The time of the last completed archive operation
- Last
Started stringTime - The time the latest archive operation started
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Provisioning
State 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.
- Status
Message string - The status message of the import job.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Total
Blobs float64Imported - The total blobs that have been imported since import began.
- Total
Blobs float64Walked - 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 string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Conflict
Resolution 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.
- Import
Prefixes []string - 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.
- map[string]string
- Resource tags.
- blobs
Imported DoublePer Second - A recent and frequently updated rate of total files, directories, and symlinks imported per second.
- blobs
Walked 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}
- last
Completion StringTime - The time of the last completed archive operation
- last
Started StringTime - The time the latest archive operation started
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioning
State 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.
- status
Message String - The status message of the import job.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- total
Blobs DoubleImported - The total blobs that have been imported since import began.
- total
Blobs DoubleWalked - The total blob objects walked.
- total
Conflicts Integer - Number of conflicts in the import job.
- total
Errors Integer - Number of errors in the import job.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- conflict
Resolution 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.
- import
Prefixes List<String> - An array of blob paths/prefixes that get imported into the cluster namespace. It has '/' as the default value.
- maximum
Errors 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.
- blobs
Imported numberPer Second - A recent and frequently updated rate of total files, directories, and symlinks imported per second.
- blobs
Walked 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}
- last
Completion stringTime - The time of the last completed archive operation
- last
Started stringTime - The time the latest archive operation started
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- provisioning
State 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.
- status
Message string - The status message of the import job.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- total
Blobs numberImported - The total blobs that have been imported since import began.
- total
Blobs numberWalked - The total blob objects walked.
- total
Conflicts number - Number of conflicts in the import job.
- total
Errors number - Number of errors in the import job.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- conflict
Resolution 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.
- import
Prefixes string[] - An array of blob paths/prefixes that get imported into the cluster namespace. It has '/' as the default value.
- maximum
Errors 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.
- blobs
Imported NumberPer Second - A recent and frequently updated rate of total files, directories, and symlinks imported per second.
- blobs
Walked 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}
- last
Completion StringTime - The time of the last completed archive operation
- last
Started StringTime - The time the latest archive operation started
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioning
State 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.
- status
Message String - The status message of the import job.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- total
Blobs NumberImported - The total blobs that have been imported since import began.
- total
Blobs NumberWalked - The total blob objects walked.
- total
Conflicts Number - Number of conflicts in the import job.
- total
Errors Number - Number of errors in the import job.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- conflict
Resolution 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.
- import
Prefixes List<String> - An array of blob paths/prefixes that get imported into the cluster namespace. It has '/' as the default value.
- maximum
Errors 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi