Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Commands/amlfs/aml-filesystem/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# [Group] _amlfs aml-filesystem_

Manage Aml Filesystem
17 changes: 17 additions & 0 deletions Commands/amlfs/auto-import/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# [Command] _amlfs auto-import create_

Create an auto import job.

## Versions

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vYXV0b2ltcG9ydGpvYnMve30=/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/autoimportjobs/{} 2025-07-01 -->

#### examples

- autoImportJobs_CreateOrUpdate
```bash
amlfs auto-import create --resource-group scgroup --aml-filesystem-name fs1 --auto-import-job-name autojob1 --tags "{Dept:ContosoAds}" --location eastus --auto-import-prefixes "[/]" --conflict-resolution-mode Skip --enable-deletions False --maximum-errors 0
amlfs auto-import create --resource-group scgroup --aml-filesystem-name fs1 --auto-import-job-name autojob1 --tags "{Dept:ContosoAds}" --location eastus --auto-import-prefixes "[/a,/b]" --conflict-resolution-mode Skip --enable-deletions False --maximum-errors 0 --admin-status Enable
```
16 changes: 16 additions & 0 deletions Commands/amlfs/auto-import/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _amlfs auto-import delete_

Delete an auto import job for deletion.

## Versions

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vYXV0b2ltcG9ydGpvYnMve30=/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/autoimportjobs/{} 2025-07-01 -->

#### examples

- autoImportJobs_Delete
```bash
amlfs auto-import delete --resource-group scgroup --aml-filesystem-name fs1 --auto-import-job-name autojob1
```
16 changes: 16 additions & 0 deletions Commands/amlfs/auto-import/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _amlfs auto-import list_

List all the auto import jobs the user has access to under an AML File System.

## Versions

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vYXV0b2ltcG9ydGpvYnM=/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/autoimportjobs 2025-07-01 -->

#### examples

- autoImportJobs_ListByAmlFilesystem
```bash
amlfs auto-import list --resource-group scgroup --aml-filesystem-name fs1
```
16 changes: 16 additions & 0 deletions Commands/amlfs/auto-import/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _amlfs auto-import show_

Get an auto import job.

## Versions

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vYXV0b2ltcG9ydGpvYnMve30=/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/autoimportjobs/{} 2025-07-01 -->

#### examples

- autoImportJobs_Get
```bash
amlfs auto-import show --resource-group scgroup --aml-filesystem-name fs1 --auto-import-job-name autojob1
```
17 changes: 17 additions & 0 deletions Commands/amlfs/auto-import/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# [Command] _amlfs auto-import update_

Update an auto import job instance.

## Versions

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vYXV0b2ltcG9ydGpvYnMve30=/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/autoimportjobs/{} 2025-07-01 -->

#### examples

- autoImportJobs_Update
```bash
amlfs auto-import create --resource-group scgroup --aml-filesystem-name fs1 --auto-import-job-name autojob1 --admin-status Disable
amlfs auto-import create --resource-group scgroup --aml-filesystem-name fs1 --auto-import-job-name autojob1 --tags "{Dept:ContosoAds}"
```
20 changes: 20 additions & 0 deletions Commands/amlfs/auto-import/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _amlfs auto-import_

Manage Auto Import Job

## Commands

- [create](/Commands/amlfs/auto-import/_create.md)
: Create an auto import job.

- [delete](/Commands/amlfs/auto-import/_delete.md)
: Delete an auto import job for deletion.

- [list](/Commands/amlfs/auto-import/_list.md)
: List all the auto import jobs the user has access to under an AML File System.

- [show](/Commands/amlfs/auto-import/_show.md)
: Get an auto import job.

- [update](/Commands/amlfs/auto-import/_update.md)
: Update an auto import job instance.
8 changes: 7 additions & 1 deletion Commands/amlfs/readme.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# [Group] _amlfs_

This is an extension to Azure CLI to manage Amlfs resources.
Manage Azure Managed Lustre Filesystem

## Subgroups

- [aml-filesystem](/Commands/amlfs/aml-filesystem/readme.md)
: Manage Aml Filesystem

- [auto-export](/Commands/amlfs/auto-export/readme.md)
: Manage Auto Export Job

- [auto-import](/Commands/amlfs/auto-import/readme.md)
: Manage Auto Import Job

- [import](/Commands/amlfs/import/readme.md)
: Manage Import Job

Expand Down
2 changes: 1 addition & 1 deletion Commands/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
: Manage Azure Alerts Management Service Resource.

- [amlfs](/Commands/amlfs/readme.md)
: This is an extension to Azure CLI to manage Amlfs resources.
: Manage Azure Managed Lustre Filesystem

