Skip to content

Commit 95f16fb

Browse files
authored
{Storage} Bump azure-mgmt-storage to api version 2024-01-01 (#30865)
* bump azure-mgmt-storage version to 2024-01-01 * rerun storage tests * rerun other tests * fix api version for other tests * fix test
1 parent b190338 commit 95f16fb

File tree

356 files changed

+12141
-13449
lines changed

Some content is hidden

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

356 files changed

+12141
-13449
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def default_api_version(self):
155155

156156
AZURE_API_PROFILES = {
157157
'latest': {
158-
ResourceType.MGMT_STORAGE: '2023-05-01',
158+
ResourceType.MGMT_STORAGE: '2024-01-01',
159159
ResourceType.MGMT_NETWORK: '2022-01-01',
160160
ResourceType.MGMT_COMPUTE: SDKProfile('2024-07-01', {
161161
'resource_skus': '2019-04-01',

src/azure-cli/azure/cli/command_modules/ams/tests/latest/recordings/test_ams_asset_track_create.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ interactions:
256256
- AZURECLI/2.42.0 azsdk-python-azure-mgmt-storage/21.0.0 Python/3.10.8 (Linux-5.15.0-1022-azure-x86_64-with-glibc2.31)
257257
VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0
258258
method: POST
259-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2023-05-01&$expand=kerb
259+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2024-01-01&$expand=kerb
260260
response:
261261
body:
262262
string: '{"keys":[{"creationTime":"2022-11-17T09:25:20.1007575Z","keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"creationTime":"2022-11-17T09:25:20.1007575Z","keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}'

src/azure-cli/azure/cli/command_modules/ams/tests/latest/recordings/test_ams_asset_track_delete.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ interactions:
256256
- AZURECLI/2.42.0 azsdk-python-azure-mgmt-storage/21.0.0 Python/3.10.8 (Linux-5.15.0-1022-azure-x86_64-with-glibc2.31)
257257
VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0
258258
method: POST
259-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2023-05-01&$expand=kerb
259+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2024-01-01&$expand=kerb
260260
response:
261261
body:
262262
string: '{"keys":[{"creationTime":"2022-11-17T09:27:23.4147017Z","keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"creationTime":"2022-11-17T09:27:23.4147017Z","keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}'

src/azure-cli/azure/cli/command_modules/ams/tests/latest/recordings/test_ams_asset_track_list.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ interactions:
256256
- AZURECLI/2.42.0 azsdk-python-azure-mgmt-storage/21.0.0 Python/3.10.8 (Linux-5.15.0-1022-azure-x86_64-with-glibc2.31)
257257
VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0
258258
method: POST
259-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2023-05-01&$expand=kerb
259+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2024-01-01&$expand=kerb
260260
response:
261261
body:
262262
string: '{"keys":[{"creationTime":"2022-11-17T09:28:51.6814268Z","keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"creationTime":"2022-11-17T09:28:51.6814268Z","keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}'

src/azure-cli/azure/cli/command_modules/ams/tests/latest/recordings/test_ams_asset_track_show.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ interactions:
256256
- AZURECLI/2.42.0 azsdk-python-azure-mgmt-storage/21.0.0 Python/3.10.8 (Linux-5.15.0-1022-azure-x86_64-with-glibc2.31)
257257
VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0
258258
method: POST
259-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2023-05-01&$expand=kerb
259+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2024-01-01&$expand=kerb
260260
response:
261261
body:
262262
string: '{"keys":[{"creationTime":"2022-11-17T09:30:23.1980980Z","keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"creationTime":"2022-11-17T09:30:23.1980980Z","keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}'

src/azure-cli/azure/cli/command_modules/ams/tests/latest/recordings/test_ams_asset_track_update.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ interactions:
256256
- AZURECLI/2.42.0 azsdk-python-azure-mgmt-storage/21.0.0 Python/3.10.8 (Linux-5.15.0-1022-azure-x86_64-with-glibc2.31)
257257
VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0
258258
method: POST
259-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2023-05-01&$expand=kerb
259+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2024-01-01&$expand=kerb
260260
response:
261261
body:
262262
string: '{"keys":[{"creationTime":"2022-11-17T09:32:00.1211743Z","keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"creationTime":"2022-11-17T09:32:00.1211743Z","keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}'

src/azure-cli/azure/cli/command_modules/apim/tests/latest/recordings/test_apim_core_service.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6019,7 +6019,7 @@ interactions:
60196019
User-Agent:
60206020
- AZURECLI/2.47.0 azsdk-python-azure-mgmt-storage/21.0.0 Python/3.10.10 (Windows-10-10.0.19045-SP0)
60216021
method: POST
6022-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_apim-000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2023-05-01&$expand=kerb
6022+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_apim-000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2024-01-01&$expand=kerb
60236023
response:
60246024
body:
60256025
string: '{"keys":[{"creationTime":"2023-05-26T00:33:14.1800552Z","keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"creationTime":"2023-05-26T00:33:14.1800552Z","keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}'

src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_acr_create_function_app.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ interactions:
581581
User-Agent:
582582
- AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.11.9 (Windows-10-10.0.26100-SP0)
583583
method: GET
584-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitestacr000002?api-version=2023-05-01
584+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitestacr000002?api-version=2024-01-01
585585
response:
586586
body:
587587
string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitestacr000002","name":"clitestacr000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"keyCreationTime":{"key1":"2025-01-02T16:44:38.9899019Z","key2":"2025-01-02T16:44:38.9899019Z"},"allowCrossTenantReplication":false,"privateEndpointConnections":[],"minimumTlsVersion":"TLS1_0","allowBlobPublicAccess":false,"networkAcls":{"ipv6Rules":[],"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2025-01-02T16:44:39.0836085Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2025-01-02T16:44:39.0836085Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2025-01-02T16:44:38.8492699Z","primaryEndpoints":{"blob":"https://clitestacr000002.blob.core.windows.net/","queue":"https://clitestacr000002.queue.core.windows.net/","table":"https://clitestacr000002.table.core.windows.net/","file":"https://clitestacr000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'
@@ -628,7 +628,7 @@ interactions:
628628
User-Agent:
629629
- AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.11.9 (Windows-10-10.0.26100-SP0)
630630
method: GET
631-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitestacr000002?api-version=2023-05-01
631+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitestacr000002?api-version=2024-01-01
632632
response:
633633
body:
634634
string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitestacr000002","name":"clitestacr000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"keyCreationTime":{"key1":"2025-01-02T16:44:38.9899019Z","key2":"2025-01-02T16:44:38.9899019Z"},"allowCrossTenantReplication":false,"privateEndpointConnections":[],"minimumTlsVersion":"TLS1_0","allowBlobPublicAccess":false,"networkAcls":{"ipv6Rules":[],"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2025-01-02T16:44:39.0836085Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2025-01-02T16:44:39.0836085Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2025-01-02T16:44:38.8492699Z","primaryEndpoints":{"blob":"https://clitestacr000002.blob.core.windows.net/","queue":"https://clitestacr000002.queue.core.windows.net/","table":"https://clitestacr000002.table.core.windows.net/","file":"https://clitestacr000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'
@@ -677,7 +677,7 @@ interactions:
677677
User-Agent:
678678
- AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.11.9 (Windows-10-10.0.26100-SP0)
679679
method: POST
680-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitestacr000002/listKeys?api-version=2023-05-01&$expand=kerb
680+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitestacr000002/listKeys?api-version=2024-01-01&$expand=kerb
681681
response:
682682
body:
683683
string: '{"keys":[{"creationTime":"2025-01-02T16:44:38.9899019Z","keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"creationTime":"2025-01-02T16:44:38.9899019Z","keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}'

src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_acr_deployment_function_app.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ interactions:
478478
User-Agent:
479479
- AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.11.9 (Windows-10-10.0.26100-SP0)
480480
method: GET
481-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitestacrdeploy000002?api-version=2023-05-01
481+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitestacrdeploy000002?api-version=2024-01-01
482482
response:
483483
body:
484484
string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitestacrdeploy000002","name":"clitestacrdeploy000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"keyCreationTime":{"key1":"2025-01-02T16:42:07.8788731Z","key2":"2025-01-02T16:42:07.8788731Z"},"allowCrossTenantReplication":false,"privateEndpointConnections":[],"minimumTlsVersion":"TLS1_0","allowBlobPublicAccess":false,"networkAcls":{"ipv6Rules":[],"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2025-01-02T16:42:08.0508082Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2025-01-02T16:42:08.0508082Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2025-01-02T16:42:07.7539226Z","primaryEndpoints":{"blob":"https://clitestacrdeploy000002.blob.core.windows.net/","queue":"https://clitestacrdeploy000002.queue.core.windows.net/","table":"https://clitestacrdeploy000002.table.core.windows.net/","file":"https://clitestacrdeploy000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'
@@ -524,7 +524,7 @@ interactions:
524524
User-Agent:
525525
- AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.11.9 (Windows-10-10.0.26100-SP0)
526526
method: GET
527-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitestacrdeploy000002?api-version=2023-05-01
527+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitestacrdeploy000002?api-version=2024-01-01
528528
response:
529529
body:
530530
string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitestacrdeploy000002","name":"clitestacrdeploy000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"keyCreationTime":{"key1":"2025-01-02T16:42:07.8788731Z","key2":"2025-01-02T16:42:07.8788731Z"},"allowCrossTenantReplication":false,"privateEndpointConnections":[],"minimumTlsVersion":"TLS1_0","allowBlobPublicAccess":false,"networkAcls":{"ipv6Rules":[],"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2025-01-02T16:42:08.0508082Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2025-01-02T16:42:08.0508082Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2025-01-02T16:42:07.7539226Z","primaryEndpoints":{"blob":"https://clitestacrdeploy000002.blob.core.windows.net/","queue":"https://clitestacrdeploy000002.queue.core.windows.net/","table":"https://clitestacrdeploy000002.table.core.windows.net/","file":"https://clitestacrdeploy000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'
@@ -572,7 +572,7 @@ interactions:
572572
User-Agent:
573573
- AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.11.9 (Windows-10-10.0.26100-SP0)
574574
method: POST
575-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitestacrdeploy000002/listKeys?api-version=2023-05-01&$expand=kerb
575+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitestacrdeploy000002/listKeys?api-version=2024-01-01&$expand=kerb
576576
response:
577577
body:
578578
string: '{"keys":[{"creationTime":"2025-01-02T16:42:07.8788731Z","keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"creationTime":"2025-01-02T16:42:07.8788731Z","keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}'

0 commit comments

Comments
 (0)