forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Azure#61 from yanzhudd/compute_migrate
Add command model for `az restore-point` and `az sig gallery-application version` and `az vmss extension image`
- Loading branch information
Showing
39 changed files
with
14,451 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# [Command] _restore-point create_ | ||
|
||
Create the restore point. Updating properties of an existing restore point is not allowed. | ||
|
||
## Versions | ||
|
||
### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3Jlc3RvcmVwb2ludGNvbGxlY3Rpb25zL3t9L3Jlc3RvcmVwb2ludHMve30=/2022-08-01.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/restorepointcollections/{}/restorepoints/{} 2022-08-01 --> | ||
|
||
#### examples | ||
|
||
- Create a restore point | ||
```bash | ||
restore-point create --exclude-disks "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/disk123" --resource-group "myResourceGroup" --collection-name "rpcName" --name "rpName" | ||
``` | ||
|
||
- Create a restore point with --consistency-mode CrashConsistent | ||
```bash | ||
vm create -n vm -g rg --image UbuntuLTS --tag EnableCrashConsistentRestorePoint=True | ||
restore-point collection create --source-id "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM" -g rg --collection-name "myRpc" | ||
restore-point create --exclude-disks "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/disk123" --resource-group "myResourceGroup" --collection-name "rpcName" --name "rpName" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# [Command] _restore-point delete_ | ||
|
||
Delete the restore point. | ||
|
||
## Versions | ||
|
||
### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3Jlc3RvcmVwb2ludGNvbGxlY3Rpb25zL3t9L3Jlc3RvcmVwb2ludHMve30=/2022-08-01.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/restorepointcollections/{}/restorepoints/{} 2022-08-01 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _restore-point show_ | ||
|
||
Get the restore point. | ||
|
||
## Versions | ||
|
||
### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3Jlc3RvcmVwb2ludGNvbGxlY3Rpb25zL3t9L3Jlc3RvcmVwb2ludHMve30=/2022-08-01.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/restorepointcollections/{}/restorepoints/{} 2022-08-01 --> | ||
|
||
#### examples | ||
|
||
- Get a restore point | ||
```bash | ||
restore-point show --resource-group "myResourceGroup" --collection-name "rpcName" --name "rpName" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# [Command] _restore-point update_ | ||
|
||
Update operation to create the restore point. Updating properties of an existing restore point is not allowed. | ||
|
||
## Versions | ||
|
||
### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3Jlc3RvcmVwb2ludGNvbGxlY3Rpb25zL3t9L3Jlc3RvcmVwb2ludHMve30=/2022-08-01.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/restorepointcollections/{}/restorepoints/{} 2022-08-01 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# [Group] _restore-point_ | ||
|
||
Manage restore point with res. | ||
|
||
## Commands | ||
|
||
- [create](/Commands/restore-point/_create.md) | ||
: Create the restore point. Updating properties of an existing restore point is not allowed. | ||
|
||
- [delete](/Commands/restore-point/_delete.md) | ||
: Delete the restore point. | ||
|
||
- [show](/Commands/restore-point/_show.md) | ||
: Get the restore point. | ||
|
||
- [update](/Commands/restore-point/_update.md) | ||
: Update operation to create the restore point. Updating properties of an existing restore point is not allowed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# [Group] _sig gallery-application_ | ||
|
||
Manage gallery application. | ||
|
||
## Subgroups | ||
|
||
- [version](/Commands/sig/gallery-application/version/readme.md) | ||
: Manage gallery application version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _sig gallery-application version create_ | ||
|
||
Create a gallery Application Version. | ||
|
||
## Versions | ||
|
||
### [2022-01-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnMve30=/2022-01-03.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}/versions/{} 2022-01-03 --> | ||
|
||
#### examples | ||
|
||
- Create a simple gallery Application Version. | ||
```bash | ||
sig gallery-application version create --gallery-name myGalleryName --application-name myGalleryApplicationName -n 1.0.0 -g myResourceGroup --package-file-link https://{myStorageAccount}.blob.core.windows.net/{myStorageContainer}/{myStorageBlob} --install-command installCommand --remove-command removeCommand | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# [Command] _sig gallery-application version delete_ | ||
|
||
Delete a gallery Application Version. | ||
|
||
## Versions | ||
|
||
### [2022-01-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnMve30=/2022-01-03.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}/versions/{} 2022-01-03 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# [Command] _sig gallery-application version list_ | ||
|
||
List gallery application versions. | ||
|
||
## Versions | ||
|
||
### [2022-01-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnM=/2022-01-03.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}/versions 2022-01-03 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# [Command] _sig gallery-application version show_ | ||
|
||
Get information about a gallery Application Version. | ||
|
||
## Versions | ||
|
||
### [2022-01-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnMve30=/2022-01-03.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}/versions/{} 2022-01-03 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# [Command] _sig gallery-application version update_ | ||
|
||
Update a gallery Application Version. | ||
|
||
## Versions | ||
|
||
### [2022-01-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnMve30=/2022-01-03.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}/versions/{} 2022-01-03 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# [Group] _sig gallery-application version_ | ||
|
||
Manage gallery application version. | ||
|
||
## Commands | ||
|
||
- [create](/Commands/sig/gallery-application/version/_create.md) | ||
: Create a gallery Application Version. | ||
|
||
- [delete](/Commands/sig/gallery-application/version/_delete.md) | ||
: Delete a gallery Application Version. | ||
|
||
- [list](/Commands/sig/gallery-application/version/_list.md) | ||
: List gallery application versions. | ||
|
||
- [show](/Commands/sig/gallery-application/version/_show.md) | ||
: Get information about a gallery Application Version. | ||
|
||
- [update](/Commands/sig/gallery-application/version/_update.md) | ||
: Update a gallery Application Version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# [Group] _sig_ | ||
|
||
Manage shared image gallery. | ||
|
||
## Subgroups | ||
|
||
- [gallery-application](/Commands/sig/gallery-application/readme.md) | ||
: Manage gallery application. |
Oops, something went wrong.