- [aosm](/Commands/aosm/readme.md)
: Manage Azure Operator Service Manager resources.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/autoimportjobs", "version": "2025-07-01", "swagger": "mgmt-plane/storagecache/ResourceProviders/Microsoft.StorageCache/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZUNhY2hlL2FtbEZpbGVzeXN0ZW1zL3thbWxGaWxlc3lzdGVtTmFtZX0vYXV0b0ltcG9ydEpvYnM=/V/MjAyNS0wNy0wMQ=="}], "commandGroups": [{"name": "amlfs auto-import", "commands": [{"name": "list", "version": "2025-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/autoimportjobs", "version": "2025-07-01", "swagger": "mgmt-plane/storagecache/ResourceProviders/Microsoft.StorageCache/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZUNhY2hlL2FtbEZpbGVzeXN0ZW1zL3thbWxGaWxlc3lzdGVtTmFtZX0vYXV0b0ltcG9ydEpvYnM=/V/MjAyNS0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.amlFilesystemName", "options": ["aml-filesystem-name"], "required": true, "idPart": "name", "help": {"short": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric."}, "format": {"pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$", "maxLength": 80, "minLength": 2}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "autoImportJobs_ListByAmlFilesystem", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoImportJobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "amlFilesystemName", "arg": "$Path.amlFilesystemName", "required": true, "format": {"pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$", "maxLength": 80, "minLength": 2}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.StorageCache/amlFilesystems/{}/autoImportJobs/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": "Enable"}, "type": "string", "name": "adminStatus", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}]}}, {"type": "array<string>", "name": "autoImportPrefixes", "item": {"type": "string"}}, {"default": {"value": "Skip"}, "type": "string", "name": "conflictResolutionMode", "enum": {"items": [{"value": "Fail"}, {"value": "OverwriteAlways"}, {"value": "OverwriteIfDirty"}, {"value": "Skip"}]}}, {"default": {"value": false}, "type": "boolean", "name": "enableDeletions"}, {"type": "integer64", "name": "maximumErrors"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "object", "name": "status", "props": [{"readOnly": true, "type": "object", "name": "blobSyncEvents", "props": [{"readOnly": true, "type": "integer64", "name": "deletions"}, {"readOnly": true, "type": "integer64", "name": "importedDirectories"}, {"readOnly": true, "type": "integer64", "name": "importedFiles"}, {"readOnly": true, "type": "integer64", "name": "importedSymlinks"}, {"readOnly": true, "type": "dateTime", "name": "lastChangeFeedEventConsumedTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "dateTime", "name": "lastTimeFullySynchronized", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "integer64", "name": "preexistingDirectories"}, {"readOnly": true, "type": "integer64", "name": "preexistingFiles"}, {"readOnly": true, "type": "integer64", "name": "preexistingSymlinks"}, {"readOnly": true, "type": "integer64", "name": "rateOfBlobImport"}, {"readOnly": true, "type": "integer64", "name": "totalBlobsImported"}, {"readOnly": true, "type": "integer64", "name": "totalConflicts"}, {"readOnly": true, "type": "integer64", "name": "totalErrors"}]}, {"readOnly": true, "type": "integer64", "name": "importedDirectories"}, {"readOnly": true, "type": "integer64", "name": "importedFiles"}, {"readOnly": true, "type": "integer64", "name": "importedSymlinks"}, {"readOnly": true, "type": "dateTime", "name": "lastCompletionTimeUTC", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "dateTime", "name": "lastStartedTimeUTC", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "integer64", "name": "preexistingDirectories"}, {"readOnly": true, "type": "integer64", "name": "preexistingFiles"}, {"readOnly": true, "type": "integer64", "name": "preexistingSymlinks"}, {"readOnly": true, "type": "integer64", "name": "rateOfBlobImport"}, {"readOnly": true, "type": "integer64", "name": "rateOfBlobWalk"}, {"readOnly": true, "type": "dateTime", "name": "scanEndTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "dateTime", "name": "scanStartTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Disabling"}, {"value": "Failed"}, {"value": "InProgress"}]}}, {"readOnly": true, "type": "string", "name": "statusCode"}, {"readOnly": true, "type": "string", "name": "statusMessage"}, {"readOnly": true, "type": "integer64", "name": "totalBlobsImported"}, {"readOnly": true, "type": "integer64", "name": "totalBlobsWalked"}, {"readOnly": true, "type": "integer64", "name": "totalConflicts"}, {"readOnly": true, "type": "integer64", "name": "totalErrors"}], "clientFlatten": true}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}
Loading