Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Compute] az vmss create/update: Add new parameter --enable-osimage-notification to support enabling OS image scheduled event #25273

Merged
merged 134 commits into from
Feb 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
c3bddb1
Merge pull request #1 from Azure/dev
Jing-song Apr 19, 2021
fa0298f
Merge branch 'Azure:dev' into dev
Jing-song May 21, 2021
ccdb671
Merge branch 'Azure:dev' into dev
Jing-song May 26, 2021
55f9f41
Merge branch 'Azure:dev' into dev
Jing-song May 26, 2021
5214a50
Merge branch 'Azure:dev' into dev
Jing-song May 26, 2021
5aca3e5
Merge branch 'Azure:dev' into dev
Jing-song May 27, 2021
3679f8e
Merge branch 'Azure:dev' into dev
Jing-song May 28, 2021
c06f36c
Merge branch 'Azure:dev' into dev
Jing-song May 31, 2021
5b340f5
Merge branch 'Azure:dev' into dev
Jing-song May 31, 2021
1034a7f
Merge branch 'Azure:dev' into dev
Jing-song May 31, 2021
8534654
Merge branch 'Azure:dev' into dev
Jing-song Jun 1, 2021
9156c4b
Merge branch 'Azure:dev' into dev
Jing-song Jun 3, 2021
48d066b
Merge branch 'Azure:dev' into dev
Jing-song Jun 8, 2021
f1852e2
Merge branch 'Azure:dev' into dev
Jing-song Jun 23, 2021
6f97566
Merge branch 'Azure:dev' into dev
Jing-song Jun 28, 2021
f088b7d
Merge branch 'Azure:dev' into dev
Jing-song Jun 29, 2021
b112a29
Merge branch 'Azure:dev' into dev
Jing-song Jun 30, 2021
4a0ce60
Merge branch 'Azure:dev' into dev
Jing-song Jul 2, 2021
33230a0
Merge branch 'Azure:dev' into dev
Jing-song Jul 2, 2021
3d031c9
Merge branch 'Azure:dev' into dev
Jing-song Jul 2, 2021
e5d3ee5
Merge branch 'Azure:dev' into dev
Jing-song Jul 5, 2021
a24e411
Merge branch 'Azure:dev' into dev
Jing-song Jul 8, 2021
1348a2e
Merge branch 'Azure:dev' into dev
Jing-song Jul 13, 2021
b4e2184
Merge branch 'Azure:dev' into dev
Jing-song Jul 20, 2021
7b93a02
Merge branch 'Azure:dev' into dev
Jing-song Jul 26, 2021
cd913bc
Merge branch 'Azure:dev' into dev
Jing-song Jul 27, 2021
11ab499
Merge branch 'Azure:dev' into dev
Jing-song Jul 27, 2021
0542e7d
Merge branch 'Azure:dev' into dev
Jing-song Jul 28, 2021
a1825c0
Merge branch 'Azure:dev' into dev
Jing-song Aug 3, 2021
4494f7e
Merge branch 'Azure:dev' into dev
Jing-song Aug 9, 2021
b09f26f
Merge branch 'Azure:dev' into dev
Jing-song Aug 13, 2021
cd47d05
Merge branch 'Azure:dev' into dev
Jing-song Aug 18, 2021
f9b841a
Merge branch 'Azure:dev' into dev
Jing-song Aug 19, 2021
1082800
Merge branch 'Azure:dev' into dev
Jing-song Aug 19, 2021
015c233
Merge branch 'Azure:dev' into dev
Jing-song Aug 19, 2021
44c6d72
Merge branch 'Azure:dev' into dev
Jing-song Aug 20, 2021
dc15555
Merge branch 'Azure:dev' into dev
Jing-song Sep 2, 2021
1e5a6a7
Merge branch 'Azure:dev' into dev
Jing-song Sep 8, 2021
c02bf89
Merge branch 'Azure:dev' into dev
Jing-song Sep 8, 2021
2f51bc5
Merge branch 'Azure:dev' into dev
Jing-song Sep 14, 2021
471ed8f
Merge branch 'Azure:dev' into dev
Jing-song Sep 18, 2021
b67b2dc
Merge branch 'Azure:dev' into dev
Jing-song Sep 23, 2021
1ef0a62
Merge branch 'Azure:dev' into dev
Jing-song Sep 23, 2021
0d4f4c6
Merge branch 'Azure:dev' into dev
Jing-song Sep 29, 2021
aab1fa3
Merge branch 'Azure:dev' into dev
Jing-song Oct 18, 2021
461eb32
Merge branch 'Azure:dev' into dev
Jing-song Oct 18, 2021
1500739
Merge branch 'Azure:dev' into dev
Jing-song Oct 27, 2021
348197a
Merge branch 'Azure:dev' into dev
Jing-song Nov 12, 2021
a305bac
Merge branch 'Azure:dev' into dev
Jing-song Dec 15, 2021
559d6e2
Merge branch 'Azure:dev' into dev
Jing-song Dec 20, 2021
6dd3b66
Merge branch 'Azure:dev' into dev
Jing-song Dec 22, 2021
49f9b65
Merge branch 'Azure:dev' into dev
Jing-song Dec 27, 2021
6d87d35
Merge branch 'Azure:dev' into dev
Jing-song Dec 27, 2021
93a8a0b
Merge branch 'Azure:dev' into dev
Jing-song Dec 27, 2021
f9d4127
Merge branch 'Azure:dev' into dev
Jing-song Dec 28, 2021
cf40845
Merge branch 'Azure:dev' into dev
Jing-song Jan 7, 2022
33a744b
Merge branch 'Azure:dev' into dev
Jing-song Jan 13, 2022
c7a4302
Merge branch 'Azure:dev' into dev
Jing-song Jan 17, 2022
80459bd
Merge branch 'Azure:dev' into dev
Jing-song Feb 10, 2022
f03c7cb
Merge branch 'Azure:dev' into dev
Jing-song Feb 16, 2022
8816cad
Merge branch 'Azure:dev' into dev
Jing-song Feb 16, 2022
a8358e4
Merge branch 'Azure:dev' into dev
Jing-song Feb 17, 2022
26df2e1
Merge branch 'Azure:dev' into dev
Jing-song Mar 1, 2022
d5b3a21
Merge branch 'Azure:dev' into dev
Jing-song Mar 4, 2022
5432601
Merge branch 'Azure:dev' into dev
Jing-song Mar 11, 2022
68dc481
Merge branch 'Azure:dev' into dev
Jing-song Mar 22, 2022
f66c4d4
Merge branch 'Azure:dev' into dev
Jing-song Mar 30, 2022
0dda07c
Merge branch 'Azure:dev' into dev
Jing-song Mar 31, 2022
8dfb51d
Merge branch 'Azure:dev' into dev
Jing-song Apr 12, 2022
3e84f9d
Merge branch 'Azure:dev' into dev
Jing-song Apr 13, 2022
b84a904
Merge branch 'Azure:dev' into dev
Jing-song Apr 19, 2022
e1c56c6
Merge branch 'Azure:dev' into dev
Jing-song Apr 22, 2022
7afd605
Merge branch 'Azure:dev' into dev
Jing-song Apr 25, 2022
e24aed0
Merge branch 'Azure:dev' into dev
Jing-song May 6, 2022
6296b10
Merge branch 'Azure:dev' into dev
Jing-song May 12, 2022
bbe59c9
Merge branch 'Azure:dev' into dev
Jing-song May 19, 2022
81002f0
Merge branch 'Azure:dev' into dev
Jing-song May 19, 2022
ead308c
Merge branch 'Azure:dev' into dev
Jing-song May 19, 2022
d12b5fe
Merge branch 'Azure:dev' into dev
Jing-song May 19, 2022
c2c1812
Merge branch 'Azure:dev' into dev
Jing-song May 23, 2022
e1da1a3
Merge branch 'Azure:dev' into dev
Jing-song Jun 13, 2022
859a6fb
Merge branch 'Azure:dev' into dev
Jing-song Jun 20, 2022
cd518fa
Merge branch 'Azure:dev' into dev
Jing-song Jun 21, 2022
aab0f86
Merge branch 'Azure:dev' into dev
Jing-song Jun 23, 2022
c76627e
Merge branch 'Azure:dev' into dev
Jing-song Jun 28, 2022
b00e094
Merge branch 'Azure:dev' into dev
Jing-song Jul 4, 2022
a1672f7
Merge branch 'Azure:dev' into dev
Jing-song Jul 5, 2022
8d8a03f
Merge branch 'Azure:dev' into dev
Jing-song Jul 6, 2022
8d4c0ad
Merge branch 'Azure:dev' into dev
Jing-song Jul 21, 2022
0fc6c54
Merge branch 'Azure:dev' into dev
Jing-song Jul 26, 2022
c782e20
Merge branch 'Azure:dev' into dev
Jing-song Aug 1, 2022
9afae27
Merge branch 'Azure:dev' into dev
Jing-song Aug 30, 2022
e4836aa
Merge branch 'Azure:dev' into dev
Jing-song Aug 31, 2022
54fc21f
Merge branch 'Azure:dev' into dev
Jing-song Sep 5, 2022
1558f8e
Merge branch 'Azure:dev' into dev
Jing-song Sep 16, 2022
c7f1f87
Merge branch 'Azure:dev' into dev
Jing-song Sep 21, 2022
bdebc83
Merge branch 'Azure:dev' into dev
Jing-song Sep 26, 2022
5c2c1c5
Merge branch 'Azure:dev' into dev
Jing-song Sep 30, 2022
2b32937
Merge branch 'Azure:dev' into dev
Jing-song Oct 10, 2022
eb1a3c9
Merge branch 'Azure:dev' into dev
Jing-song Oct 13, 2022
c552e8e
Merge branch 'Azure:dev' into dev
Jing-song Oct 18, 2022
a7f0302
Merge branch 'Azure:dev' into dev
Jing-song Oct 21, 2022
89c8fcd
Merge branch 'Azure:dev' into dev
Jing-song Oct 24, 2022
a6c0aac
Merge branch 'Azure:dev' into dev
Jing-song Oct 26, 2022
8290005
Merge branch 'Azure:dev' into dev
Jing-song Nov 1, 2022
bed4538
Merge branch 'Azure:dev' into dev
Jing-song Nov 7, 2022
73a5f15
Merge branch 'Azure:dev' into dev
Jing-song Nov 24, 2022
fcf85a4
Merge branch 'Azure:dev' into dev
Jing-song Nov 30, 2022
96b45b3
Merge branch 'Azure:dev' into dev
Jing-song Dec 1, 2022
3fb5186
Merge branch 'Azure:dev' into dev
Jing-song Dec 5, 2022
eedb87f
Merge branch 'Azure:dev' into dev
Jing-song Dec 13, 2022
23ebda7
Merge branch 'Azure:dev' into dev
Jing-song Dec 29, 2022
e9c0555
Merge branch 'Azure:dev' into dev
Jing-song Jan 9, 2023
d622f0a
sdk
Jing-song Jan 28, 2023
e5c2ea5
test
Jing-song Jan 28, 2023
73190c7
test
Jing-song Jan 29, 2023
cec6e9e
Merge branch 'Azure:dev' into dev
Jing-song Jan 29, 2023
e204c8b
Merge branch 'jins-osimage' of https://github.com/PARADISSEEKR/azure-…
Jing-song Jan 29, 2023
18b13e1
test
Jing-song Jan 30, 2023
885fd89
osimage notification
Jing-song Jan 30, 2023
72fd6ef
test
Jing-song Jan 30, 2023
0c97b14
test
Jing-song Jan 30, 2023
6c964a2
Merge branch 'Azure:dev' into dev
Jing-song Jan 31, 2023
8b4aee8
Merge branch 'dev' into jins-osimage
Jing-song Jan 31, 2023
64962ee
conflict
Jing-song Jan 31, 2023
2779fbb
update
Jing-song Jan 31, 2023
a531e86
update
Jing-song Jan 31, 2023
43e8b59
Merge branch 'Azure:dev' into dev
Jing-song Feb 1, 2023
7e3b1fd
Merge branch 'dev' into jins-osimage
Jing-song Feb 1, 2023
dc6ab28
conflict
Jing-song Feb 1, 2023
0732b07
Merge branch 'Azure:dev' into dev
Jing-song Feb 1, 2023
e6ddbe3
Merge branch 'dev' into jins-osimage
Jing-song Feb 1, 2023
fe6f865
conflict
Jing-song Feb 1, 2023
869020e
Update test_vmss_reimage_instance_id.yaml
Jing-song Feb 1, 2023
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
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