Skip to content

Commit

Permalink
[Compute] az vmss create/update: Add new parameter `--enable-osimag…
Browse files Browse the repository at this point in the history
…e-notification` to support enabling OS image scheduled event (Azure#25273)
  • Loading branch information
Jing-song authored Feb 2, 2023
1 parent 7c9ec3d commit ba7b507
Show file tree
Hide file tree
Showing 273 changed files with 280,519 additions and 261,830 deletions.
4 changes: 2 additions & 2 deletions src/azure-cli-core/azure/cli/core/profiles/_shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def default_api_version(self):
'latest': {
ResourceType.MGMT_STORAGE: '2022-09-01',
ResourceType.MGMT_NETWORK: '2022-01-01',
ResourceType.MGMT_COMPUTE: SDKProfile('2022-08-01', {
ResourceType.MGMT_COMPUTE: SDKProfile('2022-11-01', {
'resource_skus': '2019-04-01',
'disks': '2022-07-02',
'disk_encryption_sets': '2022-03-02',
Expand All @@ -166,7 +166,7 @@ def default_api_version(self):
'gallery_applications': '2021-07-01',
'gallery_application_versions': '2022-01-03',
'shared_galleries': '2022-01-03',
'virtual_machine_scale_sets': '2022-08-01',
'virtual_machine_scale_sets': '2022-11-01',
}),
ResourceType.MGMT_RESOURCE_FEATURES: '2021-07-01',
ResourceType.MGMT_RESOURCE_LINKS: '2016-09-01',
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ interactions:
- AZURECLI/2.44.1 (PIP) azsdk-python-azure-mgmt-compute/29.0.0 Python/3.10.7
(Windows-10-10.0.22621-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastasia/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2012-R2-Datacenter/versions?$top=1&$orderby=name%20desc&api-version=2022-08-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastasia/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2012-R2-Datacenter/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01
response:
body:
string: "[\r\n {\r\n \"location\": \"eastasia\",\r\n \"name\": \"9600.20778.230108\"\
Expand Down Expand Up @@ -573,7 +573,7 @@ interactions:
- AZURECLI/2.44.1 (PIP) azsdk-python-azure-mgmt-compute/29.0.0 Python/3.10.7
(Windows-10-10.0.22621-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastasia/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2012-R2-Datacenter/versions/9600.20778.230108?api-version=2022-08-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastasia/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2012-R2-Datacenter/versions/9600.20778.230108?api-version=2022-11-01
response:
body:
string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \
Expand Down Expand Up @@ -797,7 +797,7 @@ interactions:
- AZURECLI/2.44.1 (PIP) azsdk-python-azure-mgmt-compute/29.0.0 Python/3.10.7
(Windows-10-10.0.22621-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastasia/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2012-R2-Datacenter/versions?$top=1&$orderby=name%20desc&api-version=2022-08-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastasia/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2012-R2-Datacenter/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01
response:
body:
string: "[\r\n {\r\n \"location\": \"eastasia\",\r\n \"name\": \"9600.20778.230108\"\
Expand Down Expand Up @@ -849,7 +849,7 @@ interactions:
- AZURECLI/2.44.1 (PIP) azsdk-python-azure-mgmt-compute/29.0.0 Python/3.10.7
(Windows-10-10.0.22621-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastasia/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2012-R2-Datacenter/versions/9600.20778.230108?api-version=2022-08-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastasia/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2012-R2-Datacenter/versions/9600.20778.230108?api-version=2022-11-01
response:
body:
string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \
Expand Down Expand Up @@ -913,7 +913,7 @@ interactions:
- AZURECLI/2.44.1 (PIP) azsdk-python-azure-mgmt-compute/29.0.0 Python/3.10.7
(Windows-10-10.0.22621-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastasia/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2012-R2-Datacenter/versions?$top=1&$orderby=name%20desc&api-version=2022-08-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastasia/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2012-R2-Datacenter/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01
response:
body:
string: "[\r\n {\r\n \"location\": \"eastasia\",\r\n \"name\": \"9600.20778.230108\"\
Expand Down Expand Up @@ -965,7 +965,7 @@ interactions:
- AZURECLI/2.44.1 (PIP) azsdk-python-azure-mgmt-compute/29.0.0 Python/3.10.7
(Windows-10-10.0.22621-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastasia/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2012-R2-Datacenter/versions/9600.20778.230108?api-version=2022-08-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastasia/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2012-R2-Datacenter/versions/9600.20778.230108?api-version=2022-11-01
response:
body:
string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \
Expand Down Expand Up @@ -1037,7 +1037,7 @@ interactions:
{"privateIPAllocationMethod": "Dynamic", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitest-vm000003VNET/subnets/clitest-vm000003Subnet"},
"publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/clitest-vm000003PublicIP"}}}],
"networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/clitest-vm000003NSG"}}},
{"apiVersion": "2022-08-01", "type": "Microsoft.Compute/virtualMachines", "name":
{"apiVersion": "2022-11-01", "type": "Microsoft.Compute/virtualMachines", "name":
"clitest-vm000003", "location": "eastasia", "tags": {"MabUsed": "Yes", "Owner":
"sisi", "Purpose": "CLITest", "DeleteBy": "12-2099", "AutoShutdown": "No"},
"dependsOn": ["Microsoft.Network/networkInterfaces/clitest-vm000003VMNic"],
Expand Down Expand Up @@ -1243,7 +1243,7 @@ interactions:
- AZURECLI/2.44.1 (PIP) azsdk-python-azure-mgmt-compute/29.0.0 Python/3.10.7
(Windows-10-10.0.22621-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/clitest-vm000003?$expand=instanceView&api-version=2022-08-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/clitest-vm000003?$expand=instanceView&api-version=2022-11-01
response:
body:
string: "{\r\n \"name\": \"clitest-vm000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/clitest-vm000003\"\
Expand Down Expand Up @@ -1481,7 +1481,7 @@ interactions:
- AZURECLI/2.44.1 (PIP) azsdk-python-azure-mgmt-compute/29.0.0 Python/3.10.7
(Windows-10-10.0.22621-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/clitest-vm000003?api-version=2022-08-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/clitest-vm000003?api-version=2022-11-01
response:
body:
string: "{\r\n \"name\": \"clitest-vm000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/clitest-vm000003\"\
Expand Down
Loading

0 comments on commit ba7b507

Please sign in to comment.