Skip to content

Commit 181777c

Browse files
authored
Merge pull request #780 from Aman-Jain-14/feature-auto_export_and_manual_import_az_cli_amlfs_commands
[StorageCache] adding support for az amlfs import/auto-export commands
2 parents 3d763e3 + e226b72 commit 181777c

22 files changed

Lines changed: 1692 additions & 2 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _amlfs auto-export create_
2+
3+
Create an auto export job.
4+
5+
## Versions
6+
7+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vYXV0b2V4cG9ydGpvYnMve30=/2024-07-01.xml) **Stable**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/autoexportjobs/{} 2024-07-01 -->
10+
11+
#### examples
12+
13+
- autoExportJobs_CreateOrUpdate
14+
```bash
15+
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+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _amlfs auto-export delete_
2+
3+
Delete an auto export job for deletion.
4+
5+
## Versions
6+
7+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vYXV0b2V4cG9ydGpvYnMve30=/2024-07-01.xml) **Stable**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/autoexportjobs/{} 2024-07-01 -->
10+
11+
#### examples
12+
13+
- autoExportJobs_Delete
14+
```bash
15+
amlfs auto-export delete --resource-group scgroup --aml-filesystem-name fs1 --auto-export-job-name job1
16+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _amlfs auto-export list_
2+
3+
List all the auto export jobs the user has access to under an AML File System.
4+
5+
## Versions
6+
7+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vYXV0b2V4cG9ydGpvYnM=/2024-07-01.xml) **Stable**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/autoexportjobs 2024-07-01 -->
10+
11+
#### examples
12+
13+
- autoExportJobs_ListByAmlFilesystem
14+
```bash
15+
amlfs auto-export list --resource-group scgroup --aml-filesystem-name fs1
16+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _amlfs auto-export show_
2+
3+
Get an auto export job.
4+
5+
## Versions
6+
7+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vYXV0b2V4cG9ydGpvYnMve30=/2024-07-01.xml) **Stable**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/autoexportjobs/{} 2024-07-01 -->
10+
11+
#### examples
12+
13+
- autoExportJobs_Get
14+
```bash
15+
amlfs auto-export show --resource-group scgroup --aml-filesystem-name fs1 --auto-export-job-name job1
16+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _amlfs auto-export update_
2+
3+
Update an auto export job instance.
4+
5+
## Versions
6+
7+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vYXV0b2V4cG9ydGpvYnMve30=/2024-07-01.xml) **Stable**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/autoexportjobs/{} 2024-07-01 -->
10+
11+
#### examples
12+
13+
- autoExportJobs_CreateOrUpdate
14+
```bash
15+
amlfs auto-export-job update --resource-group scgroup --aml-filesystem-name fs1 --auto-export-job-name job1 --admin-status Disable
16+
```
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# [Group] _amlfs auto-export_
2+
3+
Manage Auto Export Job
4+
5+
## Commands
6+
7+
- [create](/Commands/amlfs/auto-export/_create.md)
8+
: Create an auto export job.
9+
10+
- [delete](/Commands/amlfs/auto-export/_delete.md)
11+
: Delete an auto export job for deletion.
12+
13+
- [list](/Commands/amlfs/auto-export/_list.md)
14+
: List all the auto export jobs the user has access to under an AML File System.
15+
16+
- [show](/Commands/amlfs/auto-export/_show.md)
17+
: Get an auto export job.
18+
19+
- [update](/Commands/amlfs/auto-export/_update.md)
20+
: Update an auto export job instance.

Commands/amlfs/import/_create.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _amlfs import create_
2+
3+
Create an import job.
4+
5+
## Versions
6+
7+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vaW1wb3J0am9icy97fQ==/2024-07-01.xml) **Stable**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/importjobs/{} 2024-07-01 -->
10+
11+
#### examples
12+
13+
- importJobs_CreateOrUpdate
14+
```bash
15+
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+
```

Commands/amlfs/import/_delete.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _amlfs import delete_
2+
3+
Delete an import job for deletion.
4+
5+
## Versions
6+
7+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vaW1wb3J0am9icy97fQ==/2024-07-01.xml) **Stable**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/importjobs/{} 2024-07-01 -->
10+
11+
#### examples
12+
13+
- importJobs_Delete
14+
```bash
15+
amlfs import delete --resource-group scgroup --aml-filesystem-name fs1 --import-job-name job1
16+
```

Commands/amlfs/import/_list.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _amlfs import list_
2+
3+
List all import jobs the user has access to under an AML File System.
4+
5+
## Versions
6+
7+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vaW1wb3J0am9icw==/2024-07-01.xml) **Stable**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/importjobs 2024-07-01 -->
10+
11+
#### examples
12+
13+
- importJobs_ListByAmlFilesystem
14+
```bash
15+
amlfs import list --resource-group scgroup --aml-filesystem-name fs1
16+
```

Commands/amlfs/import/_show.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _amlfs import show_
2+
3+
Get an import job.
4+
5+
## Versions
6+
7+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vaW1wb3J0am9icy97fQ==/2024-07-01.xml) **Stable**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/importjobs/{} 2024-07-01 -->
10+
11+
#### examples
12+
13+
- importJobs_Get
14+
```bash
15+
amlfs import show --resource-group scgroup --aml-filesystem-name fs1 --import-job-name job1
16+
```

0 commit comments

Comments
 (0)