Skip to content

Commit 3269645

Browse files
committed
Update azure-mgmt-resource SDK to latest
1 parent ed7f981 commit 3269645

File tree

107 files changed

+1483
-1483
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+1483
-1483
lines changed

src/azure-cli-core/azure/cli/core/profiles/_shared.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def default_api_version(self):
177177
ResourceType.MGMT_RESOURCE_POLICY: SDKProfile('2021-06-01', {
178178
'policy_exemptions': '2020-07-01-preview'
179179
}),
180-
ResourceType.MGMT_RESOURCE_RESOURCES: '2022-09-01',
180+
ResourceType.MGMT_RESOURCE_RESOURCES: '2024-11-01',
181181
ResourceType.MGMT_RESOURCE_SUBSCRIPTIONS: '2022-12-01',
182182
ResourceType.MGMT_RESOURCE_DEPLOYMENTSCRIPTS: '2020-10-01',
183183
ResourceType.MGMT_RESOURCE_TEMPLATESPECS: '2021-05-01',

src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_aaz_resource_id_arg_fmt.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ interactions:
1414
- AZURECLI/2.45.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.9 (Linux-5.15.0-1031-azure-x86_64-with-glibc2.31)
1515
VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0
1616
method: GET
17-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_resource_id_arg_fmt000001?api-version=2022-09-01
17+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_resource_id_arg_fmt000001?api-version=2024-11-01
1818
response:
1919
body:
2020
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_resource_id_arg_fmt000001","name":"test_resource_id_arg_fmt000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2023-02-07T11:12:46Z"},"properties":{"provisioningState":"Succeeded"}}'
@@ -55,7 +55,7 @@ interactions:
5555
- AZURECLI/2.45.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.9 (Linux-5.15.0-1031-azure-x86_64-with-glibc2.31)
5656
VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0
5757
method: GET
58-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_resource_id_arg_fmt000001?api-version=2022-09-01
58+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_resource_id_arg_fmt000001?api-version=2024-11-01
5959
response:
6060
body:
6161
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_resource_id_arg_fmt000001","name":"test_resource_id_arg_fmt000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2023-02-07T11:12:46Z"},"properties":{"provisioningState":"Succeeded"}}'
@@ -96,7 +96,7 @@ interactions:
9696
- AZURECLI/2.45.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.9 (Linux-5.15.0-1031-azure-x86_64-with-glibc2.31)
9797
VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0
9898
method: GET
99-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_resource_id_arg_fmt000001?api-version=2022-09-01
99+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_resource_id_arg_fmt000001?api-version=2024-11-01
100100
response:
101101
body:
102102
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_resource_id_arg_fmt000001","name":"test_resource_id_arg_fmt000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2023-02-07T11:12:46Z"},"properties":{"provisioningState":"Succeeded"}}'
@@ -137,7 +137,7 @@ interactions:
137137
- AZURECLI/2.45.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.9 (Linux-5.15.0-1031-azure-x86_64-with-glibc2.31)
138138
VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0
139139
method: GET
140-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_resource_id_arg_fmt000001?api-version=2022-09-01
140+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_resource_id_arg_fmt000001?api-version=2024-11-01
141141
response:
142142
body:
143143
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_resource_id_arg_fmt000001","name":"test_resource_id_arg_fmt000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2023-02-07T11:12:46Z"},"properties":{"provisioningState":"Succeeded"}}'

src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_aaz_resource_location_arg_fmt.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interactions:
1313
User-Agent:
1414
- AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.10.12 (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35)
1515
method: GET
16-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_resource_location_arg_fmt000001?api-version=2022-09-01
16+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_resource_location_arg_fmt000001?api-version=2024-11-01
1717
response:
1818
body:
1919
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_resource_location_arg_fmt000001","name":"test_resource_location_arg_fmt000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","test":"test_aaz_resource_location_arg_fmt","date":"2024-05-07T16:44:11Z","module":"resource"},"properties":{"provisioningState":"Succeeded"}}'

src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_aaz_subscription_id_arg_format.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interactions:
1616
- AZURECLI/2.45.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.9 (Linux-5.15.0-1031-azure-x86_64-with-glibc2.31)
1717
VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0
1818
method: GET
19-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_subscription_id_arg_format000001?api-version=2022-09-01
19+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_subscription_id_arg_format000001?api-version=2024-11-01
2020
response:
2121
body:
2222
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_subscription_id_arg_format000001","name":"test_subscription_id_arg_format000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2023-02-07T11:12:53Z"},"properties":{"provisioningState":"Succeeded"}}'

src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_cannotdelete_resource_lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interactions:
1616
- AZURECLI/2.45.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.9 (Linux-5.15.0-1031-azure-x86_64-with-glibc2.31)
1717
VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0
1818
method: GET
19-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cannotdelete_resource_lock000001?api-version=2022-09-01
19+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cannotdelete_resource_lock000001?api-version=2024-11-01
2020
response:
2121
body:
2222
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cannotdelete_resource_lock000001","name":"cli_test_cannotdelete_resource_lock000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2023-02-07T11:12:56Z"},"properties":{"provisioningState":"Succeeded"}}'

0 commit comments

Comments
 (0)