Skip to content

Commit

Permalink
Merge pull request Azure#61 from yanzhudd/compute_migrate
Browse files Browse the repository at this point in the history
Add command model for `az restore-point` and `az sig gallery-application version` and `az vmss extension image`
  • Loading branch information
necusjz authored Jan 3, 2023
2 parents 5c3af3f + 4c4dc21 commit 81c5596
Show file tree
Hide file tree
Showing 39 changed files with 14,451 additions and 15 deletions.
9 changes: 9 additions & 0 deletions Commands/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,17 @@
- [reservations](/Commands/reservations/readme.md)
: Azure Reservations

- [restore-point](/Commands/restore-point/readme.md)
: Manage restore point with res.

- [sentinel](/Commands/sentinel/readme.md)
: Manage Microsoft Sentinel.

- [sig](/Commands/sig/readme.md)
: Manage shared image gallery.

- [sql](/Commands/sql/readme.md)
: Manage Azure SQL Databases and Data Warehouses.

- [vmss](/Commands/vmss/readme.md)
: Manage groupings of virtual machines in an Azure Virtual Machine Scale Set (VMSS).
23 changes: 23 additions & 0 deletions Commands/restore-point/_create.md
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"
```
9 changes: 9 additions & 0 deletions Commands/restore-point/_delete.md
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 -->
16 changes: 16 additions & 0 deletions Commands/restore-point/_show.md
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"
```
9 changes: 9 additions & 0 deletions Commands/restore-point/_update.md
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 -->
17 changes: 17 additions & 0 deletions Commands/restore-point/readme.md
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.
8 changes: 8 additions & 0 deletions Commands/sig/gallery-application/readme.md
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.
16 changes: 16 additions & 0 deletions Commands/sig/gallery-application/version/_create.md
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
```
9 changes: 9 additions & 0 deletions Commands/sig/gallery-application/version/_delete.md
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 -->
9 changes: 9 additions & 0 deletions Commands/sig/gallery-application/version/_list.md
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 -->
9 changes: 9 additions & 0 deletions Commands/sig/gallery-application/version/_show.md
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 -->
9 changes: 9 additions & 0 deletions Commands/sig/gallery-application/version/_update.md
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 -->
20 changes: 20 additions & 0 deletions Commands/sig/gallery-application/version/readme.md
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.
8 changes: 8 additions & 0 deletions Commands/sig/readme.md
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.
Loading

0 comments on commit 81c5596

Please sign in to comment.