Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
d3a0dad
updated 'az sig image-version create/update'
olayemio Nov 17, 2020
7c2a255
included custom image scenario for az vmss update
olayemio Nov 17, 2020
f0eaea3
correct custom image scenario for az vmss update
olayemio Nov 17, 2020
dad8081
Merge branch 'dev' of https://github.com/Azure/azure-cli into dev
olayemio Nov 19, 2020
de60862
remove trailing whitespace
olayemio Nov 19, 2020
4c94ebe
Delete launch.json
olayemio Nov 20, 2020
1480041
Merge branch 'dev' of https://github.com/Azure/azure-cli into dev
olayemio Nov 30, 2020
06c441d
Merge branch 'dev' of https://github.com/Azure/azure-cli into dev
olayemio Dec 3, 2020
70a2882
Merge branch 'dev' of https://github.com/olayemio/azure-cli into dev
olayemio Dec 3, 2020
08123e1
restore launch.json
olayemio Dec 3, 2020
ae25047
fixed changes to launch.json
olayemio Dec 3, 2020
0327d06
copied original launch.json
olayemio Dec 3, 2020
04cfe27
checked out from main remote
olayemio Dec 3, 2020
669250f
Merge branch 'dev' of https://github.com/Azure/azure-cli into dev
olayemio Dec 4, 2020
402cbd3
Merge branch 'dev' of https://github.com/Azure/azure-cli into dev
olayemio Jan 5, 2021
6d4bdad
Merge branch 'dev' of https://github.com/Azure/azure-cli into dev
olayemio Feb 5, 2021
3065ffe
correct incorrect parameter
olayemio Feb 5, 2021
22362e0
Merge branch 'dev' of https://github.com/Azure/azure-cli into dev
olayemio Feb 18, 2021
5c1b65b
Merge branch 'dev' of https://github.com/Azure/azure-cli into dev
olayemio Feb 22, 2021
63f4f0d
add new sig update example
olayemio Feb 22, 2021
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
Prev Previous commit
Next Next commit
remove trailing whitespace
  • Loading branch information
olayemio committed Nov 19, 2020
commit de60862cfe60b172bc265a3c327c07b6771ab1a6
6 changes: 3 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "Azure CLI Debug (Integrated Console)",
"type": "python",
"request": "launch",
"pythonPath": "${command:python.interpreterPath}",
"python": "${command:python.interpreterPath}",
"program": "${workspaceRoot}/src/azure-cli/azure/cli/__main__.py",
"cwd": "${workspaceRoot}",
"args": [
Expand All @@ -24,7 +24,7 @@
"type": "python",
"request": "launch",
"stopOnEntry": true,
"pythonPath": "${command:python.interpreterPath}",
"python": "${command:python.interpreterPath}",
"program": "${workspaceRoot}/src/azure-cli/azure/cli/__main__.py",
"cwd": "${workspaceRoot}",
"args": [
Expand All @@ -40,7 +40,7 @@
"name": "Azdev Scripts",
"type": "python",
"request": "launch",
"pythonPath": "${command:python.interpreterPath}",
"python": "${command:python.interpreterPath}",
"program": "${workspaceRoot}/tools/automation/__main__.py",
"cwd": "${workspaceRoot}",
"args": [
Expand Down
8 changes: 4 additions & 4 deletions src/azure-cli/azure/cli/command_modules/vm/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,9 +626,9 @@
- name: Add a new image version from a snapshot of an OS disk and add additional data disks
text: |
az sig image-version create -g MyResourceGroup --gallery-name MyGallery --gallery-image-definition MyImage --gallery-image-version 1.0.0 --os-snapshot /subscriptions/00000000-0000-0000-0000-00000000xxxx/resourceGroups/imageGroups/providers/Microsoft.Compute/snapshots/MyOsDiskSnapshot --data-snapshots /subscriptions/00000000-0000-0000-0000-00000000xxxx/resourceGroups/imageGroups/providers/Microsoft.Compute/snapshots/MyDiskSnapshot --data-snapshot-luns 0
- name: Add a new image version from a managed disk
- name: Add a new image version from a managed disk
text: |
az sig image-version create -g MyResourceGroup --gallery-name MyGallery --gallery-image-definition MyImage --gallery-image-version 1.0.0 --os-snapshot /subscriptions/00000000-0000-0000-0000-00000000xxxx/resourceGroups/imageGroups/providers/Microsoft.Compute/disks/MyOSDisk
az sig image-version create -g MyResourceGroup --gallery-name MyGallery --gallery-image-definition MyImage --gallery-image-version 1.0.0 --os-snapshot /subscriptions/00000000-0000-0000-0000-00000000xxxx/resourceGroups/imageGroups/providers/Microsoft.Compute/disks/MyOSDisk
- name: Add a new image version from a managed disk and add additional data disks
text: |
az sig image-version create -g MyResourceGroup --gallery-name MyGallery --gallery-image-definition MyImage --gallery-image-version 1.0.0 --os-snapshot /subscriptions/00000000-0000-0000-0000-00000000xxxx/resourceGroups/imageGroups/providers/Microsoft.Compute/disks/MyOSDisk --data-snapshots /subscriptions/00000000-0000-0000-0000-00000000xxxx/resourceGroups/imageGroups/providers/Microsoft.Compute/disks/MyDataDisk --data-snapshot-luns 0
Expand All @@ -652,11 +652,11 @@
--target-regions westus=2=standard_lrs eastus=3=standard_zrs \\
--gallery-name MyGallery --gallery-image-definition MyImage \\
--managed-image imageInTheSameResourceGroup
- name: Add a new image version using a VM with target regions and customer managed keys for encryption. You specify which disks in the image version to encrypt. Disks encrypted in one region must be encrypted in another region with a different disk encryption set.
- name: Add a new image version using a VM with target regions and customer managed keys for encryption. You specify which disks in the image version to encrypt. Disks encrypted in one region must be encrypted in another region with a different disk encryption set.
text: >
az sig image-version create -g MyResourceGroup --gallery-image-version 1.0.0 --target-regions westus=2=standard eastus --target-region-encryption WestUSDiskEncryptionSet1,0,WestUSDiskEncryptionSet2 EastUSDiskEncryptionSet1,0,EastUSDiskEncryptionSet2 --gallery-name MyGallery --gallery-image-definition MyImage --managed-image /subscriptions/00000000-0000-0000-0000-00000000xxxx/resourceGroups/imageGroups/providers/Microsoft.Compute/virtualMachines/MyVM

- name: Add a new image version using disks with target regions and customer managed keys for encryption. You specify which disks in the image version to encrypt. Disks encrypted in one region must be encrypted in another region with a different disk encryption set.
- name: Add a new image version using disks with target regions and customer managed keys for encryption. You specify which disks in the image version to encrypt. Disks encrypted in one region must be encrypted in another region with a different disk encryption set.
text: >
az sig image-version create -g MyResourceGroup --gallery-image-version 1.0.0 --target-regions westus=2=standard eastus --target-region-encryption WestUSDiskEncryptionSet1,0,WestUSDiskEncryptionSet2 EastUSDiskEncryptionSet1,0,EastUSDiskEncryptionSet2 --gallery-name MyGallery --gallery-image-definition MyImage --os-snapshot /subscriptions/00000000-0000-0000-0000-00000000xxxx/resourceGroups/imageGroups/providers/Microsoft.Compute/disks/MyOSDisk --data-snapshots /subscriptions/00000000-0000-0000-0000-00000000xxxx/resourceGroups/imageGroups/providers/Microsoft.Compute/disks/MyDataDisk --data-snapshot-luns 0
"""
Expand Down