az amlfs import
Note
This reference is part of the amlfs extension for the Azure CLI (version 2.70.0 or higher). The extension will automatically install the first time you run an az amlfs import command. Learn more about extensions.
Manage Import Job.
Commands
Name | Description | Type | Status |
---|---|---|---|
az amlfs import create |
Create an import job. |
Extension | GA |
az amlfs import delete |
Delete an import job for deletion. |
Extension | GA |
az amlfs import list |
List all import jobs the user has access to under an AML File System. |
Extension | GA |
az amlfs import show |
Get an import job. |
Extension | GA |
az amlfs import update |
Update an import job instance. |
Extension | GA |
az amlfs import wait |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
az amlfs import create
Create an import job.
az amlfs import create --aml-filesystem-name
--import-job-name --name
--resource-group
[--admin-status {Active, Cancel}]
[--conflict-mode --conflict-resolution-mode {Fail, OverwriteAlways, OverwriteIfDirty, Skip}]
[--import-prefixes]
[--location]
[--maximum-errors]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--tags]
Examples
importJobs_CreateOrUpdate
az amlfs import create --resource-group scgroup --aml-filesystem-name fs1 --import-job-name job1 --tags "{Dept:ContosoAds}" --location eastus --import-prefixes "[/]" --conflict-resolution-mode OverwriteAlways --maximum-errors 0
Required Parameters
Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The administrative status of the import job. Possible values: 'Active', 'Cancel'. Passing in a value of 'Cancel' will cancel the current active import job. By default it is set to 'Active'.
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.
An array of blob paths/prefixes that get imported into the cluster namespace. It has '/' as the default value. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
The geo-location where the resource lives When not specified, the location of the resource group will be used.
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.
Do not wait for the long-running operation to finish.
Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az amlfs import delete
Delete an import job for deletion.
az amlfs import delete [--aml-filesystem-name]
[--ids]
[--import-job-name --name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--yes]
Examples
importJobs_Delete
az amlfs import delete --resource-group scgroup --aml-filesystem-name fs1 --import-job-name job1
Optional Parameters
Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az amlfs import list
List all import jobs the user has access to under an AML File System.
az amlfs import list --aml-filesystem-name
--resource-group
[--max-items]
[--next-token]
Examples
importJobs_ListByAmlFilesystem
az amlfs import list --resource-group scgroup --aml-filesystem-name fs1
Required Parameters
Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az amlfs import show
Get an import job.
az amlfs import show [--aml-filesystem-name]
[--ids]
[--import-job-name --name]
[--resource-group]
[--subscription]
Examples
importJobs_Get
az amlfs import show --resource-group scgroup --aml-filesystem-name fs1 --import-job-name job1
Optional Parameters
Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az amlfs import update
Update an import job instance.
az amlfs import update [--admin-status {Active, Cancel}]
[--aml-filesystem-name]
[--ids]
[--import-job-name --name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--tags]
Examples
importJobs_CreateOrUpdate
az amlfs import update --resource-group scgroup --aml-filesystem-name fs1 --import-job-name job1 --admin-status Cancel
Optional Parameters
The administrative status of the import job. Possible values: 'Active', 'Cancel'. Passing in a value of 'Cancel' will cancel the current active import job.
Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az amlfs import wait
Place the CLI in a waiting state until a condition is met.
az amlfs import wait [--aml-filesystem-name]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--import-job-name --name]
[--interval]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
Optional Parameters
Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
Polling interval in seconds.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.