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
16 changes: 16 additions & 0 deletions Commands/amlfs/auto-export/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _amlfs auto-export create_

Create an auto export job.

## Versions

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

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

#### examples

- autoExportJobs_CreateOrUpdate
```bash
amlfs auto-export create --resource-group scgroup --aml-filesystem-name fs1 --auto-export-job-name job1 --tags "{Dept:ContosoAds}" --location eastus --auto-export-prefixes "[/]"
```
16 changes: 16 additions & 0 deletions Commands/amlfs/auto-export/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _amlfs auto-export delete_

Delete an auto export job for deletion.

## Versions

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

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

#### examples

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

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

## Versions

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

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

#### examples

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

Get an auto export job.

## Versions

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

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

#### examples

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

Update an auto export job instance.

## Versions

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

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

#### examples

- autoExportJobs_CreateOrUpdate
```bash
amlfs auto-export-job update --resource-group scgroup --aml-filesystem-name fs1 --auto-export-job-name job1 --admin-status Disable
```
20 changes: 20 additions & 0 deletions Commands/amlfs/auto-export/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _amlfs auto-export_

Manage Auto Export Job

## Commands

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

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

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

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

- [update](/Commands/amlfs/auto-export/_update.md)
: Update an auto export job instance.
16 changes: 16 additions & 0 deletions Commands/amlfs/import/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _amlfs import create_

Create an import job.

## Versions

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

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

#### examples

- importJobs_CreateOrUpdate
```bash
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
```
16 changes: 16 additions & 0 deletions Commands/amlfs/import/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _amlfs import delete_

Delete an import job for deletion.

## Versions

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

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

#### examples

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

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

## Versions

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

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

#### examples

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

Get an import job.

## Versions

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

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

#### examples

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

Update an import job instance.

## Versions

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

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

#### examples

- importJobs_CreateOrUpdate
```bash
amlfs import update --resource-group scgroup --aml-filesystem-name fs1 --import-job-name job1 --admin-status Cancel
```
20 changes: 20 additions & 0 deletions Commands/amlfs/import/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _amlfs import_

Manage Import Job

## Commands

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

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

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

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

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

Manage lustre file system
This is an extension to Azure CLI to manage Amlfs resources.

## Subgroups

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

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

## Commands

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

- [amlfs](/Commands/amlfs/readme.md)
: Manage lustre file system
: This is an extension to Azure CLI to manage Amlfs resources.

- [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/{}/autoexportjobs", "version": "2024-07-01", "swagger": "mgmt-plane/storagecache/ResourceProviders/Microsoft.StorageCache/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZUNhY2hlL2FtbEZpbGVzeXN0ZW1zL3thbWxGaWxlc3lzdGVtTmFtZX0vYXV0b0V4cG9ydEpvYnM=/V/MjAyNC0wNy0wMQ=="}], "commandGroups": [{"name": "amlfs auto-export", "commands": [{"name": "list", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/autoexportjobs", "version": "2024-07-01", "swagger": "mgmt-plane/storagecache/ResourceProviders/Microsoft.StorageCache/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZUNhY2hlL2FtbEZpbGVzeXN0ZW1zL3thbWxGaWxlc3lzdGVtTmFtZX0vYXV0b0V4cG9ydEpvYnM=/V/MjAyNC0wNy0wMQ=="}], "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": "autoExportJobs_ListByAmlFilesystem", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs", "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": "2024-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/{}/autoExportJobs/{}"}}, {"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": "autoExportPrefixes", "item": {"type": "string"}}, {"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": "integer64", "name": "currentIterationFilesDiscovered"}, {"readOnly": true, "type": "integer64", "name": "currentIterationFilesExported"}, {"readOnly": true, "type": "integer64", "name": "currentIterationFilesFailed"}, {"readOnly": true, "type": "integer64", "name": "currentIterationMiBDiscovered"}, {"readOnly": true, "type": "integer64", "name": "currentIterationMiBExported"}, {"readOnly": true, "type": "integer32", "name": "exportIterationCount"}, {"readOnly": true, "type": "dateTime", "name": "lastCompletionTimeUTC"}, {"readOnly": true, "type": "dateTime", "name": "lastStartedTimeUTC"}, {"readOnly": true, "type": "dateTime", "name": "lastSuccessfulIterationCompletionTimeUTC"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "DisableFailed"}, {"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": "totalFilesExported"}, {"readOnly": true, "type": "integer64", "name": "totalFilesFailed"}, {"readOnly": true, "type": "integer64", "name": "totalMiBExported"}], "clientFlatten": true}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"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"}], "confirmation": ""}]}]}
Loading