From b523b3cc9eec212f34e1bb9f79511e90f3a25658 Mon Sep 17 00:00:00 2001 From: 00Kai0 Date: Tue, 15 Sep 2020 17:23:55 +0800 Subject: [PATCH] generate keyvault track2 ga version --- sdk/storage/azure-mgmt-storage/CHANGELOG.md | 12 + .../azure/mgmt/storage/__init__.py | 2 +- .../azure/mgmt/storage/_configuration.py | 5 +- .../storage/_storage_management_client.py | 40 +- .../azure/mgmt/storage/_version.py | 2 +- .../azure/mgmt/storage/aio/__init__.py | 2 +- ...nfiguration_async.py => _configuration.py} | 6 +- ...async.py => _storage_management_client.py} | 298 ++- .../mgmt/storage/v2015_06_15/__init__.py | 2 +- .../storage/v2015_06_15/_configuration.py | 5 +- .../mgmt/storage/v2015_06_15/_metadata.json | 11 +- .../v2015_06_15/_storage_management.py | 1 + .../mgmt/storage/v2015_06_15/aio/__init__.py | 2 +- ...nfiguration_async.py => _configuration.py} | 5 +- ...gement_async.py => _storage_management.py} | 11 +- .../__init__.py | 4 +- .../_storage_accounts_operations.py} | 84 +- .../_usage_operations.py} | 9 +- .../models/_storage_management_enums.py | 66 +- .../_storage_accounts_operations.py | 84 +- .../operations/_usage_operations.py | 9 +- .../mgmt/storage/v2016_01_01/__init__.py | 2 +- .../storage/v2016_01_01/_configuration.py | 5 +- .../mgmt/storage/v2016_01_01/_metadata.json | 11 +- .../v2016_01_01/_storage_management_client.py | 1 + .../mgmt/storage/v2016_01_01/aio/__init__.py | 2 +- ...nfiguration_async.py => _configuration.py} | 5 +- ...async.py => _storage_management_client.py} | 11 +- .../__init__.py | 4 +- .../_storage_accounts_operations.py} | 80 +- .../_usage_operations.py} | 9 +- .../_storage_management_client_enums.py | 92 +- .../_storage_accounts_operations.py | 80 +- .../operations/_usage_operations.py | 9 +- .../mgmt/storage/v2016_12_01/__init__.py | 2 +- .../storage/v2016_12_01/_configuration.py | 5 +- .../mgmt/storage/v2016_12_01/_metadata.json | 11 +- .../v2016_12_01/_storage_management.py | 1 + .../mgmt/storage/v2016_12_01/aio/__init__.py | 2 +- ...nfiguration_async.py => _configuration.py} | 5 +- ...gement_async.py => _storage_management.py} | 11 +- .../__init__.py | 4 +- .../_storage_accounts_operations.py} | 100 +- .../_usage_operations.py} | 9 +- .../models/_storage_management_enums.py | 162 +- .../_storage_accounts_operations.py | 100 +- .../operations/_usage_operations.py | 9 +- .../mgmt/storage/v2017_06_01/__init__.py | 2 +- .../storage/v2017_06_01/_configuration.py | 5 +- .../mgmt/storage/v2017_06_01/_metadata.json | 11 +- .../v2017_06_01/_storage_management.py | 1 + .../mgmt/storage/v2017_06_01/aio/__init__.py | 2 +- ...nfiguration_async.py => _configuration.py} | 5 +- ...gement_async.py => _storage_management.py} | 19 +- .../aio/operations}/__init__.py | 8 +- .../_operations.py} | 9 +- .../_skus_operations.py} | 9 +- .../_storage_accounts_operations.py} | 100 +- .../_usage_operations.py} | 9 +- .../models/_storage_management_enums.py | 184 +- .../v2017_06_01/operations/_operations.py | 9 +- .../operations/_skus_operations.py | 9 +- .../_storage_accounts_operations.py | 100 +- .../operations/_usage_operations.py | 9 +- .../mgmt/storage/v2017_10_01/__init__.py | 2 +- .../storage/v2017_10_01/_configuration.py | 5 +- .../mgmt/storage/v2017_10_01/_metadata.json | 11 +- .../v2017_10_01/_storage_management.py | 1 + .../mgmt/storage/v2017_10_01/aio/__init__.py | 2 +- ...nfiguration_async.py => _configuration.py} | 5 +- ...gement_async.py => _storage_management.py} | 19 +- .../aio/operations}/__init__.py | 8 +- .../_operations.py} | 9 +- .../_skus_operations.py} | 9 +- .../_storage_accounts_operations.py} | 100 +- .../_usage_operations.py} | 9 +- .../models/_storage_management_enums.py | 186 +- .../v2017_10_01/operations/_operations.py | 9 +- .../operations/_skus_operations.py | 9 +- .../_storage_accounts_operations.py | 100 +- .../operations/_usage_operations.py | 9 +- .../mgmt/storage/v2018_02_01/__init__.py | 2 +- .../storage/v2018_02_01/_configuration.py | 5 +- .../mgmt/storage/v2018_02_01/_metadata.json | 11 +- .../v2018_02_01/_storage_management_client.py | 1 + .../mgmt/storage/v2018_02_01/aio/__init__.py | 2 +- ...nfiguration_async.py => _configuration.py} | 5 +- ...async.py => _storage_management_client.py} | 23 +- .../__init__.py | 10 +- .../_blob_containers_operations.py} | 97 +- .../_operations.py} | 9 +- .../_skus_operations.py} | 9 +- .../_storage_accounts_operations.py} | 100 +- .../_usage_operations.py} | 18 +- .../_storage_management_client_enums.py | 244 +- .../operations/_blob_containers_operations.py | 97 +- .../v2018_02_01/operations/_operations.py | 9 +- .../operations/_skus_operations.py | 9 +- .../_storage_accounts_operations.py | 100 +- .../operations/_usage_operations.py | 18 +- .../storage/v2018_03_01_preview/__init__.py | 2 +- .../v2018_03_01_preview/_configuration.py | 5 +- .../v2018_03_01_preview/_metadata.json | 11 +- .../_storage_management_client.py | 1 + .../v2018_03_01_preview/aio/__init__.py | 2 +- ...nfiguration_async.py => _configuration.py} | 5 +- ...async.py => _storage_management_client.py} | 23 +- .../__init__.py | 10 +- .../_blob_containers_operations.py} | 97 +- .../_operations.py} | 9 +- .../_skus_operations.py} | 9 +- .../_storage_accounts_operations.py} | 134 +- .../_usages_operations.py} | 18 +- .../v2018_03_01_preview/models/__init__.py | 2 + .../_storage_management_client_enums.py | 248 +- .../operations/_blob_containers_operations.py | 97 +- .../operations/_operations.py | 9 +- .../operations/_skus_operations.py | 9 +- .../_storage_accounts_operations.py | 134 +- .../operations/_usages_operations.py | 18 +- .../mgmt/storage/v2018_07_01/__init__.py | 2 +- .../storage/v2018_07_01/_configuration.py | 5 +- .../mgmt/storage/v2018_07_01/_metadata.json | 11 +- .../v2018_07_01/_storage_management_client.py | 1 + .../mgmt/storage/v2018_07_01/aio/__init__.py | 2 +- ...nfiguration_async.py => _configuration.py} | 5 +- ...async.py => _storage_management_client.py} | 31 +- .../__init__.py | 14 +- .../_blob_containers_operations.py} | 97 +- .../_blob_services_operations.py} | 17 +- .../_management_policies_operations.py} | 38 +- .../_operations.py} | 9 +- .../_skus_operations.py} | 9 +- .../_storage_accounts_operations.py} | 114 +- .../_usages_operations.py} | 11 +- .../storage/v2018_07_01/models/__init__.py | 2 + .../_storage_management_client_enums.py | 278 +- .../operations/_blob_containers_operations.py | 97 +- .../operations/_blob_services_operations.py | 17 +- .../_management_policies_operations.py | 38 +- .../v2018_07_01/operations/_operations.py | 9 +- .../operations/_skus_operations.py | 9 +- .../_storage_accounts_operations.py | 114 +- .../operations/_usages_operations.py | 11 +- .../mgmt/storage/v2018_11_01/__init__.py | 2 +- .../storage/v2018_11_01/_configuration.py | 5 +- .../mgmt/storage/v2018_11_01/_metadata.json | 11 +- .../v2018_11_01/_storage_management_client.py | 1 + .../mgmt/storage/v2018_11_01/aio/__init__.py | 2 +- ...nfiguration_async.py => _configuration.py} | 5 +- ...async.py => _storage_management_client.py} | 31 +- .../__init__.py | 14 +- .../_blob_containers_operations.py} | 97 +- .../_blob_services_operations.py} | 17 +- .../_management_policies_operations.py} | 38 +- .../_operations.py} | 9 +- .../_skus_operations.py} | 9 +- .../_storage_accounts_operations.py} | 118 +- .../_usages_operations.py} | 11 +- .../storage/v2018_11_01/models/__init__.py | 4 + .../storage/v2018_11_01/models/_models.py | 11 +- .../storage/v2018_11_01/models/_models_py3.py | 12 +- .../_storage_management_client_enums.py | 284 +- .../operations/_blob_containers_operations.py | 97 +- .../operations/_blob_services_operations.py | 17 +- .../_management_policies_operations.py | 38 +- .../v2018_11_01/operations/_operations.py | 9 +- .../operations/_skus_operations.py | 9 +- .../_storage_accounts_operations.py | 118 +- .../operations/_usages_operations.py | 11 +- .../mgmt/storage/v2019_04_01/__init__.py | 2 +- .../storage/v2019_04_01/_configuration.py | 5 +- .../mgmt/storage/v2019_04_01/_metadata.json | 11 +- .../v2019_04_01/_storage_management_client.py | 1 + .../mgmt/storage/v2019_04_01/aio/__init__.py | 2 +- ...nfiguration_async.py => _configuration.py} | 5 +- ...async.py => _storage_management_client.py} | 39 +- .../__init__.py | 18 +- .../_blob_containers_operations.py} | 109 +- .../_blob_services_operations.py} | 30 +- .../_file_services_operations.py} | 24 +- .../_file_shares_operations.py} | 48 +- .../_management_policies_operations.py} | 38 +- .../_operations.py} | 9 +- .../_skus_operations.py} | 9 +- .../_storage_accounts_operations.py} | 118 +- .../_usages_operations.py} | 11 +- .../storage/v2019_04_01/models/__init__.py | 4 + .../storage/v2019_04_01/models/_models.py | 11 +- .../storage/v2019_04_01/models/_models_py3.py | 12 +- .../_storage_management_client_enums.py | 310 ++- .../operations/_blob_containers_operations.py | 109 +- .../operations/_blob_services_operations.py | 30 +- .../operations/_file_services_operations.py | 24 +- .../operations/_file_shares_operations.py | 48 +- .../_management_policies_operations.py | 38 +- .../v2019_04_01/operations/_operations.py | 9 +- .../operations/_skus_operations.py | 9 +- .../_storage_accounts_operations.py | 118 +- .../operations/_usages_operations.py | 11 +- .../mgmt/storage/v2019_06_01/__init__.py | 2 +- .../storage/v2019_06_01/_configuration.py | 5 +- .../mgmt/storage/v2019_06_01/_metadata.json | 11 +- .../v2019_06_01/_storage_management_client.py | 1 + .../mgmt/storage/v2019_06_01/aio/__init__.py | 2 +- ...nfiguration_async.py => _configuration.py} | 5 +- ...async.py => _storage_management_client.py} | 71 +- .../v2019_06_01/aio/operations/__init__.py | 45 + .../_blob_containers_operations.py} | 117 +- .../_blob_services_operations.py} | 30 +- .../_encryption_scopes_operations.py} | 38 +- .../_file_services_operations.py} | 24 +- .../_file_shares_operations.py} | 55 +- .../_management_policies_operations.py} | 38 +- ...object_replication_policies_operations.py} | 36 +- .../_operations.py} | 9 +- ...rivate_endpoint_connections_operations.py} | 36 +- .../_private_link_resources_operations.py} | 9 +- .../_queue_operations.py} | 48 +- .../_queue_services_operations.py} | 24 +- .../_skus_operations.py} | 9 +- .../_storage_accounts_operations.py} | 132 +- .../_table_operations.py} | 42 +- .../_table_services_operations.py} | 24 +- .../_usages_operations.py} | 11 +- .../aio/operations_async/__init__.py | 45 - .../storage/v2019_06_01/models/__init__.py | 6 + .../storage/v2019_06_01/models/_models.py | 18 +- .../storage/v2019_06_01/models/_models_py3.py | 19 +- .../_storage_management_client_enums.py | 394 +-- .../operations/_blob_containers_operations.py | 117 +- .../operations/_blob_services_operations.py | 30 +- .../_encryption_scopes_operations.py | 38 +- .../operations/_file_services_operations.py | 24 +- .../operations/_file_shares_operations.py | 55 +- .../_management_policies_operations.py | 38 +- ..._object_replication_policies_operations.py | 36 +- .../v2019_06_01/operations/_operations.py | 9 +- ...private_endpoint_connections_operations.py | 36 +- .../_private_link_resources_operations.py | 9 +- .../operations/_queue_operations.py | 48 +- .../operations/_queue_services_operations.py | 24 +- .../operations/_skus_operations.py | 9 +- .../_storage_accounts_operations.py | 132 +- .../operations/_table_operations.py | 42 +- .../operations/_table_services_operations.py | 24 +- .../operations/_usages_operations.py | 11 +- .../test_cli_mgmt_storage.test_storage.yaml | 780 +++--- ...t_cli_mgmt_storage_async.test_storage.yaml | 2327 ++++++++++------- .../tests/test_cli_mgmt_storage.py | 10 +- .../tests/test_cli_mgmt_storage_async.py | 8 +- 251 files changed, 7228 insertions(+), 5006 deletions(-) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/{_configuration_async.py => _configuration.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/{_storage_management_client_async.py => _storage_management_client.py} (61%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/{_configuration_async.py => _configuration.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/{_storage_management_async.py => _storage_management.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/{operations_async => operations}/__init__.py (80%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/{operations_async/_storage_accounts_operations_async.py => operations/_storage_accounts_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/{operations_async/_usage_operations_async.py => operations/_usage_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/{_configuration_async.py => _configuration.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/{_storage_management_client_async.py => _storage_management_client.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/{operations_async => operations}/__init__.py (80%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/{operations_async/_storage_accounts_operations_async.py => operations/_storage_accounts_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/{operations_async/_usage_operations_async.py => operations/_usage_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/{_configuration_async.py => _configuration.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/{_storage_management_async.py => _storage_management.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/{operations_async => operations}/__init__.py (80%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/{operations_async/_storage_accounts_operations_async.py => operations/_storage_accounts_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/{operations_async/_usage_operations_async.py => operations/_usage_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/{_configuration_async.py => _configuration.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/{_storage_management_async.py => _storage_management.py} (89%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/{v2017_10_01/aio/operations_async => v2017_06_01/aio/operations}/__init__.py (72%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/{operations_async/_operations_async.py => operations/_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/{operations_async/_skus_operations_async.py => operations/_skus_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/{operations_async/_storage_accounts_operations_async.py => operations/_storage_accounts_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/{operations_async/_usage_operations_async.py => operations/_usage_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/{_configuration_async.py => _configuration.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/{_storage_management_async.py => _storage_management.py} (89%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/{v2017_06_01/aio/operations_async => v2017_10_01/aio/operations}/__init__.py (72%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/{operations_async/_operations_async.py => operations/_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/{operations_async/_skus_operations_async.py => operations/_skus_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/{operations_async/_storage_accounts_operations_async.py => operations/_storage_accounts_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/{operations_async/_usage_operations_async.py => operations/_usage_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/{_configuration_async.py => _configuration.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/{_storage_management_client_async.py => _storage_management_client.py} (87%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/{operations_async => operations}/__init__.py (67%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/{operations_async/_blob_containers_operations_async.py => operations/_blob_containers_operations.py} (94%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/{operations_async/_operations_async.py => operations/_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/{operations_async/_skus_operations_async.py => operations/_skus_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/{operations_async/_storage_accounts_operations_async.py => operations/_storage_accounts_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/{operations_async/_usage_operations_async.py => operations/_usage_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/{_configuration_async.py => _configuration.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/{_storage_management_client_async.py => _storage_management_client.py} (86%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/{operations_async => operations}/__init__.py (67%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/{operations_async/_blob_containers_operations_async.py => operations/_blob_containers_operations.py} (94%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/{operations_async/_operations_async.py => operations/_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/{operations_async/_skus_operations_async.py => operations/_skus_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/{operations_async/_storage_accounts_operations_async.py => operations/_storage_accounts_operations.py} (90%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/{operations_async/_usages_operations_async.py => operations/_usages_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/{_configuration_async.py => _configuration.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/{_storage_management_client_async.py => _storage_management_client.py} (85%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/{operations_async => operations}/__init__.py (61%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/{operations_async/_blob_containers_operations_async.py => operations/_blob_containers_operations.py} (94%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/{operations_async/_blob_services_operations_async.py => operations/_blob_services_operations.py} (93%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/{operations_async/_management_policies_operations_async.py => operations/_management_policies_operations.py} (86%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/{operations_async/_operations_async.py => operations/_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/{operations_async/_skus_operations_async.py => operations/_skus_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/{operations_async/_storage_accounts_operations_async.py => operations/_storage_accounts_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/{operations_async/_usages_operations_async.py => operations/_usages_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/{_configuration_async.py => _configuration.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/{_storage_management_client_async.py => _storage_management_client.py} (85%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/{operations_async => operations}/__init__.py (61%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/{operations_async/_blob_containers_operations_async.py => operations/_blob_containers_operations.py} (94%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/{operations_async/_blob_services_operations_async.py => operations/_blob_services_operations.py} (93%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/{operations_async/_management_policies_operations_async.py => operations/_management_policies_operations.py} (86%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/{operations_async/_operations_async.py => operations/_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/{operations_async/_skus_operations_async.py => operations/_skus_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/{operations_async/_storage_accounts_operations_async.py => operations/_storage_accounts_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/{operations_async/_usages_operations_async.py => operations/_usages_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/{_configuration_async.py => _configuration.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/{_storage_management_client_async.py => _storage_management_client.py} (83%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/{operations_async => operations}/__init__.py (57%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/{operations_async/_blob_containers_operations_async.py => operations/_blob_containers_operations.py} (94%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/{operations_async/_blob_services_operations_async.py => operations/_blob_services_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/{operations_async/_file_services_operations_async.py => operations/_file_services_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/{operations_async/_file_shares_operations_async.py => operations/_file_shares_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/{operations_async/_management_policies_operations_async.py => operations/_management_policies_operations.py} (86%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/{operations_async/_operations_async.py => operations/_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/{operations_async/_skus_operations_async.py => operations/_skus_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/{operations_async/_storage_accounts_operations_async.py => operations/_storage_accounts_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/{operations_async/_usages_operations_async.py => operations/_usages_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{_configuration_async.py => _configuration.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{_storage_management_client_async.py => _storage_management_client.py} (79%) create mode 100644 sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/__init__.py rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_blob_containers_operations_async.py => operations/_blob_containers_operations.py} (93%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_blob_services_operations_async.py => operations/_blob_services_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_encryption_scopes_operations_async.py => operations/_encryption_scopes_operations.py} (93%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_file_services_operations_async.py => operations/_file_services_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_file_shares_operations_async.py => operations/_file_shares_operations.py} (93%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_management_policies_operations_async.py => operations/_management_policies_operations.py} (86%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_object_replication_policies_operations_async.py => operations/_object_replication_policies_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_operations_async.py => operations/_operations.py} (91%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_private_endpoint_connections_operations_async.py => operations/_private_endpoint_connections_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_private_link_resources_operations_async.py => operations/_private_link_resources_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_queue_operations_async.py => operations/_queue_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_queue_services_operations_async.py => operations/_queue_services_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_skus_operations_async.py => operations/_skus_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_storage_accounts_operations_async.py => operations/_storage_accounts_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_table_operations_async.py => operations/_table_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_table_services_operations_async.py => operations/_table_services_operations.py} (92%) rename sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/{operations_async/_usages_operations_async.py => operations/_usages_operations.py} (92%) delete mode 100644 sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/__init__.py diff --git a/sdk/storage/azure-mgmt-storage/CHANGELOG.md b/sdk/storage/azure-mgmt-storage/CHANGELOG.md index 220909c8defb..642e52794f53 100644 --- a/sdk/storage/azure-mgmt-storage/CHANGELOG.md +++ b/sdk/storage/azure-mgmt-storage/CHANGELOG.md @@ -1,5 +1,17 @@ # Release History +## 16.0.0 (2020-09-15) + +**Features** + + - Model RestorePolicyProperties has a new parameter min_restore_time + +**Breaking changes** + + - Operation ManagementPoliciesOperations.create_or_update has a new signature + - Operation ManagementPoliciesOperations.delete has a new signature + - Operation ManagementPoliciesOperations.get has a new signature + ## 16.0.0b2 (2020-06-29) This is beta preview version. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/__init__.py index 7622b8635ba1..75a361344ca2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/__init__.py @@ -10,7 +10,7 @@ __all__ = ['StorageManagementClient'] try: - from ._patch import patch_sdk + from ._patch import patch_sdk # type: ignore patch_sdk() except ImportError: pass diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_configuration.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_configuration.py index 7d94f7d8967d..26d1c20a8e9e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_configuration.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_configuration.py @@ -12,6 +12,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy from ._version import VERSION @@ -43,8 +44,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'azure-mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -57,6 +57,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py index ea8da69dec94..73a2f6cbf841 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py @@ -70,8 +70,6 @@ def __init__( self._config = StorageManagementClientConfiguration(credential, subscription_id, **kwargs) self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) super(StorageManagementClient, self).__init__( - credential, - self._config, api_version=api_version, profile=profile ) @@ -129,7 +127,7 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2019-06-01': from .v2019_06_01 import models return models - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} is not available".format(api_version)) @property def blob_containers(self): @@ -156,7 +154,7 @@ def blob_containers(self): elif api_version == '2019-06-01': from .v2019_06_01.operations import BlobContainersOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'blob_containers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -178,7 +176,7 @@ def blob_services(self): elif api_version == '2019-06-01': from .v2019_06_01.operations import BlobServicesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'blob_services'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -191,7 +189,7 @@ def encryption_scopes(self): if api_version == '2019-06-01': from .v2019_06_01.operations import EncryptionScopesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'encryption_scopes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -207,7 +205,7 @@ def file_services(self): elif api_version == '2019-06-01': from .v2019_06_01.operations import FileServicesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'file_services'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -223,7 +221,7 @@ def file_shares(self): elif api_version == '2019-06-01': from .v2019_06_01.operations import FileSharesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'file_shares'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -245,7 +243,7 @@ def management_policies(self): elif api_version == '2019-06-01': from .v2019_06_01.operations import ManagementPoliciesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'management_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -258,7 +256,7 @@ def object_replication_policies(self): if api_version == '2019-06-01': from .v2019_06_01.operations import ObjectReplicationPoliciesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'object_replication_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -292,7 +290,7 @@ def operations(self): elif api_version == '2019-06-01': from .v2019_06_01.operations import Operations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'operations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -305,7 +303,7 @@ def private_endpoint_connections(self): if api_version == '2019-06-01': from .v2019_06_01.operations import PrivateEndpointConnectionsOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'private_endpoint_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -318,7 +316,7 @@ def private_link_resources(self): if api_version == '2019-06-01': from .v2019_06_01.operations import PrivateLinkResourcesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'private_link_resources'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -331,7 +329,7 @@ def queue(self): if api_version == '2019-06-01': from .v2019_06_01.operations import QueueOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'queue'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -344,7 +342,7 @@ def queue_services(self): if api_version == '2019-06-01': from .v2019_06_01.operations import QueueServicesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'queue_services'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -378,7 +376,7 @@ def skus(self): elif api_version == '2019-06-01': from .v2019_06_01.operations import SkusOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'skus'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -421,7 +419,7 @@ def storage_accounts(self): elif api_version == '2019-06-01': from .v2019_06_01.operations import StorageAccountsOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'storage_accounts'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -434,7 +432,7 @@ def table(self): if api_version == '2019-06-01': from .v2019_06_01.operations import TableOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'table'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -447,7 +445,7 @@ def table_services(self): if api_version == '2019-06-01': from .v2019_06_01.operations import TableServicesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'table_services'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -475,7 +473,7 @@ def usage(self): elif api_version == '2018-02-01': from .v2018_02_01.operations import UsageOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'usage'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property @@ -500,7 +498,7 @@ def usages(self): elif api_version == '2019-06-01': from .v2019_06_01.operations import UsagesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'usages'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) def close(self): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_version.py index e15a9cd926e7..04e1465e7930 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_version.py @@ -5,4 +5,4 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "16.0.0b2" +VERSION = "16.0.0" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/__init__.py index 4e7988b5c172..9cfe0ace1ba9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/__init__.py @@ -6,5 +6,5 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._storage_management_client_async import StorageManagementClient +from ._storage_management_client import StorageManagementClient __all__ = ['StorageManagementClient'] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_configuration_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_configuration.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_configuration_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_configuration.py index c63b12cdd22e..033944b8623a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_configuration_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_configuration.py @@ -12,6 +12,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy from .._version import VERSION @@ -34,7 +35,6 @@ def __init__( subscription_id, # type: str **kwargs # type: Any ) -> None: - # type: (...) -> None if credential is None: raise ValueError("Parameter 'credential' must not be None.") if subscription_id is None: @@ -43,8 +43,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'azure-mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -56,6 +55,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_storage_management_client_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_storage_management_client.py similarity index 61% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_storage_management_client_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_storage_management_client.py index 89605a27aedc..b321b6e212d8 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_storage_management_client_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_storage_management_client.py @@ -14,7 +14,7 @@ from azure.profiles import KnownProfiles, ProfileDefinition from azure.profiles.multiapiclient import MultiApiClientMixin -from ._configuration_async import StorageManagementClientConfiguration +from ._configuration import StorageManagementClientConfiguration class _SDKClient(object): def __init__(self, *args, **kwargs): @@ -70,8 +70,6 @@ def __init__( self._config = StorageManagementClientConfiguration(credential, subscription_id, **kwargs) self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) super(StorageManagementClient, self).__init__( - credential, - self._config, api_version=api_version, profile=profile ) @@ -129,378 +127,378 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2019-06-01': from ..v2019_06_01 import models return models - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} is not available".format(api_version)) @property def blob_containers(self): """Instance depends on the API version: - * 2018-02-01: :class:`BlobContainersOperations` - * 2018-03-01-preview: :class:`BlobContainersOperations` - * 2018-07-01: :class:`BlobContainersOperations` - * 2018-11-01: :class:`BlobContainersOperations` - * 2019-04-01: :class:`BlobContainersOperations` - * 2019-06-01: :class:`BlobContainersOperations` + * 2018-02-01: :class:`BlobContainersOperations` + * 2018-03-01-preview: :class:`BlobContainersOperations` + * 2018-07-01: :class:`BlobContainersOperations` + * 2018-11-01: :class:`BlobContainersOperations` + * 2019-04-01: :class:`BlobContainersOperations` + * 2019-06-01: :class:`BlobContainersOperations` """ api_version = self._get_api_version('blob_containers') if api_version == '2018-02-01': - from ..v2018_02_01.aio.operations_async import BlobContainersOperations as OperationClass + from ..v2018_02_01.aio.operations import BlobContainersOperations as OperationClass elif api_version == '2018-03-01-preview': - from ..v2018_03_01_preview.aio.operations_async import BlobContainersOperations as OperationClass + from ..v2018_03_01_preview.aio.operations import BlobContainersOperations as OperationClass elif api_version == '2018-07-01': - from ..v2018_07_01.aio.operations_async import BlobContainersOperations as OperationClass + from ..v2018_07_01.aio.operations import BlobContainersOperations as OperationClass elif api_version == '2018-11-01': - from ..v2018_11_01.aio.operations_async import BlobContainersOperations as OperationClass + from ..v2018_11_01.aio.operations import BlobContainersOperations as OperationClass elif api_version == '2019-04-01': - from ..v2019_04_01.aio.operations_async import BlobContainersOperations as OperationClass + from ..v2019_04_01.aio.operations import BlobContainersOperations as OperationClass elif api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import BlobContainersOperations as OperationClass + from ..v2019_06_01.aio.operations import BlobContainersOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'blob_containers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def blob_services(self): """Instance depends on the API version: - * 2018-07-01: :class:`BlobServicesOperations` - * 2018-11-01: :class:`BlobServicesOperations` - * 2019-04-01: :class:`BlobServicesOperations` - * 2019-06-01: :class:`BlobServicesOperations` + * 2018-07-01: :class:`BlobServicesOperations` + * 2018-11-01: :class:`BlobServicesOperations` + * 2019-04-01: :class:`BlobServicesOperations` + * 2019-06-01: :class:`BlobServicesOperations` """ api_version = self._get_api_version('blob_services') if api_version == '2018-07-01': - from ..v2018_07_01.aio.operations_async import BlobServicesOperations as OperationClass + from ..v2018_07_01.aio.operations import BlobServicesOperations as OperationClass elif api_version == '2018-11-01': - from ..v2018_11_01.aio.operations_async import BlobServicesOperations as OperationClass + from ..v2018_11_01.aio.operations import BlobServicesOperations as OperationClass elif api_version == '2019-04-01': - from ..v2019_04_01.aio.operations_async import BlobServicesOperations as OperationClass + from ..v2019_04_01.aio.operations import BlobServicesOperations as OperationClass elif api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import BlobServicesOperations as OperationClass + from ..v2019_06_01.aio.operations import BlobServicesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'blob_services'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def encryption_scopes(self): """Instance depends on the API version: - * 2019-06-01: :class:`EncryptionScopesOperations` + * 2019-06-01: :class:`EncryptionScopesOperations` """ api_version = self._get_api_version('encryption_scopes') if api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import EncryptionScopesOperations as OperationClass + from ..v2019_06_01.aio.operations import EncryptionScopesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'encryption_scopes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def file_services(self): """Instance depends on the API version: - * 2019-04-01: :class:`FileServicesOperations` - * 2019-06-01: :class:`FileServicesOperations` + * 2019-04-01: :class:`FileServicesOperations` + * 2019-06-01: :class:`FileServicesOperations` """ api_version = self._get_api_version('file_services') if api_version == '2019-04-01': - from ..v2019_04_01.aio.operations_async import FileServicesOperations as OperationClass + from ..v2019_04_01.aio.operations import FileServicesOperations as OperationClass elif api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import FileServicesOperations as OperationClass + from ..v2019_06_01.aio.operations import FileServicesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'file_services'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def file_shares(self): """Instance depends on the API version: - * 2019-04-01: :class:`FileSharesOperations` - * 2019-06-01: :class:`FileSharesOperations` + * 2019-04-01: :class:`FileSharesOperations` + * 2019-06-01: :class:`FileSharesOperations` """ api_version = self._get_api_version('file_shares') if api_version == '2019-04-01': - from ..v2019_04_01.aio.operations_async import FileSharesOperations as OperationClass + from ..v2019_04_01.aio.operations import FileSharesOperations as OperationClass elif api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import FileSharesOperations as OperationClass + from ..v2019_06_01.aio.operations import FileSharesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'file_shares'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def management_policies(self): """Instance depends on the API version: - * 2018-07-01: :class:`ManagementPoliciesOperations` - * 2018-11-01: :class:`ManagementPoliciesOperations` - * 2019-04-01: :class:`ManagementPoliciesOperations` - * 2019-06-01: :class:`ManagementPoliciesOperations` + * 2018-07-01: :class:`ManagementPoliciesOperations` + * 2018-11-01: :class:`ManagementPoliciesOperations` + * 2019-04-01: :class:`ManagementPoliciesOperations` + * 2019-06-01: :class:`ManagementPoliciesOperations` """ api_version = self._get_api_version('management_policies') if api_version == '2018-07-01': - from ..v2018_07_01.aio.operations_async import ManagementPoliciesOperations as OperationClass + from ..v2018_07_01.aio.operations import ManagementPoliciesOperations as OperationClass elif api_version == '2018-11-01': - from ..v2018_11_01.aio.operations_async import ManagementPoliciesOperations as OperationClass + from ..v2018_11_01.aio.operations import ManagementPoliciesOperations as OperationClass elif api_version == '2019-04-01': - from ..v2019_04_01.aio.operations_async import ManagementPoliciesOperations as OperationClass + from ..v2019_04_01.aio.operations import ManagementPoliciesOperations as OperationClass elif api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import ManagementPoliciesOperations as OperationClass + from ..v2019_06_01.aio.operations import ManagementPoliciesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'management_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def object_replication_policies(self): """Instance depends on the API version: - * 2019-06-01: :class:`ObjectReplicationPoliciesOperations` + * 2019-06-01: :class:`ObjectReplicationPoliciesOperations` """ api_version = self._get_api_version('object_replication_policies') if api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import ObjectReplicationPoliciesOperations as OperationClass + from ..v2019_06_01.aio.operations import ObjectReplicationPoliciesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'object_replication_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def operations(self): """Instance depends on the API version: - * 2017-06-01: :class:`Operations` - * 2017-10-01: :class:`Operations` - * 2018-02-01: :class:`Operations` - * 2018-03-01-preview: :class:`Operations` - * 2018-07-01: :class:`Operations` - * 2018-11-01: :class:`Operations` - * 2019-04-01: :class:`Operations` - * 2019-06-01: :class:`Operations` + * 2017-06-01: :class:`Operations` + * 2017-10-01: :class:`Operations` + * 2018-02-01: :class:`Operations` + * 2018-03-01-preview: :class:`Operations` + * 2018-07-01: :class:`Operations` + * 2018-11-01: :class:`Operations` + * 2019-04-01: :class:`Operations` + * 2019-06-01: :class:`Operations` """ api_version = self._get_api_version('operations') if api_version == '2017-06-01': - from ..v2017_06_01.aio.operations_async import Operations as OperationClass + from ..v2017_06_01.aio.operations import Operations as OperationClass elif api_version == '2017-10-01': - from ..v2017_10_01.aio.operations_async import Operations as OperationClass + from ..v2017_10_01.aio.operations import Operations as OperationClass elif api_version == '2018-02-01': - from ..v2018_02_01.aio.operations_async import Operations as OperationClass + from ..v2018_02_01.aio.operations import Operations as OperationClass elif api_version == '2018-03-01-preview': - from ..v2018_03_01_preview.aio.operations_async import Operations as OperationClass + from ..v2018_03_01_preview.aio.operations import Operations as OperationClass elif api_version == '2018-07-01': - from ..v2018_07_01.aio.operations_async import Operations as OperationClass + from ..v2018_07_01.aio.operations import Operations as OperationClass elif api_version == '2018-11-01': - from ..v2018_11_01.aio.operations_async import Operations as OperationClass + from ..v2018_11_01.aio.operations import Operations as OperationClass elif api_version == '2019-04-01': - from ..v2019_04_01.aio.operations_async import Operations as OperationClass + from ..v2019_04_01.aio.operations import Operations as OperationClass elif api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import Operations as OperationClass + from ..v2019_06_01.aio.operations import Operations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'operations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def private_endpoint_connections(self): """Instance depends on the API version: - * 2019-06-01: :class:`PrivateEndpointConnectionsOperations` + * 2019-06-01: :class:`PrivateEndpointConnectionsOperations` """ api_version = self._get_api_version('private_endpoint_connections') if api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import PrivateEndpointConnectionsOperations as OperationClass + from ..v2019_06_01.aio.operations import PrivateEndpointConnectionsOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'private_endpoint_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def private_link_resources(self): """Instance depends on the API version: - * 2019-06-01: :class:`PrivateLinkResourcesOperations` + * 2019-06-01: :class:`PrivateLinkResourcesOperations` """ api_version = self._get_api_version('private_link_resources') if api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import PrivateLinkResourcesOperations as OperationClass + from ..v2019_06_01.aio.operations import PrivateLinkResourcesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'private_link_resources'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def queue(self): """Instance depends on the API version: - * 2019-06-01: :class:`QueueOperations` + * 2019-06-01: :class:`QueueOperations` """ api_version = self._get_api_version('queue') if api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import QueueOperations as OperationClass + from ..v2019_06_01.aio.operations import QueueOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'queue'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def queue_services(self): """Instance depends on the API version: - * 2019-06-01: :class:`QueueServicesOperations` + * 2019-06-01: :class:`QueueServicesOperations` """ api_version = self._get_api_version('queue_services') if api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import QueueServicesOperations as OperationClass + from ..v2019_06_01.aio.operations import QueueServicesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'queue_services'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def skus(self): """Instance depends on the API version: - * 2017-06-01: :class:`SkusOperations` - * 2017-10-01: :class:`SkusOperations` - * 2018-02-01: :class:`SkusOperations` - * 2018-03-01-preview: :class:`SkusOperations` - * 2018-07-01: :class:`SkusOperations` - * 2018-11-01: :class:`SkusOperations` - * 2019-04-01: :class:`SkusOperations` - * 2019-06-01: :class:`SkusOperations` + * 2017-06-01: :class:`SkusOperations` + * 2017-10-01: :class:`SkusOperations` + * 2018-02-01: :class:`SkusOperations` + * 2018-03-01-preview: :class:`SkusOperations` + * 2018-07-01: :class:`SkusOperations` + * 2018-11-01: :class:`SkusOperations` + * 2019-04-01: :class:`SkusOperations` + * 2019-06-01: :class:`SkusOperations` """ api_version = self._get_api_version('skus') if api_version == '2017-06-01': - from ..v2017_06_01.aio.operations_async import SkusOperations as OperationClass + from ..v2017_06_01.aio.operations import SkusOperations as OperationClass elif api_version == '2017-10-01': - from ..v2017_10_01.aio.operations_async import SkusOperations as OperationClass + from ..v2017_10_01.aio.operations import SkusOperations as OperationClass elif api_version == '2018-02-01': - from ..v2018_02_01.aio.operations_async import SkusOperations as OperationClass + from ..v2018_02_01.aio.operations import SkusOperations as OperationClass elif api_version == '2018-03-01-preview': - from ..v2018_03_01_preview.aio.operations_async import SkusOperations as OperationClass + from ..v2018_03_01_preview.aio.operations import SkusOperations as OperationClass elif api_version == '2018-07-01': - from ..v2018_07_01.aio.operations_async import SkusOperations as OperationClass + from ..v2018_07_01.aio.operations import SkusOperations as OperationClass elif api_version == '2018-11-01': - from ..v2018_11_01.aio.operations_async import SkusOperations as OperationClass + from ..v2018_11_01.aio.operations import SkusOperations as OperationClass elif api_version == '2019-04-01': - from ..v2019_04_01.aio.operations_async import SkusOperations as OperationClass + from ..v2019_04_01.aio.operations import SkusOperations as OperationClass elif api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import SkusOperations as OperationClass + from ..v2019_06_01.aio.operations import SkusOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'skus'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def storage_accounts(self): """Instance depends on the API version: - * 2015-06-15: :class:`StorageAccountsOperations` - * 2016-01-01: :class:`StorageAccountsOperations` - * 2016-12-01: :class:`StorageAccountsOperations` - * 2017-06-01: :class:`StorageAccountsOperations` - * 2017-10-01: :class:`StorageAccountsOperations` - * 2018-02-01: :class:`StorageAccountsOperations` - * 2018-03-01-preview: :class:`StorageAccountsOperations` - * 2018-07-01: :class:`StorageAccountsOperations` - * 2018-11-01: :class:`StorageAccountsOperations` - * 2019-04-01: :class:`StorageAccountsOperations` - * 2019-06-01: :class:`StorageAccountsOperations` + * 2015-06-15: :class:`StorageAccountsOperations` + * 2016-01-01: :class:`StorageAccountsOperations` + * 2016-12-01: :class:`StorageAccountsOperations` + * 2017-06-01: :class:`StorageAccountsOperations` + * 2017-10-01: :class:`StorageAccountsOperations` + * 2018-02-01: :class:`StorageAccountsOperations` + * 2018-03-01-preview: :class:`StorageAccountsOperations` + * 2018-07-01: :class:`StorageAccountsOperations` + * 2018-11-01: :class:`StorageAccountsOperations` + * 2019-04-01: :class:`StorageAccountsOperations` + * 2019-06-01: :class:`StorageAccountsOperations` """ api_version = self._get_api_version('storage_accounts') if api_version == '2015-06-15': - from ..v2015_06_15.aio.operations_async import StorageAccountsOperations as OperationClass + from ..v2015_06_15.aio.operations import StorageAccountsOperations as OperationClass elif api_version == '2016-01-01': - from ..v2016_01_01.aio.operations_async import StorageAccountsOperations as OperationClass + from ..v2016_01_01.aio.operations import StorageAccountsOperations as OperationClass elif api_version == '2016-12-01': - from ..v2016_12_01.aio.operations_async import StorageAccountsOperations as OperationClass + from ..v2016_12_01.aio.operations import StorageAccountsOperations as OperationClass elif api_version == '2017-06-01': - from ..v2017_06_01.aio.operations_async import StorageAccountsOperations as OperationClass + from ..v2017_06_01.aio.operations import StorageAccountsOperations as OperationClass elif api_version == '2017-10-01': - from ..v2017_10_01.aio.operations_async import StorageAccountsOperations as OperationClass + from ..v2017_10_01.aio.operations import StorageAccountsOperations as OperationClass elif api_version == '2018-02-01': - from ..v2018_02_01.aio.operations_async import StorageAccountsOperations as OperationClass + from ..v2018_02_01.aio.operations import StorageAccountsOperations as OperationClass elif api_version == '2018-03-01-preview': - from ..v2018_03_01_preview.aio.operations_async import StorageAccountsOperations as OperationClass + from ..v2018_03_01_preview.aio.operations import StorageAccountsOperations as OperationClass elif api_version == '2018-07-01': - from ..v2018_07_01.aio.operations_async import StorageAccountsOperations as OperationClass + from ..v2018_07_01.aio.operations import StorageAccountsOperations as OperationClass elif api_version == '2018-11-01': - from ..v2018_11_01.aio.operations_async import StorageAccountsOperations as OperationClass + from ..v2018_11_01.aio.operations import StorageAccountsOperations as OperationClass elif api_version == '2019-04-01': - from ..v2019_04_01.aio.operations_async import StorageAccountsOperations as OperationClass + from ..v2019_04_01.aio.operations import StorageAccountsOperations as OperationClass elif api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import StorageAccountsOperations as OperationClass + from ..v2019_06_01.aio.operations import StorageAccountsOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'storage_accounts'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def table(self): """Instance depends on the API version: - * 2019-06-01: :class:`TableOperations` + * 2019-06-01: :class:`TableOperations` """ api_version = self._get_api_version('table') if api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import TableOperations as OperationClass + from ..v2019_06_01.aio.operations import TableOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'table'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def table_services(self): """Instance depends on the API version: - * 2019-06-01: :class:`TableServicesOperations` + * 2019-06-01: :class:`TableServicesOperations` """ api_version = self._get_api_version('table_services') if api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import TableServicesOperations as OperationClass + from ..v2019_06_01.aio.operations import TableServicesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'table_services'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def usage(self): """Instance depends on the API version: - * 2015-06-15: :class:`UsageOperations` - * 2016-01-01: :class:`UsageOperations` - * 2016-12-01: :class:`UsageOperations` - * 2017-06-01: :class:`UsageOperations` - * 2017-10-01: :class:`UsageOperations` - * 2018-02-01: :class:`UsageOperations` + * 2015-06-15: :class:`UsageOperations` + * 2016-01-01: :class:`UsageOperations` + * 2016-12-01: :class:`UsageOperations` + * 2017-06-01: :class:`UsageOperations` + * 2017-10-01: :class:`UsageOperations` + * 2018-02-01: :class:`UsageOperations` """ api_version = self._get_api_version('usage') if api_version == '2015-06-15': - from ..v2015_06_15.aio.operations_async import UsageOperations as OperationClass + from ..v2015_06_15.aio.operations import UsageOperations as OperationClass elif api_version == '2016-01-01': - from ..v2016_01_01.aio.operations_async import UsageOperations as OperationClass + from ..v2016_01_01.aio.operations import UsageOperations as OperationClass elif api_version == '2016-12-01': - from ..v2016_12_01.aio.operations_async import UsageOperations as OperationClass + from ..v2016_12_01.aio.operations import UsageOperations as OperationClass elif api_version == '2017-06-01': - from ..v2017_06_01.aio.operations_async import UsageOperations as OperationClass + from ..v2017_06_01.aio.operations import UsageOperations as OperationClass elif api_version == '2017-10-01': - from ..v2017_10_01.aio.operations_async import UsageOperations as OperationClass + from ..v2017_10_01.aio.operations import UsageOperations as OperationClass elif api_version == '2018-02-01': - from ..v2018_02_01.aio.operations_async import UsageOperations as OperationClass + from ..v2018_02_01.aio.operations import UsageOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'usage'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @property def usages(self): """Instance depends on the API version: - * 2018-03-01-preview: :class:`UsagesOperations` - * 2018-07-01: :class:`UsagesOperations` - * 2018-11-01: :class:`UsagesOperations` - * 2019-04-01: :class:`UsagesOperations` - * 2019-06-01: :class:`UsagesOperations` + * 2018-03-01-preview: :class:`UsagesOperations` + * 2018-07-01: :class:`UsagesOperations` + * 2018-11-01: :class:`UsagesOperations` + * 2019-04-01: :class:`UsagesOperations` + * 2019-06-01: :class:`UsagesOperations` """ api_version = self._get_api_version('usages') if api_version == '2018-03-01-preview': - from ..v2018_03_01_preview.aio.operations_async import UsagesOperations as OperationClass + from ..v2018_03_01_preview.aio.operations import UsagesOperations as OperationClass elif api_version == '2018-07-01': - from ..v2018_07_01.aio.operations_async import UsagesOperations as OperationClass + from ..v2018_07_01.aio.operations import UsagesOperations as OperationClass elif api_version == '2018-11-01': - from ..v2018_11_01.aio.operations_async import UsagesOperations as OperationClass + from ..v2018_11_01.aio.operations import UsagesOperations as OperationClass elif api_version == '2019-04-01': - from ..v2019_04_01.aio.operations_async import UsagesOperations as OperationClass + from ..v2019_04_01.aio.operations import UsagesOperations as OperationClass elif api_version == '2019-06-01': - from ..v2019_06_01.aio.operations_async import UsagesOperations as OperationClass + from ..v2019_06_01.aio.operations import UsagesOperations as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation group 'usages'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) async def close(self): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/__init__.py index 0d16714726c4..f13f865f7963 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/__init__.py @@ -10,7 +10,7 @@ __all__ = ['StorageManagement'] try: - from ._patch import patch_sdk + from ._patch import patch_sdk # type: ignore patch_sdk() except ImportError: pass diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_configuration.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_configuration.py index 37a633dc8fba..4798166826ac 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_configuration.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -47,8 +48,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2015-06-15" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -61,6 +61,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_metadata.json index 2b42494634a0..33b356e0b503 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_metadata.json @@ -4,7 +4,11 @@ "client": { "name": "StorageManagement", "filename": "_storage_management", - "description": "The Azure Storage Management API." + "description": "The Azure Storage Management API.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true }, "global_parameters": { "sync_method": { @@ -41,7 +45,10 @@ }, "config": { "credential": true, - "credential_scopes": ["https://management.azure.com/.default"] + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null }, "operation_groups": { "storage_accounts": "StorageAccountsOperations", diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_storage_management.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_storage_management.py index 296ef8616a52..ee9e1bfca779 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_storage_management.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/_storage_management.py @@ -53,6 +53,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.storage_accounts = StorageAccountsOperations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/__init__.py index b93f8c5aa5ee..5bd005704dd7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/__init__.py @@ -6,5 +6,5 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._storage_management_async import StorageManagement +from ._storage_management import StorageManagement __all__ = ['StorageManagement'] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/_configuration_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/_configuration.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/_configuration_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/_configuration.py index efd1732136a6..ad19869befa0 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/_configuration_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -44,8 +45,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2015-06-15" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -57,6 +57,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/_storage_management_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/_storage_management.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/_storage_management_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/_storage_management.py index 9fa8f630d6c2..cde5ee5b55b5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/_storage_management_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/_storage_management.py @@ -15,9 +15,9 @@ # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential -from ._configuration_async import StorageManagementConfiguration -from .operations_async import StorageAccountsOperations -from .operations_async import UsageOperations +from ._configuration import StorageManagementConfiguration +from .operations import StorageAccountsOperations +from .operations import UsageOperations from .. import models @@ -25,9 +25,9 @@ class StorageManagement(object): """The Azure Storage Management API. :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.storage.v2015_06_15.aio.operations_async.StorageAccountsOperations + :vartype storage_accounts: azure.mgmt.storage.v2015_06_15.aio.operations.StorageAccountsOperations :ivar usage: UsageOperations operations - :vartype usage: azure.mgmt.storage.v2015_06_15.aio.operations_async.UsageOperations + :vartype usage: azure.mgmt.storage.v2015_06_15.aio.operations.UsageOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: Subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. @@ -50,6 +50,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.storage_accounts = StorageAccountsOperations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/__init__.py similarity index 80% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/__init__.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/__init__.py index 09d03b33be16..291f880b1419 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/__init__.py @@ -6,8 +6,8 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._storage_accounts_operations_async import StorageAccountsOperations -from ._usage_operations_async import UsageOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._usage_operations import UsageOperations __all__ = [ 'StorageAccountsOperations', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/_storage_accounts_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py index a88b2d9eb412..8aa13a65f33d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod @@ -60,10 +60,13 @@ async def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -79,13 +82,12 @@ async def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -109,10 +111,13 @@ async def _create_initial( **kwargs ) -> Optional["models.StorageAccount"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -130,13 +135,12 @@ async def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -162,16 +166,16 @@ async def begin_create( **kwargs ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountCreateParameters @@ -246,7 +250,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" @@ -302,9 +308,12 @@ async def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" + accept = "application/json, text/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -321,7 +330,7 @@ async def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -370,10 +379,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -391,13 +403,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -418,7 +429,7 @@ def list( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -426,14 +437,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -483,10 +497,10 @@ def list_by_resource_group( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -494,14 +508,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -567,9 +584,12 @@ async def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountKeys"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" + accept = "application/json, text/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -586,7 +606,7 @@ async def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -628,10 +648,13 @@ async def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountKeys"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -649,13 +672,12 @@ async def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/_usage_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/_usage_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py index f98c34dae312..e920e3f795ba 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/_usage_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/models/_storage_management_enums.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/models/_storage_management_enums.py index 55f2e1768913..236a23fc4d42 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/models/_storage_management_enums.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/models/_storage_management_enums.py @@ -6,50 +6,68 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum +from enum import Enum, EnumMeta +from six import with_metaclass -class AccountStatus(str, Enum): +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AccountStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The status indicating whether the primary location of the storage account is available or unavailable. """ - available = "Available" - unavailable = "Unavailable" + AVAILABLE = "Available" + UNAVAILABLE = "Unavailable" -class AccountType(str, Enum): +class AccountType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The sku name. Required for account creation; optional for update. Note that in older versions, sku name was called accountType. """ - standard_lrs = "Standard_LRS" - standard_zrs = "Standard_ZRS" - standard_grs = "Standard_GRS" - standard_ragrs = "Standard_RAGRS" - premium_lrs = "Premium_LRS" + STANDARD_LRS = "Standard_LRS" + STANDARD_ZRS = "Standard_ZRS" + STANDARD_GRS = "Standard_GRS" + STANDARD_RAGRS = "Standard_RAGRS" + PREMIUM_LRS = "Premium_LRS" -class ProvisioningState(str, Enum): +class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The status of the storage account at the time the operation was called. """ - creating = "Creating" - resolving_dns = "ResolvingDNS" - succeeded = "Succeeded" + CREATING = "Creating" + RESOLVING_DNS = "ResolvingDNS" + SUCCEEDED = "Succeeded" -class Reason(str, Enum): +class Reason(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. """ - account_name_invalid = "AccountNameInvalid" - already_exists = "AlreadyExists" + ACCOUNT_NAME_INVALID = "AccountNameInvalid" + ALREADY_EXISTS = "AlreadyExists" -class UsageUnit(str, Enum): +class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The unit of measurement. """ - count = "Count" - bytes = "Bytes" - seconds = "Seconds" - percent = "Percent" - counts_per_second = "CountsPerSecond" - bytes_per_second = "BytesPerSecond" + COUNT = "Count" + BYTES = "Bytes" + SECONDS = "Seconds" + PERCENT = "Percent" + COUNTS_PER_SECOND = "CountsPerSecond" + BYTES_PER_SECOND = "BytesPerSecond" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py index 38770359f95d..4fc7713ca81f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -65,10 +65,13 @@ def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -84,13 +87,12 @@ def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -115,10 +117,13 @@ def _create_initial( ): # type: (...) -> Optional["models.StorageAccount"] cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -136,13 +141,12 @@ def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -169,16 +173,16 @@ def begin_create( ): # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountCreateParameters @@ -254,7 +258,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" @@ -311,9 +317,12 @@ def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" + accept = "application/json, text/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -330,7 +339,7 @@ def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -380,10 +389,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -401,13 +413,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -429,7 +440,7 @@ def list( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -437,14 +448,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -495,10 +509,10 @@ def list_by_resource_group( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -506,14 +520,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -580,9 +597,12 @@ def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountKeys"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" + accept = "application/json, text/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -599,7 +619,7 @@ def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -642,10 +662,13 @@ def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountKeys"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -663,13 +686,12 @@ def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py index a820df476bb5..b6b2280288df 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/__init__.py index 7622b8635ba1..75a361344ca2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/__init__.py @@ -10,7 +10,7 @@ __all__ = ['StorageManagementClient'] try: - from ._patch import patch_sdk + from ._patch import patch_sdk # type: ignore patch_sdk() except ImportError: pass diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_configuration.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_configuration.py index dbec2eafcc34..ac63d67765d5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_configuration.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -47,8 +48,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2016-01-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -61,6 +61,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_metadata.json index fd8e5353b192..d523f2c67467 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_metadata.json @@ -4,7 +4,11 @@ "client": { "name": "StorageManagementClient", "filename": "_storage_management_client", - "description": "The Storage Management Client." + "description": "The Storage Management Client.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true }, "global_parameters": { "sync_method": { @@ -41,7 +45,10 @@ }, "config": { "credential": true, - "credential_scopes": ["https://management.azure.com/.default"] + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null }, "operation_groups": { "storage_accounts": "StorageAccountsOperations", diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_storage_management_client.py index 1cdc1a0d33e3..085ec5595c53 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/_storage_management_client.py @@ -53,6 +53,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.storage_accounts = StorageAccountsOperations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/__init__.py index 4e7988b5c172..9cfe0ace1ba9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/__init__.py @@ -6,5 +6,5 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._storage_management_client_async import StorageManagementClient +from ._storage_management_client import StorageManagementClient __all__ = ['StorageManagementClient'] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/_configuration_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/_configuration.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/_configuration_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/_configuration.py index 767559ddc331..52bb311a18f3 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/_configuration_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -44,8 +45,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2016-01-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -57,6 +57,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/_storage_management_client_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/_storage_management_client_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py index dbc52e81715d..41c24f290675 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/_storage_management_client_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py @@ -15,9 +15,9 @@ # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential -from ._configuration_async import StorageManagementClientConfiguration -from .operations_async import StorageAccountsOperations -from .operations_async import UsageOperations +from ._configuration import StorageManagementClientConfiguration +from .operations import StorageAccountsOperations +from .operations import UsageOperations from .. import models @@ -25,9 +25,9 @@ class StorageManagementClient(object): """The Storage Management Client. :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.storage.v2016_01_01.aio.operations_async.StorageAccountsOperations + :vartype storage_accounts: azure.mgmt.storage.v2016_01_01.aio.operations.StorageAccountsOperations :ivar usage: UsageOperations operations - :vartype usage: azure.mgmt.storage.v2016_01_01.aio.operations_async.UsageOperations + :vartype usage: azure.mgmt.storage.v2016_01_01.aio.operations.UsageOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. @@ -50,6 +50,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.storage_accounts = StorageAccountsOperations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations/__init__.py similarity index 80% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/__init__.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations/__init__.py index 09d03b33be16..291f880b1419 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations/__init__.py @@ -6,8 +6,8 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._storage_accounts_operations_async import StorageAccountsOperations -from ._usage_operations_async import UsageOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._usage_operations import UsageOperations __all__ = [ 'StorageAccountsOperations', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/_storage_accounts_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py index f28b8e6831bf..ad5ebfb3afd4 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod @@ -60,10 +60,13 @@ async def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -79,13 +82,12 @@ async def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -109,10 +111,13 @@ async def _create_initial( **kwargs ) -> Optional["models.StorageAccount"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -130,13 +135,12 @@ async def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -162,15 +166,15 @@ async def begin_create( **kwargs ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountCreateParameters @@ -244,7 +248,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" @@ -299,9 +305,12 @@ async def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" + accept = "application/json, text/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -318,7 +327,7 @@ async def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -366,10 +375,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -387,13 +399,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -414,7 +425,7 @@ def list( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -422,14 +433,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -479,7 +493,7 @@ def list_by_resource_group( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. :type resource_group_name: str @@ -489,14 +503,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -561,9 +578,12 @@ async def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" + accept = "application/json, text/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -580,7 +600,7 @@ async def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -621,10 +641,13 @@ async def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -642,13 +665,12 @@ async def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/_usage_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/_usage_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py index 74f548bec650..6c8d7cc63b7d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/_usage_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/models/_storage_management_client_enums.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/models/_storage_management_client_enums.py index d162985b41af..654cb84a2f4d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/models/_storage_management_client_enums.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/models/_storage_management_client_enums.py @@ -6,78 +6,96 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum - -class AccessTier(str, Enum): +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AccessTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Required for storage accounts where kind = BlobStorage. The access tier used for billing. """ - hot = "Hot" - cool = "Cool" + HOT = "Hot" + COOL = "Cool" -class AccountStatus(str, Enum): +class AccountStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status indicating whether the primary location of the storage account is available or unavailable. """ - available = "Available" - unavailable = "Unavailable" + AVAILABLE = "Available" + UNAVAILABLE = "Unavailable" -class KeyPermission(str, Enum): +class KeyPermission(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Permissions for the key -- read-only or full permissions. """ - read = "READ" - full = "FULL" + READ = "READ" + FULL = "FULL" -class Kind(str, Enum): +class Kind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Required. Indicates the type of storage account. """ - storage = "Storage" - blob_storage = "BlobStorage" + STORAGE = "Storage" + BLOB_STORAGE = "BlobStorage" -class ProvisioningState(str, Enum): +class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status of the storage account at the time the operation was called. """ - creating = "Creating" - resolving_dns = "ResolvingDNS" - succeeded = "Succeeded" + CREATING = "Creating" + RESOLVING_DNS = "ResolvingDNS" + SUCCEEDED = "Succeeded" -class Reason(str, Enum): +class Reason(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. """ - account_name_invalid = "AccountNameInvalid" - already_exists = "AlreadyExists" + ACCOUNT_NAME_INVALID = "AccountNameInvalid" + ALREADY_EXISTS = "AlreadyExists" -class SkuName(str, Enum): +class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets or sets the sku name. Required for account creation; optional for update. Note that in older versions, sku name was called accountType. """ - standard_lrs = "Standard_LRS" - standard_grs = "Standard_GRS" - standard_ragrs = "Standard_RAGRS" - standard_zrs = "Standard_ZRS" - premium_lrs = "Premium_LRS" + STANDARD_LRS = "Standard_LRS" + STANDARD_GRS = "Standard_GRS" + STANDARD_RAGRS = "Standard_RAGRS" + STANDARD_ZRS = "Standard_ZRS" + PREMIUM_LRS = "Premium_LRS" -class SkuTier(str, Enum): +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the sku tier. This is based on the SKU name. """ - standard = "Standard" - premium = "Premium" + STANDARD = "Standard" + PREMIUM = "Premium" -class UsageUnit(str, Enum): +class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the unit of measurement. """ - count = "Count" - bytes = "Bytes" - seconds = "Seconds" - percent = "Percent" - counts_per_second = "CountsPerSecond" - bytes_per_second = "BytesPerSecond" + COUNT = "Count" + BYTES = "Bytes" + SECONDS = "Seconds" + PERCENT = "Percent" + COUNTS_PER_SECOND = "CountsPerSecond" + BYTES_PER_SECOND = "BytesPerSecond" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py index 615d8baf5c35..d298479b656b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -65,10 +65,13 @@ def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -84,13 +87,12 @@ def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -115,10 +117,13 @@ def _create_initial( ): # type: (...) -> Optional["models.StorageAccount"] cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -136,13 +141,12 @@ def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -169,15 +173,15 @@ def begin_create( ): # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountCreateParameters @@ -252,7 +256,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" @@ -308,9 +314,12 @@ def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" + accept = "application/json, text/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -327,7 +336,7 @@ def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -376,10 +385,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -397,13 +409,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -425,7 +436,7 @@ def list( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -433,14 +444,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -491,7 +505,7 @@ def list_by_resource_group( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. :type resource_group_name: str @@ -501,14 +515,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -574,9 +591,12 @@ def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" + accept = "application/json, text/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -593,7 +613,7 @@ def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -635,10 +655,13 @@ def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -656,13 +679,12 @@ def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py index 627ea06a3786..f8cee9efbd57 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/__init__.py index 0d16714726c4..f13f865f7963 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/__init__.py @@ -10,7 +10,7 @@ __all__ = ['StorageManagement'] try: - from ._patch import patch_sdk + from ._patch import patch_sdk # type: ignore patch_sdk() except ImportError: pass diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_configuration.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_configuration.py index 32c0fdf6821e..7aa60a4d915d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_configuration.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -47,8 +48,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2016-12-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -61,6 +61,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_metadata.json index f165378aa11a..02bc723ddbcf 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_metadata.json @@ -4,7 +4,11 @@ "client": { "name": "StorageManagement", "filename": "_storage_management", - "description": "The Azure Storage Management API." + "description": "The Azure Storage Management API.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true }, "global_parameters": { "sync_method": { @@ -41,7 +45,10 @@ }, "config": { "credential": true, - "credential_scopes": ["https://management.azure.com/.default"] + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null }, "operation_groups": { "storage_accounts": "StorageAccountsOperations", diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_storage_management.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_storage_management.py index 023e9cf46d64..7d9ecc6dea3c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_storage_management.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/_storage_management.py @@ -53,6 +53,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.storage_accounts = StorageAccountsOperations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/__init__.py index b93f8c5aa5ee..5bd005704dd7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/__init__.py @@ -6,5 +6,5 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._storage_management_async import StorageManagement +from ._storage_management import StorageManagement __all__ = ['StorageManagement'] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/_configuration_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/_configuration.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/_configuration_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/_configuration.py index 04d5ee3bae65..89dfb2bf861b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/_configuration_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -44,8 +45,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2016-12-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -57,6 +57,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/_storage_management_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/_storage_management.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/_storage_management_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/_storage_management.py index 5117b2ed2ce6..a32af010e157 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/_storage_management_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/_storage_management.py @@ -15,9 +15,9 @@ # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential -from ._configuration_async import StorageManagementConfiguration -from .operations_async import StorageAccountsOperations -from .operations_async import UsageOperations +from ._configuration import StorageManagementConfiguration +from .operations import StorageAccountsOperations +from .operations import UsageOperations from .. import models @@ -25,9 +25,9 @@ class StorageManagement(object): """The Azure Storage Management API. :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.storage.v2016_12_01.aio.operations_async.StorageAccountsOperations + :vartype storage_accounts: azure.mgmt.storage.v2016_12_01.aio.operations.StorageAccountsOperations :ivar usage: UsageOperations operations - :vartype usage: azure.mgmt.storage.v2016_12_01.aio.operations_async.UsageOperations + :vartype usage: azure.mgmt.storage.v2016_12_01.aio.operations.UsageOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. @@ -50,6 +50,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.storage_accounts = StorageAccountsOperations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations/__init__.py similarity index 80% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/__init__.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations/__init__.py index 09d03b33be16..291f880b1419 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations/__init__.py @@ -6,8 +6,8 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._storage_accounts_operations_async import StorageAccountsOperations -from ._usage_operations_async import UsageOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._usage_operations import UsageOperations __all__ = [ 'StorageAccountsOperations', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/_storage_accounts_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py index e5c1c901a9b9..9dfa75c9c753 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod @@ -60,10 +60,13 @@ async def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -79,13 +82,12 @@ async def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -109,10 +111,13 @@ async def _create_initial( **kwargs ) -> Optional["models.StorageAccount"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -130,13 +135,12 @@ async def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -162,16 +166,16 @@ async def begin_create( **kwargs ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountCreateParameters @@ -246,7 +250,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" @@ -302,9 +308,12 @@ async def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" + accept = "application/json, text/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -321,7 +330,7 @@ async def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -370,10 +379,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -391,13 +403,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -418,7 +429,7 @@ def list( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -426,14 +437,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -483,10 +497,10 @@ def list_by_resource_group( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -494,14 +508,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -567,9 +584,12 @@ async def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" + accept = "application/json, text/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -586,7 +606,7 @@ async def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -628,10 +648,13 @@ async def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -649,13 +672,12 @@ async def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -695,10 +717,13 @@ async def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -716,13 +741,12 @@ async def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -762,10 +786,13 @@ async def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -783,13 +810,12 @@ async def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/_usage_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/_usage_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py index fce0ef1b1d8d..344c38769509 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/_usage_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/models/_storage_management_enums.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/models/_storage_management_enums.py index ff43cd1cd090..e9b5cdc2f215 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/models/_storage_management_enums.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/models/_storage_management_enums.py @@ -6,143 +6,161 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum - -class AccessTier(str, Enum): +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AccessTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Required for storage accounts where kind = BlobStorage. The access tier used for billing. """ - hot = "Hot" - cool = "Cool" + HOT = "Hot" + COOL = "Cool" -class AccountStatus(str, Enum): +class AccountStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status indicating whether the primary location of the storage account is available or unavailable. """ - available = "available" - unavailable = "unavailable" + AVAILABLE = "available" + UNAVAILABLE = "unavailable" -class HttpProtocol(str, Enum): +class HttpProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The protocol permitted for a request made with the account SAS. """ - https_http = "https,http" - https = "https" + HTTPS_HTTP = "https,http" + HTTPS = "https" -class KeyPermission(str, Enum): +class KeyPermission(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Permissions for the key -- read-only or full permissions. """ - read = "Read" - full = "Full" + READ = "Read" + FULL = "Full" -class Kind(str, Enum): +class Kind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Required. Indicates the type of storage account. """ - storage = "Storage" - blob_storage = "BlobStorage" + STORAGE = "Storage" + BLOB_STORAGE = "BlobStorage" -class Permissions(str, Enum): +class Permissions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). """ - r = "r" - d = "d" - w = "w" - l = "l" - a = "a" - c = "c" - u = "u" - p = "p" + R = "r" + D = "d" + W = "w" + L = "l" + A = "a" + C = "c" + U = "u" + P = "p" -class PermissionsAutoGenerated(str, Enum): +class PermissionsAutoGenerated(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). """ - r = "r" - d = "d" - w = "w" - l = "l" - a = "a" - c = "c" - u = "u" - p = "p" + R = "r" + D = "d" + W = "w" + L = "l" + A = "a" + C = "c" + U = "u" + P = "p" -class ProvisioningState(str, Enum): +class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status of the storage account at the time the operation was called. """ - creating = "Creating" - resolving_dns = "ResolvingDNS" - succeeded = "Succeeded" + CREATING = "Creating" + RESOLVING_DNS = "ResolvingDNS" + SUCCEEDED = "Succeeded" -class Reason(str, Enum): +class Reason(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. """ - account_name_invalid = "AccountNameInvalid" - already_exists = "AlreadyExists" + ACCOUNT_NAME_INVALID = "AccountNameInvalid" + ALREADY_EXISTS = "AlreadyExists" -class ResourceTypes(str, Enum): +class ResourceTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. """ - s = "s" - c = "c" - o = "o" + S = "s" + C = "c" + O = "o" -class Services(str, Enum): +class Services(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). """ - b = "b" - q = "q" - t = "t" - f = "f" + B = "b" + Q = "q" + T = "t" + F = "f" -class SignedResource(str, Enum): +class SignedResource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). """ - b = "b" - c = "c" - f = "f" - s = "s" + B = "b" + C = "c" + F = "f" + S = "s" -class SkuName(str, Enum): +class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets or sets the sku name. Required for account creation; optional for update. Note that in older versions, sku name was called accountType. """ - standard_lrs = "Standard_LRS" - standard_grs = "Standard_GRS" - standard_ragrs = "Standard_RAGRS" - standard_zrs = "Standard_ZRS" - premium_lrs = "Premium_LRS" + STANDARD_LRS = "Standard_LRS" + STANDARD_GRS = "Standard_GRS" + STANDARD_RAGRS = "Standard_RAGRS" + STANDARD_ZRS = "Standard_ZRS" + PREMIUM_LRS = "Premium_LRS" -class SkuTier(str, Enum): +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the sku tier. This is based on the SKU name. """ - standard = "Standard" - premium = "Premium" + STANDARD = "Standard" + PREMIUM = "Premium" -class UsageUnit(str, Enum): +class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the unit of measurement. """ - count = "Count" - bytes = "Bytes" - seconds = "Seconds" - percent = "Percent" - counts_per_second = "CountsPerSecond" - bytes_per_second = "BytesPerSecond" + COUNT = "Count" + BYTES = "Bytes" + SECONDS = "Seconds" + PERCENT = "Percent" + COUNTS_PER_SECOND = "CountsPerSecond" + BYTES_PER_SECOND = "BytesPerSecond" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py index f138afa34f44..17600678ce29 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -65,10 +65,13 @@ def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -84,13 +87,12 @@ def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -115,10 +117,13 @@ def _create_initial( ): # type: (...) -> Optional["models.StorageAccount"] cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -136,13 +141,12 @@ def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -169,16 +173,16 @@ def begin_create( ): # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountCreateParameters @@ -254,7 +258,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" @@ -311,9 +317,12 @@ def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" + accept = "application/json, text/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -330,7 +339,7 @@ def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -380,10 +389,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -401,13 +413,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -429,7 +440,7 @@ def list( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -437,14 +448,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -495,10 +509,10 @@ def list_by_resource_group( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -506,14 +520,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -580,9 +597,12 @@ def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" + accept = "application/json, text/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -599,7 +619,7 @@ def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -642,10 +662,13 @@ def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -663,13 +686,12 @@ def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -710,10 +732,13 @@ def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -731,13 +756,12 @@ def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -778,10 +802,13 @@ def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -799,13 +826,12 @@ def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py index 0862dc9e01fb..15c278fe74ef 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/__init__.py index 0d16714726c4..f13f865f7963 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/__init__.py @@ -10,7 +10,7 @@ __all__ = ['StorageManagement'] try: - from ._patch import patch_sdk + from ._patch import patch_sdk # type: ignore patch_sdk() except ImportError: pass diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_configuration.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_configuration.py index 076f790f4a83..9f222444ac06 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_configuration.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -47,8 +48,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2017-06-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -61,6 +61,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_metadata.json index d0727ada4cce..04dadd3f6e42 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_metadata.json @@ -4,7 +4,11 @@ "client": { "name": "StorageManagement", "filename": "_storage_management", - "description": "The Azure Storage Management API." + "description": "The Azure Storage Management API.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true }, "global_parameters": { "sync_method": { @@ -41,7 +45,10 @@ }, "config": { "credential": true, - "credential_scopes": ["https://management.azure.com/.default"] + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null }, "operation_groups": { "operations": "Operations", diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_storage_management.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_storage_management.py index 76b809b57392..f25c8d687821 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_storage_management.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/_storage_management.py @@ -59,6 +59,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/__init__.py index b93f8c5aa5ee..5bd005704dd7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/__init__.py @@ -6,5 +6,5 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._storage_management_async import StorageManagement +from ._storage_management import StorageManagement __all__ = ['StorageManagement'] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/_configuration_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/_configuration.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/_configuration_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/_configuration.py index 3b1f888a96f8..9d9c384a464b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/_configuration_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -44,8 +45,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2017-06-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -57,6 +57,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/_storage_management_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/_storage_management.py similarity index 89% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/_storage_management_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/_storage_management.py index 4ca53130df98..f3b431560958 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/_storage_management_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/_storage_management.py @@ -15,11 +15,11 @@ # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential -from ._configuration_async import StorageManagementConfiguration -from .operations_async import Operations -from .operations_async import SkusOperations -from .operations_async import StorageAccountsOperations -from .operations_async import UsageOperations +from ._configuration import StorageManagementConfiguration +from .operations import Operations +from .operations import SkusOperations +from .operations import StorageAccountsOperations +from .operations import UsageOperations from .. import models @@ -27,13 +27,13 @@ class StorageManagement(object): """The Azure Storage Management API. :ivar operations: Operations operations - :vartype operations: azure.mgmt.storage.v2017_06_01.aio.operations_async.Operations + :vartype operations: azure.mgmt.storage.v2017_06_01.aio.operations.Operations :ivar skus: SkusOperations operations - :vartype skus: azure.mgmt.storage.v2017_06_01.aio.operations_async.SkusOperations + :vartype skus: azure.mgmt.storage.v2017_06_01.aio.operations.SkusOperations :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.storage.v2017_06_01.aio.operations_async.StorageAccountsOperations + :vartype storage_accounts: azure.mgmt.storage.v2017_06_01.aio.operations.StorageAccountsOperations :ivar usage: UsageOperations operations - :vartype usage: azure.mgmt.storage.v2017_06_01.aio.operations_async.UsageOperations + :vartype usage: azure.mgmt.storage.v2017_06_01.aio.operations.UsageOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. @@ -56,6 +56,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/__init__.py similarity index 72% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/__init__.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/__init__.py index 7663f273ee93..162b4acfdb68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/__init__.py @@ -6,10 +6,10 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._operations_async import Operations -from ._skus_operations_async import SkusOperations -from ._storage_accounts_operations_async import StorageAccountsOperations -from ._usage_operations_async import UsageOperations +from ._operations import Operations +from ._skus_operations import SkusOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._usage_operations import UsageOperations __all__ = [ 'Operations', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py index e72dd471387a..19dac955be84 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_skus_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_skus_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py index e3851afd5517..2b5b1950e9f5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_skus_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageSkuListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_storage_accounts_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py index 115df9ced623..e63fddd4ec95 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod @@ -60,10 +60,13 @@ async def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -79,13 +82,12 @@ async def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -109,10 +111,13 @@ async def _create_initial( **kwargs ) -> Optional["models.StorageAccount"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -130,13 +135,12 @@ async def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -162,16 +166,16 @@ async def begin_create( **kwargs ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2017_06_01.models.StorageAccountCreateParameters @@ -246,7 +250,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" @@ -302,9 +308,12 @@ async def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" + accept = "application/json, text/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -321,7 +330,7 @@ async def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -370,10 +379,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -391,13 +403,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -418,7 +429,7 @@ def list( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -426,14 +437,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -483,10 +497,10 @@ def list_by_resource_group( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -494,14 +508,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -567,9 +584,12 @@ async def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" + accept = "application/json, text/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -586,7 +606,7 @@ async def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -628,10 +648,13 @@ async def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -649,13 +672,12 @@ async def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -695,10 +717,13 @@ async def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -716,13 +741,12 @@ async def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -762,10 +786,13 @@ async def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -783,13 +810,12 @@ async def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_usage_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_usage_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py index 4f2eb67bda32..904c0e1fa6ca 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_usage_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/models/_storage_management_enums.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/models/_storage_management_enums.py index c5ba4dfabf04..126642341c46 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/models/_storage_management_enums.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/models/_storage_management_enums.py @@ -6,175 +6,193 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum - -class AccessTier(str, Enum): +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AccessTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Required for storage accounts where kind = BlobStorage. The access tier used for billing. """ - hot = "Hot" - cool = "Cool" + HOT = "Hot" + COOL = "Cool" -class AccountStatus(str, Enum): +class AccountStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status indicating whether the primary location of the storage account is available or unavailable. """ - available = "available" - unavailable = "unavailable" + AVAILABLE = "available" + UNAVAILABLE = "unavailable" -class Bypass(str, Enum): +class Bypass(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. """ - none = "None" - logging = "Logging" - metrics = "Metrics" - azure_services = "AzureServices" + NONE = "None" + LOGGING = "Logging" + METRICS = "Metrics" + AZURE_SERVICES = "AzureServices" -class DefaultAction(str, Enum): +class DefaultAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies the default action of allow or deny when no other rules match. """ - allow = "Allow" - deny = "Deny" + ALLOW = "Allow" + DENY = "Deny" -class HttpProtocol(str, Enum): +class HttpProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The protocol permitted for a request made with the account SAS. """ - https_http = "https,http" - https = "https" + HTTPS_HTTP = "https,http" + HTTPS = "https" -class KeyPermission(str, Enum): +class KeyPermission(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Permissions for the key -- read-only or full permissions. """ - read = "Read" - full = "Full" + READ = "Read" + FULL = "Full" -class KeySource(str, Enum): +class KeySource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault """ - microsoft_storage = "Microsoft.Storage" - microsoft_keyvault = "Microsoft.Keyvault" + MICROSOFT_STORAGE = "Microsoft.Storage" + MICROSOFT_KEYVAULT = "Microsoft.Keyvault" -class Kind(str, Enum): +class Kind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Indicates the type of storage account. """ - storage = "Storage" - blob_storage = "BlobStorage" + STORAGE = "Storage" + BLOB_STORAGE = "BlobStorage" -class Permissions(str, Enum): +class Permissions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). """ - r = "r" - d = "d" - w = "w" - l = "l" - a = "a" - c = "c" - u = "u" - p = "p" + R = "r" + D = "d" + W = "w" + L = "l" + A = "a" + C = "c" + U = "u" + P = "p" -class ProvisioningState(str, Enum): +class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status of the storage account at the time the operation was called. """ - creating = "Creating" - resolving_dns = "ResolvingDNS" - succeeded = "Succeeded" + CREATING = "Creating" + RESOLVING_DNS = "ResolvingDNS" + SUCCEEDED = "Succeeded" -class Reason(str, Enum): +class Reason(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. """ - account_name_invalid = "AccountNameInvalid" - already_exists = "AlreadyExists" + ACCOUNT_NAME_INVALID = "AccountNameInvalid" + ALREADY_EXISTS = "AlreadyExists" -class ReasonCode(str, Enum): +class ReasonCode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. """ - quota_id = "QuotaId" - not_available_for_subscription = "NotAvailableForSubscription" + QUOTA_ID = "QuotaId" + NOT_AVAILABLE_FOR_SUBSCRIPTION = "NotAvailableForSubscription" -class Services(str, Enum): +class Services(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). """ - b = "b" - q = "q" - t = "t" - f = "f" + B = "b" + Q = "q" + T = "t" + F = "f" -class SignedResource(str, Enum): +class SignedResource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). """ - b = "b" - c = "c" - f = "f" - s = "s" + B = "b" + C = "c" + F = "f" + S = "s" -class SignedResourceTypes(str, Enum): +class SignedResourceTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. """ - s = "s" - c = "c" - o = "o" + S = "s" + C = "c" + O = "o" -class SkuName(str, Enum): +class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets or sets the sku name. Required for account creation; optional for update. Note that in older versions, sku name was called accountType. """ - standard_lrs = "Standard_LRS" - standard_grs = "Standard_GRS" - standard_ragrs = "Standard_RAGRS" - standard_zrs = "Standard_ZRS" - premium_lrs = "Premium_LRS" + STANDARD_LRS = "Standard_LRS" + STANDARD_GRS = "Standard_GRS" + STANDARD_RAGRS = "Standard_RAGRS" + STANDARD_ZRS = "Standard_ZRS" + PREMIUM_LRS = "Premium_LRS" -class SkuTier(str, Enum): +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the sku tier. This is based on the SKU name. """ - standard = "Standard" - premium = "Premium" + STANDARD = "Standard" + PREMIUM = "Premium" -class State(str, Enum): +class State(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the state of virtual network rule. """ - provisioning = "provisioning" - deprovisioning = "deprovisioning" - succeeded = "succeeded" - failed = "failed" - network_source_deleted = "networkSourceDeleted" + PROVISIONING = "provisioning" + DEPROVISIONING = "deprovisioning" + SUCCEEDED = "succeeded" + FAILED = "failed" + NETWORK_SOURCE_DELETED = "networkSourceDeleted" -class UsageUnit(str, Enum): +class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the unit of measurement. """ - count = "Count" - bytes = "Bytes" - seconds = "Seconds" - percent = "Percent" - counts_per_second = "CountsPerSecond" - bytes_per_second = "BytesPerSecond" + COUNT = "Count" + BYTES = "Bytes" + SECONDS = "Seconds" + PERCENT = "Percent" + COUNTS_PER_SECOND = "CountsPerSecond" + BYTES_PER_SECOND = "BytesPerSecond" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_operations.py index 1bdc0a734197..1748ba1c6e96 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py index 1eb16e1b1cab..fa8bf1dbac79 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageSkuListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py index f9fa7832eae8..a060707894b0 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -65,10 +65,13 @@ def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -84,13 +87,12 @@ def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -115,10 +117,13 @@ def _create_initial( ): # type: (...) -> Optional["models.StorageAccount"] cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -136,13 +141,12 @@ def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -169,16 +173,16 @@ def begin_create( ): # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2017_06_01.models.StorageAccountCreateParameters @@ -254,7 +258,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" @@ -311,9 +317,12 @@ def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" + accept = "application/json, text/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -330,7 +339,7 @@ def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -380,10 +389,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -401,13 +413,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -429,7 +440,7 @@ def list( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -437,14 +448,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -495,10 +509,10 @@ def list_by_resource_group( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -506,14 +520,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -580,9 +597,12 @@ def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" + accept = "application/json, text/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -599,7 +619,7 @@ def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -642,10 +662,13 @@ def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -663,13 +686,12 @@ def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -710,10 +732,13 @@ def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -731,13 +756,12 @@ def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -778,10 +802,13 @@ def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -799,13 +826,12 @@ def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py index 3d1da57533f4..7da2d0f7a65f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/__init__.py index 0d16714726c4..f13f865f7963 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/__init__.py @@ -10,7 +10,7 @@ __all__ = ['StorageManagement'] try: - from ._patch import patch_sdk + from ._patch import patch_sdk # type: ignore patch_sdk() except ImportError: pass diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_configuration.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_configuration.py index 260d1d59b858..a2e695a00c09 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_configuration.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -47,8 +48,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2017-10-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -61,6 +61,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_metadata.json index c654c544b593..15d823905b8e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_metadata.json @@ -4,7 +4,11 @@ "client": { "name": "StorageManagement", "filename": "_storage_management", - "description": "The Azure Storage Management API." + "description": "The Azure Storage Management API.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true }, "global_parameters": { "sync_method": { @@ -41,7 +45,10 @@ }, "config": { "credential": true, - "credential_scopes": ["https://management.azure.com/.default"] + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null }, "operation_groups": { "operations": "Operations", diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_storage_management.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_storage_management.py index e545131c0180..931b6ca43d88 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_storage_management.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/_storage_management.py @@ -59,6 +59,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/__init__.py index b93f8c5aa5ee..5bd005704dd7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/__init__.py @@ -6,5 +6,5 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._storage_management_async import StorageManagement +from ._storage_management import StorageManagement __all__ = ['StorageManagement'] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/_configuration_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/_configuration.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/_configuration_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/_configuration.py index 92329f42d985..16301a9b05dc 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/_configuration_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -44,8 +45,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2017-10-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -57,6 +57,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/_storage_management_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/_storage_management.py similarity index 89% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/_storage_management_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/_storage_management.py index f46a77ee6c48..e022276384bf 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/_storage_management_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/_storage_management.py @@ -15,11 +15,11 @@ # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential -from ._configuration_async import StorageManagementConfiguration -from .operations_async import Operations -from .operations_async import SkusOperations -from .operations_async import StorageAccountsOperations -from .operations_async import UsageOperations +from ._configuration import StorageManagementConfiguration +from .operations import Operations +from .operations import SkusOperations +from .operations import StorageAccountsOperations +from .operations import UsageOperations from .. import models @@ -27,13 +27,13 @@ class StorageManagement(object): """The Azure Storage Management API. :ivar operations: Operations operations - :vartype operations: azure.mgmt.storage.v2017_10_01.aio.operations_async.Operations + :vartype operations: azure.mgmt.storage.v2017_10_01.aio.operations.Operations :ivar skus: SkusOperations operations - :vartype skus: azure.mgmt.storage.v2017_10_01.aio.operations_async.SkusOperations + :vartype skus: azure.mgmt.storage.v2017_10_01.aio.operations.SkusOperations :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.storage.v2017_10_01.aio.operations_async.StorageAccountsOperations + :vartype storage_accounts: azure.mgmt.storage.v2017_10_01.aio.operations.StorageAccountsOperations :ivar usage: UsageOperations operations - :vartype usage: azure.mgmt.storage.v2017_10_01.aio.operations_async.UsageOperations + :vartype usage: azure.mgmt.storage.v2017_10_01.aio.operations.UsageOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. @@ -56,6 +56,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/__init__.py similarity index 72% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/__init__.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/__init__.py index 7663f273ee93..162b4acfdb68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/__init__.py @@ -6,10 +6,10 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._operations_async import Operations -from ._skus_operations_async import SkusOperations -from ._storage_accounts_operations_async import StorageAccountsOperations -from ._usage_operations_async import UsageOperations +from ._operations import Operations +from ._skus_operations import SkusOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._usage_operations import UsageOperations __all__ = [ 'Operations', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py index d37b8e40a911..270f8a1f5ca6 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_skus_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_skus_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py index fd22f15b7e3b..3a24ef4a8574 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_skus_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageSkuListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_storage_accounts_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py index fef013156915..4f268118fcff 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod @@ -60,10 +60,13 @@ async def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -79,13 +82,12 @@ async def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -109,10 +111,13 @@ async def _create_initial( **kwargs ) -> Optional["models.StorageAccount"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -130,13 +135,12 @@ async def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -162,16 +166,16 @@ async def begin_create( **kwargs ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountCreateParameters @@ -246,7 +250,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" @@ -302,9 +308,12 @@ async def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" + accept = "application/json, text/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -321,7 +330,7 @@ async def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -370,10 +379,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -391,13 +403,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -418,7 +429,7 @@ def list( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -426,14 +437,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -483,10 +497,10 @@ def list_by_resource_group( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -494,14 +508,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -567,9 +584,12 @@ async def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" + accept = "application/json, text/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -586,7 +606,7 @@ async def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -628,10 +648,13 @@ async def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -649,13 +672,12 @@ async def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -695,10 +717,13 @@ async def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -716,13 +741,12 @@ async def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -762,10 +786,13 @@ async def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -783,13 +810,12 @@ async def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_usage_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_usage_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py index ae56f20cc4f5..fd2e55b48d4c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_usage_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/models/_storage_management_enums.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/models/_storage_management_enums.py index 3a5498785ec2..83fdca35bb84 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/models/_storage_management_enums.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/models/_storage_management_enums.py @@ -6,176 +6,194 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum - -class AccessTier(str, Enum): +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AccessTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Required for storage accounts where kind = BlobStorage. The access tier used for billing. """ - hot = "Hot" - cool = "Cool" + HOT = "Hot" + COOL = "Cool" -class AccountStatus(str, Enum): +class AccountStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status indicating whether the primary location of the storage account is available or unavailable. """ - available = "available" - unavailable = "unavailable" + AVAILABLE = "available" + UNAVAILABLE = "unavailable" -class Bypass(str, Enum): +class Bypass(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. """ - none = "None" - logging = "Logging" - metrics = "Metrics" - azure_services = "AzureServices" + NONE = "None" + LOGGING = "Logging" + METRICS = "Metrics" + AZURE_SERVICES = "AzureServices" -class DefaultAction(str, Enum): +class DefaultAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies the default action of allow or deny when no other rules match. """ - allow = "Allow" - deny = "Deny" + ALLOW = "Allow" + DENY = "Deny" -class HttpProtocol(str, Enum): +class HttpProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The protocol permitted for a request made with the account SAS. """ - https_http = "https,http" - https = "https" + HTTPS_HTTP = "https,http" + HTTPS = "https" -class KeyPermission(str, Enum): +class KeyPermission(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Permissions for the key -- read-only or full permissions. """ - read = "Read" - full = "Full" + READ = "Read" + FULL = "Full" -class KeySource(str, Enum): +class KeySource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault """ - microsoft_storage = "Microsoft.Storage" - microsoft_keyvault = "Microsoft.Keyvault" + MICROSOFT_STORAGE = "Microsoft.Storage" + MICROSOFT_KEYVAULT = "Microsoft.Keyvault" -class Kind(str, Enum): +class Kind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Indicates the type of storage account. """ - storage = "Storage" - storage_v2 = "StorageV2" - blob_storage = "BlobStorage" + STORAGE = "Storage" + STORAGE_V2 = "StorageV2" + BLOB_STORAGE = "BlobStorage" -class Permissions(str, Enum): +class Permissions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). """ - r = "r" - d = "d" - w = "w" - l = "l" - a = "a" - c = "c" - u = "u" - p = "p" + R = "r" + D = "d" + W = "w" + L = "l" + A = "a" + C = "c" + U = "u" + P = "p" -class ProvisioningState(str, Enum): +class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status of the storage account at the time the operation was called. """ - creating = "Creating" - resolving_dns = "ResolvingDNS" - succeeded = "Succeeded" + CREATING = "Creating" + RESOLVING_DNS = "ResolvingDNS" + SUCCEEDED = "Succeeded" -class Reason(str, Enum): +class Reason(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. """ - account_name_invalid = "AccountNameInvalid" - already_exists = "AlreadyExists" + ACCOUNT_NAME_INVALID = "AccountNameInvalid" + ALREADY_EXISTS = "AlreadyExists" -class ReasonCode(str, Enum): +class ReasonCode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. """ - quota_id = "QuotaId" - not_available_for_subscription = "NotAvailableForSubscription" + QUOTA_ID = "QuotaId" + NOT_AVAILABLE_FOR_SUBSCRIPTION = "NotAvailableForSubscription" -class Services(str, Enum): +class Services(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). """ - b = "b" - q = "q" - t = "t" - f = "f" + B = "b" + Q = "q" + T = "t" + F = "f" -class SignedResource(str, Enum): +class SignedResource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). """ - b = "b" - c = "c" - f = "f" - s = "s" + B = "b" + C = "c" + F = "f" + S = "s" -class SignedResourceTypes(str, Enum): +class SignedResourceTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. """ - s = "s" - c = "c" - o = "o" + S = "s" + C = "c" + O = "o" -class SkuName(str, Enum): +class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets or sets the sku name. Required for account creation; optional for update. Note that in older versions, sku name was called accountType. """ - standard_lrs = "Standard_LRS" - standard_grs = "Standard_GRS" - standard_ragrs = "Standard_RAGRS" - standard_zrs = "Standard_ZRS" - premium_lrs = "Premium_LRS" + STANDARD_LRS = "Standard_LRS" + STANDARD_GRS = "Standard_GRS" + STANDARD_RAGRS = "Standard_RAGRS" + STANDARD_ZRS = "Standard_ZRS" + PREMIUM_LRS = "Premium_LRS" -class SkuTier(str, Enum): +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the sku tier. This is based on the SKU name. """ - standard = "Standard" - premium = "Premium" + STANDARD = "Standard" + PREMIUM = "Premium" -class State(str, Enum): +class State(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the state of virtual network rule. """ - provisioning = "provisioning" - deprovisioning = "deprovisioning" - succeeded = "succeeded" - failed = "failed" - network_source_deleted = "networkSourceDeleted" + PROVISIONING = "provisioning" + DEPROVISIONING = "deprovisioning" + SUCCEEDED = "succeeded" + FAILED = "failed" + NETWORK_SOURCE_DELETED = "networkSourceDeleted" -class UsageUnit(str, Enum): +class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the unit of measurement. """ - count = "Count" - bytes = "Bytes" - seconds = "Seconds" - percent = "Percent" - counts_per_second = "CountsPerSecond" - bytes_per_second = "BytesPerSecond" + COUNT = "Count" + BYTES = "Bytes" + SECONDS = "Seconds" + PERCENT = "Percent" + COUNTS_PER_SECOND = "CountsPerSecond" + BYTES_PER_SECOND = "BytesPerSecond" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_operations.py index 98ac71d12c2f..5fe5665e6662 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py index 6624b80a8698..1dfe67d0e494 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageSkuListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py index 768f76815b03..e9b3d182649e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -65,10 +65,13 @@ def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -84,13 +87,12 @@ def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -115,10 +117,13 @@ def _create_initial( ): # type: (...) -> Optional["models.StorageAccount"] cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -136,13 +141,12 @@ def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -169,16 +173,16 @@ def begin_create( ): # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountCreateParameters @@ -254,7 +258,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" @@ -311,9 +317,12 @@ def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" + accept = "application/json, text/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -330,7 +339,7 @@ def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -380,10 +389,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -401,13 +413,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -429,7 +440,7 @@ def list( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -437,14 +448,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -495,10 +509,10 @@ def list_by_resource_group( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -506,14 +520,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -580,9 +597,12 @@ def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" + accept = "application/json, text/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -599,7 +619,7 @@ def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -642,10 +662,13 @@ def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -663,13 +686,12 @@ def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -710,10 +732,13 @@ def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -731,13 +756,12 @@ def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -778,10 +802,13 @@ def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json, text/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -799,13 +826,12 @@ def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py index 4bf2e6732463..b18d7fdd0a0f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" + accept = "application/json, text/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/__init__.py index 7622b8635ba1..75a361344ca2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/__init__.py @@ -10,7 +10,7 @@ __all__ = ['StorageManagementClient'] try: - from ._patch import patch_sdk + from ._patch import patch_sdk # type: ignore patch_sdk() except ImportError: pass diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_configuration.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_configuration.py index f531ead8ee86..05c6e2822c88 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_configuration.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -47,8 +48,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2018-02-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -61,6 +61,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_metadata.json index 4a9c4ada58d9..5fd1ad8ac455 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_metadata.json @@ -4,7 +4,11 @@ "client": { "name": "StorageManagementClient", "filename": "_storage_management_client", - "description": "The Azure Storage Management API." + "description": "The Azure Storage Management API.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true }, "global_parameters": { "sync_method": { @@ -41,7 +45,10 @@ }, "config": { "credential": true, - "credential_scopes": ["https://management.azure.com/.default"] + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null }, "operation_groups": { "operations": "Operations", diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_storage_management_client.py index 744ffdaa4875..20d52c9eea4d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/_storage_management_client.py @@ -62,6 +62,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/__init__.py index 4e7988b5c172..9cfe0ace1ba9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/__init__.py @@ -6,5 +6,5 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._storage_management_client_async import StorageManagementClient +from ._storage_management_client import StorageManagementClient __all__ = ['StorageManagementClient'] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/_configuration_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/_configuration.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/_configuration_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/_configuration.py index 5032efff69b4..7552fa8f2432 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/_configuration_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -44,8 +45,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2018-02-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -57,6 +57,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/_storage_management_client_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py similarity index 87% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/_storage_management_client_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py index 90bced81b407..85789332cf9b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/_storage_management_client_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py @@ -15,12 +15,12 @@ # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential -from ._configuration_async import StorageManagementClientConfiguration -from .operations_async import Operations -from .operations_async import SkusOperations -from .operations_async import StorageAccountsOperations -from .operations_async import UsageOperations -from .operations_async import BlobContainersOperations +from ._configuration import StorageManagementClientConfiguration +from .operations import Operations +from .operations import SkusOperations +from .operations import StorageAccountsOperations +from .operations import UsageOperations +from .operations import BlobContainersOperations from .. import models @@ -28,15 +28,15 @@ class StorageManagementClient(object): """The Azure Storage Management API. :ivar operations: Operations operations - :vartype operations: azure.mgmt.storage.v2018_02_01.aio.operations_async.Operations + :vartype operations: azure.mgmt.storage.v2018_02_01.aio.operations.Operations :ivar skus: SkusOperations operations - :vartype skus: azure.mgmt.storage.v2018_02_01.aio.operations_async.SkusOperations + :vartype skus: azure.mgmt.storage.v2018_02_01.aio.operations.SkusOperations :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.storage.v2018_02_01.aio.operations_async.StorageAccountsOperations + :vartype storage_accounts: azure.mgmt.storage.v2018_02_01.aio.operations.StorageAccountsOperations :ivar usage: UsageOperations operations - :vartype usage: azure.mgmt.storage.v2018_02_01.aio.operations_async.UsageOperations + :vartype usage: azure.mgmt.storage.v2018_02_01.aio.operations.UsageOperations :ivar blob_containers: BlobContainersOperations operations - :vartype blob_containers: azure.mgmt.storage.v2018_02_01.aio.operations_async.BlobContainersOperations + :vartype blob_containers: azure.mgmt.storage.v2018_02_01.aio.operations.BlobContainersOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The ID of the target subscription. @@ -59,6 +59,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/__init__.py similarity index 67% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/__init__.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/__init__.py index 763c3ed9b215..fd279979f158 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/__init__.py @@ -6,11 +6,11 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._operations_async import Operations -from ._skus_operations_async import SkusOperations -from ._storage_accounts_operations_async import StorageAccountsOperations -from ._usage_operations_async import UsageOperations -from ._blob_containers_operations_async import BlobContainersOperations +from ._operations import Operations +from ._skus_operations import SkusOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._usage_operations import UsageOperations +from ._blob_containers_operations import BlobContainersOperations __all__ = [ 'Operations', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_blob_containers_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py similarity index 94% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_blob_containers_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py index dba9ec651542..2be179b47b06 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_blob_containers_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, Optional, TypeVar import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -62,9 +62,12 @@ async def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListContainerItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -81,7 +84,7 @@ async def list( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -131,10 +134,13 @@ async def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -153,13 +159,12 @@ async def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -206,10 +211,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -228,13 +236,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -277,9 +284,12 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -297,7 +307,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -342,7 +352,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" @@ -408,10 +420,13 @@ async def set_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_legal_hold.metadata['url'] # type: ignore @@ -430,13 +445,12 @@ async def set_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -483,10 +497,13 @@ async def clear_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.clear_legal_hold.metadata['url'] # type: ignore @@ -505,13 +522,12 @@ async def clear_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -564,11 +580,14 @@ async def create_or_update_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update_immutability_policy.metadata['url'] # type: ignore @@ -590,7 +609,7 @@ async def create_or_update_immutability_policy( if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -599,7 +618,6 @@ async def create_or_update_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -650,10 +668,13 @@ async def get_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-02-01" + accept = "application/json" # Construct URL url = self.get_immutability_policy.metadata['url'] # type: ignore @@ -674,7 +695,7 @@ async def get_immutability_policy( header_parameters = {} # type: Dict[str, Any] if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -729,10 +750,13 @@ async def delete_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-02-01" + accept = "application/json" # Construct URL url = self.delete_immutability_policy.metadata['url'] # type: ignore @@ -752,7 +776,7 @@ async def delete_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -805,9 +829,12 @@ async def lock_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" # Construct URL url = self.lock_immutability_policy.metadata['url'] # type: ignore @@ -826,7 +853,7 @@ async def lock_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -884,10 +911,13 @@ async def extend_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.extend_immutability_policy.metadata['url'] # type: ignore @@ -907,7 +937,7 @@ async def extend_immutability_policy( header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -916,7 +946,6 @@ async def extend_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -965,10 +994,13 @@ async def lease( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LeaseContainerResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.lease.metadata['url'] # type: ignore @@ -987,7 +1019,7 @@ async def lease( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -996,7 +1028,6 @@ async def lease( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py index 457fb294c26b..63575b9e8ca2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_skus_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_skus_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py index ed3d69d361c3..1851cec43f8d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_skus_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageSkuListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_storage_accounts_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py index f925636452fe..3e085c95ac17 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod @@ -60,10 +60,13 @@ async def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -79,13 +82,12 @@ async def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -109,10 +111,13 @@ async def _create_initial( **kwargs ) -> Optional["models.StorageAccount"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -130,13 +135,12 @@ async def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -162,16 +166,16 @@ async def begin_create( **kwargs ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2018_02_01.models.StorageAccountCreateParameters @@ -246,7 +250,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" @@ -302,9 +308,12 @@ async def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -321,7 +330,7 @@ async def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -370,10 +379,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -391,13 +403,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -418,7 +429,7 @@ def list( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -426,14 +437,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -483,10 +497,10 @@ def list_by_resource_group( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -494,14 +508,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -567,9 +584,12 @@ async def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -586,7 +606,7 @@ async def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -628,10 +648,13 @@ async def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -649,13 +672,12 @@ async def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -695,10 +717,13 @@ async def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -716,13 +741,12 @@ async def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -762,10 +786,13 @@ async def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -783,13 +810,12 @@ async def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_usage_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_usage_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py index d41b295c9f68..d61b3244d058 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_usage_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -110,7 +113,7 @@ def list_by_location( **kwargs ) -> AsyncIterable["models.UsageListResult"]: """Gets the current usage count and the limit for the resources of the location under the - subscription. + subscription. :param location: The location of the Azure Storage resource. :type location: str @@ -120,14 +123,17 @@ def list_by_location( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py index c20436695801..2909ae5a6bed 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py @@ -6,235 +6,253 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum - -class AccessTier(str, Enum): +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AccessTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Required for storage accounts where kind = BlobStorage. The access tier used for billing. """ - hot = "Hot" - cool = "Cool" + HOT = "Hot" + COOL = "Cool" -class AccountStatus(str, Enum): +class AccountStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status indicating whether the primary location of the storage account is available or unavailable. """ - available = "available" - unavailable = "unavailable" + AVAILABLE = "available" + UNAVAILABLE = "unavailable" -class Bypass(str, Enum): +class Bypass(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. """ - none = "None" - logging = "Logging" - metrics = "Metrics" - azure_services = "AzureServices" + NONE = "None" + LOGGING = "Logging" + METRICS = "Metrics" + AZURE_SERVICES = "AzureServices" -class DefaultAction(str, Enum): +class DefaultAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies the default action of allow or deny when no other rules match. """ - allow = "Allow" - deny = "Deny" + ALLOW = "Allow" + DENY = "Deny" -class HttpProtocol(str, Enum): +class HttpProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The protocol permitted for a request made with the account SAS. """ - https_http = "https,http" - https = "https" + HTTPS_HTTP = "https,http" + HTTPS = "https" -class ImmutabilityPolicyState(str, Enum): +class ImmutabilityPolicyState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. """ - locked = "Locked" - unlocked = "Unlocked" + LOCKED = "Locked" + UNLOCKED = "Unlocked" -class ImmutabilityPolicyUpdateType(str, Enum): +class ImmutabilityPolicyUpdateType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. """ - put = "put" - lock = "lock" - extend = "extend" + PUT = "put" + LOCK = "lock" + EXTEND = "extend" -class KeyPermission(str, Enum): +class KeyPermission(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Permissions for the key -- read-only or full permissions. """ - read = "Read" - full = "Full" + READ = "Read" + FULL = "Full" -class KeySource(str, Enum): +class KeySource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault """ - microsoft_storage = "Microsoft.Storage" - microsoft_keyvault = "Microsoft.Keyvault" + MICROSOFT_STORAGE = "Microsoft.Storage" + MICROSOFT_KEYVAULT = "Microsoft.Keyvault" -class Kind(str, Enum): +class Kind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Indicates the type of storage account. """ - storage = "Storage" - storage_v2 = "StorageV2" - blob_storage = "BlobStorage" + STORAGE = "Storage" + STORAGE_V2 = "StorageV2" + BLOB_STORAGE = "BlobStorage" -class LeaseContainerRequestAction(str, Enum): +class LeaseContainerRequestAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies the lease action. Can be one of the available actions. """ - acquire = "Acquire" - renew = "Renew" - change = "Change" - release = "Release" - break_enum = "Break" + ACQUIRE = "Acquire" + RENEW = "Renew" + CHANGE = "Change" + RELEASE = "Release" + BREAK_ENUM = "Break" -class LeaseDuration(str, Enum): +class LeaseDuration(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. """ - infinite = "Infinite" - fixed = "Fixed" + INFINITE = "Infinite" + FIXED = "Fixed" -class LeaseState(str, Enum): +class LeaseState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Lease state of the container. """ - available = "Available" - leased = "Leased" - expired = "Expired" - breaking = "Breaking" - broken = "Broken" + AVAILABLE = "Available" + LEASED = "Leased" + EXPIRED = "Expired" + BREAKING = "Breaking" + BROKEN = "Broken" -class LeaseStatus(str, Enum): +class LeaseStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The lease status of the container. """ - locked = "Locked" - unlocked = "Unlocked" + LOCKED = "Locked" + UNLOCKED = "Unlocked" -class Permissions(str, Enum): +class Permissions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). """ - r = "r" - d = "d" - w = "w" - l = "l" - a = "a" - c = "c" - u = "u" - p = "p" + R = "r" + D = "d" + W = "w" + L = "l" + A = "a" + C = "c" + U = "u" + P = "p" -class ProvisioningState(str, Enum): +class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status of the storage account at the time the operation was called. """ - creating = "Creating" - resolving_dns = "ResolvingDNS" - succeeded = "Succeeded" + CREATING = "Creating" + RESOLVING_DNS = "ResolvingDNS" + SUCCEEDED = "Succeeded" -class PublicAccess(str, Enum): +class PublicAccess(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether data in the container may be accessed publicly and the level of access. """ - container = "Container" - blob = "Blob" - none = "None" + CONTAINER = "Container" + BLOB = "Blob" + NONE = "None" -class Reason(str, Enum): +class Reason(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. """ - account_name_invalid = "AccountNameInvalid" - already_exists = "AlreadyExists" + ACCOUNT_NAME_INVALID = "AccountNameInvalid" + ALREADY_EXISTS = "AlreadyExists" -class ReasonCode(str, Enum): +class ReasonCode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. """ - quota_id = "QuotaId" - not_available_for_subscription = "NotAvailableForSubscription" + QUOTA_ID = "QuotaId" + NOT_AVAILABLE_FOR_SUBSCRIPTION = "NotAvailableForSubscription" -class Services(str, Enum): +class Services(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). """ - b = "b" - q = "q" - t = "t" - f = "f" + B = "b" + Q = "q" + T = "t" + F = "f" -class SignedResource(str, Enum): +class SignedResource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). """ - b = "b" - c = "c" - f = "f" - s = "s" + B = "b" + C = "c" + F = "f" + S = "s" -class SignedResourceTypes(str, Enum): +class SignedResourceTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. """ - s = "s" - c = "c" - o = "o" + S = "s" + C = "c" + O = "o" -class SkuName(str, Enum): +class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets or sets the sku name. Required for account creation; optional for update. Note that in older versions, sku name was called accountType. """ - standard_lrs = "Standard_LRS" - standard_grs = "Standard_GRS" - standard_ragrs = "Standard_RAGRS" - standard_zrs = "Standard_ZRS" - premium_lrs = "Premium_LRS" + STANDARD_LRS = "Standard_LRS" + STANDARD_GRS = "Standard_GRS" + STANDARD_RAGRS = "Standard_RAGRS" + STANDARD_ZRS = "Standard_ZRS" + PREMIUM_LRS = "Premium_LRS" -class SkuTier(str, Enum): +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the sku tier. This is based on the SKU name. """ - standard = "Standard" - premium = "Premium" + STANDARD = "Standard" + PREMIUM = "Premium" -class State(str, Enum): +class State(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the state of virtual network rule. """ - provisioning = "provisioning" - deprovisioning = "deprovisioning" - succeeded = "succeeded" - failed = "failed" - network_source_deleted = "networkSourceDeleted" + PROVISIONING = "provisioning" + DEPROVISIONING = "deprovisioning" + SUCCEEDED = "succeeded" + FAILED = "failed" + NETWORK_SOURCE_DELETED = "networkSourceDeleted" -class UsageUnit(str, Enum): +class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the unit of measurement. """ - count = "Count" - bytes = "Bytes" - seconds = "Seconds" - percent = "Percent" - counts_per_second = "CountsPerSecond" - bytes_per_second = "BytesPerSecond" + COUNT = "Count" + BYTES = "Bytes" + SECONDS = "Seconds" + PERCENT = "Percent" + COUNTS_PER_SECOND = "CountsPerSecond" + BYTES_PER_SECOND = "BytesPerSecond" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py index 7499b5f22b9f..9d559256d5bd 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat @@ -67,9 +67,12 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListContainerItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -86,7 +89,7 @@ def list( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -137,10 +140,13 @@ def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -159,13 +165,12 @@ def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -213,10 +218,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -235,13 +243,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -285,9 +292,12 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -305,7 +315,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -351,7 +361,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" @@ -418,10 +430,13 @@ def set_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_legal_hold.metadata['url'] # type: ignore @@ -440,13 +455,12 @@ def set_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -494,10 +508,13 @@ def clear_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.clear_legal_hold.metadata['url'] # type: ignore @@ -516,13 +533,12 @@ def clear_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -576,11 +592,14 @@ def create_or_update_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update_immutability_policy.metadata['url'] # type: ignore @@ -602,7 +621,7 @@ def create_or_update_immutability_policy( if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -611,7 +630,6 @@ def create_or_update_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -663,10 +681,13 @@ def get_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-02-01" + accept = "application/json" # Construct URL url = self.get_immutability_policy.metadata['url'] # type: ignore @@ -687,7 +708,7 @@ def get_immutability_policy( header_parameters = {} # type: Dict[str, Any] if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -743,10 +764,13 @@ def delete_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-02-01" + accept = "application/json" # Construct URL url = self.delete_immutability_policy.metadata['url'] # type: ignore @@ -766,7 +790,7 @@ def delete_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -820,9 +844,12 @@ def lock_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" # Construct URL url = self.lock_immutability_policy.metadata['url'] # type: ignore @@ -841,7 +868,7 @@ def lock_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -900,10 +927,13 @@ def extend_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.extend_immutability_policy.metadata['url'] # type: ignore @@ -923,7 +953,7 @@ def extend_immutability_policy( header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -932,7 +962,6 @@ def extend_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -982,10 +1011,13 @@ def lease( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LeaseContainerResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.lease.metadata['url'] # type: ignore @@ -1004,7 +1036,7 @@ def lease( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -1013,7 +1045,6 @@ def lease( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_operations.py index 9dc46ea50e40..9ffd57bb7a9e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py index ef5ff21d52ea..08dcb635af1f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageSkuListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py index dabd7384e67c..571420f57815 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -65,10 +65,13 @@ def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -84,13 +87,12 @@ def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -115,10 +117,13 @@ def _create_initial( ): # type: (...) -> Optional["models.StorageAccount"] cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -136,13 +141,12 @@ def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -169,16 +173,16 @@ def begin_create( ): # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2018_02_01.models.StorageAccountCreateParameters @@ -254,7 +258,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" @@ -311,9 +317,12 @@ def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -330,7 +339,7 @@ def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -380,10 +389,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -401,13 +413,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -429,7 +440,7 @@ def list( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -437,14 +448,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -495,10 +509,10 @@ def list_by_resource_group( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -506,14 +520,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -580,9 +597,12 @@ def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -599,7 +619,7 @@ def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -642,10 +662,13 @@ def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -663,13 +686,12 @@ def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -710,10 +732,13 @@ def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -731,13 +756,12 @@ def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -778,10 +802,13 @@ def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -799,13 +826,12 @@ def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py index 0b324a3c4f6d..31ba7041841b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -116,7 +119,7 @@ def list_by_location( ): # type: (...) -> Iterable["models.UsageListResult"] """Gets the current usage count and the limit for the resources of the location under the - subscription. + subscription. :param location: The location of the Azure Storage resource. :type location: str @@ -126,14 +129,17 @@ def list_by_location( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/__init__.py index 7622b8635ba1..75a361344ca2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/__init__.py @@ -10,7 +10,7 @@ __all__ = ['StorageManagementClient'] try: - from ._patch import patch_sdk + from ._patch import patch_sdk # type: ignore patch_sdk() except ImportError: pass diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_configuration.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_configuration.py index a8b9d2b4221a..8960981ebdee 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_configuration.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -47,8 +48,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2018-03-01-preview" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -61,6 +61,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_metadata.json index 7a638aaaa037..1415976cf18f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_metadata.json @@ -4,7 +4,11 @@ "client": { "name": "StorageManagementClient", "filename": "_storage_management_client", - "description": "The Azure Storage Management API." + "description": "The Azure Storage Management API.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true }, "global_parameters": { "sync_method": { @@ -41,7 +45,10 @@ }, "config": { "credential": true, - "credential_scopes": ["https://management.azure.com/.default"] + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null }, "operation_groups": { "operations": "Operations", diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py index d595b464d010..ed79d2302ebe 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py @@ -62,6 +62,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/__init__.py index 4e7988b5c172..9cfe0ace1ba9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/__init__.py @@ -6,5 +6,5 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._storage_management_client_async import StorageManagementClient +from ._storage_management_client import StorageManagementClient __all__ = ['StorageManagementClient'] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/_configuration_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/_configuration_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py index 702e183521cf..54057fe1473c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/_configuration_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -44,8 +45,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2018-03-01-preview" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -57,6 +57,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py similarity index 86% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py index 5751cd0d9312..1c92a1109ef8 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py @@ -15,12 +15,12 @@ # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential -from ._configuration_async import StorageManagementClientConfiguration -from .operations_async import Operations -from .operations_async import SkusOperations -from .operations_async import StorageAccountsOperations -from .operations_async import UsagesOperations -from .operations_async import BlobContainersOperations +from ._configuration import StorageManagementClientConfiguration +from .operations import Operations +from .operations import SkusOperations +from .operations import StorageAccountsOperations +from .operations import UsagesOperations +from .operations import BlobContainersOperations from .. import models @@ -28,15 +28,15 @@ class StorageManagementClient(object): """The Azure Storage Management API. :ivar operations: Operations operations - :vartype operations: azure.mgmt.storage.v2018_03_01_preview.aio.operations_async.Operations + :vartype operations: azure.mgmt.storage.v2018_03_01_preview.aio.operations.Operations :ivar skus: SkusOperations operations - :vartype skus: azure.mgmt.storage.v2018_03_01_preview.aio.operations_async.SkusOperations + :vartype skus: azure.mgmt.storage.v2018_03_01_preview.aio.operations.SkusOperations :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.storage.v2018_03_01_preview.aio.operations_async.StorageAccountsOperations + :vartype storage_accounts: azure.mgmt.storage.v2018_03_01_preview.aio.operations.StorageAccountsOperations :ivar usages: UsagesOperations operations - :vartype usages: azure.mgmt.storage.v2018_03_01_preview.aio.operations_async.UsagesOperations + :vartype usages: azure.mgmt.storage.v2018_03_01_preview.aio.operations.UsagesOperations :ivar blob_containers: BlobContainersOperations operations - :vartype blob_containers: azure.mgmt.storage.v2018_03_01_preview.aio.operations_async.BlobContainersOperations + :vartype blob_containers: azure.mgmt.storage.v2018_03_01_preview.aio.operations.BlobContainersOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The ID of the target subscription. @@ -59,6 +59,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/__init__.py similarity index 67% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/__init__.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/__init__.py index 809c18e35f00..56c6e236f63b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/__init__.py @@ -6,11 +6,11 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._operations_async import Operations -from ._skus_operations_async import SkusOperations -from ._storage_accounts_operations_async import StorageAccountsOperations -from ._usages_operations_async import UsagesOperations -from ._blob_containers_operations_async import BlobContainersOperations +from ._operations import Operations +from ._skus_operations import SkusOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._usages_operations import UsagesOperations +from ._blob_containers_operations import BlobContainersOperations __all__ = [ 'Operations', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_blob_containers_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py similarity index 94% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_blob_containers_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py index ac0a69b3a889..c623eae55340 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_blob_containers_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, Optional, TypeVar import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -62,9 +62,12 @@ async def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListContainerItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -81,7 +84,7 @@ async def list( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -131,10 +134,13 @@ async def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -153,13 +159,12 @@ async def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -206,10 +211,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -228,13 +236,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -277,9 +284,12 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -297,7 +307,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -342,7 +352,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" @@ -408,10 +420,13 @@ async def set_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_legal_hold.metadata['url'] # type: ignore @@ -430,13 +445,12 @@ async def set_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -483,10 +497,13 @@ async def clear_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.clear_legal_hold.metadata['url'] # type: ignore @@ -505,13 +522,12 @@ async def clear_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -564,11 +580,14 @@ async def create_or_update_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update_immutability_policy.metadata['url'] # type: ignore @@ -590,7 +609,7 @@ async def create_or_update_immutability_policy( if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -599,7 +618,6 @@ async def create_or_update_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -650,10 +668,13 @@ async def get_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-03-01-preview" + accept = "application/json" # Construct URL url = self.get_immutability_policy.metadata['url'] # type: ignore @@ -674,7 +695,7 @@ async def get_immutability_policy( header_parameters = {} # type: Dict[str, Any] if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -729,10 +750,13 @@ async def delete_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-03-01-preview" + accept = "application/json" # Construct URL url = self.delete_immutability_policy.metadata['url'] # type: ignore @@ -752,7 +776,7 @@ async def delete_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -805,9 +829,12 @@ async def lock_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" # Construct URL url = self.lock_immutability_policy.metadata['url'] # type: ignore @@ -826,7 +853,7 @@ async def lock_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -884,10 +911,13 @@ async def extend_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.extend_immutability_policy.metadata['url'] # type: ignore @@ -907,7 +937,7 @@ async def extend_immutability_policy( header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -916,7 +946,6 @@ async def extend_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -965,10 +994,13 @@ async def lease( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LeaseContainerResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.lease.metadata['url'] # type: ignore @@ -987,7 +1019,7 @@ async def lease( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -996,7 +1028,6 @@ async def lease( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py index 50d31b76659b..7e2a679bad17 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_skus_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_skus_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py index bf11f15fc384..e0e8cb87cd3a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_skus_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageSkuListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py similarity index 90% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_storage_accounts_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py index 223090303883..54b11524ea24 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod @@ -60,10 +60,13 @@ async def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -79,13 +82,12 @@ async def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -109,10 +111,13 @@ async def _create_initial( **kwargs ) -> Optional["models.StorageAccount"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -130,13 +135,12 @@ async def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -162,16 +166,16 @@ async def begin_create( **kwargs ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountCreateParameters @@ -246,7 +250,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" @@ -302,9 +308,12 @@ async def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -321,7 +330,7 @@ async def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -370,10 +379,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -391,13 +403,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -418,7 +429,7 @@ def list( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -426,14 +437,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -483,10 +497,10 @@ def list_by_resource_group( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -494,14 +508,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -567,9 +584,12 @@ async def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -586,7 +606,7 @@ async def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -628,10 +648,13 @@ async def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -649,13 +672,12 @@ async def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -695,10 +717,13 @@ async def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -716,13 +741,12 @@ async def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -762,10 +786,13 @@ async def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -783,13 +810,12 @@ async def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -809,6 +835,7 @@ async def get_management_policies( self, resource_group_name: str, account_name: str, + management_policy_name: Union[str, "models.ManagementPolicyName"], **kwargs ) -> "models.StorageAccountManagementPolicies": """Gets the data policy rules associated with the specified storage account. @@ -820,16 +847,21 @@ async def get_management_policies( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountManagementPolicies, or the result of cls(response) :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountManagementPolicies :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountManagementPolicies"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" - management_policy_name = "default" + accept = "application/json" # Construct URL url = self.get_management_policies.metadata['url'] # type: ignore @@ -847,7 +879,7 @@ async def get_management_policies( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -869,6 +901,7 @@ async def create_or_update_management_policies( self, resource_group_name: str, account_name: str, + management_policy_name: Union[str, "models.ManagementPolicyName"], properties: "models.ManagementPoliciesRulesSetParameter", **kwargs ) -> "models.StorageAccountManagementPolicies": @@ -881,6 +914,9 @@ async def create_or_update_management_policies( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName :param properties: The data policy rules to set to a storage account. :type properties: ~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPoliciesRulesSetParameter :keyword callable cls: A custom type or function that will be passed the direct response @@ -889,11 +925,13 @@ async def create_or_update_management_policies( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountManagementPolicies"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" - management_policy_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update_management_policies.metadata['url'] # type: ignore @@ -912,13 +950,12 @@ async def create_or_update_management_policies( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPoliciesRulesSetParameter') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -938,6 +975,7 @@ async def delete_management_policies( self, resource_group_name: str, account_name: str, + management_policy_name: Union[str, "models.ManagementPolicyName"], **kwargs ) -> None: """Deletes the data policy rules associated with the specified storage account. @@ -949,16 +987,20 @@ async def delete_management_policies( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" - management_policy_name = "default" # Construct URL url = self.delete_management_policies.metadata['url'] # type: ignore diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_usages_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_usages_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py index 4a667b23697d..68b06111328f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_usages_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -110,7 +113,7 @@ def list_by_location( **kwargs ) -> AsyncIterable["models.UsageListResult"]: """Gets the current usage count and the limit for the resources of the location under the - subscription. + subscription. :param location: The location of the Azure Storage resource. :type location: str @@ -120,14 +123,17 @@ def list_by_location( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/models/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/models/__init__.py index 284d7697df4e..bd1ce31b087b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/models/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/models/__init__.py @@ -132,6 +132,7 @@ LeaseDuration, LeaseState, LeaseStatus, + ManagementPolicyName, Permissions, ProvisioningState, PublicAccess, @@ -215,6 +216,7 @@ 'LeaseDuration', 'LeaseState', 'LeaseStatus', + 'ManagementPolicyName', 'Permissions', 'ProvisioningState', 'PublicAccess', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py index c20436695801..12b17087101a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py @@ -6,235 +6,257 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum - -class AccessTier(str, Enum): +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AccessTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Required for storage accounts where kind = BlobStorage. The access tier used for billing. """ - hot = "Hot" - cool = "Cool" + HOT = "Hot" + COOL = "Cool" -class AccountStatus(str, Enum): +class AccountStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status indicating whether the primary location of the storage account is available or unavailable. """ - available = "available" - unavailable = "unavailable" + AVAILABLE = "available" + UNAVAILABLE = "unavailable" -class Bypass(str, Enum): +class Bypass(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. """ - none = "None" - logging = "Logging" - metrics = "Metrics" - azure_services = "AzureServices" + NONE = "None" + LOGGING = "Logging" + METRICS = "Metrics" + AZURE_SERVICES = "AzureServices" -class DefaultAction(str, Enum): +class DefaultAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies the default action of allow or deny when no other rules match. """ - allow = "Allow" - deny = "Deny" + ALLOW = "Allow" + DENY = "Deny" -class HttpProtocol(str, Enum): +class HttpProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The protocol permitted for a request made with the account SAS. """ - https_http = "https,http" - https = "https" + HTTPS_HTTP = "https,http" + HTTPS = "https" -class ImmutabilityPolicyState(str, Enum): +class ImmutabilityPolicyState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. """ - locked = "Locked" - unlocked = "Unlocked" + LOCKED = "Locked" + UNLOCKED = "Unlocked" -class ImmutabilityPolicyUpdateType(str, Enum): +class ImmutabilityPolicyUpdateType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. """ - put = "put" - lock = "lock" - extend = "extend" + PUT = "put" + LOCK = "lock" + EXTEND = "extend" -class KeyPermission(str, Enum): +class KeyPermission(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Permissions for the key -- read-only or full permissions. """ - read = "Read" - full = "Full" + READ = "Read" + FULL = "Full" -class KeySource(str, Enum): +class KeySource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault """ - microsoft_storage = "Microsoft.Storage" - microsoft_keyvault = "Microsoft.Keyvault" + MICROSOFT_STORAGE = "Microsoft.Storage" + MICROSOFT_KEYVAULT = "Microsoft.Keyvault" -class Kind(str, Enum): +class Kind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Indicates the type of storage account. """ - storage = "Storage" - storage_v2 = "StorageV2" - blob_storage = "BlobStorage" + STORAGE = "Storage" + STORAGE_V2 = "StorageV2" + BLOB_STORAGE = "BlobStorage" -class LeaseContainerRequestAction(str, Enum): +class LeaseContainerRequestAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies the lease action. Can be one of the available actions. """ - acquire = "Acquire" - renew = "Renew" - change = "Change" - release = "Release" - break_enum = "Break" + ACQUIRE = "Acquire" + RENEW = "Renew" + CHANGE = "Change" + RELEASE = "Release" + BREAK_ENUM = "Break" -class LeaseDuration(str, Enum): +class LeaseDuration(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. """ - infinite = "Infinite" - fixed = "Fixed" + INFINITE = "Infinite" + FIXED = "Fixed" -class LeaseState(str, Enum): +class LeaseState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Lease state of the container. """ - available = "Available" - leased = "Leased" - expired = "Expired" - breaking = "Breaking" - broken = "Broken" + AVAILABLE = "Available" + LEASED = "Leased" + EXPIRED = "Expired" + BREAKING = "Breaking" + BROKEN = "Broken" -class LeaseStatus(str, Enum): +class LeaseStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The lease status of the container. """ - locked = "Locked" - unlocked = "Unlocked" + LOCKED = "Locked" + UNLOCKED = "Unlocked" + +class ManagementPolicyName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + DEFAULT = "default" -class Permissions(str, Enum): +class Permissions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). """ - r = "r" - d = "d" - w = "w" - l = "l" - a = "a" - c = "c" - u = "u" - p = "p" + R = "r" + D = "d" + W = "w" + L = "l" + A = "a" + C = "c" + U = "u" + P = "p" -class ProvisioningState(str, Enum): +class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status of the storage account at the time the operation was called. """ - creating = "Creating" - resolving_dns = "ResolvingDNS" - succeeded = "Succeeded" + CREATING = "Creating" + RESOLVING_DNS = "ResolvingDNS" + SUCCEEDED = "Succeeded" -class PublicAccess(str, Enum): +class PublicAccess(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether data in the container may be accessed publicly and the level of access. """ - container = "Container" - blob = "Blob" - none = "None" + CONTAINER = "Container" + BLOB = "Blob" + NONE = "None" -class Reason(str, Enum): +class Reason(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. """ - account_name_invalid = "AccountNameInvalid" - already_exists = "AlreadyExists" + ACCOUNT_NAME_INVALID = "AccountNameInvalid" + ALREADY_EXISTS = "AlreadyExists" -class ReasonCode(str, Enum): +class ReasonCode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. """ - quota_id = "QuotaId" - not_available_for_subscription = "NotAvailableForSubscription" + QUOTA_ID = "QuotaId" + NOT_AVAILABLE_FOR_SUBSCRIPTION = "NotAvailableForSubscription" -class Services(str, Enum): +class Services(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). """ - b = "b" - q = "q" - t = "t" - f = "f" + B = "b" + Q = "q" + T = "t" + F = "f" -class SignedResource(str, Enum): +class SignedResource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). """ - b = "b" - c = "c" - f = "f" - s = "s" + B = "b" + C = "c" + F = "f" + S = "s" -class SignedResourceTypes(str, Enum): +class SignedResourceTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. """ - s = "s" - c = "c" - o = "o" + S = "s" + C = "c" + O = "o" -class SkuName(str, Enum): +class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets or sets the sku name. Required for account creation; optional for update. Note that in older versions, sku name was called accountType. """ - standard_lrs = "Standard_LRS" - standard_grs = "Standard_GRS" - standard_ragrs = "Standard_RAGRS" - standard_zrs = "Standard_ZRS" - premium_lrs = "Premium_LRS" + STANDARD_LRS = "Standard_LRS" + STANDARD_GRS = "Standard_GRS" + STANDARD_RAGRS = "Standard_RAGRS" + STANDARD_ZRS = "Standard_ZRS" + PREMIUM_LRS = "Premium_LRS" -class SkuTier(str, Enum): +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the sku tier. This is based on the SKU name. """ - standard = "Standard" - premium = "Premium" + STANDARD = "Standard" + PREMIUM = "Premium" -class State(str, Enum): +class State(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the state of virtual network rule. """ - provisioning = "provisioning" - deprovisioning = "deprovisioning" - succeeded = "succeeded" - failed = "failed" - network_source_deleted = "networkSourceDeleted" + PROVISIONING = "provisioning" + DEPROVISIONING = "deprovisioning" + SUCCEEDED = "succeeded" + FAILED = "failed" + NETWORK_SOURCE_DELETED = "networkSourceDeleted" -class UsageUnit(str, Enum): +class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the unit of measurement. """ - count = "Count" - bytes = "Bytes" - seconds = "Seconds" - percent = "Percent" - counts_per_second = "CountsPerSecond" - bytes_per_second = "BytesPerSecond" + COUNT = "Count" + BYTES = "Bytes" + SECONDS = "Seconds" + PERCENT = "Percent" + COUNTS_PER_SECOND = "CountsPerSecond" + BYTES_PER_SECOND = "BytesPerSecond" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py index afe10ee7c94c..cf636dae04d0 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat @@ -67,9 +67,12 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListContainerItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -86,7 +89,7 @@ def list( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -137,10 +140,13 @@ def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -159,13 +165,12 @@ def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -213,10 +218,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -235,13 +243,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -285,9 +292,12 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -305,7 +315,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -351,7 +361,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" @@ -418,10 +430,13 @@ def set_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_legal_hold.metadata['url'] # type: ignore @@ -440,13 +455,12 @@ def set_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -494,10 +508,13 @@ def clear_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.clear_legal_hold.metadata['url'] # type: ignore @@ -516,13 +533,12 @@ def clear_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -576,11 +592,14 @@ def create_or_update_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update_immutability_policy.metadata['url'] # type: ignore @@ -602,7 +621,7 @@ def create_or_update_immutability_policy( if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -611,7 +630,6 @@ def create_or_update_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -663,10 +681,13 @@ def get_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-03-01-preview" + accept = "application/json" # Construct URL url = self.get_immutability_policy.metadata['url'] # type: ignore @@ -687,7 +708,7 @@ def get_immutability_policy( header_parameters = {} # type: Dict[str, Any] if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -743,10 +764,13 @@ def delete_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-03-01-preview" + accept = "application/json" # Construct URL url = self.delete_immutability_policy.metadata['url'] # type: ignore @@ -766,7 +790,7 @@ def delete_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -820,9 +844,12 @@ def lock_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" # Construct URL url = self.lock_immutability_policy.metadata['url'] # type: ignore @@ -841,7 +868,7 @@ def lock_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -900,10 +927,13 @@ def extend_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.extend_immutability_policy.metadata['url'] # type: ignore @@ -923,7 +953,7 @@ def extend_immutability_policy( header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -932,7 +962,6 @@ def extend_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -982,10 +1011,13 @@ def lease( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LeaseContainerResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.lease.metadata['url'] # type: ignore @@ -1004,7 +1036,7 @@ def lease( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -1013,7 +1045,6 @@ def lease( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py index 1122d99e5ee4..6d030c5828f3 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py index c480af531318..59572fa38522 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageSkuListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py index 06812c0b2d34..0a3fb6284801 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -65,10 +65,13 @@ def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -84,13 +87,12 @@ def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -115,10 +117,13 @@ def _create_initial( ): # type: (...) -> Optional["models.StorageAccount"] cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -136,13 +141,12 @@ def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -169,16 +173,16 @@ def begin_create( ): # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountCreateParameters @@ -254,7 +258,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" @@ -311,9 +317,12 @@ def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -330,7 +339,7 @@ def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -380,10 +389,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -401,13 +413,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -429,7 +440,7 @@ def list( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -437,14 +448,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -495,10 +509,10 @@ def list_by_resource_group( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -506,14 +520,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -580,9 +597,12 @@ def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -599,7 +619,7 @@ def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -642,10 +662,13 @@ def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -663,13 +686,12 @@ def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -710,10 +732,13 @@ def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -731,13 +756,12 @@ def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -778,10 +802,13 @@ def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -799,13 +826,12 @@ def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -825,6 +851,7 @@ def get_management_policies( self, resource_group_name, # type: str account_name, # type: str + management_policy_name, # type: Union[str, "models.ManagementPolicyName"] **kwargs # type: Any ): # type: (...) -> "models.StorageAccountManagementPolicies" @@ -837,16 +864,21 @@ def get_management_policies( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountManagementPolicies, or the result of cls(response) :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountManagementPolicies :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountManagementPolicies"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" - management_policy_name = "default" + accept = "application/json" # Construct URL url = self.get_management_policies.metadata['url'] # type: ignore @@ -864,7 +896,7 @@ def get_management_policies( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -886,6 +918,7 @@ def create_or_update_management_policies( self, resource_group_name, # type: str account_name, # type: str + management_policy_name, # type: Union[str, "models.ManagementPolicyName"] properties, # type: "models.ManagementPoliciesRulesSetParameter" **kwargs # type: Any ): @@ -899,6 +932,9 @@ def create_or_update_management_policies( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName :param properties: The data policy rules to set to a storage account. :type properties: ~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPoliciesRulesSetParameter :keyword callable cls: A custom type or function that will be passed the direct response @@ -907,11 +943,13 @@ def create_or_update_management_policies( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountManagementPolicies"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" - management_policy_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update_management_policies.metadata['url'] # type: ignore @@ -930,13 +968,12 @@ def create_or_update_management_policies( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPoliciesRulesSetParameter') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -956,6 +993,7 @@ def delete_management_policies( self, resource_group_name, # type: str account_name, # type: str + management_policy_name, # type: Union[str, "models.ManagementPolicyName"] **kwargs # type: Any ): # type: (...) -> None @@ -968,16 +1006,20 @@ def delete_management_policies( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" - management_policy_name = "default" # Construct URL url = self.delete_management_policies.metadata['url'] # type: ignore diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py index 693aecc845a6..6994ae830191 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -116,7 +119,7 @@ def list_by_location( ): # type: (...) -> Iterable["models.UsageListResult"] """Gets the current usage count and the limit for the resources of the location under the - subscription. + subscription. :param location: The location of the Azure Storage resource. :type location: str @@ -126,14 +129,17 @@ def list_by_location( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/__init__.py index 7622b8635ba1..75a361344ca2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/__init__.py @@ -10,7 +10,7 @@ __all__ = ['StorageManagementClient'] try: - from ._patch import patch_sdk + from ._patch import patch_sdk # type: ignore patch_sdk() except ImportError: pass diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_configuration.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_configuration.py index b9c79ee2ea5c..29e7941ca5de 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_configuration.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -46,8 +47,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -60,6 +60,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_metadata.json index b192ef21e5f2..301d5c2de4a5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_metadata.json @@ -4,7 +4,11 @@ "client": { "name": "StorageManagementClient", "filename": "_storage_management_client", - "description": "The Azure Storage Management API." + "description": "The Azure Storage Management API.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true }, "global_parameters": { "sync_method": { @@ -41,7 +45,10 @@ }, "config": { "credential": true, - "credential_scopes": ["https://management.azure.com/.default"] + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null }, "operation_groups": { "operations": "Operations", diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_storage_management_client.py index 9ca9e2b2e271..11055782e2df 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/_storage_management_client.py @@ -68,6 +68,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/__init__.py index 4e7988b5c172..9cfe0ace1ba9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/__init__.py @@ -6,5 +6,5 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._storage_management_client_async import StorageManagementClient +from ._storage_management_client import StorageManagementClient __all__ = ['StorageManagementClient'] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/_configuration_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/_configuration.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/_configuration_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/_configuration.py index 227a3909d22d..8efb2ad841e1 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/_configuration_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -43,8 +44,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -56,6 +56,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/_storage_management_client_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py similarity index 85% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/_storage_management_client_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py index ad0eb1ec3a10..b6f8cf96c4e3 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/_storage_management_client_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py @@ -15,14 +15,14 @@ # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential -from ._configuration_async import StorageManagementClientConfiguration -from .operations_async import Operations -from .operations_async import SkusOperations -from .operations_async import StorageAccountsOperations -from .operations_async import UsagesOperations -from .operations_async import BlobServicesOperations -from .operations_async import BlobContainersOperations -from .operations_async import ManagementPoliciesOperations +from ._configuration import StorageManagementClientConfiguration +from .operations import Operations +from .operations import SkusOperations +from .operations import StorageAccountsOperations +from .operations import UsagesOperations +from .operations import BlobServicesOperations +from .operations import BlobContainersOperations +from .operations import ManagementPoliciesOperations from .. import models @@ -30,19 +30,19 @@ class StorageManagementClient(object): """The Azure Storage Management API. :ivar operations: Operations operations - :vartype operations: azure.mgmt.storage.v2018_07_01.aio.operations_async.Operations + :vartype operations: azure.mgmt.storage.v2018_07_01.aio.operations.Operations :ivar skus: SkusOperations operations - :vartype skus: azure.mgmt.storage.v2018_07_01.aio.operations_async.SkusOperations + :vartype skus: azure.mgmt.storage.v2018_07_01.aio.operations.SkusOperations :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.storage.v2018_07_01.aio.operations_async.StorageAccountsOperations + :vartype storage_accounts: azure.mgmt.storage.v2018_07_01.aio.operations.StorageAccountsOperations :ivar usages: UsagesOperations operations - :vartype usages: azure.mgmt.storage.v2018_07_01.aio.operations_async.UsagesOperations + :vartype usages: azure.mgmt.storage.v2018_07_01.aio.operations.UsagesOperations :ivar blob_services: BlobServicesOperations operations - :vartype blob_services: azure.mgmt.storage.v2018_07_01.aio.operations_async.BlobServicesOperations + :vartype blob_services: azure.mgmt.storage.v2018_07_01.aio.operations.BlobServicesOperations :ivar blob_containers: BlobContainersOperations operations - :vartype blob_containers: azure.mgmt.storage.v2018_07_01.aio.operations_async.BlobContainersOperations + :vartype blob_containers: azure.mgmt.storage.v2018_07_01.aio.operations.BlobContainersOperations :ivar management_policies: ManagementPoliciesOperations operations - :vartype management_policies: azure.mgmt.storage.v2018_07_01.aio.operations_async.ManagementPoliciesOperations + :vartype management_policies: azure.mgmt.storage.v2018_07_01.aio.operations.ManagementPoliciesOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The ID of the target subscription. @@ -65,6 +65,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/__init__.py similarity index 61% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/__init__.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/__init__.py index 4d03b829c694..c9129f68ae8f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/__init__.py @@ -6,13 +6,13 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._operations_async import Operations -from ._skus_operations_async import SkusOperations -from ._storage_accounts_operations_async import StorageAccountsOperations -from ._usages_operations_async import UsagesOperations -from ._blob_services_operations_async import BlobServicesOperations -from ._blob_containers_operations_async import BlobContainersOperations -from ._management_policies_operations_async import ManagementPoliciesOperations +from ._operations import Operations +from ._skus_operations import SkusOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._usages_operations import UsagesOperations +from ._blob_services_operations import BlobServicesOperations +from ._blob_containers_operations import BlobContainersOperations +from ._management_policies_operations import ManagementPoliciesOperations __all__ = [ 'Operations', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_blob_containers_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py similarity index 94% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_blob_containers_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py index ab94ff10fd86..73833b6ba2b3 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_blob_containers_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, Optional, TypeVar import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -62,9 +62,12 @@ async def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListContainerItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -81,7 +84,7 @@ async def list( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -131,10 +134,13 @@ async def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -153,13 +159,12 @@ async def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -206,10 +211,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -228,13 +236,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -277,9 +284,12 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -297,7 +307,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -342,7 +352,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" @@ -408,10 +420,13 @@ async def set_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_legal_hold.metadata['url'] # type: ignore @@ -430,13 +445,12 @@ async def set_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -483,10 +497,13 @@ async def clear_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.clear_legal_hold.metadata['url'] # type: ignore @@ -505,13 +522,12 @@ async def clear_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -564,11 +580,14 @@ async def create_or_update_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update_immutability_policy.metadata['url'] # type: ignore @@ -590,7 +609,7 @@ async def create_or_update_immutability_policy( if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -599,7 +618,6 @@ async def create_or_update_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -650,10 +668,13 @@ async def get_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-07-01" + accept = "application/json" # Construct URL url = self.get_immutability_policy.metadata['url'] # type: ignore @@ -674,7 +695,7 @@ async def get_immutability_policy( header_parameters = {} # type: Dict[str, Any] if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -729,10 +750,13 @@ async def delete_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-07-01" + accept = "application/json" # Construct URL url = self.delete_immutability_policy.metadata['url'] # type: ignore @@ -752,7 +776,7 @@ async def delete_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -805,9 +829,12 @@ async def lock_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" # Construct URL url = self.lock_immutability_policy.metadata['url'] # type: ignore @@ -826,7 +853,7 @@ async def lock_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -884,10 +911,13 @@ async def extend_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.extend_immutability_policy.metadata['url'] # type: ignore @@ -907,7 +937,7 @@ async def extend_immutability_policy( header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -916,7 +946,6 @@ async def extend_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -965,10 +994,13 @@ async def lease( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LeaseContainerResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.lease.metadata['url'] # type: ignore @@ -987,7 +1019,7 @@ async def lease( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -996,7 +1028,6 @@ async def lease( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_blob_services_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py similarity index 93% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_blob_services_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py index a971a4a9f22a..7e4e5661cfc0 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_blob_services_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, Optional, TypeVar import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -66,11 +66,14 @@ async def set_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" blob_services_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_service_properties.metadata['url'] # type: ignore @@ -89,13 +92,12 @@ async def set_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobServiceProperties') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -133,10 +135,13 @@ async def get_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" blob_services_name = "default" + accept = "application/json" # Construct URL url = self.get_service_properties.metadata['url'] # type: ignore @@ -154,7 +159,7 @@ async def get_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_management_policies_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_management_policies_operations.py similarity index 86% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_management_policies_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_management_policies_operations.py index cf05c80b4306..6b75e19f48da 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_management_policies_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_management_policies_operations.py @@ -5,10 +5,10 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, Callable, Dict, Generic, Optional, TypeVar +from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -44,6 +44,7 @@ async def get( self, resource_group_name: str, account_name: str, + management_policy_name: Union[str, "models.ManagementPolicyName"], **kwargs ) -> "models.StorageAccountManagementPolicies": """Gets the data policy rules associated with the specified storage account. @@ -55,16 +56,21 @@ async def get( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_07_01.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountManagementPolicies, or the result of cls(response) :rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountManagementPolicies :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountManagementPolicies"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" - management_policy_name = "default" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -82,7 +88,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -104,6 +110,7 @@ async def create_or_update( self, resource_group_name: str, account_name: str, + management_policy_name: Union[str, "models.ManagementPolicyName"], properties: "models.ManagementPoliciesRulesSetParameter", **kwargs ) -> "models.StorageAccountManagementPolicies": @@ -116,6 +123,9 @@ async def create_or_update( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_07_01.models.ManagementPolicyName :param properties: The data policy rules to set to a storage account. :type properties: ~azure.mgmt.storage.v2018_07_01.models.ManagementPoliciesRulesSetParameter :keyword callable cls: A custom type or function that will be passed the direct response @@ -124,11 +134,13 @@ async def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountManagementPolicies"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" - management_policy_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -147,13 +159,12 @@ async def create_or_update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPoliciesRulesSetParameter') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -173,6 +184,7 @@ async def delete( self, resource_group_name: str, account_name: str, + management_policy_name: Union[str, "models.ManagementPolicyName"], **kwargs ) -> None: """Deletes the data policy rules associated with the specified storage account. @@ -184,16 +196,20 @@ async def delete( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_07_01.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" - management_policy_name = "default" # Construct URL url = self.delete.metadata['url'] # type: ignore diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py index e0ba44f81efa..3bf4591ad893 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_skus_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_skus_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py index 896656c4b119..52e07c8cbd59 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_skus_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageSkuListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_storage_accounts_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py index e4dcad868eff..905391492279 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod @@ -60,10 +60,13 @@ async def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -79,13 +82,12 @@ async def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -109,10 +111,13 @@ async def _create_initial( **kwargs ) -> Optional["models.StorageAccount"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -130,13 +135,12 @@ async def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -162,16 +166,16 @@ async def begin_create( **kwargs ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountCreateParameters @@ -246,7 +250,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" @@ -306,9 +312,12 @@ async def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -327,7 +336,7 @@ async def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -376,10 +385,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -397,13 +409,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -424,7 +435,7 @@ def list( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -432,14 +443,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -489,10 +503,10 @@ def list_by_resource_group( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -500,14 +514,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -573,9 +590,12 @@ async def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -592,7 +612,7 @@ async def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -634,10 +654,13 @@ async def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -655,13 +678,12 @@ async def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -701,10 +723,13 @@ async def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -722,13 +747,12 @@ async def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -768,10 +792,13 @@ async def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -789,13 +816,12 @@ async def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -818,7 +844,9 @@ async def _failover_initial( **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" @@ -858,15 +886,15 @@ async def begin_failover( **kwargs ) -> AsyncLROPoller[None]: """Failover request can be triggered for a storage account in case of availability issues. The - failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS - accounts. The secondary cluster will become primary after failover. + failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS + accounts. The secondary cluster will become primary after failover. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_usages_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_usages_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py index a474686e7001..f232bb0906a5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_usages_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -47,7 +47,7 @@ def list_by_location( **kwargs ) -> AsyncIterable["models.UsageListResult"]: """Gets the current usage count and the limit for the resources of the location under the - subscription. + subscription. :param location: The location of the Azure Storage resource. :type location: str @@ -57,14 +57,17 @@ def list_by_location( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/models/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/models/__init__.py index 7c38fdd079c0..97ff44bf38f7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/models/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/models/__init__.py @@ -144,6 +144,7 @@ LeaseDuration, LeaseState, LeaseStatus, + ManagementPolicyName, Permissions, ProvisioningState, PublicAccess, @@ -234,6 +235,7 @@ 'LeaseDuration', 'LeaseState', 'LeaseStatus', + 'ManagementPolicyName', 'Permissions', 'ProvisioningState', 'PublicAccess', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py index aa55bc092fef..fa211fdcfb1f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py @@ -6,52 +6,70 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum - -class AccessTier(str, Enum): +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AccessTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Required for storage accounts where kind = BlobStorage. The access tier used for billing. """ - hot = "Hot" - cool = "Cool" + HOT = "Hot" + COOL = "Cool" -class AccountStatus(str, Enum): +class AccountStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status indicating whether the primary location of the storage account is available or unavailable. """ - available = "available" - unavailable = "unavailable" + AVAILABLE = "available" + UNAVAILABLE = "unavailable" -class Bypass(str, Enum): +class Bypass(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. """ - none = "None" - logging = "Logging" - metrics = "Metrics" - azure_services = "AzureServices" + NONE = "None" + LOGGING = "Logging" + METRICS = "Metrics" + AZURE_SERVICES = "AzureServices" -class CorsRuleAllowedMethodsItem(str, Enum): +class CorsRuleAllowedMethodsItem(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - delete = "DELETE" - get = "GET" - head = "HEAD" - merge = "MERGE" - post = "POST" - options = "OPTIONS" - put = "PUT" + DELETE = "DELETE" + GET = "GET" + HEAD = "HEAD" + MERGE = "MERGE" + POST = "POST" + OPTIONS = "OPTIONS" + PUT = "PUT" -class DefaultAction(str, Enum): +class DefaultAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies the default action of allow or deny when no other rules match. """ - allow = "Allow" - deny = "Deny" + ALLOW = "Allow" + DENY = "Deny" -class GeoReplicationStatus(str, Enum): +class GeoReplicationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when @@ -59,207 +77,211 @@ class GeoReplicationStatus(str, Enum): temporarily unavailable. """ - live = "Live" - bootstrap = "Bootstrap" - unavailable = "Unavailable" + LIVE = "Live" + BOOTSTRAP = "Bootstrap" + UNAVAILABLE = "Unavailable" -class HttpProtocol(str, Enum): +class HttpProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The protocol permitted for a request made with the account SAS. """ - https_http = "https,http" - https = "https" + HTTPS_HTTP = "https,http" + HTTPS = "https" -class ImmutabilityPolicyState(str, Enum): +class ImmutabilityPolicyState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. """ - locked = "Locked" - unlocked = "Unlocked" + LOCKED = "Locked" + UNLOCKED = "Unlocked" -class ImmutabilityPolicyUpdateType(str, Enum): +class ImmutabilityPolicyUpdateType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. """ - put = "put" - lock = "lock" - extend = "extend" + PUT = "put" + LOCK = "lock" + EXTEND = "extend" -class KeyPermission(str, Enum): +class KeyPermission(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Permissions for the key -- read-only or full permissions. """ - read = "Read" - full = "Full" + READ = "Read" + FULL = "Full" -class KeySource(str, Enum): +class KeySource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault """ - microsoft_storage = "Microsoft.Storage" - microsoft_keyvault = "Microsoft.Keyvault" + MICROSOFT_STORAGE = "Microsoft.Storage" + MICROSOFT_KEYVAULT = "Microsoft.Keyvault" -class Kind(str, Enum): +class Kind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Indicates the type of storage account. """ - storage = "Storage" - storage_v2 = "StorageV2" - blob_storage = "BlobStorage" - file_storage = "FileStorage" - block_blob_storage = "BlockBlobStorage" + STORAGE = "Storage" + STORAGE_V2 = "StorageV2" + BLOB_STORAGE = "BlobStorage" + FILE_STORAGE = "FileStorage" + BLOCK_BLOB_STORAGE = "BlockBlobStorage" -class LeaseContainerRequestAction(str, Enum): +class LeaseContainerRequestAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies the lease action. Can be one of the available actions. """ - acquire = "Acquire" - renew = "Renew" - change = "Change" - release = "Release" - break_enum = "Break" + ACQUIRE = "Acquire" + RENEW = "Renew" + CHANGE = "Change" + RELEASE = "Release" + BREAK_ENUM = "Break" -class LeaseDuration(str, Enum): +class LeaseDuration(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. """ - infinite = "Infinite" - fixed = "Fixed" + INFINITE = "Infinite" + FIXED = "Fixed" -class LeaseState(str, Enum): +class LeaseState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Lease state of the container. """ - available = "Available" - leased = "Leased" - expired = "Expired" - breaking = "Breaking" - broken = "Broken" + AVAILABLE = "Available" + LEASED = "Leased" + EXPIRED = "Expired" + BREAKING = "Breaking" + BROKEN = "Broken" -class LeaseStatus(str, Enum): +class LeaseStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The lease status of the container. """ - locked = "Locked" - unlocked = "Unlocked" + LOCKED = "Locked" + UNLOCKED = "Unlocked" + +class ManagementPolicyName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + DEFAULT = "default" -class Permissions(str, Enum): +class Permissions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). """ - r = "r" - d = "d" - w = "w" - l = "l" - a = "a" - c = "c" - u = "u" - p = "p" + R = "r" + D = "d" + W = "w" + L = "l" + A = "a" + C = "c" + U = "u" + P = "p" -class ProvisioningState(str, Enum): +class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status of the storage account at the time the operation was called. """ - creating = "Creating" - resolving_dns = "ResolvingDNS" - succeeded = "Succeeded" + CREATING = "Creating" + RESOLVING_DNS = "ResolvingDNS" + SUCCEEDED = "Succeeded" -class PublicAccess(str, Enum): +class PublicAccess(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether data in the container may be accessed publicly and the level of access. """ - container = "Container" - blob = "Blob" - none = "None" + CONTAINER = "Container" + BLOB = "Blob" + NONE = "None" -class Reason(str, Enum): +class Reason(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. """ - account_name_invalid = "AccountNameInvalid" - already_exists = "AlreadyExists" + ACCOUNT_NAME_INVALID = "AccountNameInvalid" + ALREADY_EXISTS = "AlreadyExists" -class ReasonCode(str, Enum): +class ReasonCode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. """ - quota_id = "QuotaId" - not_available_for_subscription = "NotAvailableForSubscription" + QUOTA_ID = "QuotaId" + NOT_AVAILABLE_FOR_SUBSCRIPTION = "NotAvailableForSubscription" -class Services(str, Enum): +class Services(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). """ - b = "b" - q = "q" - t = "t" - f = "f" + B = "b" + Q = "q" + T = "t" + F = "f" -class SignedResource(str, Enum): +class SignedResource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). """ - b = "b" - c = "c" - f = "f" - s = "s" + B = "b" + C = "c" + F = "f" + S = "s" -class SignedResourceTypes(str, Enum): +class SignedResourceTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. """ - s = "s" - c = "c" - o = "o" + S = "s" + C = "c" + O = "o" -class SkuName(str, Enum): +class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets or sets the SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. """ - standard_lrs = "Standard_LRS" - standard_grs = "Standard_GRS" - standard_ragrs = "Standard_RAGRS" - standard_zrs = "Standard_ZRS" - premium_lrs = "Premium_LRS" - premium_zrs = "Premium_ZRS" + STANDARD_LRS = "Standard_LRS" + STANDARD_GRS = "Standard_GRS" + STANDARD_RAGRS = "Standard_RAGRS" + STANDARD_ZRS = "Standard_ZRS" + PREMIUM_LRS = "Premium_LRS" + PREMIUM_ZRS = "Premium_ZRS" -class SkuTier(str, Enum): +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the SKU tier. This is based on the SKU name. """ - standard = "Standard" - premium = "Premium" + STANDARD = "Standard" + PREMIUM = "Premium" -class State(str, Enum): +class State(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the state of virtual network rule. """ - provisioning = "provisioning" - deprovisioning = "deprovisioning" - succeeded = "succeeded" - failed = "failed" - network_source_deleted = "networkSourceDeleted" + PROVISIONING = "provisioning" + DEPROVISIONING = "deprovisioning" + SUCCEEDED = "succeeded" + FAILED = "failed" + NETWORK_SOURCE_DELETED = "networkSourceDeleted" -class UsageUnit(str, Enum): +class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the unit of measurement. """ - count = "Count" - bytes = "Bytes" - seconds = "Seconds" - percent = "Percent" - counts_per_second = "CountsPerSecond" - bytes_per_second = "BytesPerSecond" + COUNT = "Count" + BYTES = "Bytes" + SECONDS = "Seconds" + PERCENT = "Percent" + COUNTS_PER_SECOND = "CountsPerSecond" + BYTES_PER_SECOND = "BytesPerSecond" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py index 4cc74743cec6..c979424fc1de 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat @@ -67,9 +67,12 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListContainerItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -86,7 +89,7 @@ def list( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -137,10 +140,13 @@ def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -159,13 +165,12 @@ def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -213,10 +218,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -235,13 +243,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -285,9 +292,12 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -305,7 +315,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -351,7 +361,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" @@ -418,10 +430,13 @@ def set_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_legal_hold.metadata['url'] # type: ignore @@ -440,13 +455,12 @@ def set_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -494,10 +508,13 @@ def clear_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.clear_legal_hold.metadata['url'] # type: ignore @@ -516,13 +533,12 @@ def clear_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -576,11 +592,14 @@ def create_or_update_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update_immutability_policy.metadata['url'] # type: ignore @@ -602,7 +621,7 @@ def create_or_update_immutability_policy( if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -611,7 +630,6 @@ def create_or_update_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -663,10 +681,13 @@ def get_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-07-01" + accept = "application/json" # Construct URL url = self.get_immutability_policy.metadata['url'] # type: ignore @@ -687,7 +708,7 @@ def get_immutability_policy( header_parameters = {} # type: Dict[str, Any] if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -743,10 +764,13 @@ def delete_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-07-01" + accept = "application/json" # Construct URL url = self.delete_immutability_policy.metadata['url'] # type: ignore @@ -766,7 +790,7 @@ def delete_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -820,9 +844,12 @@ def lock_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" # Construct URL url = self.lock_immutability_policy.metadata['url'] # type: ignore @@ -841,7 +868,7 @@ def lock_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -900,10 +927,13 @@ def extend_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.extend_immutability_policy.metadata['url'] # type: ignore @@ -923,7 +953,7 @@ def extend_immutability_policy( header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -932,7 +962,6 @@ def extend_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -982,10 +1011,13 @@ def lease( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LeaseContainerResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.lease.metadata['url'] # type: ignore @@ -1004,7 +1036,7 @@ def lease( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -1013,7 +1045,6 @@ def lease( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py index 17610e3a1b39..1d2591027164 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat @@ -71,11 +71,14 @@ def set_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" blob_services_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_service_properties.metadata['url'] # type: ignore @@ -94,13 +97,12 @@ def set_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobServiceProperties') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -139,10 +141,13 @@ def get_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" blob_services_name = "default" + accept = "application/json" # Construct URL url = self.get_service_properties.metadata['url'] # type: ignore @@ -160,7 +165,7 @@ def get_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_management_policies_operations.py index 6bbf0de90283..a0cb71a5defa 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_management_policies_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat @@ -17,7 +17,7 @@ if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Optional, TypeVar + from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -48,6 +48,7 @@ def get( self, resource_group_name, # type: str account_name, # type: str + management_policy_name, # type: Union[str, "models.ManagementPolicyName"] **kwargs # type: Any ): # type: (...) -> "models.StorageAccountManagementPolicies" @@ -60,16 +61,21 @@ def get( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_07_01.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountManagementPolicies, or the result of cls(response) :rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountManagementPolicies :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountManagementPolicies"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" - management_policy_name = "default" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -87,7 +93,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -109,6 +115,7 @@ def create_or_update( self, resource_group_name, # type: str account_name, # type: str + management_policy_name, # type: Union[str, "models.ManagementPolicyName"] properties, # type: "models.ManagementPoliciesRulesSetParameter" **kwargs # type: Any ): @@ -122,6 +129,9 @@ def create_or_update( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_07_01.models.ManagementPolicyName :param properties: The data policy rules to set to a storage account. :type properties: ~azure.mgmt.storage.v2018_07_01.models.ManagementPoliciesRulesSetParameter :keyword callable cls: A custom type or function that will be passed the direct response @@ -130,11 +140,13 @@ def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountManagementPolicies"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" - management_policy_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -153,13 +165,12 @@ def create_or_update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPoliciesRulesSetParameter') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -179,6 +190,7 @@ def delete( self, resource_group_name, # type: str account_name, # type: str + management_policy_name, # type: Union[str, "models.ManagementPolicyName"] **kwargs # type: Any ): # type: (...) -> None @@ -191,16 +203,20 @@ def delete( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_07_01.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" - management_policy_name = "default" # Construct URL url = self.delete.metadata['url'] # type: ignore diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_operations.py index 9dd97a37821e..9d1de40a0f0b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py index 27af368b8066..c7d8762406b2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageSkuListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py index 6d28b576e4b1..27b50014948a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -65,10 +65,13 @@ def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -84,13 +87,12 @@ def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -115,10 +117,13 @@ def _create_initial( ): # type: (...) -> Optional["models.StorageAccount"] cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -136,13 +141,12 @@ def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -169,16 +173,16 @@ def begin_create( ): # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountCreateParameters @@ -254,7 +258,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" @@ -315,9 +321,12 @@ def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -336,7 +345,7 @@ def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -386,10 +395,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -407,13 +419,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -435,7 +446,7 @@ def list( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -443,14 +454,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -501,10 +515,10 @@ def list_by_resource_group( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -512,14 +526,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -586,9 +603,12 @@ def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -605,7 +625,7 @@ def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -648,10 +668,13 @@ def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -669,13 +692,12 @@ def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -716,10 +738,13 @@ def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -737,13 +762,12 @@ def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -784,10 +808,13 @@ def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -805,13 +832,12 @@ def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -835,7 +861,9 @@ def _failover_initial( ): # type: (...) -> None cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" @@ -876,15 +904,15 @@ def begin_failover( ): # type: (...) -> LROPoller[None] """Failover request can be triggered for a storage account in case of availability issues. The - failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS - accounts. The secondary cluster will become primary after failover. + failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS + accounts. The secondary cluster will become primary after failover. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py index 98785c085012..ac7fc3f94b4c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -52,7 +52,7 @@ def list_by_location( ): # type: (...) -> Iterable["models.UsageListResult"] """Gets the current usage count and the limit for the resources of the location under the - subscription. + subscription. :param location: The location of the Azure Storage resource. :type location: str @@ -62,14 +62,17 @@ def list_by_location( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/__init__.py index 7622b8635ba1..75a361344ca2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/__init__.py @@ -10,7 +10,7 @@ __all__ = ['StorageManagementClient'] try: - from ._patch import patch_sdk + from ._patch import patch_sdk # type: ignore patch_sdk() except ImportError: pass diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_configuration.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_configuration.py index ac528912e3c6..7dc9df09f8b1 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_configuration.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -47,8 +48,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2018-11-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -61,6 +61,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_metadata.json index b86b3cfdbd3d..9865ade341fb 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_metadata.json @@ -4,7 +4,11 @@ "client": { "name": "StorageManagementClient", "filename": "_storage_management_client", - "description": "The Azure Storage Management API." + "description": "The Azure Storage Management API.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true }, "global_parameters": { "sync_method": { @@ -41,7 +45,10 @@ }, "config": { "credential": true, - "credential_scopes": ["https://management.azure.com/.default"] + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null }, "operation_groups": { "operations": "Operations", diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_storage_management_client.py index 2525e26d690d..cdfdbb9ccb11 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/_storage_management_client.py @@ -68,6 +68,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/__init__.py index 4e7988b5c172..9cfe0ace1ba9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/__init__.py @@ -6,5 +6,5 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._storage_management_client_async import StorageManagementClient +from ._storage_management_client import StorageManagementClient __all__ = ['StorageManagementClient'] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/_configuration_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/_configuration.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/_configuration_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/_configuration.py index 35934d60712c..fb8201c1ba81 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/_configuration_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -44,8 +45,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2018-11-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -57,6 +57,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/_storage_management_client_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py similarity index 85% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/_storage_management_client_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py index 0474e5bc8512..8773f824c886 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/_storage_management_client_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py @@ -15,14 +15,14 @@ # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential -from ._configuration_async import StorageManagementClientConfiguration -from .operations_async import Operations -from .operations_async import SkusOperations -from .operations_async import StorageAccountsOperations -from .operations_async import UsagesOperations -from .operations_async import ManagementPoliciesOperations -from .operations_async import BlobServicesOperations -from .operations_async import BlobContainersOperations +from ._configuration import StorageManagementClientConfiguration +from .operations import Operations +from .operations import SkusOperations +from .operations import StorageAccountsOperations +from .operations import UsagesOperations +from .operations import ManagementPoliciesOperations +from .operations import BlobServicesOperations +from .operations import BlobContainersOperations from .. import models @@ -30,19 +30,19 @@ class StorageManagementClient(object): """The Azure Storage Management API. :ivar operations: Operations operations - :vartype operations: azure.mgmt.storage.v2018_11_01.aio.operations_async.Operations + :vartype operations: azure.mgmt.storage.v2018_11_01.aio.operations.Operations :ivar skus: SkusOperations operations - :vartype skus: azure.mgmt.storage.v2018_11_01.aio.operations_async.SkusOperations + :vartype skus: azure.mgmt.storage.v2018_11_01.aio.operations.SkusOperations :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.storage.v2018_11_01.aio.operations_async.StorageAccountsOperations + :vartype storage_accounts: azure.mgmt.storage.v2018_11_01.aio.operations.StorageAccountsOperations :ivar usages: UsagesOperations operations - :vartype usages: azure.mgmt.storage.v2018_11_01.aio.operations_async.UsagesOperations + :vartype usages: azure.mgmt.storage.v2018_11_01.aio.operations.UsagesOperations :ivar management_policies: ManagementPoliciesOperations operations - :vartype management_policies: azure.mgmt.storage.v2018_11_01.aio.operations_async.ManagementPoliciesOperations + :vartype management_policies: azure.mgmt.storage.v2018_11_01.aio.operations.ManagementPoliciesOperations :ivar blob_services: BlobServicesOperations operations - :vartype blob_services: azure.mgmt.storage.v2018_11_01.aio.operations_async.BlobServicesOperations + :vartype blob_services: azure.mgmt.storage.v2018_11_01.aio.operations.BlobServicesOperations :ivar blob_containers: BlobContainersOperations operations - :vartype blob_containers: azure.mgmt.storage.v2018_11_01.aio.operations_async.BlobContainersOperations + :vartype blob_containers: azure.mgmt.storage.v2018_11_01.aio.operations.BlobContainersOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The ID of the target subscription. @@ -65,6 +65,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/__init__.py similarity index 61% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/__init__.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/__init__.py index 3786406be3e7..b6aa35800a96 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/__init__.py @@ -6,13 +6,13 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._operations_async import Operations -from ._skus_operations_async import SkusOperations -from ._storage_accounts_operations_async import StorageAccountsOperations -from ._usages_operations_async import UsagesOperations -from ._management_policies_operations_async import ManagementPoliciesOperations -from ._blob_services_operations_async import BlobServicesOperations -from ._blob_containers_operations_async import BlobContainersOperations +from ._operations import Operations +from ._skus_operations import SkusOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._usages_operations import UsagesOperations +from ._management_policies_operations import ManagementPoliciesOperations +from ._blob_services_operations import BlobServicesOperations +from ._blob_containers_operations import BlobContainersOperations __all__ = [ 'Operations', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_blob_containers_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py similarity index 94% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_blob_containers_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py index c7085e67b6ae..00b0658572bc 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_blob_containers_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -62,9 +62,12 @@ async def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListContainerItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -81,7 +84,7 @@ async def list( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -131,10 +134,13 @@ async def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -153,13 +159,12 @@ async def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -210,10 +215,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -232,13 +240,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -281,9 +288,12 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -301,7 +311,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -346,7 +356,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" @@ -412,10 +424,13 @@ async def set_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_legal_hold.metadata['url'] # type: ignore @@ -434,13 +449,12 @@ async def set_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -487,10 +501,13 @@ async def clear_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.clear_legal_hold.metadata['url'] # type: ignore @@ -509,13 +526,12 @@ async def clear_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -568,11 +584,14 @@ async def create_or_update_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update_immutability_policy.metadata['url'] # type: ignore @@ -594,7 +613,7 @@ async def create_or_update_immutability_policy( if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -603,7 +622,6 @@ async def create_or_update_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -654,10 +672,13 @@ async def get_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-11-01" + accept = "application/json" # Construct URL url = self.get_immutability_policy.metadata['url'] # type: ignore @@ -678,7 +699,7 @@ async def get_immutability_policy( header_parameters = {} # type: Dict[str, Any] if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -733,10 +754,13 @@ async def delete_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-11-01" + accept = "application/json" # Construct URL url = self.delete_immutability_policy.metadata['url'] # type: ignore @@ -756,7 +780,7 @@ async def delete_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -809,9 +833,12 @@ async def lock_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" # Construct URL url = self.lock_immutability_policy.metadata['url'] # type: ignore @@ -830,7 +857,7 @@ async def lock_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -888,10 +915,13 @@ async def extend_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.extend_immutability_policy.metadata['url'] # type: ignore @@ -911,7 +941,7 @@ async def extend_immutability_policy( header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -920,7 +950,6 @@ async def extend_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -969,10 +998,13 @@ async def lease( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LeaseContainerResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.lease.metadata['url'] # type: ignore @@ -991,7 +1023,7 @@ async def lease( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -1000,7 +1032,6 @@ async def lease( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_blob_services_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py similarity index 93% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_blob_services_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py index dd5c61d74aec..405d68afc3ee 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_blob_services_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, Optional, TypeVar import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -66,11 +66,14 @@ async def set_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" blob_services_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_service_properties.metadata['url'] # type: ignore @@ -89,13 +92,12 @@ async def set_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobServiceProperties') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -133,10 +135,13 @@ async def get_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" blob_services_name = "default" + accept = "application/json" # Construct URL url = self.get_service_properties.metadata['url'] # type: ignore @@ -154,7 +159,7 @@ async def get_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_management_policies_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py similarity index 86% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_management_policies_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py index f4af328d0bc5..37b1b0f5d99f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_management_policies_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py @@ -5,10 +5,10 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, Callable, Dict, Generic, Optional, TypeVar +from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -44,6 +44,7 @@ async def get( self, resource_group_name: str, account_name: str, + management_policy_name: Union[str, "models.ManagementPolicyName"], **kwargs ) -> "models.ManagementPolicy": """Gets the managementpolicy associated with the specified storage account. @@ -55,16 +56,21 @@ async def get( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagementPolicy, or the result of cls(response) :rtype: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagementPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" - management_policy_name = "default" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -82,7 +88,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -104,6 +110,7 @@ async def create_or_update( self, resource_group_name: str, account_name: str, + management_policy_name: Union[str, "models.ManagementPolicyName"], properties: "models.ManagementPolicy", **kwargs ) -> "models.ManagementPolicy": @@ -116,6 +123,9 @@ async def create_or_update( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyName :param properties: The ManagementPolicy set to a storage account. :type properties: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicy :keyword callable cls: A custom type or function that will be passed the direct response @@ -124,11 +134,13 @@ async def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagementPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" - management_policy_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -147,13 +159,12 @@ async def create_or_update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPolicy') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -173,6 +184,7 @@ async def delete( self, resource_group_name: str, account_name: str, + management_policy_name: Union[str, "models.ManagementPolicyName"], **kwargs ) -> None: """Deletes the managementpolicy associated with the specified storage account. @@ -184,16 +196,20 @@ async def delete( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" - management_policy_name = "default" # Construct URL url = self.delete.metadata['url'] # type: ignore diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py index 134895f1df82..2a7daaea05df 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_skus_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_skus_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py index 100f4da91d53..c8adcf587d97 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_skus_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageSkuListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_storage_accounts_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py index a16cb68a0916..c6c704d6498b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod @@ -60,10 +60,13 @@ async def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -79,13 +82,12 @@ async def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -109,10 +111,13 @@ async def _create_initial( **kwargs ) -> Optional["models.StorageAccount"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -130,13 +135,12 @@ async def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -162,16 +166,16 @@ async def begin_create( **kwargs ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountCreateParameters @@ -246,7 +250,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" @@ -306,9 +312,12 @@ async def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -327,7 +336,7 @@ async def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -376,10 +385,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -397,13 +409,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -424,7 +435,7 @@ def list( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -432,14 +443,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -489,10 +503,10 @@ def list_by_resource_group( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -500,14 +514,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -573,9 +590,12 @@ async def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -592,7 +612,7 @@ async def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -634,10 +654,13 @@ async def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -655,13 +678,12 @@ async def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -701,10 +723,13 @@ async def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -722,13 +747,12 @@ async def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -768,10 +792,13 @@ async def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -789,13 +816,12 @@ async def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -818,7 +844,9 @@ async def _failover_initial( **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" @@ -858,15 +886,15 @@ async def begin_failover( **kwargs ) -> AsyncLROPoller[None]: """Failover request can be triggered for a storage account in case of availability issues. The - failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS - accounts. The secondary cluster will become primary after failover. + failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS + accounts. The secondary cluster will become primary after failover. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -935,7 +963,9 @@ async def revoke_user_delegation_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_usages_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_usages_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py index 2f3705cc0f7a..0c47e8151e5e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_usages_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -47,7 +47,7 @@ def list_by_location( **kwargs ) -> AsyncIterable["models.UsageListResult"]: """Gets the current usage count and the limit for the resources of the location under the - subscription. + subscription. :param location: The location of the Azure Storage resource. :type location: str @@ -57,14 +57,17 @@ def list_by_location( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/__init__.py index 560cada7f225..fde008d719f7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/__init__.py @@ -156,11 +156,13 @@ LeaseDuration, LeaseState, LeaseStatus, + ManagementPolicyName, Permissions, ProvisioningState, PublicAccess, Reason, ReasonCode, + RuleType, Services, SignedResource, SignedResourceTypes, @@ -252,11 +254,13 @@ 'LeaseDuration', 'LeaseState', 'LeaseStatus', + 'ManagementPolicyName', 'Permissions', 'ProvisioningState', 'PublicAccess', 'Reason', 'ReasonCode', + 'RuleType', 'Services', 'SignedResource', 'SignedResourceTypes', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_models.py index eda3812c5280..903dd94b5647 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_models.py @@ -1390,8 +1390,6 @@ def __init__( class ManagementPolicyRule(msrest.serialization.Model): """An object that wraps the Lifecycle rule. Each rule is uniquely defined by name. - Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. :param enabled: Rule is enabled if set to true. @@ -1399,15 +1397,15 @@ class ManagementPolicyRule(msrest.serialization.Model): :param name: Required. A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. :type name: str - :ivar type: Required. The valid value is Lifecycle. Default value: "Lifecycle". - :vartype type: str + :param type: Required. The valid value is Lifecycle. Possible values include: "Lifecycle". + :type type: str or ~azure.mgmt.storage.v2018_11_01.models.RuleType :param definition: Required. An object that defines the Lifecycle rule. :type definition: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyDefinition """ _validation = { 'name': {'required': True}, - 'type': {'required': True, 'constant': True}, + 'type': {'required': True}, 'definition': {'required': True}, } @@ -1418,8 +1416,6 @@ class ManagementPolicyRule(msrest.serialization.Model): 'definition': {'key': 'definition', 'type': 'ManagementPolicyDefinition'}, } - type = "Lifecycle" - def __init__( self, **kwargs @@ -1427,6 +1423,7 @@ def __init__( super(ManagementPolicyRule, self).__init__(**kwargs) self.enabled = kwargs.get('enabled', None) self.name = kwargs['name'] + self.type = kwargs['type'] self.definition = kwargs['definition'] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_models_py3.py index 4241312d140c..7656bc05a9e4 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_models_py3.py @@ -1484,8 +1484,6 @@ def __init__( class ManagementPolicyRule(msrest.serialization.Model): """An object that wraps the Lifecycle rule. Each rule is uniquely defined by name. - Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. :param enabled: Rule is enabled if set to true. @@ -1493,15 +1491,15 @@ class ManagementPolicyRule(msrest.serialization.Model): :param name: Required. A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. :type name: str - :ivar type: Required. The valid value is Lifecycle. Default value: "Lifecycle". - :vartype type: str + :param type: Required. The valid value is Lifecycle. Possible values include: "Lifecycle". + :type type: str or ~azure.mgmt.storage.v2018_11_01.models.RuleType :param definition: Required. An object that defines the Lifecycle rule. :type definition: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyDefinition """ _validation = { 'name': {'required': True}, - 'type': {'required': True, 'constant': True}, + 'type': {'required': True}, 'definition': {'required': True}, } @@ -1512,12 +1510,11 @@ class ManagementPolicyRule(msrest.serialization.Model): 'definition': {'key': 'definition', 'type': 'ManagementPolicyDefinition'}, } - type = "Lifecycle" - def __init__( self, *, name: str, + type: Union[str, "RuleType"], definition: "ManagementPolicyDefinition", enabled: Optional[bool] = None, **kwargs @@ -1525,6 +1522,7 @@ def __init__( super(ManagementPolicyRule, self).__init__(**kwargs) self.enabled = enabled self.name = name + self.type = type self.definition = definition diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py index aa55bc092fef..d3fb4b16cb77 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py @@ -6,52 +6,70 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum - -class AccessTier(str, Enum): +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AccessTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Required for storage accounts where kind = BlobStorage. The access tier used for billing. """ - hot = "Hot" - cool = "Cool" + HOT = "Hot" + COOL = "Cool" -class AccountStatus(str, Enum): +class AccountStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status indicating whether the primary location of the storage account is available or unavailable. """ - available = "available" - unavailable = "unavailable" + AVAILABLE = "available" + UNAVAILABLE = "unavailable" -class Bypass(str, Enum): +class Bypass(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. """ - none = "None" - logging = "Logging" - metrics = "Metrics" - azure_services = "AzureServices" + NONE = "None" + LOGGING = "Logging" + METRICS = "Metrics" + AZURE_SERVICES = "AzureServices" -class CorsRuleAllowedMethodsItem(str, Enum): +class CorsRuleAllowedMethodsItem(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - delete = "DELETE" - get = "GET" - head = "HEAD" - merge = "MERGE" - post = "POST" - options = "OPTIONS" - put = "PUT" + DELETE = "DELETE" + GET = "GET" + HEAD = "HEAD" + MERGE = "MERGE" + POST = "POST" + OPTIONS = "OPTIONS" + PUT = "PUT" -class DefaultAction(str, Enum): +class DefaultAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies the default action of allow or deny when no other rules match. """ - allow = "Allow" - deny = "Deny" + ALLOW = "Allow" + DENY = "Deny" -class GeoReplicationStatus(str, Enum): +class GeoReplicationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when @@ -59,207 +77,217 @@ class GeoReplicationStatus(str, Enum): temporarily unavailable. """ - live = "Live" - bootstrap = "Bootstrap" - unavailable = "Unavailable" + LIVE = "Live" + BOOTSTRAP = "Bootstrap" + UNAVAILABLE = "Unavailable" -class HttpProtocol(str, Enum): +class HttpProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The protocol permitted for a request made with the account SAS. """ - https_http = "https,http" - https = "https" + HTTPS_HTTP = "https,http" + HTTPS = "https" -class ImmutabilityPolicyState(str, Enum): +class ImmutabilityPolicyState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. """ - locked = "Locked" - unlocked = "Unlocked" + LOCKED = "Locked" + UNLOCKED = "Unlocked" -class ImmutabilityPolicyUpdateType(str, Enum): +class ImmutabilityPolicyUpdateType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. """ - put = "put" - lock = "lock" - extend = "extend" + PUT = "put" + LOCK = "lock" + EXTEND = "extend" -class KeyPermission(str, Enum): +class KeyPermission(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Permissions for the key -- read-only or full permissions. """ - read = "Read" - full = "Full" + READ = "Read" + FULL = "Full" -class KeySource(str, Enum): +class KeySource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault """ - microsoft_storage = "Microsoft.Storage" - microsoft_keyvault = "Microsoft.Keyvault" + MICROSOFT_STORAGE = "Microsoft.Storage" + MICROSOFT_KEYVAULT = "Microsoft.Keyvault" -class Kind(str, Enum): +class Kind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Indicates the type of storage account. """ - storage = "Storage" - storage_v2 = "StorageV2" - blob_storage = "BlobStorage" - file_storage = "FileStorage" - block_blob_storage = "BlockBlobStorage" + STORAGE = "Storage" + STORAGE_V2 = "StorageV2" + BLOB_STORAGE = "BlobStorage" + FILE_STORAGE = "FileStorage" + BLOCK_BLOB_STORAGE = "BlockBlobStorage" -class LeaseContainerRequestAction(str, Enum): +class LeaseContainerRequestAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies the lease action. Can be one of the available actions. """ - acquire = "Acquire" - renew = "Renew" - change = "Change" - release = "Release" - break_enum = "Break" + ACQUIRE = "Acquire" + RENEW = "Renew" + CHANGE = "Change" + RELEASE = "Release" + BREAK_ENUM = "Break" -class LeaseDuration(str, Enum): +class LeaseDuration(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. """ - infinite = "Infinite" - fixed = "Fixed" + INFINITE = "Infinite" + FIXED = "Fixed" -class LeaseState(str, Enum): +class LeaseState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Lease state of the container. """ - available = "Available" - leased = "Leased" - expired = "Expired" - breaking = "Breaking" - broken = "Broken" + AVAILABLE = "Available" + LEASED = "Leased" + EXPIRED = "Expired" + BREAKING = "Breaking" + BROKEN = "Broken" -class LeaseStatus(str, Enum): +class LeaseStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The lease status of the container. """ - locked = "Locked" - unlocked = "Unlocked" + LOCKED = "Locked" + UNLOCKED = "Unlocked" + +class ManagementPolicyName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + DEFAULT = "default" -class Permissions(str, Enum): +class Permissions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). """ - r = "r" - d = "d" - w = "w" - l = "l" - a = "a" - c = "c" - u = "u" - p = "p" + R = "r" + D = "d" + W = "w" + L = "l" + A = "a" + C = "c" + U = "u" + P = "p" -class ProvisioningState(str, Enum): +class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status of the storage account at the time the operation was called. """ - creating = "Creating" - resolving_dns = "ResolvingDNS" - succeeded = "Succeeded" + CREATING = "Creating" + RESOLVING_DNS = "ResolvingDNS" + SUCCEEDED = "Succeeded" -class PublicAccess(str, Enum): +class PublicAccess(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether data in the container may be accessed publicly and the level of access. """ - container = "Container" - blob = "Blob" - none = "None" + CONTAINER = "Container" + BLOB = "Blob" + NONE = "None" -class Reason(str, Enum): +class Reason(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. """ - account_name_invalid = "AccountNameInvalid" - already_exists = "AlreadyExists" + ACCOUNT_NAME_INVALID = "AccountNameInvalid" + ALREADY_EXISTS = "AlreadyExists" -class ReasonCode(str, Enum): +class ReasonCode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. """ - quota_id = "QuotaId" - not_available_for_subscription = "NotAvailableForSubscription" + QUOTA_ID = "QuotaId" + NOT_AVAILABLE_FOR_SUBSCRIPTION = "NotAvailableForSubscription" + +class RuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The valid value is Lifecycle + """ + + LIFECYCLE = "Lifecycle" -class Services(str, Enum): +class Services(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). """ - b = "b" - q = "q" - t = "t" - f = "f" + B = "b" + Q = "q" + T = "t" + F = "f" -class SignedResource(str, Enum): +class SignedResource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). """ - b = "b" - c = "c" - f = "f" - s = "s" + B = "b" + C = "c" + F = "f" + S = "s" -class SignedResourceTypes(str, Enum): +class SignedResourceTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. """ - s = "s" - c = "c" - o = "o" + S = "s" + C = "c" + O = "o" -class SkuName(str, Enum): +class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets or sets the SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. """ - standard_lrs = "Standard_LRS" - standard_grs = "Standard_GRS" - standard_ragrs = "Standard_RAGRS" - standard_zrs = "Standard_ZRS" - premium_lrs = "Premium_LRS" - premium_zrs = "Premium_ZRS" + STANDARD_LRS = "Standard_LRS" + STANDARD_GRS = "Standard_GRS" + STANDARD_RAGRS = "Standard_RAGRS" + STANDARD_ZRS = "Standard_ZRS" + PREMIUM_LRS = "Premium_LRS" + PREMIUM_ZRS = "Premium_ZRS" -class SkuTier(str, Enum): +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the SKU tier. This is based on the SKU name. """ - standard = "Standard" - premium = "Premium" + STANDARD = "Standard" + PREMIUM = "Premium" -class State(str, Enum): +class State(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the state of virtual network rule. """ - provisioning = "provisioning" - deprovisioning = "deprovisioning" - succeeded = "succeeded" - failed = "failed" - network_source_deleted = "networkSourceDeleted" + PROVISIONING = "provisioning" + DEPROVISIONING = "deprovisioning" + SUCCEEDED = "succeeded" + FAILED = "failed" + NETWORK_SOURCE_DELETED = "networkSourceDeleted" -class UsageUnit(str, Enum): +class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the unit of measurement. """ - count = "Count" - bytes = "Bytes" - seconds = "Seconds" - percent = "Percent" - counts_per_second = "CountsPerSecond" - bytes_per_second = "BytesPerSecond" + COUNT = "Count" + BYTES = "Bytes" + SECONDS = "Seconds" + PERCENT = "Percent" + COUNTS_PER_SECOND = "CountsPerSecond" + BYTES_PER_SECOND = "BytesPerSecond" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py index 46f3760f345e..64171f81ea3f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat @@ -67,9 +67,12 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListContainerItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -86,7 +89,7 @@ def list( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -137,10 +140,13 @@ def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -159,13 +165,12 @@ def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -217,10 +222,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -239,13 +247,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -289,9 +296,12 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -309,7 +319,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -355,7 +365,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" @@ -422,10 +434,13 @@ def set_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_legal_hold.metadata['url'] # type: ignore @@ -444,13 +459,12 @@ def set_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -498,10 +512,13 @@ def clear_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.clear_legal_hold.metadata['url'] # type: ignore @@ -520,13 +537,12 @@ def clear_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -580,11 +596,14 @@ def create_or_update_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update_immutability_policy.metadata['url'] # type: ignore @@ -606,7 +625,7 @@ def create_or_update_immutability_policy( if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -615,7 +634,6 @@ def create_or_update_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -667,10 +685,13 @@ def get_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-11-01" + accept = "application/json" # Construct URL url = self.get_immutability_policy.metadata['url'] # type: ignore @@ -691,7 +712,7 @@ def get_immutability_policy( header_parameters = {} # type: Dict[str, Any] if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -747,10 +768,13 @@ def delete_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2018-11-01" + accept = "application/json" # Construct URL url = self.delete_immutability_policy.metadata['url'] # type: ignore @@ -770,7 +794,7 @@ def delete_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -824,9 +848,12 @@ def lock_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" # Construct URL url = self.lock_immutability_policy.metadata['url'] # type: ignore @@ -845,7 +872,7 @@ def lock_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -904,10 +931,13 @@ def extend_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.extend_immutability_policy.metadata['url'] # type: ignore @@ -927,7 +957,7 @@ def extend_immutability_policy( header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -936,7 +966,6 @@ def extend_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -986,10 +1015,13 @@ def lease( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LeaseContainerResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.lease.metadata['url'] # type: ignore @@ -1008,7 +1040,7 @@ def lease( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -1017,7 +1049,6 @@ def lease( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py index 32e9ce4fc830..98c75191a267 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat @@ -71,11 +71,14 @@ def set_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" blob_services_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_service_properties.metadata['url'] # type: ignore @@ -94,13 +97,12 @@ def set_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobServiceProperties') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -139,10 +141,13 @@ def get_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" blob_services_name = "default" + accept = "application/json" # Construct URL url = self.get_service_properties.metadata['url'] # type: ignore @@ -160,7 +165,7 @@ def get_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py index 37fe6e5e97fd..ddf2d2ba15a9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat @@ -17,7 +17,7 @@ if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Optional, TypeVar + from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -48,6 +48,7 @@ def get( self, resource_group_name, # type: str account_name, # type: str + management_policy_name, # type: Union[str, "models.ManagementPolicyName"] **kwargs # type: Any ): # type: (...) -> "models.ManagementPolicy" @@ -60,16 +61,21 @@ def get( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagementPolicy, or the result of cls(response) :rtype: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagementPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" - management_policy_name = "default" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -87,7 +93,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -109,6 +115,7 @@ def create_or_update( self, resource_group_name, # type: str account_name, # type: str + management_policy_name, # type: Union[str, "models.ManagementPolicyName"] properties, # type: "models.ManagementPolicy" **kwargs # type: Any ): @@ -122,6 +129,9 @@ def create_or_update( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyName :param properties: The ManagementPolicy set to a storage account. :type properties: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicy :keyword callable cls: A custom type or function that will be passed the direct response @@ -130,11 +140,13 @@ def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagementPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" - management_policy_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -153,13 +165,12 @@ def create_or_update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPolicy') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -179,6 +190,7 @@ def delete( self, resource_group_name, # type: str account_name, # type: str + management_policy_name, # type: Union[str, "models.ManagementPolicyName"] **kwargs # type: Any ): # type: (...) -> None @@ -191,16 +203,20 @@ def delete( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" - management_policy_name = "default" # Construct URL url = self.delete.metadata['url'] # type: ignore diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_operations.py index ebe715b1a77a..057c6ef91d8a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py index d226ffdbc398..c95f83c8d5d2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageSkuListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py index 709d5896fc87..9025191b0c1e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -65,10 +65,13 @@ def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -84,13 +87,12 @@ def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -115,10 +117,13 @@ def _create_initial( ): # type: (...) -> Optional["models.StorageAccount"] cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -136,13 +141,12 @@ def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -169,16 +173,16 @@ def begin_create( ): # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountCreateParameters @@ -254,7 +258,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" @@ -315,9 +321,12 @@ def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -336,7 +345,7 @@ def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -386,10 +395,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -407,13 +419,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -435,7 +446,7 @@ def list( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -443,14 +454,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -501,10 +515,10 @@ def list_by_resource_group( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -512,14 +526,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -586,9 +603,12 @@ def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -605,7 +625,7 @@ def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -648,10 +668,13 @@ def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -669,13 +692,12 @@ def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -716,10 +738,13 @@ def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -737,13 +762,12 @@ def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -784,10 +808,13 @@ def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -805,13 +832,12 @@ def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -835,7 +861,9 @@ def _failover_initial( ): # type: (...) -> None cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" @@ -876,15 +904,15 @@ def begin_failover( ): # type: (...) -> LROPoller[None] """Failover request can be triggered for a storage account in case of availability issues. The - failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS - accounts. The secondary cluster will become primary after failover. + failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS + accounts. The secondary cluster will become primary after failover. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -954,7 +982,9 @@ def revoke_user_delegation_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py index 9cba12333d49..67cd4cff88f1 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -52,7 +52,7 @@ def list_by_location( ): # type: (...) -> Iterable["models.UsageListResult"] """Gets the current usage count and the limit for the resources of the location under the - subscription. + subscription. :param location: The location of the Azure Storage resource. :type location: str @@ -62,14 +62,17 @@ def list_by_location( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/__init__.py index 7622b8635ba1..75a361344ca2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/__init__.py @@ -10,7 +10,7 @@ __all__ = ['StorageManagementClient'] try: - from ._patch import patch_sdk + from ._patch import patch_sdk # type: ignore patch_sdk() except ImportError: pass diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_configuration.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_configuration.py index d1809896d0d2..ab4f9b057d5c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_configuration.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -47,8 +48,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2019-04-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -61,6 +61,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_metadata.json index 271a6423c7e8..2f98da97fb6a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_metadata.json @@ -4,7 +4,11 @@ "client": { "name": "StorageManagementClient", "filename": "_storage_management_client", - "description": "The Azure Storage Management API." + "description": "The Azure Storage Management API.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true }, "global_parameters": { "sync_method": { @@ -41,7 +45,10 @@ }, "config": { "credential": true, - "credential_scopes": ["https://management.azure.com/.default"] + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null }, "operation_groups": { "operations": "Operations", diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_storage_management_client.py index 5c1f8a75529c..8bebd1568e41 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/_storage_management_client.py @@ -74,6 +74,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/__init__.py index 4e7988b5c172..9cfe0ace1ba9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/__init__.py @@ -6,5 +6,5 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._storage_management_client_async import StorageManagementClient +from ._storage_management_client import StorageManagementClient __all__ = ['StorageManagementClient'] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/_configuration_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/_configuration.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/_configuration_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/_configuration.py index a3303d60cee6..de06e1a2d768 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/_configuration_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -44,8 +45,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2019-04-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -57,6 +57,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/_storage_management_client_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py similarity index 83% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/_storage_management_client_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py index afd459e65670..7d0b34632205 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/_storage_management_client_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py @@ -15,16 +15,16 @@ # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential -from ._configuration_async import StorageManagementClientConfiguration -from .operations_async import Operations -from .operations_async import SkusOperations -from .operations_async import StorageAccountsOperations -from .operations_async import UsagesOperations -from .operations_async import ManagementPoliciesOperations -from .operations_async import BlobServicesOperations -from .operations_async import BlobContainersOperations -from .operations_async import FileServicesOperations -from .operations_async import FileSharesOperations +from ._configuration import StorageManagementClientConfiguration +from .operations import Operations +from .operations import SkusOperations +from .operations import StorageAccountsOperations +from .operations import UsagesOperations +from .operations import ManagementPoliciesOperations +from .operations import BlobServicesOperations +from .operations import BlobContainersOperations +from .operations import FileServicesOperations +from .operations import FileSharesOperations from .. import models @@ -32,23 +32,23 @@ class StorageManagementClient(object): """The Azure Storage Management API. :ivar operations: Operations operations - :vartype operations: azure.mgmt.storage.v2019_04_01.aio.operations_async.Operations + :vartype operations: azure.mgmt.storage.v2019_04_01.aio.operations.Operations :ivar skus: SkusOperations operations - :vartype skus: azure.mgmt.storage.v2019_04_01.aio.operations_async.SkusOperations + :vartype skus: azure.mgmt.storage.v2019_04_01.aio.operations.SkusOperations :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.storage.v2019_04_01.aio.operations_async.StorageAccountsOperations + :vartype storage_accounts: azure.mgmt.storage.v2019_04_01.aio.operations.StorageAccountsOperations :ivar usages: UsagesOperations operations - :vartype usages: azure.mgmt.storage.v2019_04_01.aio.operations_async.UsagesOperations + :vartype usages: azure.mgmt.storage.v2019_04_01.aio.operations.UsagesOperations :ivar management_policies: ManagementPoliciesOperations operations - :vartype management_policies: azure.mgmt.storage.v2019_04_01.aio.operations_async.ManagementPoliciesOperations + :vartype management_policies: azure.mgmt.storage.v2019_04_01.aio.operations.ManagementPoliciesOperations :ivar blob_services: BlobServicesOperations operations - :vartype blob_services: azure.mgmt.storage.v2019_04_01.aio.operations_async.BlobServicesOperations + :vartype blob_services: azure.mgmt.storage.v2019_04_01.aio.operations.BlobServicesOperations :ivar blob_containers: BlobContainersOperations operations - :vartype blob_containers: azure.mgmt.storage.v2019_04_01.aio.operations_async.BlobContainersOperations + :vartype blob_containers: azure.mgmt.storage.v2019_04_01.aio.operations.BlobContainersOperations :ivar file_services: FileServicesOperations operations - :vartype file_services: azure.mgmt.storage.v2019_04_01.aio.operations_async.FileServicesOperations + :vartype file_services: azure.mgmt.storage.v2019_04_01.aio.operations.FileServicesOperations :ivar file_shares: FileSharesOperations operations - :vartype file_shares: azure.mgmt.storage.v2019_04_01.aio.operations_async.FileSharesOperations + :vartype file_shares: azure.mgmt.storage.v2019_04_01.aio.operations.FileSharesOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The ID of the target subscription. @@ -71,6 +71,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/__init__.py similarity index 57% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/__init__.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/__init__.py index 43623e2e645a..f6f55e8dcfc9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/__init__.py @@ -6,15 +6,15 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._operations_async import Operations -from ._skus_operations_async import SkusOperations -from ._storage_accounts_operations_async import StorageAccountsOperations -from ._usages_operations_async import UsagesOperations -from ._management_policies_operations_async import ManagementPoliciesOperations -from ._blob_services_operations_async import BlobServicesOperations -from ._blob_containers_operations_async import BlobContainersOperations -from ._file_services_operations_async import FileServicesOperations -from ._file_shares_operations_async import FileSharesOperations +from ._operations import Operations +from ._skus_operations import SkusOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._usages_operations import UsagesOperations +from ._management_policies_operations import ManagementPoliciesOperations +from ._blob_services_operations import BlobServicesOperations +from ._blob_containers_operations import BlobContainersOperations +from ._file_services_operations import FileServicesOperations +from ._file_shares_operations import FileSharesOperations __all__ = [ 'Operations', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_blob_containers_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py similarity index 94% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_blob_containers_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py index 28c16d7c0bd4..9741d00c3a5c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_blob_containers_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -51,22 +51,22 @@ def list( **kwargs ) -> AsyncIterable["models.ListContainerItems"]: """Lists all containers and does not support a prefix like data plane. Also SRP today does not - return continuation token. + return continuation token. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param skip_token: Optional. Continuation token for the list operation. :type skip_token: str :param maxpagesize: Optional. Specified maximum number of containers that can be included in - the list. + the list. :type maxpagesize: str :param filter: Optional. When specified, only container names starting with the filter will be - listed. + listed. :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListContainerItems or the result of cls(response) @@ -74,14 +74,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListContainerItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -165,10 +168,13 @@ async def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -187,13 +193,12 @@ async def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -244,10 +249,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -266,13 +274,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -315,9 +322,12 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -335,7 +345,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -380,7 +390,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" @@ -446,10 +458,13 @@ async def set_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_legal_hold.metadata['url'] # type: ignore @@ -468,13 +483,12 @@ async def set_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -521,10 +535,13 @@ async def clear_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.clear_legal_hold.metadata['url'] # type: ignore @@ -543,13 +560,12 @@ async def clear_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -602,11 +618,14 @@ async def create_or_update_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update_immutability_policy.metadata['url'] # type: ignore @@ -628,7 +647,7 @@ async def create_or_update_immutability_policy( if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -637,7 +656,6 @@ async def create_or_update_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -688,10 +706,13 @@ async def get_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.get_immutability_policy.metadata['url'] # type: ignore @@ -712,7 +733,7 @@ async def get_immutability_policy( header_parameters = {} # type: Dict[str, Any] if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -767,10 +788,13 @@ async def delete_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.delete_immutability_policy.metadata['url'] # type: ignore @@ -790,7 +814,7 @@ async def delete_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -843,9 +867,12 @@ async def lock_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.lock_immutability_policy.metadata['url'] # type: ignore @@ -864,7 +891,7 @@ async def lock_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -922,10 +949,13 @@ async def extend_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.extend_immutability_policy.metadata['url'] # type: ignore @@ -945,7 +975,7 @@ async def extend_immutability_policy( header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -954,7 +984,6 @@ async def extend_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -1003,10 +1032,13 @@ async def lease( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LeaseContainerResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.lease.metadata['url'] # type: ignore @@ -1025,7 +1057,7 @@ async def lease( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -1034,7 +1066,6 @@ async def lease( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_blob_services_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_blob_services_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py index 81217f59d59a..d75df970ed32 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_blob_services_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -50,11 +50,11 @@ def list( """List blob services of storage account. It returns a collection of one object named default. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BlobServiceItems or the result of cls(response) @@ -62,14 +62,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -141,11 +144,14 @@ async def set_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" blob_services_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_service_properties.metadata['url'] # type: ignore @@ -164,13 +170,12 @@ async def set_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobServiceProperties') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -208,10 +213,13 @@ async def get_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" blob_services_name = "default" + accept = "application/json" # Construct URL url = self.get_service_properties.metadata['url'] # type: ignore @@ -229,7 +237,7 @@ async def get_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_file_services_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_file_services_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py index c8638c09c682..55a158645f8d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_file_services_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, Optional, TypeVar import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -61,9 +61,12 @@ async def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileServiceItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -80,7 +83,7 @@ async def list( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -124,11 +127,14 @@ async def set_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" file_services_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_service_properties.metadata['url'] # type: ignore @@ -147,13 +153,12 @@ async def set_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'FileServiceProperties') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -191,10 +196,13 @@ async def get_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" file_services_name = "default" + accept = "application/json" # Construct URL url = self.get_service_properties.metadata['url'] # type: ignore @@ -212,7 +220,7 @@ async def get_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_file_shares_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_file_shares_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py index eeae198a84d7..dbb331e5ee4c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_file_shares_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,19 +53,19 @@ def list( """Lists all shares. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param skip_token: Optional. Continuation token for the list operation. :type skip_token: str :param maxpagesize: Optional. Specified maximum number of shares that can be included in the - list. + list. :type maxpagesize: str :param filter: Optional. When specified, only share names starting with the filter will be - listed. + listed. :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FileShareItems or the result of cls(response) @@ -73,14 +73,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileShareItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -164,10 +167,13 @@ async def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileShare"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -186,13 +192,12 @@ async def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(file_share, 'FileShare') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -243,10 +248,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileShare"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -265,13 +273,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(file_share, 'FileShare') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -314,9 +321,12 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileShare"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -334,7 +344,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -379,9 +389,12 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -399,6 +412,7 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_management_policies_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py similarity index 86% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_management_policies_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py index c0d7c4753b12..94839f9531d7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_management_policies_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py @@ -5,10 +5,10 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, Callable, Dict, Generic, Optional, TypeVar +from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -44,6 +44,7 @@ async def get( self, resource_group_name: str, account_name: str, + management_policy_name: Union[str, "models.ManagementPolicyName"], **kwargs ) -> "models.ManagementPolicy": """Gets the managementpolicy associated with the specified storage account. @@ -55,16 +56,21 @@ async def get( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2019_04_01.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagementPolicy, or the result of cls(response) :rtype: ~azure.mgmt.storage.v2019_04_01.models.ManagementPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagementPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" - management_policy_name = "default" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -82,7 +88,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -104,6 +110,7 @@ async def create_or_update( self, resource_group_name: str, account_name: str, + management_policy_name: Union[str, "models.ManagementPolicyName"], properties: "models.ManagementPolicy", **kwargs ) -> "models.ManagementPolicy": @@ -116,6 +123,9 @@ async def create_or_update( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2019_04_01.models.ManagementPolicyName :param properties: The ManagementPolicy set to a storage account. :type properties: ~azure.mgmt.storage.v2019_04_01.models.ManagementPolicy :keyword callable cls: A custom type or function that will be passed the direct response @@ -124,11 +134,13 @@ async def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagementPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" - management_policy_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -147,13 +159,12 @@ async def create_or_update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPolicy') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -173,6 +184,7 @@ async def delete( self, resource_group_name: str, account_name: str, + management_policy_name: Union[str, "models.ManagementPolicyName"], **kwargs ) -> None: """Deletes the managementpolicy associated with the specified storage account. @@ -184,16 +196,20 @@ async def delete( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2019_04_01.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" - management_policy_name = "default" # Construct URL url = self.delete.metadata['url'] # type: ignore diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py index 6d3a121cca64..0f4d4b982e5c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_skus_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_skus_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py index 1da152cbc18d..860108ffcbe4 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_skus_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageSkuListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_storage_accounts_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py index a8f0fa8dfd35..5f52450ab140 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod @@ -60,10 +60,13 @@ async def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -79,13 +82,12 @@ async def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -109,10 +111,13 @@ async def _create_initial( **kwargs ) -> Optional["models.StorageAccount"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -130,13 +135,12 @@ async def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -162,16 +166,16 @@ async def begin_create( **kwargs ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountCreateParameters @@ -246,7 +250,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" @@ -306,9 +312,12 @@ async def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -327,7 +336,7 @@ async def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -376,10 +385,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -397,13 +409,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -424,7 +435,7 @@ def list( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -432,14 +443,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -489,10 +503,10 @@ def list_by_resource_group( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -500,14 +514,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -577,9 +594,12 @@ async def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -598,7 +618,7 @@ async def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -641,10 +661,13 @@ async def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -662,13 +685,12 @@ async def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -708,10 +730,13 @@ async def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -729,13 +754,12 @@ async def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -775,10 +799,13 @@ async def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -796,13 +823,12 @@ async def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -825,7 +851,9 @@ async def _failover_initial( **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" @@ -865,15 +893,15 @@ async def begin_failover( **kwargs ) -> AsyncLROPoller[None]: """Failover request can be triggered for a storage account in case of availability issues. The - failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS - accounts. The secondary cluster will become primary after failover. + failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS + accounts. The secondary cluster will become primary after failover. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -942,7 +970,9 @@ async def revoke_user_delegation_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_usages_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_usages_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py index 73fa553dca6f..227ac563d3c4 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_usages_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -47,7 +47,7 @@ def list_by_location( **kwargs ) -> AsyncIterable["models.UsageListResult"]: """Gets the current usage count and the limit for the resources of the location under the - subscription. + subscription. :param location: The location of the Azure Storage resource. :type location: str @@ -57,14 +57,17 @@ def list_by_location( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/__init__.py index da9c6749e32d..47d4091fdbbd 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/__init__.py @@ -178,12 +178,14 @@ LeaseDuration, LeaseState, LeaseStatus, + ManagementPolicyName, MinimumTlsVersion, Permissions, ProvisioningState, PublicAccess, Reason, ReasonCode, + RuleType, Services, SignedResource, SignedResourceTypes, @@ -287,12 +289,14 @@ 'LeaseDuration', 'LeaseState', 'LeaseStatus', + 'ManagementPolicyName', 'MinimumTlsVersion', 'Permissions', 'ProvisioningState', 'PublicAccess', 'Reason', 'ReasonCode', + 'RuleType', 'Services', 'SignedResource', 'SignedResourceTypes', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models.py index bd53ac60ab67..d31d35123962 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models.py @@ -1773,8 +1773,6 @@ def __init__( class ManagementPolicyRule(msrest.serialization.Model): """An object that wraps the Lifecycle rule. Each rule is uniquely defined by name. - Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. :param enabled: Rule is enabled if set to true. @@ -1782,15 +1780,15 @@ class ManagementPolicyRule(msrest.serialization.Model): :param name: Required. A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. :type name: str - :ivar type: Required. The valid value is Lifecycle. Default value: "Lifecycle". - :vartype type: str + :param type: Required. The valid value is Lifecycle. Possible values include: "Lifecycle". + :type type: str or ~azure.mgmt.storage.v2019_04_01.models.RuleType :param definition: Required. An object that defines the Lifecycle rule. :type definition: ~azure.mgmt.storage.v2019_04_01.models.ManagementPolicyDefinition """ _validation = { 'name': {'required': True}, - 'type': {'required': True, 'constant': True}, + 'type': {'required': True}, 'definition': {'required': True}, } @@ -1801,8 +1799,6 @@ class ManagementPolicyRule(msrest.serialization.Model): 'definition': {'key': 'definition', 'type': 'ManagementPolicyDefinition'}, } - type = "Lifecycle" - def __init__( self, **kwargs @@ -1810,6 +1806,7 @@ def __init__( super(ManagementPolicyRule, self).__init__(**kwargs) self.enabled = kwargs.get('enabled', None) self.name = kwargs['name'] + self.type = kwargs['type'] self.definition = kwargs['definition'] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models_py3.py index de079471d2e3..80b4fe150d9e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models_py3.py @@ -1892,8 +1892,6 @@ def __init__( class ManagementPolicyRule(msrest.serialization.Model): """An object that wraps the Lifecycle rule. Each rule is uniquely defined by name. - Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. :param enabled: Rule is enabled if set to true. @@ -1901,15 +1899,15 @@ class ManagementPolicyRule(msrest.serialization.Model): :param name: Required. A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. :type name: str - :ivar type: Required. The valid value is Lifecycle. Default value: "Lifecycle". - :vartype type: str + :param type: Required. The valid value is Lifecycle. Possible values include: "Lifecycle". + :type type: str or ~azure.mgmt.storage.v2019_04_01.models.RuleType :param definition: Required. An object that defines the Lifecycle rule. :type definition: ~azure.mgmt.storage.v2019_04_01.models.ManagementPolicyDefinition """ _validation = { 'name': {'required': True}, - 'type': {'required': True, 'constant': True}, + 'type': {'required': True}, 'definition': {'required': True}, } @@ -1920,12 +1918,11 @@ class ManagementPolicyRule(msrest.serialization.Model): 'definition': {'key': 'definition', 'type': 'ManagementPolicyDefinition'}, } - type = "Lifecycle" - def __init__( self, *, name: str, + type: Union[str, "RuleType"], definition: "ManagementPolicyDefinition", enabled: Optional[bool] = None, **kwargs @@ -1933,6 +1930,7 @@ def __init__( super(ManagementPolicyRule, self).__init__(**kwargs) self.enabled = enabled self.name = name + self.type = type self.definition = definition diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py index c3be42d9cfed..5f6cef7cbf5d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py @@ -6,60 +6,78 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum - -class AccessTier(str, Enum): +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AccessTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Required for storage accounts where kind = BlobStorage. The access tier used for billing. """ - hot = "Hot" - cool = "Cool" + HOT = "Hot" + COOL = "Cool" -class AccountStatus(str, Enum): +class AccountStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status indicating whether the primary location of the storage account is available or unavailable. """ - available = "available" - unavailable = "unavailable" + AVAILABLE = "available" + UNAVAILABLE = "unavailable" -class Bypass(str, Enum): +class Bypass(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. """ - none = "None" - logging = "Logging" - metrics = "Metrics" - azure_services = "AzureServices" + NONE = "None" + LOGGING = "Logging" + METRICS = "Metrics" + AZURE_SERVICES = "AzureServices" -class CorsRuleAllowedMethodsItem(str, Enum): +class CorsRuleAllowedMethodsItem(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - delete = "DELETE" - get = "GET" - head = "HEAD" - merge = "MERGE" - post = "POST" - options = "OPTIONS" - put = "PUT" + DELETE = "DELETE" + GET = "GET" + HEAD = "HEAD" + MERGE = "MERGE" + POST = "POST" + OPTIONS = "OPTIONS" + PUT = "PUT" -class DefaultAction(str, Enum): +class DefaultAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies the default action of allow or deny when no other rules match. """ - allow = "Allow" - deny = "Deny" + ALLOW = "Allow" + DENY = "Deny" -class DirectoryServiceOptions(str, Enum): +class DirectoryServiceOptions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Indicates the directory service used. """ - none = "None" - aadds = "AADDS" - ad = "AD" + NONE = "None" + AADDS = "AADDS" + AD = "AD" -class GeoReplicationStatus(str, Enum): +class GeoReplicationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when @@ -67,225 +85,235 @@ class GeoReplicationStatus(str, Enum): temporarily unavailable. """ - live = "Live" - bootstrap = "Bootstrap" - unavailable = "Unavailable" + LIVE = "Live" + BOOTSTRAP = "Bootstrap" + UNAVAILABLE = "Unavailable" -class HttpProtocol(str, Enum): +class HttpProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The protocol permitted for a request made with the account SAS. """ - https_http = "https,http" - https = "https" + HTTPS_HTTP = "https,http" + HTTPS = "https" -class ImmutabilityPolicyState(str, Enum): +class ImmutabilityPolicyState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. """ - locked = "Locked" - unlocked = "Unlocked" + LOCKED = "Locked" + UNLOCKED = "Unlocked" -class ImmutabilityPolicyUpdateType(str, Enum): +class ImmutabilityPolicyUpdateType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. """ - put = "put" - lock = "lock" - extend = "extend" + PUT = "put" + LOCK = "lock" + EXTEND = "extend" -class KeyPermission(str, Enum): +class KeyPermission(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Permissions for the key -- read-only or full permissions. """ - read = "Read" - full = "Full" + READ = "Read" + FULL = "Full" -class KeySource(str, Enum): +class KeySource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault """ - microsoft_storage = "Microsoft.Storage" - microsoft_keyvault = "Microsoft.Keyvault" + MICROSOFT_STORAGE = "Microsoft.Storage" + MICROSOFT_KEYVAULT = "Microsoft.Keyvault" -class Kind(str, Enum): +class Kind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Indicates the type of storage account. """ - storage = "Storage" - storage_v2 = "StorageV2" - blob_storage = "BlobStorage" - file_storage = "FileStorage" - block_blob_storage = "BlockBlobStorage" + STORAGE = "Storage" + STORAGE_V2 = "StorageV2" + BLOB_STORAGE = "BlobStorage" + FILE_STORAGE = "FileStorage" + BLOCK_BLOB_STORAGE = "BlockBlobStorage" -class LargeFileSharesState(str, Enum): +class LargeFileSharesState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. """ - disabled = "Disabled" - enabled = "Enabled" + DISABLED = "Disabled" + ENABLED = "Enabled" -class LeaseContainerRequestAction(str, Enum): +class LeaseContainerRequestAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies the lease action. Can be one of the available actions. """ - acquire = "Acquire" - renew = "Renew" - change = "Change" - release = "Release" - break_enum = "Break" + ACQUIRE = "Acquire" + RENEW = "Renew" + CHANGE = "Change" + RELEASE = "Release" + BREAK_ENUM = "Break" -class LeaseDuration(str, Enum): +class LeaseDuration(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. """ - infinite = "Infinite" - fixed = "Fixed" + INFINITE = "Infinite" + FIXED = "Fixed" -class LeaseState(str, Enum): +class LeaseState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Lease state of the container. """ - available = "Available" - leased = "Leased" - expired = "Expired" - breaking = "Breaking" - broken = "Broken" + AVAILABLE = "Available" + LEASED = "Leased" + EXPIRED = "Expired" + BREAKING = "Breaking" + BROKEN = "Broken" -class LeaseStatus(str, Enum): +class LeaseStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The lease status of the container. """ - locked = "Locked" - unlocked = "Unlocked" + LOCKED = "Locked" + UNLOCKED = "Unlocked" + +class ManagementPolicyName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + DEFAULT = "default" -class MinimumTlsVersion(str, Enum): +class MinimumTlsVersion(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. """ - tls1_0 = "TLS1_0" - tls1_1 = "TLS1_1" - tls1_2 = "TLS1_2" + TLS1_0 = "TLS1_0" + TLS1_1 = "TLS1_1" + TLS1_2 = "TLS1_2" -class Permissions(str, Enum): +class Permissions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). """ - r = "r" - d = "d" - w = "w" - l = "l" - a = "a" - c = "c" - u = "u" - p = "p" + R = "r" + D = "d" + W = "w" + L = "l" + A = "a" + C = "c" + U = "u" + P = "p" -class ProvisioningState(str, Enum): +class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status of the storage account at the time the operation was called. """ - creating = "Creating" - resolving_dns = "ResolvingDNS" - succeeded = "Succeeded" + CREATING = "Creating" + RESOLVING_DNS = "ResolvingDNS" + SUCCEEDED = "Succeeded" -class PublicAccess(str, Enum): +class PublicAccess(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether data in the container may be accessed publicly and the level of access. """ - container = "Container" - blob = "Blob" - none = "None" + CONTAINER = "Container" + BLOB = "Blob" + NONE = "None" -class Reason(str, Enum): +class Reason(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. """ - account_name_invalid = "AccountNameInvalid" - already_exists = "AlreadyExists" + ACCOUNT_NAME_INVALID = "AccountNameInvalid" + ALREADY_EXISTS = "AlreadyExists" -class ReasonCode(str, Enum): +class ReasonCode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. """ - quota_id = "QuotaId" - not_available_for_subscription = "NotAvailableForSubscription" + QUOTA_ID = "QuotaId" + NOT_AVAILABLE_FOR_SUBSCRIPTION = "NotAvailableForSubscription" + +class RuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The valid value is Lifecycle + """ + + LIFECYCLE = "Lifecycle" -class Services(str, Enum): +class Services(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). """ - b = "b" - q = "q" - t = "t" - f = "f" + B = "b" + Q = "q" + T = "t" + F = "f" -class SignedResource(str, Enum): +class SignedResource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). """ - b = "b" - c = "c" - f = "f" - s = "s" + B = "b" + C = "c" + F = "f" + S = "s" -class SignedResourceTypes(str, Enum): +class SignedResourceTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. """ - s = "s" - c = "c" - o = "o" + S = "s" + C = "c" + O = "o" -class SkuName(str, Enum): +class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets or sets the SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. """ - standard_lrs = "Standard_LRS" - standard_grs = "Standard_GRS" - standard_ragrs = "Standard_RAGRS" - standard_zrs = "Standard_ZRS" - premium_lrs = "Premium_LRS" - premium_zrs = "Premium_ZRS" - standard_gzrs = "Standard_GZRS" - standard_ragzrs = "Standard_RAGZRS" + STANDARD_LRS = "Standard_LRS" + STANDARD_GRS = "Standard_GRS" + STANDARD_RAGRS = "Standard_RAGRS" + STANDARD_ZRS = "Standard_ZRS" + PREMIUM_LRS = "Premium_LRS" + PREMIUM_ZRS = "Premium_ZRS" + STANDARD_GZRS = "Standard_GZRS" + STANDARD_RAGZRS = "Standard_RAGZRS" -class SkuTier(str, Enum): +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the SKU tier. This is based on the SKU name. """ - standard = "Standard" - premium = "Premium" + STANDARD = "Standard" + PREMIUM = "Premium" -class State(str, Enum): +class State(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the state of virtual network rule. """ - provisioning = "provisioning" - deprovisioning = "deprovisioning" - succeeded = "succeeded" - failed = "failed" - network_source_deleted = "networkSourceDeleted" + PROVISIONING = "provisioning" + DEPROVISIONING = "deprovisioning" + SUCCEEDED = "succeeded" + FAILED = "failed" + NETWORK_SOURCE_DELETED = "networkSourceDeleted" -class UsageUnit(str, Enum): +class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the unit of measurement. """ - count = "Count" - bytes = "Bytes" - seconds = "Seconds" - percent = "Percent" - counts_per_second = "CountsPerSecond" - bytes_per_second = "BytesPerSecond" + COUNT = "Count" + BYTES = "Bytes" + SECONDS = "Seconds" + PERCENT = "Percent" + COUNTS_PER_SECOND = "CountsPerSecond" + BYTES_PER_SECOND = "BytesPerSecond" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py index 8ab61de95270..3df2370d66d3 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -56,22 +56,22 @@ def list( ): # type: (...) -> Iterable["models.ListContainerItems"] """Lists all containers and does not support a prefix like data plane. Also SRP today does not - return continuation token. + return continuation token. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param skip_token: Optional. Continuation token for the list operation. :type skip_token: str :param maxpagesize: Optional. Specified maximum number of containers that can be included in - the list. + the list. :type maxpagesize: str :param filter: Optional. When specified, only container names starting with the filter will be - listed. + listed. :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListContainerItems or the result of cls(response) @@ -79,14 +79,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListContainerItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -171,10 +174,13 @@ def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -193,13 +199,12 @@ def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -251,10 +256,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -273,13 +281,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -323,9 +330,12 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -343,7 +353,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -389,7 +399,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" @@ -456,10 +468,13 @@ def set_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_legal_hold.metadata['url'] # type: ignore @@ -478,13 +493,12 @@ def set_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -532,10 +546,13 @@ def clear_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.clear_legal_hold.metadata['url'] # type: ignore @@ -554,13 +571,12 @@ def clear_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -614,11 +630,14 @@ def create_or_update_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update_immutability_policy.metadata['url'] # type: ignore @@ -640,7 +659,7 @@ def create_or_update_immutability_policy( if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -649,7 +668,6 @@ def create_or_update_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -701,10 +719,13 @@ def get_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.get_immutability_policy.metadata['url'] # type: ignore @@ -725,7 +746,7 @@ def get_immutability_policy( header_parameters = {} # type: Dict[str, Any] if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -781,10 +802,13 @@ def delete_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.delete_immutability_policy.metadata['url'] # type: ignore @@ -804,7 +828,7 @@ def delete_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -858,9 +882,12 @@ def lock_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.lock_immutability_policy.metadata['url'] # type: ignore @@ -879,7 +906,7 @@ def lock_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -938,10 +965,13 @@ def extend_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.extend_immutability_policy.metadata['url'] # type: ignore @@ -961,7 +991,7 @@ def extend_immutability_policy( header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -970,7 +1000,6 @@ def extend_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -1020,10 +1049,13 @@ def lease( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LeaseContainerResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.lease.metadata['url'] # type: ignore @@ -1042,7 +1074,7 @@ def lease( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -1051,7 +1083,6 @@ def lease( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py index fd4958a3fe05..180fb7a283c4 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -55,11 +55,11 @@ def list( """List blob services of storage account. It returns a collection of one object named default. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BlobServiceItems or the result of cls(response) @@ -67,14 +67,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -147,11 +150,14 @@ def set_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" blob_services_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_service_properties.metadata['url'] # type: ignore @@ -170,13 +176,12 @@ def set_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobServiceProperties') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -215,10 +220,13 @@ def get_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" blob_services_name = "default" + accept = "application/json" # Construct URL url = self.get_service_properties.metadata['url'] # type: ignore @@ -236,7 +244,7 @@ def get_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py index 28d93330ffc5..d5161d6832e2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat @@ -66,9 +66,12 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileServiceItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -85,7 +88,7 @@ def list( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -130,11 +133,14 @@ def set_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" file_services_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_service_properties.metadata['url'] # type: ignore @@ -153,13 +159,12 @@ def set_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'FileServiceProperties') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -198,10 +203,13 @@ def get_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" file_services_name = "default" + accept = "application/json" # Construct URL url = self.get_service_properties.metadata['url'] # type: ignore @@ -219,7 +227,7 @@ def get_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py index d2f9973e5a4e..839b04b54251 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,19 +58,19 @@ def list( """Lists all shares. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param skip_token: Optional. Continuation token for the list operation. :type skip_token: str :param maxpagesize: Optional. Specified maximum number of shares that can be included in the - list. + list. :type maxpagesize: str :param filter: Optional. When specified, only share names starting with the filter will be - listed. + listed. :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FileShareItems or the result of cls(response) @@ -78,14 +78,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileShareItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -170,10 +173,13 @@ def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileShare"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -192,13 +198,12 @@ def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(file_share, 'FileShare') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -250,10 +255,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileShare"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -272,13 +280,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(file_share, 'FileShare') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -322,9 +329,12 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileShare"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -342,7 +352,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -388,9 +398,12 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -408,6 +421,7 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py index 82dec88fd9f2..ccb1c5c5d96a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat @@ -17,7 +17,7 @@ if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Optional, TypeVar + from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -48,6 +48,7 @@ def get( self, resource_group_name, # type: str account_name, # type: str + management_policy_name, # type: Union[str, "models.ManagementPolicyName"] **kwargs # type: Any ): # type: (...) -> "models.ManagementPolicy" @@ -60,16 +61,21 @@ def get( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2019_04_01.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagementPolicy, or the result of cls(response) :rtype: ~azure.mgmt.storage.v2019_04_01.models.ManagementPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagementPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" - management_policy_name = "default" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -87,7 +93,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -109,6 +115,7 @@ def create_or_update( self, resource_group_name, # type: str account_name, # type: str + management_policy_name, # type: Union[str, "models.ManagementPolicyName"] properties, # type: "models.ManagementPolicy" **kwargs # type: Any ): @@ -122,6 +129,9 @@ def create_or_update( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2019_04_01.models.ManagementPolicyName :param properties: The ManagementPolicy set to a storage account. :type properties: ~azure.mgmt.storage.v2019_04_01.models.ManagementPolicy :keyword callable cls: A custom type or function that will be passed the direct response @@ -130,11 +140,13 @@ def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagementPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" - management_policy_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -153,13 +165,12 @@ def create_or_update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPolicy') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -179,6 +190,7 @@ def delete( self, resource_group_name, # type: str account_name, # type: str + management_policy_name, # type: Union[str, "models.ManagementPolicyName"] **kwargs # type: Any ): # type: (...) -> None @@ -191,16 +203,20 @@ def delete( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2019_04_01.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" - management_policy_name = "default" # Construct URL url = self.delete.metadata['url'] # type: ignore diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_operations.py index a1dbcdc57f0e..778d1fe5ec31 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py index 9abb217d94fe..87cf0c29331c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageSkuListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py index e606ed9e292c..b5dd1795eab2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -65,10 +65,13 @@ def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -84,13 +87,12 @@ def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -115,10 +117,13 @@ def _create_initial( ): # type: (...) -> Optional["models.StorageAccount"] cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -136,13 +141,12 @@ def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -169,16 +173,16 @@ def begin_create( ): # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountCreateParameters @@ -254,7 +258,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" @@ -315,9 +321,12 @@ def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -336,7 +345,7 @@ def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -386,10 +395,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -407,13 +419,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -435,7 +446,7 @@ def list( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -443,14 +454,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -501,10 +515,10 @@ def list_by_resource_group( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -512,14 +526,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -590,9 +607,12 @@ def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -611,7 +631,7 @@ def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -655,10 +675,13 @@ def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -676,13 +699,12 @@ def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -723,10 +745,13 @@ def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -744,13 +769,12 @@ def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -791,10 +815,13 @@ def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -812,13 +839,12 @@ def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -842,7 +868,9 @@ def _failover_initial( ): # type: (...) -> None cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" @@ -883,15 +911,15 @@ def begin_failover( ): # type: (...) -> LROPoller[None] """Failover request can be triggered for a storage account in case of availability issues. The - failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS - accounts. The secondary cluster will become primary after failover. + failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS + accounts. The secondary cluster will become primary after failover. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -961,7 +989,9 @@ def revoke_user_delegation_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py index 7c330ad3155a..e2ac55ad557c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -52,7 +52,7 @@ def list_by_location( ): # type: (...) -> Iterable["models.UsageListResult"] """Gets the current usage count and the limit for the resources of the location under the - subscription. + subscription. :param location: The location of the Azure Storage resource. :type location: str @@ -62,14 +62,17 @@ def list_by_location( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/__init__.py index 7622b8635ba1..75a361344ca2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/__init__.py @@ -10,7 +10,7 @@ __all__ = ['StorageManagementClient'] try: - from ._patch import patch_sdk + from ._patch import patch_sdk # type: ignore patch_sdk() except ImportError: pass diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_configuration.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_configuration.py index d24f6667faba..7fa6a086c91b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_configuration.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -47,8 +48,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2019-06-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -61,6 +61,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_metadata.json b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_metadata.json index ffa8f3a18a06..a29be812e338 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_metadata.json +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_metadata.json @@ -4,7 +4,11 @@ "client": { "name": "StorageManagementClient", "filename": "_storage_management_client", - "description": "The Azure Storage Management API." + "description": "The Azure Storage Management API.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true }, "global_parameters": { "sync_method": { @@ -41,7 +45,10 @@ }, "config": { "credential": true, - "credential_scopes": ["https://management.azure.com/.default"] + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null }, "operation_groups": { "operations": "Operations", diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_storage_management_client.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_storage_management_client.py index fe6cfdddcf56..cb7d9fd2a62d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_storage_management_client.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_storage_management_client.py @@ -98,6 +98,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/__init__.py index 4e7988b5c172..9cfe0ace1ba9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/__init__.py @@ -6,5 +6,5 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._storage_management_client_async import StorageManagementClient +from ._storage_management_client import StorageManagementClient __all__ = ['StorageManagementClient'] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/_configuration_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/_configuration.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/_configuration_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/_configuration.py index 703d0075ec55..c154a9075825 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/_configuration_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/_configuration.py @@ -10,6 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -44,8 +45,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id self.api_version = "2019-06-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) self._configure(**kwargs) @@ -57,6 +57,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/_storage_management_client_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py similarity index 79% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/_storage_management_client_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py index c4106bd382d3..520198a23bdd 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/_storage_management_client_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py @@ -15,24 +15,24 @@ # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential -from ._configuration_async import StorageManagementClientConfiguration -from .operations_async import Operations -from .operations_async import SkusOperations -from .operations_async import StorageAccountsOperations -from .operations_async import UsagesOperations -from .operations_async import ManagementPoliciesOperations -from .operations_async import PrivateEndpointConnectionsOperations -from .operations_async import PrivateLinkResourcesOperations -from .operations_async import ObjectReplicationPoliciesOperations -from .operations_async import EncryptionScopesOperations -from .operations_async import BlobServicesOperations -from .operations_async import BlobContainersOperations -from .operations_async import FileServicesOperations -from .operations_async import FileSharesOperations -from .operations_async import QueueServicesOperations -from .operations_async import QueueOperations -from .operations_async import TableServicesOperations -from .operations_async import TableOperations +from ._configuration import StorageManagementClientConfiguration +from .operations import Operations +from .operations import SkusOperations +from .operations import StorageAccountsOperations +from .operations import UsagesOperations +from .operations import ManagementPoliciesOperations +from .operations import PrivateEndpointConnectionsOperations +from .operations import PrivateLinkResourcesOperations +from .operations import ObjectReplicationPoliciesOperations +from .operations import EncryptionScopesOperations +from .operations import BlobServicesOperations +from .operations import BlobContainersOperations +from .operations import FileServicesOperations +from .operations import FileSharesOperations +from .operations import QueueServicesOperations +from .operations import QueueOperations +from .operations import TableServicesOperations +from .operations import TableOperations from .. import models @@ -40,39 +40,39 @@ class StorageManagementClient(object): """The Azure Storage Management API. :ivar operations: Operations operations - :vartype operations: azure.mgmt.storage.v2019_06_01.aio.operations_async.Operations + :vartype operations: azure.mgmt.storage.v2019_06_01.aio.operations.Operations :ivar skus: SkusOperations operations - :vartype skus: azure.mgmt.storage.v2019_06_01.aio.operations_async.SkusOperations + :vartype skus: azure.mgmt.storage.v2019_06_01.aio.operations.SkusOperations :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.storage.v2019_06_01.aio.operations_async.StorageAccountsOperations + :vartype storage_accounts: azure.mgmt.storage.v2019_06_01.aio.operations.StorageAccountsOperations :ivar usages: UsagesOperations operations - :vartype usages: azure.mgmt.storage.v2019_06_01.aio.operations_async.UsagesOperations + :vartype usages: azure.mgmt.storage.v2019_06_01.aio.operations.UsagesOperations :ivar management_policies: ManagementPoliciesOperations operations - :vartype management_policies: azure.mgmt.storage.v2019_06_01.aio.operations_async.ManagementPoliciesOperations + :vartype management_policies: azure.mgmt.storage.v2019_06_01.aio.operations.ManagementPoliciesOperations :ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations - :vartype private_endpoint_connections: azure.mgmt.storage.v2019_06_01.aio.operations_async.PrivateEndpointConnectionsOperations + :vartype private_endpoint_connections: azure.mgmt.storage.v2019_06_01.aio.operations.PrivateEndpointConnectionsOperations :ivar private_link_resources: PrivateLinkResourcesOperations operations - :vartype private_link_resources: azure.mgmt.storage.v2019_06_01.aio.operations_async.PrivateLinkResourcesOperations + :vartype private_link_resources: azure.mgmt.storage.v2019_06_01.aio.operations.PrivateLinkResourcesOperations :ivar object_replication_policies: ObjectReplicationPoliciesOperations operations - :vartype object_replication_policies: azure.mgmt.storage.v2019_06_01.aio.operations_async.ObjectReplicationPoliciesOperations + :vartype object_replication_policies: azure.mgmt.storage.v2019_06_01.aio.operations.ObjectReplicationPoliciesOperations :ivar encryption_scopes: EncryptionScopesOperations operations - :vartype encryption_scopes: azure.mgmt.storage.v2019_06_01.aio.operations_async.EncryptionScopesOperations + :vartype encryption_scopes: azure.mgmt.storage.v2019_06_01.aio.operations.EncryptionScopesOperations :ivar blob_services: BlobServicesOperations operations - :vartype blob_services: azure.mgmt.storage.v2019_06_01.aio.operations_async.BlobServicesOperations + :vartype blob_services: azure.mgmt.storage.v2019_06_01.aio.operations.BlobServicesOperations :ivar blob_containers: BlobContainersOperations operations - :vartype blob_containers: azure.mgmt.storage.v2019_06_01.aio.operations_async.BlobContainersOperations + :vartype blob_containers: azure.mgmt.storage.v2019_06_01.aio.operations.BlobContainersOperations :ivar file_services: FileServicesOperations operations - :vartype file_services: azure.mgmt.storage.v2019_06_01.aio.operations_async.FileServicesOperations + :vartype file_services: azure.mgmt.storage.v2019_06_01.aio.operations.FileServicesOperations :ivar file_shares: FileSharesOperations operations - :vartype file_shares: azure.mgmt.storage.v2019_06_01.aio.operations_async.FileSharesOperations + :vartype file_shares: azure.mgmt.storage.v2019_06_01.aio.operations.FileSharesOperations :ivar queue_services: QueueServicesOperations operations - :vartype queue_services: azure.mgmt.storage.v2019_06_01.aio.operations_async.QueueServicesOperations + :vartype queue_services: azure.mgmt.storage.v2019_06_01.aio.operations.QueueServicesOperations :ivar queue: QueueOperations operations - :vartype queue: azure.mgmt.storage.v2019_06_01.aio.operations_async.QueueOperations + :vartype queue: azure.mgmt.storage.v2019_06_01.aio.operations.QueueOperations :ivar table_services: TableServicesOperations operations - :vartype table_services: azure.mgmt.storage.v2019_06_01.aio.operations_async.TableServicesOperations + :vartype table_services: azure.mgmt.storage.v2019_06_01.aio.operations.TableServicesOperations :ivar table: TableOperations operations - :vartype table: azure.mgmt.storage.v2019_06_01.aio.operations_async.TableOperations + :vartype table: azure.mgmt.storage.v2019_06_01.aio.operations.TableOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The ID of the target subscription. @@ -95,6 +95,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/__init__.py new file mode 100644 index 000000000000..397cf3f34ec0 --- /dev/null +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/__init__.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._skus_operations import SkusOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._usages_operations import UsagesOperations +from ._management_policies_operations import ManagementPoliciesOperations +from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations +from ._private_link_resources_operations import PrivateLinkResourcesOperations +from ._object_replication_policies_operations import ObjectReplicationPoliciesOperations +from ._encryption_scopes_operations import EncryptionScopesOperations +from ._blob_services_operations import BlobServicesOperations +from ._blob_containers_operations import BlobContainersOperations +from ._file_services_operations import FileServicesOperations +from ._file_shares_operations import FileSharesOperations +from ._queue_services_operations import QueueServicesOperations +from ._queue_operations import QueueOperations +from ._table_services_operations import TableServicesOperations +from ._table_operations import TableOperations + +__all__ = [ + 'Operations', + 'SkusOperations', + 'StorageAccountsOperations', + 'UsagesOperations', + 'ManagementPoliciesOperations', + 'PrivateEndpointConnectionsOperations', + 'PrivateLinkResourcesOperations', + 'ObjectReplicationPoliciesOperations', + 'EncryptionScopesOperations', + 'BlobServicesOperations', + 'BlobContainersOperations', + 'FileServicesOperations', + 'FileSharesOperations', + 'QueueServicesOperations', + 'QueueOperations', + 'TableServicesOperations', + 'TableOperations', +] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_blob_containers_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py similarity index 93% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_blob_containers_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py index 7dd55db64a8a..1980bfc86190 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_blob_containers_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -47,41 +47,44 @@ def list( account_name: str, maxpagesize: Optional[str] = None, filter: Optional[str] = None, - include: Optional[str] = "deleted", + include: Optional[Union[str, "models.ListContainersInclude"]] = None, **kwargs ) -> AsyncIterable["models.ListContainerItems"]: """Lists all containers and does not support a prefix like data plane. Also SRP today does not - return continuation token. + return continuation token. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of containers that can be included in - the list. + the list. :type maxpagesize: str :param filter: Optional. When specified, only container names starting with the filter will be - listed. + listed. :type filter: str :param include: Optional, used to include the properties for soft deleted blob containers. - :type include: str + :type include: str or ~azure.mgmt.storage.v2019_06_01.models.ListContainersInclude :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListContainerItems or the result of cls(response) :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2019_06_01.models.ListContainerItems] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListContainerItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -165,10 +168,13 @@ async def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -187,13 +193,12 @@ async def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -244,10 +249,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -266,13 +274,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -315,9 +322,12 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -335,7 +345,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -380,7 +390,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" @@ -446,10 +458,13 @@ async def set_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_legal_hold.metadata['url'] # type: ignore @@ -468,13 +483,12 @@ async def set_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -521,10 +535,13 @@ async def clear_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.clear_legal_hold.metadata['url'] # type: ignore @@ -543,13 +560,12 @@ async def clear_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -602,11 +618,14 @@ async def create_or_update_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update_immutability_policy.metadata['url'] # type: ignore @@ -628,7 +647,7 @@ async def create_or_update_immutability_policy( if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -637,7 +656,6 @@ async def create_or_update_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -688,10 +706,13 @@ async def get_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get_immutability_policy.metadata['url'] # type: ignore @@ -712,7 +733,7 @@ async def get_immutability_policy( header_parameters = {} # type: Dict[str, Any] if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -742,8 +763,8 @@ async def delete_immutability_policy( ) -> "models.ImmutabilityPolicy": """Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this - operation. Deleting a locked immutability policy is not allowed, only way is to delete the - container after deleting all blobs inside the container. + operation. Deleting a locked immutability policy is not allowed, the only way is to delete the + container after deleting all expired blobs inside the policy locked container. :param resource_group_name: The name of the resource group within the user's subscription. The name is case insensitive. @@ -767,10 +788,13 @@ async def delete_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.delete_immutability_policy.metadata['url'] # type: ignore @@ -790,7 +814,7 @@ async def delete_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -843,9 +867,12 @@ async def lock_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.lock_immutability_policy.metadata['url'] # type: ignore @@ -864,7 +891,7 @@ async def lock_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -922,10 +949,13 @@ async def extend_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.extend_immutability_policy.metadata['url'] # type: ignore @@ -945,7 +975,7 @@ async def extend_immutability_policy( header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -954,7 +984,6 @@ async def extend_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -1003,10 +1032,13 @@ async def lease( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LeaseContainerResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.lease.metadata['url'] # type: ignore @@ -1025,7 +1057,7 @@ async def lease( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -1034,7 +1066,6 @@ async def lease( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_blob_services_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_blob_services_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py index 39ae3f280828..e46fb6c2324b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_blob_services_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -50,11 +50,11 @@ def list( """List blob services of storage account. It returns a collection of one object named default. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BlobServiceItems or the result of cls(response) @@ -62,14 +62,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -141,11 +144,14 @@ async def set_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" blob_services_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_service_properties.metadata['url'] # type: ignore @@ -164,13 +170,12 @@ async def set_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobServiceProperties') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -208,10 +213,13 @@ async def get_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" blob_services_name = "default" + accept = "application/json" # Construct URL url = self.get_service_properties.metadata['url'] # type: ignore @@ -229,7 +237,7 @@ async def get_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_encryption_scopes_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py similarity index 93% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_encryption_scopes_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py index 80bba99aa220..00ef4ad06b1e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_encryption_scopes_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -73,10 +73,13 @@ async def put( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EncryptionScope"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.put.metadata['url'] # type: ignore @@ -95,13 +98,12 @@ async def put( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(encryption_scope, 'EncryptionScope') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -153,10 +155,13 @@ async def patch( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EncryptionScope"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.patch.metadata['url'] # type: ignore @@ -175,13 +180,12 @@ async def patch( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(encryption_scope, 'EncryptionScope') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -225,9 +229,12 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EncryptionScope"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -245,7 +252,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -273,11 +280,11 @@ def list( """Lists all the encryption scopes available under the specified storage account. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either EncryptionScopeListResult or the result of cls(response) @@ -285,14 +292,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EncryptionScopeListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_file_services_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_file_services_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py index d2cb6a1bb84f..56d84b89ef7c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_file_services_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, Optional, TypeVar import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -61,9 +61,12 @@ async def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileServiceItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -80,7 +83,7 @@ async def list( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -124,11 +127,14 @@ async def set_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" file_services_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_service_properties.metadata['url'] # type: ignore @@ -147,13 +153,12 @@ async def set_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'FileServiceProperties') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -191,10 +196,13 @@ async def get_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" file_services_name = "default" + accept = "application/json" # Construct URL url = self.get_service_properties.metadata['url'] # type: ignore @@ -212,7 +220,7 @@ async def get_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_file_shares_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py similarity index 93% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_file_shares_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py index f1c362fb7775..f251e063d562 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_file_shares_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,17 +53,17 @@ def list( """Lists all shares. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of shares that can be included in the - list. + list. :type maxpagesize: str :param filter: Optional. When specified, only share names starting with the filter will be - listed. + listed. :type filter: str :param expand: Optional, used to expand the properties within share's properties. :type expand: str @@ -73,14 +73,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileShareItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -164,10 +167,13 @@ async def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileShare"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -186,13 +192,12 @@ async def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(file_share, 'FileShare') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -243,10 +248,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileShare"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -265,13 +273,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(file_share, 'FileShare') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -317,9 +324,12 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileShare"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -339,7 +349,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -384,9 +394,12 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -404,6 +417,7 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -448,10 +462,13 @@ async def restore( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.restore.metadata['url'] # type: ignore @@ -470,12 +487,12 @@ async def restore( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(deleted_share, 'DeletedShare') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_management_policies_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py similarity index 86% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_management_policies_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py index a4ab24aa25a8..f49a48b1076f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_management_policies_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py @@ -5,10 +5,10 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, Callable, Dict, Generic, Optional, TypeVar +from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -44,6 +44,7 @@ async def get( self, resource_group_name: str, account_name: str, + management_policy_name: Union[str, "models.ManagementPolicyName"], **kwargs ) -> "models.ManagementPolicy": """Gets the managementpolicy associated with the specified storage account. @@ -55,16 +56,21 @@ async def get( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2019_06_01.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagementPolicy, or the result of cls(response) :rtype: ~azure.mgmt.storage.v2019_06_01.models.ManagementPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagementPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" - management_policy_name = "default" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -82,7 +88,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -104,6 +110,7 @@ async def create_or_update( self, resource_group_name: str, account_name: str, + management_policy_name: Union[str, "models.ManagementPolicyName"], properties: "models.ManagementPolicy", **kwargs ) -> "models.ManagementPolicy": @@ -116,6 +123,9 @@ async def create_or_update( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2019_06_01.models.ManagementPolicyName :param properties: The ManagementPolicy set to a storage account. :type properties: ~azure.mgmt.storage.v2019_06_01.models.ManagementPolicy :keyword callable cls: A custom type or function that will be passed the direct response @@ -124,11 +134,13 @@ async def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagementPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" - management_policy_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -147,13 +159,12 @@ async def create_or_update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPolicy') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -173,6 +184,7 @@ async def delete( self, resource_group_name: str, account_name: str, + management_policy_name: Union[str, "models.ManagementPolicyName"], **kwargs ) -> None: """Deletes the managementpolicy associated with the specified storage account. @@ -184,16 +196,20 @@ async def delete( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2019_06_01.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" - management_policy_name = "default" # Construct URL url = self.delete.metadata['url'] # type: ignore diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_object_replication_policies_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_object_replication_policies_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py index 86412e1ed8f0..ab79d1a66056 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_object_replication_policies_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -50,11 +50,11 @@ def list( """List the object replication policies associated with the storage account. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ObjectReplicationPolicies or the result of cls(response) @@ -62,14 +62,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ObjectReplicationPolicies"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -141,9 +144,12 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ObjectReplicationPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -161,7 +167,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -209,10 +215,13 @@ async def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ObjectReplicationPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -231,13 +240,12 @@ async def create_or_update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ObjectReplicationPolicy') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -279,9 +287,12 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -299,6 +310,7 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py similarity index 91% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py index 0d148f8183a3..e092268795b0 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_private_endpoint_connections_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_private_endpoint_connections_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py index 986a94f3a24a..4a156c1382f7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_private_endpoint_connections_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -50,11 +50,11 @@ def list( """List all the private endpoint connections associated with the storage account. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response) @@ -62,14 +62,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnectionListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -140,9 +143,12 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnection"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -160,7 +166,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -207,10 +213,13 @@ async def put( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnection"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.put.metadata['url'] # type: ignore @@ -229,13 +238,12 @@ async def put( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'PrivateEndpointConnection') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -277,9 +285,12 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -297,6 +308,7 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_private_link_resources_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_private_link_resources_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py index a7bf4e7ccb1a..eea58733a86b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_private_link_resources_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, Optional, TypeVar import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -61,9 +61,12 @@ async def list_by_storage_account( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateLinkResourceListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.list_by_storage_account.metadata['url'] # type: ignore @@ -80,7 +83,7 @@ async def list_by_storage_account( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_queue_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_queue_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py index 15808f67d5d7..525d1d41f92f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_queue_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -71,10 +71,13 @@ async def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageQueue"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -93,13 +96,12 @@ async def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(queue, 'StorageQueue') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -145,10 +147,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageQueue"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -167,13 +172,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(queue, 'StorageQueue') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -216,9 +220,12 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageQueue"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -236,7 +243,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -281,9 +288,12 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -301,6 +311,7 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -326,17 +337,17 @@ def list( """Gets a list of all the queues under the specified storage account. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param maxpagesize: Optional, a maximum number of queues that should be included in a list - queue response. + queue response. :type maxpagesize: str :param filter: Optional, When specified, only the queues with a name starting with the given - filter will be listed. + filter will be listed. :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListQueueResource or the result of cls(response) @@ -344,14 +355,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListQueueResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_queue_services_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_queue_services_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py index 2b4bdc3ebc90..6bffda8106a8 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_queue_services_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, Optional, TypeVar import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -61,9 +61,12 @@ async def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListQueueServices"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -80,7 +83,7 @@ async def list( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -124,11 +127,14 @@ async def set_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.QueueServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" queue_service_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_service_properties.metadata['url'] # type: ignore @@ -147,13 +153,12 @@ async def set_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'QueueServiceProperties') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -191,10 +196,13 @@ async def get_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.QueueServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" queue_service_name = "default" + accept = "application/json" # Construct URL url = self.get_service_properties.metadata['url'] # type: ignore @@ -212,7 +220,7 @@ async def get_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_skus_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_skus_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py index 322a19ed8218..bb89ba9bc864 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_skus_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -53,14 +53,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageSkuListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_storage_accounts_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py index 9ed244f73fa3..8214f5a98f53 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod @@ -60,10 +60,13 @@ async def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -79,13 +82,12 @@ async def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -109,10 +111,13 @@ async def _create_initial( **kwargs ) -> Optional["models.StorageAccount"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -130,13 +135,12 @@ async def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -162,16 +166,16 @@ async def begin_create( **kwargs ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountCreateParameters @@ -246,7 +250,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" @@ -307,9 +313,12 @@ async def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -328,7 +337,7 @@ async def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -377,10 +386,13 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -398,13 +410,12 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -425,7 +436,7 @@ def list( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -433,14 +444,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -490,10 +504,10 @@ def list_by_resource_group( **kwargs ) -> AsyncIterable["models.StorageAccountListResult"]: """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -501,14 +515,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -578,9 +595,12 @@ async def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -599,7 +619,7 @@ async def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -642,10 +662,13 @@ async def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -663,13 +686,12 @@ async def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -709,10 +731,13 @@ async def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -730,13 +755,12 @@ async def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -776,10 +800,13 @@ async def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -797,13 +824,12 @@ async def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -826,7 +852,9 @@ async def _failover_initial( **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" @@ -866,15 +894,15 @@ async def begin_failover( **kwargs ) -> AsyncLROPoller[None]: """Failover request can be triggered for a storage account in case of availability issues. The - failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS - accounts. The secondary cluster will become primary after failover. + failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS + accounts. The secondary cluster will become primary after failover. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -930,10 +958,13 @@ async def _restore_blob_ranges_initial( **kwargs ) -> "models.BlobRestoreStatus": cls = kwargs.pop('cls', None) # type: ClsType["models.BlobRestoreStatus"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self._restore_blob_ranges_initial.metadata['url'] # type: ignore @@ -951,13 +982,12 @@ async def _restore_blob_ranges_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobRestoreParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -987,11 +1017,11 @@ async def begin_restore_blob_ranges( """Restore blobs in the specified blob ranges. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for restore blob ranges. :type parameters: ~azure.mgmt.storage.v2019_06_01.models.BlobRestoreParameters @@ -1066,7 +1096,9 @@ async def revoke_user_delegation_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_table_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_table_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py index 60ebc5dc9a5c..05e859931052 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_table_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -67,9 +67,12 @@ async def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Table"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -87,7 +90,7 @@ async def create( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.put(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -131,9 +134,12 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Table"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -151,7 +157,7 @@ async def update( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.patch(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -195,9 +201,12 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Table"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -215,7 +224,7 @@ async def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -259,9 +268,12 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -279,6 +291,7 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -302,11 +315,11 @@ def list( """Gets a list of all the tables under the specified storage account. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListTableResource or the result of cls(response) @@ -314,14 +327,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListTableResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_table_services_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_table_services_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py index 9a11a829461c..148e3cad219f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_table_services_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, Optional, TypeVar import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -61,9 +61,12 @@ async def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListTableServices"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -80,7 +83,7 @@ async def list( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -124,11 +127,14 @@ async def set_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.TableServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" table_service_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_service_properties.metadata['url'] # type: ignore @@ -147,13 +153,12 @@ async def set_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'TableServiceProperties') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -191,10 +196,13 @@ async def get_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.TableServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" table_service_name = "default" + accept = "application/json" # Construct URL url = self.get_service_properties.metadata['url'] # type: ignore @@ -212,7 +220,7 @@ async def get_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_usages_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py similarity index 92% rename from sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_usages_operations_async.py rename to sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py index becbfa6543de..e4fc4b51e60e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_usages_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat @@ -47,7 +47,7 @@ def list_by_location( **kwargs ) -> AsyncIterable["models.UsageListResult"]: """Gets the current usage count and the limit for the resources of the location under the - subscription. + subscription. :param location: The location of the Azure Storage resource. :type location: str @@ -57,14 +57,17 @@ def list_by_location( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/__init__.py deleted file mode 100644 index b6e37015f05d..000000000000 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/__init__.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -from ._operations_async import Operations -from ._skus_operations_async import SkusOperations -from ._storage_accounts_operations_async import StorageAccountsOperations -from ._usages_operations_async import UsagesOperations -from ._management_policies_operations_async import ManagementPoliciesOperations -from ._private_endpoint_connections_operations_async import PrivateEndpointConnectionsOperations -from ._private_link_resources_operations_async import PrivateLinkResourcesOperations -from ._object_replication_policies_operations_async import ObjectReplicationPoliciesOperations -from ._encryption_scopes_operations_async import EncryptionScopesOperations -from ._blob_services_operations_async import BlobServicesOperations -from ._blob_containers_operations_async import BlobContainersOperations -from ._file_services_operations_async import FileServicesOperations -from ._file_shares_operations_async import FileSharesOperations -from ._queue_services_operations_async import QueueServicesOperations -from ._queue_operations_async import QueueOperations -from ._table_services_operations_async import TableServicesOperations -from ._table_operations_async import TableOperations - -__all__ = [ - 'Operations', - 'SkusOperations', - 'StorageAccountsOperations', - 'UsagesOperations', - 'ManagementPoliciesOperations', - 'PrivateEndpointConnectionsOperations', - 'PrivateLinkResourcesOperations', - 'ObjectReplicationPoliciesOperations', - 'EncryptionScopesOperations', - 'BlobServicesOperations', - 'BlobContainersOperations', - 'FileServicesOperations', - 'FileSharesOperations', - 'QueueServicesOperations', - 'QueueOperations', - 'TableServicesOperations', - 'TableOperations', -] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/__init__.py index 8d759b696b29..771c1adb94f5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/__init__.py @@ -249,6 +249,8 @@ LeaseDuration, LeaseState, LeaseStatus, + ListContainersInclude, + ManagementPolicyName, MinimumTlsVersion, Permissions, PrivateEndpointConnectionProvisioningState, @@ -259,6 +261,7 @@ ReasonCode, RootSquashType, RoutingChoice, + RuleType, Services, ShareAccessTier, SignedResource, @@ -402,6 +405,8 @@ 'LeaseDuration', 'LeaseState', 'LeaseStatus', + 'ListContainersInclude', + 'ManagementPolicyName', 'MinimumTlsVersion', 'Permissions', 'PrivateEndpointConnectionProvisioningState', @@ -412,6 +417,7 @@ 'ReasonCode', 'RootSquashType', 'RoutingChoice', + 'RuleType', 'Services', 'ShareAccessTier', 'SignedResource', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models.py index 712f5fcbdd58..d743b73695b4 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models.py @@ -2437,8 +2437,6 @@ def __init__( class ManagementPolicyRule(msrest.serialization.Model): """An object that wraps the Lifecycle rule. Each rule is uniquely defined by name. - Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. :param enabled: Rule is enabled if set to true. @@ -2446,15 +2444,15 @@ class ManagementPolicyRule(msrest.serialization.Model): :param name: Required. A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. :type name: str - :ivar type: Required. The valid value is Lifecycle. Default value: "Lifecycle". - :vartype type: str + :param type: Required. The valid value is Lifecycle. Possible values include: "Lifecycle". + :type type: str or ~azure.mgmt.storage.v2019_06_01.models.RuleType :param definition: Required. An object that defines the Lifecycle rule. :type definition: ~azure.mgmt.storage.v2019_06_01.models.ManagementPolicyDefinition """ _validation = { 'name': {'required': True}, - 'type': {'required': True, 'constant': True}, + 'type': {'required': True}, 'definition': {'required': True}, } @@ -2465,8 +2463,6 @@ class ManagementPolicyRule(msrest.serialization.Model): 'definition': {'key': 'definition', 'type': 'ManagementPolicyDefinition'}, } - type = "Lifecycle" - def __init__( self, **kwargs @@ -2474,6 +2470,7 @@ def __init__( super(ManagementPolicyRule, self).__init__(**kwargs) self.enabled = kwargs.get('enabled', None) self.name = kwargs['name'] + self.type = kwargs['type'] self.definition = kwargs['definition'] @@ -3078,20 +3075,24 @@ class RestorePolicyProperties(msrest.serialization.Model): :param days: how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days. :type days: int - :ivar last_enabled_time: Returns the date and time the restore policy was last enabled. + :ivar last_enabled_time: Deprecated in favor of minRestoreTime property. :vartype last_enabled_time: ~datetime.datetime + :ivar min_restore_time: Returns the minimum date and time that the restore can be started. + :vartype min_restore_time: ~datetime.datetime """ _validation = { 'enabled': {'required': True}, 'days': {'maximum': 365, 'minimum': 1}, 'last_enabled_time': {'readonly': True}, + 'min_restore_time': {'readonly': True}, } _attribute_map = { 'enabled': {'key': 'enabled', 'type': 'bool'}, 'days': {'key': 'days', 'type': 'int'}, 'last_enabled_time': {'key': 'lastEnabledTime', 'type': 'iso-8601'}, + 'min_restore_time': {'key': 'minRestoreTime', 'type': 'iso-8601'}, } def __init__( @@ -3102,6 +3103,7 @@ def __init__( self.enabled = kwargs['enabled'] self.days = kwargs.get('days', None) self.last_enabled_time = None + self.min_restore_time = None class Restriction(msrest.serialization.Model): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models_py3.py index 9d2385010723..cb4c84f4546c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models_py3.py @@ -2600,8 +2600,6 @@ def __init__( class ManagementPolicyRule(msrest.serialization.Model): """An object that wraps the Lifecycle rule. Each rule is uniquely defined by name. - Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. :param enabled: Rule is enabled if set to true. @@ -2609,15 +2607,15 @@ class ManagementPolicyRule(msrest.serialization.Model): :param name: Required. A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. :type name: str - :ivar type: Required. The valid value is Lifecycle. Default value: "Lifecycle". - :vartype type: str + :param type: Required. The valid value is Lifecycle. Possible values include: "Lifecycle". + :type type: str or ~azure.mgmt.storage.v2019_06_01.models.RuleType :param definition: Required. An object that defines the Lifecycle rule. :type definition: ~azure.mgmt.storage.v2019_06_01.models.ManagementPolicyDefinition """ _validation = { 'name': {'required': True}, - 'type': {'required': True, 'constant': True}, + 'type': {'required': True}, 'definition': {'required': True}, } @@ -2628,12 +2626,11 @@ class ManagementPolicyRule(msrest.serialization.Model): 'definition': {'key': 'definition', 'type': 'ManagementPolicyDefinition'}, } - type = "Lifecycle" - def __init__( self, *, name: str, + type: Union[str, "RuleType"], definition: "ManagementPolicyDefinition", enabled: Optional[bool] = None, **kwargs @@ -2641,6 +2638,7 @@ def __init__( super(ManagementPolicyRule, self).__init__(**kwargs) self.enabled = enabled self.name = name + self.type = type self.definition = definition @@ -3305,20 +3303,24 @@ class RestorePolicyProperties(msrest.serialization.Model): :param days: how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days. :type days: int - :ivar last_enabled_time: Returns the date and time the restore policy was last enabled. + :ivar last_enabled_time: Deprecated in favor of minRestoreTime property. :vartype last_enabled_time: ~datetime.datetime + :ivar min_restore_time: Returns the minimum date and time that the restore can be started. + :vartype min_restore_time: ~datetime.datetime """ _validation = { 'enabled': {'required': True}, 'days': {'maximum': 365, 'minimum': 1}, 'last_enabled_time': {'readonly': True}, + 'min_restore_time': {'readonly': True}, } _attribute_map = { 'enabled': {'key': 'enabled', 'type': 'bool'}, 'days': {'key': 'days', 'type': 'int'}, 'last_enabled_time': {'key': 'lastEnabledTime', 'type': 'iso-8601'}, + 'min_restore_time': {'key': 'minRestoreTime', 'type': 'iso-8601'}, } def __init__( @@ -3332,6 +3334,7 @@ def __init__( self.enabled = enabled self.days = days self.last_enabled_time = None + self.min_restore_time = None class Restriction(msrest.serialization.Model): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py index a8bdfcf95a5e..5ddc70280bcc 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py @@ -6,93 +6,111 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum - -class AccessTier(str, Enum): +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AccessTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Required for storage accounts where kind = BlobStorage. The access tier used for billing. """ - hot = "Hot" - cool = "Cool" + HOT = "Hot" + COOL = "Cool" -class AccountStatus(str, Enum): +class AccountStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status indicating whether the primary location of the storage account is available or unavailable. """ - available = "available" - unavailable = "unavailable" + AVAILABLE = "available" + UNAVAILABLE = "unavailable" -class BlobRestoreProgressStatus(str, Enum): +class BlobRestoreProgressStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed. """ - in_progress = "InProgress" - complete = "Complete" - failed = "Failed" + IN_PROGRESS = "InProgress" + COMPLETE = "Complete" + FAILED = "Failed" -class Bypass(str, Enum): +class Bypass(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. """ - none = "None" - logging = "Logging" - metrics = "Metrics" - azure_services = "AzureServices" + NONE = "None" + LOGGING = "Logging" + METRICS = "Metrics" + AZURE_SERVICES = "AzureServices" -class CorsRuleAllowedMethodsItem(str, Enum): +class CorsRuleAllowedMethodsItem(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - delete = "DELETE" - get = "GET" - head = "HEAD" - merge = "MERGE" - post = "POST" - options = "OPTIONS" - put = "PUT" + DELETE = "DELETE" + GET = "GET" + HEAD = "HEAD" + MERGE = "MERGE" + POST = "POST" + OPTIONS = "OPTIONS" + PUT = "PUT" -class DefaultAction(str, Enum): +class DefaultAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies the default action of allow or deny when no other rules match. """ - allow = "Allow" - deny = "Deny" + ALLOW = "Allow" + DENY = "Deny" -class DirectoryServiceOptions(str, Enum): +class DirectoryServiceOptions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Indicates the directory service used. """ - none = "None" - aadds = "AADDS" - ad = "AD" + NONE = "None" + AADDS = "AADDS" + AD = "AD" -class EnabledProtocols(str, Enum): +class EnabledProtocols(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The authentication protocol that is used for the file share. Can only be specified when creating a share. """ - smb = "SMB" - nfs = "NFS" + SMB = "SMB" + NFS = "NFS" -class EncryptionScopeSource(str, Enum): +class EncryptionScopeSource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. """ - microsoft_storage = "Microsoft.Storage" - microsoft_key_vault = "Microsoft.KeyVault" + MICROSOFT_STORAGE = "Microsoft.Storage" + MICROSOFT_KEY_VAULT = "Microsoft.KeyVault" -class EncryptionScopeState(str, Enum): +class EncryptionScopeState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. """ - enabled = "Enabled" - disabled = "Disabled" + ENABLED = "Enabled" + DISABLED = "Disabled" -class GeoReplicationStatus(str, Enum): +class GeoReplicationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when @@ -100,281 +118,295 @@ class GeoReplicationStatus(str, Enum): temporarily unavailable. """ - live = "Live" - bootstrap = "Bootstrap" - unavailable = "Unavailable" + LIVE = "Live" + BOOTSTRAP = "Bootstrap" + UNAVAILABLE = "Unavailable" -class HttpProtocol(str, Enum): +class HttpProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The protocol permitted for a request made with the account SAS. """ - https_http = "https,http" - https = "https" + HTTPS_HTTP = "https,http" + HTTPS = "https" -class ImmutabilityPolicyState(str, Enum): +class ImmutabilityPolicyState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. """ - locked = "Locked" - unlocked = "Unlocked" + LOCKED = "Locked" + UNLOCKED = "Unlocked" -class ImmutabilityPolicyUpdateType(str, Enum): +class ImmutabilityPolicyUpdateType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. """ - put = "put" - lock = "lock" - extend = "extend" + PUT = "put" + LOCK = "lock" + EXTEND = "extend" -class KeyPermission(str, Enum): +class KeyPermission(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Permissions for the key -- read-only or full permissions. """ - read = "Read" - full = "Full" + READ = "Read" + FULL = "Full" -class KeySource(str, Enum): +class KeySource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault """ - microsoft_storage = "Microsoft.Storage" - microsoft_keyvault = "Microsoft.Keyvault" + MICROSOFT_STORAGE = "Microsoft.Storage" + MICROSOFT_KEYVAULT = "Microsoft.Keyvault" -class KeyType(str, Enum): +class KeyType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used. """ - service = "Service" - account = "Account" + SERVICE = "Service" + ACCOUNT = "Account" -class Kind(str, Enum): +class Kind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Indicates the type of storage account. """ - storage = "Storage" - storage_v2 = "StorageV2" - blob_storage = "BlobStorage" - file_storage = "FileStorage" - block_blob_storage = "BlockBlobStorage" + STORAGE = "Storage" + STORAGE_V2 = "StorageV2" + BLOB_STORAGE = "BlobStorage" + FILE_STORAGE = "FileStorage" + BLOCK_BLOB_STORAGE = "BlockBlobStorage" -class LargeFileSharesState(str, Enum): +class LargeFileSharesState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. """ - disabled = "Disabled" - enabled = "Enabled" + DISABLED = "Disabled" + ENABLED = "Enabled" -class LeaseContainerRequestAction(str, Enum): +class LeaseContainerRequestAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies the lease action. Can be one of the available actions. """ - acquire = "Acquire" - renew = "Renew" - change = "Change" - release = "Release" - break_enum = "Break" + ACQUIRE = "Acquire" + RENEW = "Renew" + CHANGE = "Change" + RELEASE = "Release" + BREAK_ENUM = "Break" -class LeaseDuration(str, Enum): +class LeaseDuration(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. """ - infinite = "Infinite" - fixed = "Fixed" + INFINITE = "Infinite" + FIXED = "Fixed" -class LeaseState(str, Enum): +class LeaseState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Lease state of the container. """ - available = "Available" - leased = "Leased" - expired = "Expired" - breaking = "Breaking" - broken = "Broken" + AVAILABLE = "Available" + LEASED = "Leased" + EXPIRED = "Expired" + BREAKING = "Breaking" + BROKEN = "Broken" -class LeaseStatus(str, Enum): +class LeaseStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The lease status of the container. """ - locked = "Locked" - unlocked = "Unlocked" + LOCKED = "Locked" + UNLOCKED = "Unlocked" + +class ListContainersInclude(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + DELETED = "deleted" + +class ManagementPolicyName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): -class MinimumTlsVersion(str, Enum): + DEFAULT = "default" + +class MinimumTlsVersion(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. """ - tls1_0 = "TLS1_0" - tls1_1 = "TLS1_1" - tls1_2 = "TLS1_2" + TLS1_0 = "TLS1_0" + TLS1_1 = "TLS1_1" + TLS1_2 = "TLS1_2" -class Permissions(str, Enum): +class Permissions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). """ - r = "r" - d = "d" - w = "w" - l = "l" - a = "a" - c = "c" - u = "u" - p = "p" + R = "r" + D = "d" + W = "w" + L = "l" + A = "a" + C = "c" + U = "u" + P = "p" -class PrivateEndpointConnectionProvisioningState(str, Enum): +class PrivateEndpointConnectionProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The current provisioning state. """ - succeeded = "Succeeded" - creating = "Creating" - deleting = "Deleting" - failed = "Failed" + SUCCEEDED = "Succeeded" + CREATING = "Creating" + DELETING = "Deleting" + FAILED = "Failed" -class PrivateEndpointServiceConnectionStatus(str, Enum): +class PrivateEndpointServiceConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The private endpoint connection status. """ - pending = "Pending" - approved = "Approved" - rejected = "Rejected" + PENDING = "Pending" + APPROVED = "Approved" + REJECTED = "Rejected" -class ProvisioningState(str, Enum): +class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the status of the storage account at the time the operation was called. """ - creating = "Creating" - resolving_dns = "ResolvingDNS" - succeeded = "Succeeded" + CREATING = "Creating" + RESOLVING_DNS = "ResolvingDNS" + SUCCEEDED = "Succeeded" -class PublicAccess(str, Enum): +class PublicAccess(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies whether data in the container may be accessed publicly and the level of access. """ - container = "Container" - blob = "Blob" - none = "None" + CONTAINER = "Container" + BLOB = "Blob" + NONE = "None" -class Reason(str, Enum): +class Reason(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. """ - account_name_invalid = "AccountNameInvalid" - already_exists = "AlreadyExists" + ACCOUNT_NAME_INVALID = "AccountNameInvalid" + ALREADY_EXISTS = "AlreadyExists" -class ReasonCode(str, Enum): +class ReasonCode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. """ - quota_id = "QuotaId" - not_available_for_subscription = "NotAvailableForSubscription" + QUOTA_ID = "QuotaId" + NOT_AVAILABLE_FOR_SUBSCRIPTION = "NotAvailableForSubscription" -class RootSquashType(str, Enum): +class RootSquashType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The property is for NFS share only. The default is NoRootSquash. """ - no_root_squash = "NoRootSquash" - root_squash = "RootSquash" - all_squash = "AllSquash" + NO_ROOT_SQUASH = "NoRootSquash" + ROOT_SQUASH = "RootSquash" + ALL_SQUASH = "AllSquash" -class RoutingChoice(str, Enum): +class RoutingChoice(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Routing Choice defines the kind of network routing opted by the user. """ - microsoft_routing = "MicrosoftRouting" - internet_routing = "InternetRouting" + MICROSOFT_ROUTING = "MicrosoftRouting" + INTERNET_ROUTING = "InternetRouting" + +class RuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The valid value is Lifecycle + """ + + LIFECYCLE = "Lifecycle" -class Services(str, Enum): +class Services(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). """ - b = "b" - q = "q" - t = "t" - f = "f" + B = "b" + Q = "q" + T = "t" + F = "f" -class ShareAccessTier(str, Enum): +class ShareAccessTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium. """ - transaction_optimized = "TransactionOptimized" - hot = "Hot" - cool = "Cool" - premium = "Premium" + TRANSACTION_OPTIMIZED = "TransactionOptimized" + HOT = "Hot" + COOL = "Cool" + PREMIUM = "Premium" -class SignedResource(str, Enum): +class SignedResource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). """ - b = "b" - c = "c" - f = "f" - s = "s" + B = "b" + C = "c" + F = "f" + S = "s" -class SignedResourceTypes(str, Enum): +class SignedResourceTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. """ - s = "s" - c = "c" - o = "o" + S = "s" + C = "c" + O = "o" -class SkuName(str, Enum): +class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. """ - standard_lrs = "Standard_LRS" - standard_grs = "Standard_GRS" - standard_ragrs = "Standard_RAGRS" - standard_zrs = "Standard_ZRS" - premium_lrs = "Premium_LRS" - premium_zrs = "Premium_ZRS" - standard_gzrs = "Standard_GZRS" - standard_ragzrs = "Standard_RAGZRS" + STANDARD_LRS = "Standard_LRS" + STANDARD_GRS = "Standard_GRS" + STANDARD_RAGRS = "Standard_RAGRS" + STANDARD_ZRS = "Standard_ZRS" + PREMIUM_LRS = "Premium_LRS" + PREMIUM_ZRS = "Premium_ZRS" + STANDARD_GZRS = "Standard_GZRS" + STANDARD_RAGZRS = "Standard_RAGZRS" -class SkuTier(str, Enum): +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The SKU tier. This is based on the SKU name. """ - standard = "Standard" - premium = "Premium" + STANDARD = "Standard" + PREMIUM = "Premium" -class State(str, Enum): +class State(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the state of virtual network rule. """ - provisioning = "provisioning" - deprovisioning = "deprovisioning" - succeeded = "succeeded" - failed = "failed" - network_source_deleted = "networkSourceDeleted" + PROVISIONING = "provisioning" + DEPROVISIONING = "deprovisioning" + SUCCEEDED = "succeeded" + FAILED = "failed" + NETWORK_SOURCE_DELETED = "networkSourceDeleted" -class StorageAccountExpand(str, Enum): +class StorageAccountExpand(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - geo_replication_stats = "geoReplicationStats" - blob_restore_status = "blobRestoreStatus" + GEO_REPLICATION_STATS = "geoReplicationStats" + BLOB_RESTORE_STATUS = "blobRestoreStatus" -class UsageUnit(str, Enum): +class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Gets the unit of measurement. """ - count = "Count" - bytes = "Bytes" - seconds = "Seconds" - percent = "Percent" - counts_per_second = "CountsPerSecond" - bytes_per_second = "BytesPerSecond" + COUNT = "Count" + BYTES = "Bytes" + SECONDS = "Seconds" + PERCENT = "Percent" + COUNTS_PER_SECOND = "CountsPerSecond" + BYTES_PER_SECOND = "BytesPerSecond" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py index 53b725c813da..e255d104ec1a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -51,42 +51,45 @@ def list( account_name, # type: str maxpagesize=None, # type: Optional[str] filter=None, # type: Optional[str] - include="deleted", # type: Optional[str] + include=None, # type: Optional[Union[str, "models.ListContainersInclude"]] **kwargs # type: Any ): # type: (...) -> Iterable["models.ListContainerItems"] """Lists all containers and does not support a prefix like data plane. Also SRP today does not - return continuation token. + return continuation token. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of containers that can be included in - the list. + the list. :type maxpagesize: str :param filter: Optional. When specified, only container names starting with the filter will be - listed. + listed. :type filter: str :param include: Optional, used to include the properties for soft deleted blob containers. - :type include: str + :type include: str or ~azure.mgmt.storage.v2019_06_01.models.ListContainersInclude :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListContainerItems or the result of cls(response) :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2019_06_01.models.ListContainerItems] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListContainerItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -171,10 +174,13 @@ def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -193,13 +199,12 @@ def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -251,10 +256,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -273,13 +281,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -323,9 +330,12 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobContainer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -343,7 +353,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -389,7 +399,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" @@ -456,10 +468,13 @@ def set_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_legal_hold.metadata['url'] # type: ignore @@ -478,13 +493,12 @@ def set_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -532,10 +546,13 @@ def clear_legal_hold( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LegalHold"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.clear_legal_hold.metadata['url'] # type: ignore @@ -554,13 +571,12 @@ def clear_legal_hold( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -614,11 +630,14 @@ def create_or_update_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update_immutability_policy.metadata['url'] # type: ignore @@ -640,7 +659,7 @@ def create_or_update_immutability_policy( if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -649,7 +668,6 @@ def create_or_update_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -701,10 +719,13 @@ def get_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get_immutability_policy.metadata['url'] # type: ignore @@ -725,7 +746,7 @@ def get_immutability_policy( header_parameters = {} # type: Dict[str, Any] if if_match is not None: header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -756,8 +777,8 @@ def delete_immutability_policy( # type: (...) -> "models.ImmutabilityPolicy" """Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this - operation. Deleting a locked immutability policy is not allowed, only way is to delete the - container after deleting all blobs inside the container. + operation. Deleting a locked immutability policy is not allowed, the only way is to delete the + container after deleting all expired blobs inside the policy locked container. :param resource_group_name: The name of the resource group within the user's subscription. The name is case insensitive. @@ -781,10 +802,13 @@ def delete_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) immutability_policy_name = "default" api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.delete_immutability_policy.metadata['url'] # type: ignore @@ -804,7 +828,7 @@ def delete_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -858,9 +882,12 @@ def lock_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.lock_immutability_policy.metadata['url'] # type: ignore @@ -879,7 +906,7 @@ def lock_immutability_policy( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -938,10 +965,13 @@ def extend_immutability_policy( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ImmutabilityPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.extend_immutability_policy.metadata['url'] # type: ignore @@ -961,7 +991,7 @@ def extend_immutability_policy( header_parameters = {} # type: Dict[str, Any] header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -970,7 +1000,6 @@ def extend_immutability_policy( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -1020,10 +1049,13 @@ def lease( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LeaseContainerResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.lease.metadata['url'] # type: ignore @@ -1042,7 +1074,7 @@ def lease( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: @@ -1051,7 +1083,6 @@ def lease( body_content = None body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py index 91649245ffa1..eac083659cc8 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -55,11 +55,11 @@ def list( """List blob services of storage account. It returns a collection of one object named default. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BlobServiceItems or the result of cls(response) @@ -67,14 +67,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -147,11 +150,14 @@ def set_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" blob_services_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_service_properties.metadata['url'] # type: ignore @@ -170,13 +176,12 @@ def set_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobServiceProperties') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -215,10 +220,13 @@ def get_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.BlobServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" blob_services_name = "default" + accept = "application/json" # Construct URL url = self.get_service_properties.metadata['url'] # type: ignore @@ -236,7 +244,7 @@ def get_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py index f6cbc6bdfa08..03fb8254fd79 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -78,10 +78,13 @@ def put( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EncryptionScope"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.put.metadata['url'] # type: ignore @@ -100,13 +103,12 @@ def put( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(encryption_scope, 'EncryptionScope') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -159,10 +161,13 @@ def patch( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EncryptionScope"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.patch.metadata['url'] # type: ignore @@ -181,13 +186,12 @@ def patch( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(encryption_scope, 'EncryptionScope') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -232,9 +236,12 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EncryptionScope"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -252,7 +259,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -281,11 +288,11 @@ def list( """Lists all the encryption scopes available under the specified storage account. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either EncryptionScopeListResult or the result of cls(response) @@ -293,14 +300,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EncryptionScopeListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py index 1b2b7659a853..661f69fbaddb 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat @@ -66,9 +66,12 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileServiceItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -85,7 +88,7 @@ def list( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -130,11 +133,14 @@ def set_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" file_services_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_service_properties.metadata['url'] # type: ignore @@ -153,13 +159,12 @@ def set_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'FileServiceProperties') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -198,10 +203,13 @@ def get_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" file_services_name = "default" + accept = "application/json" # Construct URL url = self.get_service_properties.metadata['url'] # type: ignore @@ -219,7 +227,7 @@ def get_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py index d03b65635d3e..62da76fe52f5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,17 +58,17 @@ def list( """Lists all shares. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param maxpagesize: Optional. Specified maximum number of shares that can be included in the - list. + list. :type maxpagesize: str :param filter: Optional. When specified, only share names starting with the filter will be - listed. + listed. :type filter: str :param expand: Optional, used to expand the properties within share's properties. :type expand: str @@ -78,14 +78,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileShareItems"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -170,10 +173,13 @@ def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileShare"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -192,13 +198,12 @@ def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(file_share, 'FileShare') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -250,10 +255,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileShare"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -272,13 +280,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(file_share, 'FileShare') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -325,9 +332,12 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FileShare"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -347,7 +357,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -393,9 +403,12 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -413,6 +426,7 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -458,10 +472,13 @@ def restore( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.restore.metadata['url'] # type: ignore @@ -480,12 +497,12 @@ def restore( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(deleted_share, 'DeletedShare') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py index 95e9a993de61..bad35bd90715 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat @@ -17,7 +17,7 @@ if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Optional, TypeVar + from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -48,6 +48,7 @@ def get( self, resource_group_name, # type: str account_name, # type: str + management_policy_name, # type: Union[str, "models.ManagementPolicyName"] **kwargs # type: Any ): # type: (...) -> "models.ManagementPolicy" @@ -60,16 +61,21 @@ def get( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2019_06_01.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagementPolicy, or the result of cls(response) :rtype: ~azure.mgmt.storage.v2019_06_01.models.ManagementPolicy :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagementPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" - management_policy_name = "default" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -87,7 +93,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -109,6 +115,7 @@ def create_or_update( self, resource_group_name, # type: str account_name, # type: str + management_policy_name, # type: Union[str, "models.ManagementPolicyName"] properties, # type: "models.ManagementPolicy" **kwargs # type: Any ): @@ -122,6 +129,9 @@ def create_or_update( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2019_06_01.models.ManagementPolicyName :param properties: The ManagementPolicy set to a storage account. :type properties: ~azure.mgmt.storage.v2019_06_01.models.ManagementPolicy :keyword callable cls: A custom type or function that will be passed the direct response @@ -130,11 +140,13 @@ def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagementPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" - management_policy_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -153,13 +165,12 @@ def create_or_update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPolicy') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -179,6 +190,7 @@ def delete( self, resource_group_name, # type: str account_name, # type: str + management_policy_name, # type: Union[str, "models.ManagementPolicyName"] **kwargs # type: Any ): # type: (...) -> None @@ -191,16 +203,20 @@ def delete( Storage account names must be between 3 and 24 characters in length and use numbers and lower- case letters only. :type account_name: str + :param management_policy_name: The name of the Storage Account Management Policy. It should + always be 'default'. + :type management_policy_name: str or ~azure.mgmt.storage.v2019_06_01.models.ManagementPolicyName :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" - management_policy_name = "default" # Construct URL url = self.delete.metadata['url'] # type: ignore diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py index db5446bce705..2c5c7be4d789 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -55,11 +55,11 @@ def list( """List the object replication policies associated with the storage account. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ObjectReplicationPolicies or the result of cls(response) @@ -67,14 +67,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ObjectReplicationPolicies"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -147,9 +150,12 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ObjectReplicationPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -167,7 +173,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -216,10 +222,13 @@ def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ObjectReplicationPolicy"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -238,13 +247,12 @@ def create_or_update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ObjectReplicationPolicy') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -287,9 +295,12 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -307,6 +318,7 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_operations.py index 8a78d8c60d6b..7aff7131ca1d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py index cc78ce2e8b09..a9ebc63dd73f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -55,11 +55,11 @@ def list( """List all the private endpoint connections associated with the storage account. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response) @@ -67,14 +67,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnectionListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -146,9 +149,12 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnection"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -166,7 +172,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -214,10 +220,13 @@ def put( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnection"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.put.metadata['url'] # type: ignore @@ -236,13 +245,12 @@ def put( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'PrivateEndpointConnection') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -285,9 +293,12 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -305,6 +316,7 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py index b2f0772cc3d5..4792ac6500bf 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat @@ -66,9 +66,12 @@ def list_by_storage_account( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateLinkResourceListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.list_by_storage_account.metadata['url'] # type: ignore @@ -85,7 +88,7 @@ def list_by_storage_account( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py index db6f8691a441..af488d4d3204 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -76,10 +76,13 @@ def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageQueue"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -98,13 +101,12 @@ def create( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(queue, 'StorageQueue') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -151,10 +153,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageQueue"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -173,13 +178,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(queue, 'StorageQueue') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -223,9 +227,12 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageQueue"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -243,7 +250,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -289,9 +296,12 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -309,6 +319,7 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -335,17 +346,17 @@ def list( """Gets a list of all the queues under the specified storage account. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param maxpagesize: Optional, a maximum number of queues that should be included in a list - queue response. + queue response. :type maxpagesize: str :param filter: Optional, When specified, only the queues with a name starting with the given - filter will be listed. + filter will be listed. :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListQueueResource or the result of cls(response) @@ -353,14 +364,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListQueueResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py index a6c043104d2d..0ca287200298 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat @@ -66,9 +66,12 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListQueueServices"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -85,7 +88,7 @@ def list( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -130,11 +133,14 @@ def set_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.QueueServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" queue_service_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_service_properties.metadata['url'] # type: ignore @@ -153,13 +159,12 @@ def set_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'QueueServiceProperties') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -198,10 +203,13 @@ def get_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.QueueServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" queue_service_name = "default" + accept = "application/json" # Construct URL url = self.get_service_properties.metadata['url'] # type: ignore @@ -219,7 +227,7 @@ def get_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py index 7ccef498545a..56c0cd046fe0 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -58,14 +58,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageSkuListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py index 64d4a5d66145..b0c2402242d9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -65,10 +65,13 @@ def check_name_availability( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CheckNameAvailabilityResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.check_name_availability.metadata['url'] # type: ignore @@ -84,13 +87,12 @@ def check_name_availability( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -115,10 +117,13 @@ def _create_initial( ): # type: (...) -> Optional["models.StorageAccount"] cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self._create_initial.metadata['url'] # type: ignore @@ -136,13 +141,12 @@ def _create_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -169,16 +173,16 @@ def begin_create( ): # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. + already created and a subsequent create request is issued with different properties, the + account properties will be updated. If an account is already created and a subsequent create or + update request is issued with the exact same set of properties, the request will succeed. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for the created account. :type parameters: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountCreateParameters @@ -254,7 +258,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" @@ -316,9 +322,12 @@ def get_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get_properties.metadata['url'] # type: ignore @@ -337,7 +346,7 @@ def get_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -387,10 +396,13 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -408,13 +420,12 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -436,7 +447,7 @@ def list( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. + returned; use the ListKeys operation for this. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -444,14 +455,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -502,10 +516,10 @@ def list_by_resource_group( ): # type: (...) -> Iterable["models.StorageAccountListResult"] """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. + are not returned; use the ListKeys operation for this. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) @@ -513,14 +527,17 @@ def list_by_resource_group( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -591,9 +608,12 @@ def list_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore @@ -612,7 +632,7 @@ def list_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -656,10 +676,13 @@ def regenerate_key( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccountListKeysResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.regenerate_key.metadata['url'] # type: ignore @@ -677,13 +700,12 @@ def regenerate_key( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -724,10 +746,13 @@ def list_account_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListAccountSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_account_sas.metadata['url'] # type: ignore @@ -745,13 +770,12 @@ def list_account_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -792,10 +816,13 @@ def list_service_sas( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListServiceSasResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.list_service_sas.metadata['url'] # type: ignore @@ -813,13 +840,12 @@ def list_service_sas( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -843,7 +869,9 @@ def _failover_initial( ): # type: (...) -> None cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" @@ -884,15 +912,15 @@ def begin_failover( ): # type: (...) -> LROPoller[None] """Failover request can be triggered for a storage account in case of availability issues. The - failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS - accounts. The secondary cluster will become primary after failover. + failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS + accounts. The secondary cluster will become primary after failover. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -949,10 +977,13 @@ def _restore_blob_ranges_initial( ): # type: (...) -> "models.BlobRestoreStatus" cls = kwargs.pop('cls', None) # type: ClsType["models.BlobRestoreStatus"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self._restore_blob_ranges_initial.metadata['url'] # type: ignore @@ -970,13 +1001,12 @@ def _restore_blob_ranges_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobRestoreParameters') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -1007,11 +1037,11 @@ def begin_restore_blob_ranges( """Restore blobs in the specified blob ranges. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :param parameters: The parameters to provide for restore blob ranges. :type parameters: ~azure.mgmt.storage.v2019_06_01.models.BlobRestoreParameters @@ -1087,7 +1117,9 @@ def revoke_user_delegation_keys( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_operations.py index 818ec9084187..431f3c440132 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -72,9 +72,12 @@ def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Table"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -92,7 +95,7 @@ def create( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.put(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -137,9 +140,12 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Table"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -157,7 +163,7 @@ def update( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.patch(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -202,9 +208,12 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Table"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -222,7 +231,7 @@ def get( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -267,9 +276,12 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -287,6 +299,7 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -311,11 +324,11 @@ def list( """Gets a list of all the tables under the specified storage account. :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. + name is case insensitive. :type resource_group_name: str :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. + Storage account names must be between 3 and 24 characters in length and use numbers and lower- + case letters only. :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ListTableResource or the result of cls(response) @@ -323,14 +336,17 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListTableResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py index 5a4a93d3673a..2f3bc9f76d55 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat @@ -66,9 +66,12 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListTableServices"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -85,7 +88,7 @@ def list( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -130,11 +133,14 @@ def set_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.TableServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" table_service_name = "default" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.set_service_properties.metadata['url'] # type: ignore @@ -153,13 +159,12 @@ def set_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'TableServiceProperties') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -198,10 +203,13 @@ def get_service_properties( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.TableServiceProperties"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" table_service_name = "default" + accept = "application/json" # Construct URL url = self.get_service_properties.metadata['url'] # type: ignore @@ -219,7 +227,7 @@ def get_service_properties( # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py index 013f258f41f1..1f909d4d09af 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -52,7 +52,7 @@ def list_by_location( ): # type: (...) -> Iterable["models.UsageListResult"] """Gets the current usage count and the limit for the resources of the location under the - subscription. + subscription. :param location: The location of the Azure Storage resource. :type location: str @@ -62,14 +62,17 @@ def list_by_location( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.UsageListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL diff --git a/sdk/storage/azure-mgmt-storage/tests/recordings/test_cli_mgmt_storage.test_storage.yaml b/sdk/storage/azure-mgmt-storage/tests/recordings/test_cli_mgmt_storage.test_storage.yaml index e6904f69d154..3622d049a772 100644 --- a/sdk/storage/azure-mgmt-storage/tests/recordings/test_cli_mgmt_storage.test_storage.yaml +++ b/sdk/storage/azure-mgmt-storage/tests/recordings/test_cli_mgmt_storage.test_storage.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc?api-version=2019-06-01 response: body: string: '' @@ -30,11 +30,11 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Sun, 28 Jun 2020 06:09:51 GMT + - Tue, 15 Sep 2020 07:25:25 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/asyncoperations/ac278141-6b05-448a-beec-5673b275d20f?monitor=true&api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/asyncoperations/bb2bdb23-b152-4243-b0e2-2b824e0cb87a?monitor=true&api-version=2019-06-01 pragma: - no-cache server: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1189' status: code: 202 message: Accepted @@ -58,21 +58,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/asyncoperations/ac278141-6b05-448a-beec-5673b275d20f?monitor=true&api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/asyncoperations/bb2bdb23-b152-4243-b0e2-2b824e0cb87a?monitor=true&api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:09:51.0173972Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:09:51.0173972Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:09:50.9392454Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc","name":"storageaccountxxyyzzccc","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:25:25.3087039Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:25:25.3087039Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-09-15T07:25:25.1993405Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzccc.dfs.core.windows.net/","web":"https://storageaccountxxyyzzccc.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzccc.blob.core.windows.net/","queue":"https://storageaccountxxyyzzccc.queue.core.windows.net/","table":"https://storageaccountxxyyzzccc.table.core.windows.net/","file":"https://storageaccountxxyyzzccc.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' headers: cache-control: - no-cache content-length: - - '1471' + - '1487' content-type: - application/json date: - - Sun, 28 Jun 2020 06:10:08 GMT + - Tue, 15 Sep 2020 07:25:42 GMT expires: - '-1' pragma: @@ -105,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111?api-version=2020-06-01 response: body: - string: "{\r\n \"name\": \"virualnetwork111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111\",\r\n - \ \"etag\": \"W/\\\"7edad613-9593-4e50-9a57-2a74c6309c65\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"f188f150-84dd-4f6d-8a9b-34717d683b3a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": - [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n - \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n - \ \"enableVmProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virualnetwork111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111\"\ + ,\r\n \"etag\": \"W/\\\"67a0b364-dcef-4904-bd81-141f34942372\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ + \ \"resourceGuid\": \"c038b5b3-9685-4ef1-ba92-42b06f758cb3\",\r\n \"\ + addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ + \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/8210efd6-74b8-4a56-83b4-39026e14e07d?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/bdeb5ebb-78f7-41c5-aac6-8a1ea75fe03d?api-version=2020-06-01 cache-control: - no-cache content-length: @@ -130,7 +131,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:10:15 GMT + - Tue, 15 Sep 2020 07:25:50 GMT expires: - '-1' pragma: @@ -143,9 +144,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8f597146-8e55-45a8-9274-e7146637a729 + - 86ccdbd8-3e82-4b73-82fb-8883a1535995 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -159,9 +160,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/8210efd6-74b8-4a56-83b4-39026e14e07d?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/bdeb5ebb-78f7-41c5-aac6-8a1ea75fe03d?api-version=2020-06-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -173,7 +174,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:10:19 GMT + - Tue, 15 Sep 2020 07:25:53 GMT expires: - '-1' pragma: @@ -190,7 +191,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a876d891-2893-4c8c-a492-f037b234ea3b + - 73e1fc3f-2104-4bde-942a-37ba472a98fe status: code: 200 message: OK @@ -204,19 +205,20 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111?api-version=2020-06-01 response: body: - string: "{\r\n \"name\": \"virualnetwork111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111\",\r\n - \ \"etag\": \"W/\\\"3ad86f4b-b8bd-47d2-9b4c-1babf09a69a5\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"f188f150-84dd-4f6d-8a9b-34717d683b3a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": - [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n - \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n - \ \"enableVmProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virualnetwork111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111\"\ + ,\r\n \"etag\": \"W/\\\"3a1b84ac-2822-4466-a0ce-ede51915bab7\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ + \ \"resourceGuid\": \"c038b5b3-9685-4ef1-ba92-42b06f758cb3\",\r\n \"\ + addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ + \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}" headers: cache-control: - no-cache @@ -225,9 +227,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:10:19 GMT + - Tue, 15 Sep 2020 07:25:53 GMT etag: - - W/"3ad86f4b-b8bd-47d2-9b4c-1babf09a69a5" + - W/"3a1b84ac-2822-4466-a0ce-ede51915bab7" expires: - '-1' pragma: @@ -244,7 +246,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3c4a0195-423d-45fa-b887-f7ab8b07d674 + - 99ce670a-791c-4c72-bde2-cebf7a4dfb42 status: code: 200 message: OK @@ -263,20 +265,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111?api-version=2020-06-01 response: body: - string: "{\r\n \"name\": \"subnet111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\",\r\n - \ \"etag\": \"W/\\\"d0f16321-58e2-4f00-8bd8-72946be00e7d\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n - \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnet111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\ + ,\r\n \"etag\": \"W/\\\"7149dab4-c9ca-4b6c-b00b-0c536e82561d\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ + : \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Disabled\"\ + \r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/3c167a47-9bf4-4fa7-a10c-ef985cd5d0b2?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/beb8d42c-9704-45f1-ab5f-c29ce6693d71?api-version=2020-06-01 cache-control: - no-cache content-length: @@ -284,7 +286,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:10:20 GMT + - Tue, 15 Sep 2020 07:25:54 GMT expires: - '-1' pragma: @@ -297,9 +299,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 68bdca48-7ffc-4878-a6b5-dfca92fe96db + - 3a0fe66a-e891-474a-a676-f4f0cb62c590 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' status: code: 201 message: Created @@ -313,9 +315,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/3c167a47-9bf4-4fa7-a10c-ef985cd5d0b2?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/beb8d42c-9704-45f1-ab5f-c29ce6693d71?api-version=2020-06-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -327,7 +329,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:10:23 GMT + - Tue, 15 Sep 2020 07:25:57 GMT expires: - '-1' pragma: @@ -344,7 +346,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - de82e096-03b2-4bb9-b7bd-5636b783da97 + - c76e6389-163a-43b6-965a-83c593bf4cd4 status: code: 200 message: OK @@ -358,17 +360,17 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111?api-version=2020-06-01 response: body: - string: "{\r\n \"name\": \"subnet111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\",\r\n - \ \"etag\": \"W/\\\"b923729c-a40a-403c-af49-a8878863e847\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n - \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnet111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\ + ,\r\n \"etag\": \"W/\\\"d7a93e16-e211-4be7-bc7f-18e95bf550ff\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ + : \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Disabled\"\ + \r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: cache-control: - no-cache @@ -377,9 +379,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:10:23 GMT + - Tue, 15 Sep 2020 07:25:57 GMT etag: - - W/"b923729c-a40a-403c-af49-a8878863e847" + - W/"d7a93e16-e211-4be7-bc7f-18e95bf550ff" expires: - '-1' pragma: @@ -396,14 +398,14 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 26d80aee-1c72-4a4c-bdd1-dd3f9cf9f769 + - 1f6be884-ffa8-4aa2-8a03-42d5db5ae399 status: code: 200 message: OK - request: body: 'b''b\''{"location": "westeurope", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111"}, "privateLinkServiceConnections": [{"name": "myconnection", "properties": {"privateLinkServiceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc", "groupIds": ["blob"]}}]}}\''''' headers: Accept: @@ -413,45 +415,47 @@ interactions: Connection: - keep-alive Content-Length: - - '620' + - '622' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx?api-version=2020-06-01 response: body: - string: "{\r\n \"name\": \"endpoint123xxx\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx\",\r\n - \ \"etag\": \"W/\\\"3467a377-fce0-421d-8e8f-7270b04a342b\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westeurope\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"3c4ba9db-20a0-4d05-a16f-fd5c80bc7c62\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx/privateLinkServiceConnections/myconnection\",\r\n - \ \"etag\": \"W/\\\"3467a377-fce0-421d-8e8f-7270b04a342b\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn\",\r\n - \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": - {\r\n \"status\": \"Approved\",\r\n \"description\": - \"\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n - \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n - \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n - \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpoint123xxx.nic.f05f6dab-e745-4e6f-bfea-7aed774595ee\"\r\n - \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" + string: "{\r\n \"name\": \"endpoint123xxx\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx\"\ + ,\r\n \"etag\": \"W/\\\"537e91e6-6bfa-4d1e-97eb-35d32f19b4a9\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"\ + westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ + ,\r\n \"resourceGuid\": \"71a7d362-ca23-4e92-b762-b4956614a670\",\r\n \ + \ \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"\ + myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx/privateLinkServiceConnections/myconnection\"\ + ,\r\n \"etag\": \"W/\\\"537e91e6-6bfa-4d1e-97eb-35d32f19b4a9\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc\"\ + ,\r\n \"groupIds\": [\r\n \"blob\"\r\n ],\r\n\ + \ \"privateLinkServiceConnectionState\": {\r\n \"status\"\ + : \"Approved\",\r\n \"description\": \"\",\r\n \"actionsRequired\"\ + : \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\ + \r\n }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\ + \n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\ + \r\n },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpoint123xxx.nic.4d041cb6-d706-4a20-a36f-e2e2660b1389\"\ + \r\n }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/b87d89fe-4676-4488-aa57-1ef84c752f9c?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/b450f3f2-95d3-4418-8b17-994858c20676?api-version=2020-06-01 cache-control: - no-cache content-length: - - '2227' + - '2229' content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:10:29 GMT + - Tue, 15 Sep 2020 07:26:01 GMT expires: - '-1' pragma: @@ -464,9 +468,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d4a369fb-b14e-4ce8-9213-93f02010764f + - 5aca3924-6be0-4d87-a547-599dfa63789b x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1196' status: code: 201 message: Created @@ -480,99 +484,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/b87d89fe-4676-4488-aa57-1ef84c752f9c?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sun, 28 Jun 2020 06:10:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 9cfd6af7-2648-46e3-85ee-214743321eb9 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/b87d89fe-4676-4488-aa57-1ef84c752f9c?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sun, 28 Jun 2020 06:10:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 5395f944-efcd-470e-9d9b-7b0189f2ae49 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/b87d89fe-4676-4488-aa57-1ef84c752f9c?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/b450f3f2-95d3-4418-8b17-994858c20676?api-version=2020-06-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -584,7 +498,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:10:59 GMT + - Tue, 15 Sep 2020 07:26:11 GMT expires: - '-1' pragma: @@ -601,7 +515,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e74ecac0-5352-436f-8d0b-5c5797e1cc30 + - 64ed63b2-7fc7-4c89-a706-68a182e9b6ea status: code: 200 message: OK @@ -615,41 +529,45 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx?api-version=2020-06-01 response: body: - string: "{\r\n \"name\": \"endpoint123xxx\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx\",\r\n - \ \"etag\": \"W/\\\"025098dc-8108-4027-9364-4b8c508b440b\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westeurope\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"3c4ba9db-20a0-4d05-a16f-fd5c80bc7c62\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx/privateLinkServiceConnections/myconnection\",\r\n - \ \"etag\": \"W/\\\"025098dc-8108-4027-9364-4b8c508b440b\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn\",\r\n - \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": - {\r\n \"status\": \"Approved\",\r\n \"description\": - \"Auto-Approved\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n - \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n - \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n - \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpoint123xxx.nic.f05f6dab-e745-4e6f-bfea-7aed774595ee\"\r\n - \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": - \"storageaccountxxyyzzn.blob.core.windows.net\",\r\n \"ipAddresses\": - [\r\n \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"endpoint123xxx\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx\"\ + ,\r\n \"etag\": \"W/\\\"a3aaf10b-b2ec-4af8-af31-a1ff711ded67\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"\ + westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"resourceGuid\": \"71a7d362-ca23-4e92-b762-b4956614a670\",\r\n \ + \ \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"\ + myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx/privateLinkServiceConnections/myconnection\"\ + ,\r\n \"etag\": \"W/\\\"a3aaf10b-b2ec-4af8-af31-a1ff711ded67\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc\"\ + ,\r\n \"groupIds\": [\r\n \"blob\"\r\n ],\r\n\ + \ \"privateLinkServiceConnectionState\": {\r\n \"status\"\ + : \"Approved\",\r\n \"description\": \"Auto-Approved\",\r\n \ + \ \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \ + \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\ + \r\n }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\ + \n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\ + \r\n },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpoint123xxx.nic.4d041cb6-d706-4a20-a36f-e2e2660b1389\"\ + \r\n }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \ + \ \"fqdn\": \"storageaccountxxyyzzccc.blob.core.windows.net\",\r\n \ + \ \"ipAddresses\": [\r\n \"10.0.0.4\"\r\n ]\r\n }\r\n\ + \ ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2388' + - '2392' content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:10:59 GMT + - Tue, 15 Sep 2020 07:26:12 GMT etag: - - W/"025098dc-8108-4027-9364-4b8c508b440b" + - W/"a3aaf10b-b2ec-4af8-af31-a1ff711ded67" expires: - '-1' pragma: @@ -666,7 +584,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 65a7175f-07da-44bb-a23e-814728e877f0 + - 791955fe-4bee-4acb-ad2d-e95f0b661426 status: code: 200 message: OK @@ -684,9 +602,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/fileServices/default?api-version=2019-06-01 response: body: string: '{}' @@ -698,7 +616,7 @@ interactions: content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:00 GMT + - Tue, 15 Sep 2020 07:26:13 GMT expires: - '-1' pragma: @@ -714,7 +632,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1188' status: code: 200 message: OK @@ -741,22 +659,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[{"allowedOrigins":["http://www.contoso.com","http://www.fabrikam.com"],"allowedMethods":["GET","HEAD","POST","OPTIONS","MERGE","PUT"],"maxAgeInSeconds":100,"exposedHeaders":["x-ms-meta-*"],"allowedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x-ms-meta-target*"]},{"allowedOrigins":["*"],"allowedMethods":["GET"],"maxAgeInSeconds":2,"exposedHeaders":["*"],"allowedHeaders":["*"]},{"allowedOrigins":["http://www.abc23.com","https://www.fabrikam.com/*"],"allowedMethods":["GET","PUT"],"maxAgeInSeconds":2000,"exposedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[{"allowedOrigins":["http://www.contoso.com","http://www.fabrikam.com"],"allowedMethods":["GET","HEAD","POST","OPTIONS","MERGE","PUT"],"maxAgeInSeconds":100,"exposedHeaders":["x-ms-meta-*"],"allowedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x-ms-meta-target*"]},{"allowedOrigins":["*"],"allowedMethods":["GET"],"maxAgeInSeconds":2,"exposedHeaders":["*"],"allowedHeaders":["*"]},{"allowedOrigins":["http://www.abc23.com","https://www.fabrikam.com/*"],"allowedMethods":["GET","PUT"],"maxAgeInSeconds":2000,"exposedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x -ms-meta-target*"],"allowedHeaders":["x-ms-meta-12345675754564*"]}]},"defaultServiceVersion":"2017-07-29","deleteRetentionPolicy":{"enabled":true,"days":300}}}' headers: cache-control: - no-cache content-length: - - '1065' + - '1067' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:01 GMT + - Tue, 15 Sep 2020 07:26:14 GMT expires: - '-1' pragma: @@ -772,7 +690,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1187' status: code: 200 message: OK @@ -790,21 +708,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-06-28T06:11:02.9310848Z","lastModifiedTime":"2020-06-28T06:11:02.9310848Z","state":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-09-15T07:26:14.6885772Z","lastModifiedTime":"2020-09-15T07:26:14.6885772Z","state":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '529' + - '531' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:02 GMT + - Tue, 15 Sep 2020 07:26:14 GMT expires: - '-1' pragma: @@ -816,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1186' status: code: 201 message: Created @@ -838,21 +756,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/managementPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default","name":"DefaultManagementPolicy","type":"Microsoft.Storage/storageAccounts/managementPolicies","properties":{"policy":{"rules":[{"enabled":true,"name":"olcmtest","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":30.0},"tierToArchive":{"daysAfterModificationGreaterThan":90.0},"delete":{"daysAfterModificationGreaterThan":1000.0}},"snapshot":{"delete":{"daysAfterCreationGreaterThan":30.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["olcmtestcontainer"]}}}]},"lastModifiedTime":"2020-06-28T06:11:03.4586709Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/managementPolicies/default","name":"DefaultManagementPolicy","type":"Microsoft.Storage/storageAccounts/managementPolicies","properties":{"policy":{"rules":[{"enabled":true,"name":"olcmtest","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":30.0},"tierToArchive":{"daysAfterModificationGreaterThan":90.0},"delete":{"daysAfterModificationGreaterThan":1000.0}},"snapshot":{"delete":{"daysAfterCreationGreaterThan":30.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["olcmtestcontainer"]}}}]},"lastModifiedTime":"2020-09-15T07:26:15.2465230Z"}}' headers: cache-control: - no-cache content-length: - - '819' + - '821' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:02 GMT + - Tue, 15 Sep 2020 07:26:15 GMT expires: - '-1' pragma: @@ -868,7 +786,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1185' status: code: 200 message: OK @@ -886,23 +804,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares"}' headers: cache-control: - no-cache content-length: - - '357' + - '359' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:03 GMT + - Tue, 15 Sep 2020 07:26:15 GMT etag: - - '"0x8D81B2A09D17431"' + - '"0x8D85948A1BBF069"' expires: - '-1' pragma: @@ -914,7 +832,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1184' status: code: 201 message: Created @@ -928,21 +846,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","name":"storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:09:51.0173972Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:09:51.0173972Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:09:50.9392454Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc","name":"storageaccountxxyyzzccc","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/privateEndpointConnections/storageaccountxxyyzzccc.ba159244-4e40-4c1f-a073-d2d265bacdff","name":"storageaccountxxyyzzccc.ba159244-4e40-4c1f-a073-d2d265bacdff","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:25:25.3087039Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:25:25.3087039Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-09-15T07:25:25.1993405Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzccc.dfs.core.windows.net/","web":"https://storageaccountxxyyzzccc.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzccc.blob.core.windows.net/","queue":"https://storageaccountxxyyzzccc.queue.core.windows.net/","table":"https://storageaccountxxyyzzccc.table.core.windows.net/","file":"https://storageaccountxxyyzzccc.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' headers: cache-control: - no-cache content-length: - - '2301' + - '2323' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:03 GMT + - Tue, 15 Sep 2020 07:26:16 GMT expires: - '-1' pragma: @@ -975,21 +893,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/privateEndpointConnections/storageaccountxxyyzzccc.ba159244-4e40-4c1f-a073-d2d265bacdff?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","name":"storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/privateEndpointConnections/storageaccountxxyyzzccc.ba159244-4e40-4c1f-a073-d2d265bacdff","name":"storageaccountxxyyzzccc.ba159244-4e40-4c1f-a073-d2d265bacdff","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}' headers: cache-control: - no-cache content-length: - - '830' + - '836' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:07 GMT + - Tue, 15 Sep 2020 07:26:18 GMT expires: - '-1' pragma: @@ -1005,7 +923,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1183' status: code: 200 message: OK @@ -1023,23 +941,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers"}' headers: cache-control: - no-cache content-length: - - '365' + - '367' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:07 GMT + - Tue, 15 Sep 2020 07:26:19 GMT etag: - - '"0x8D81B2A0BD2D324"' + - '"0x8D85948A3E35332"' expires: - '-1' pragma: @@ -1051,7 +969,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1182' status: code: 201 message: Created @@ -1070,23 +988,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2a0c1965ea\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d85948a42eaf73\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' headers: cache-control: - no-cache content-length: - - '542' + - '544' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:08 GMT + - Tue, 15 Sep 2020 07:26:20 GMT etag: - - '"8d81b2a0c1965ea"' + - '"8d85948a42eaf73"' expires: - '-1' pragma: @@ -1102,7 +1020,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1181' status: code: 200 message: OK @@ -1118,25 +1036,25 @@ interactions: Content-Length: - '0' If-Match: - - '"8d81b2a0c1965ea"' + - '"8d85948a42eaf73"' User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2a0c5e8ba0\"","properties":{"immutabilityPeriodSinceCreationInDays":0,"state":"Deleted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d85948a47fbf66\"","properties":{"immutabilityPeriodSinceCreationInDays":0,"state":"Deleted"}}' headers: cache-control: - no-cache content-length: - - '507' + - '509' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:08 GMT + - Tue, 15 Sep 2020 07:26:20 GMT etag: - - '"8d81b2a0c5e8ba0"' + - '"8d85948a47fbf66"' expires: - '-1' pragma: @@ -1152,7 +1070,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14997' status: code: 200 message: OK @@ -1171,23 +1089,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2a0ca14c87\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d85948a4c748da\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' headers: cache-control: - no-cache content-length: - - '542' + - '544' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:08 GMT + - Tue, 15 Sep 2020 07:26:21 GMT etag: - - '"8d81b2a0ca14c87"' + - '"8d85948a4c748da"' expires: - '-1' pragma: @@ -1203,7 +1121,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1189' + - '1180' status: code: 200 message: OK @@ -1217,23 +1135,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2a0ca14c87\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d85948a4c748da\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' headers: cache-control: - no-cache content-length: - - '542' + - '544' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:09 GMT + - Tue, 15 Sep 2020 07:26:21 GMT etag: - - '"8d81b2a0ca14c87"' + - '"8d85948a4c748da"' expires: - '-1' pragma: @@ -1261,23 +1179,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers","etag":"\"0x8D81B2A0CA341B5\"","properties":{"deleted":false,"remainingRetentionDays":0,"defaultEncryptionScope":"$account-encryption-key","denyEncryptionScopeOverride":false,"publicAccess":"None","leaseStatus":"Unlocked","leaseState":"Available","lastModifiedTime":"2020-06-28T06:11:08.0000000Z","immutabilityPolicy":{"etag":"\"8d81b2a0ca14c87\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"},"updateHistory":[{"allowProtectedAppendWrites":true,"update":"put","immutabilityPeriodSinceCreationInDays":3,"timestamp":"2020-06-28T06:11:08.7555500Z","objectIdentifier":"b8d54648-e120-4a1f-8da0-38788dc0090c","tenantId":"00000000-0000-0000-0000-000000000000"}]},"legalHold":{"hasLegalHold":false,"tags":[]},"hasImmutabilityPolicy":true,"hasLegalHold":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers","etag":"\"0x8D85948A4CC2F40\"","properties":{"deleted":false,"remainingRetentionDays":0,"defaultEncryptionScope":"$account-encryption-key","denyEncryptionScopeOverride":false,"publicAccess":"None","leaseStatus":"Unlocked","leaseState":"Available","lastModifiedTime":"2020-09-15T07:26:21.0000000Z","immutabilityPolicy":{"etag":"\"8d85948a4c748da\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"},"updateHistory":[{"allowProtectedAppendWrites":true,"update":"put","immutabilityPeriodSinceCreationInDays":3,"timestamp":"2020-09-15T07:26:21.0278640Z","objectIdentifier":"123743cc-88ef-49ee-920e-13958fe5697d","tenantId":"00000000-0000-0000-0000-000000000000"}]},"legalHold":{"hasLegalHold":false,"tags":[]},"hasImmutabilityPolicy":true,"hasLegalHold":false}}' headers: cache-control: - no-cache content-length: - - '1182' + - '1184' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:09 GMT + - Tue, 15 Sep 2020 07:26:21 GMT etag: - - '"0x8D81B2A0CA341B5"' + - '"0x8D85948A4CC2F40"' expires: - '-1' pragma: @@ -1305,21 +1223,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/privateEndpointConnections/storageaccountxxyyzzccc.ba159244-4e40-4c1f-a073-d2d265bacdff?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","name":"storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/privateEndpointConnections/storageaccountxxyyzzccc.ba159244-4e40-4c1f-a073-d2d265bacdff","name":"storageaccountxxyyzzccc.ba159244-4e40-4c1f-a073-d2d265bacdff","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}' headers: cache-control: - no-cache content-length: - - '830' + - '836' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:09 GMT + - Tue, 15 Sep 2020 07:26:21 GMT expires: - '-1' pragma: @@ -1347,23 +1265,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01&$expand=stats + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01&$expand=stats response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares","etag":"\"0x8D81B2A09D17431\"","properties":{"shareUsageBytes":0,"lastModifiedTime":"2020-06-28T06:11:04.0000000Z","shareQuota":5120}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares","etag":"\"0x8D85948A1BBF069\"","properties":{"shareUsageBytes":0,"accessTier":"TransactionOptimized","lastModifiedTime":"2020-09-15T07:26:15.0000000Z","shareQuota":5120}}' headers: cache-control: - no-cache content-length: - - '491' + - '529' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:10 GMT + - Tue, 15 Sep 2020 07:26:22 GMT etag: - - '"0x8D81B2A09D17431"' + - '"0x8D85948A1BBF069"' expires: - '-1' pragma: @@ -1391,21 +1309,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/managementPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default","name":"DefaultManagementPolicy","type":"Microsoft.Storage/storageAccounts/managementPolicies","properties":{"policy":{"rules":[{"enabled":true,"name":"olcmtest","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":30.0},"tierToArchive":{"daysAfterModificationGreaterThan":90.0},"delete":{"daysAfterModificationGreaterThan":1000.0}},"snapshot":{"delete":{"daysAfterCreationGreaterThan":30.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["olcmtestcontainer"]}}}]},"lastModifiedTime":"2020-06-28T06:11:03.4586709Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/managementPolicies/default","name":"DefaultManagementPolicy","type":"Microsoft.Storage/storageAccounts/managementPolicies","properties":{"policy":{"rules":[{"enabled":true,"name":"olcmtest","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":30.0},"tierToArchive":{"daysAfterModificationGreaterThan":90.0},"delete":{"daysAfterModificationGreaterThan":1000.0}},"snapshot":{"delete":{"daysAfterCreationGreaterThan":30.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["olcmtestcontainer"]}}}]},"lastModifiedTime":"2020-09-15T07:26:15.2465230Z"}}' headers: cache-control: - no-cache content-length: - - '819' + - '821' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:10 GMT + - Tue, 15 Sep 2020 07:26:22 GMT expires: - '-1' pragma: @@ -1433,21 +1351,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","creationTime":"2020-06-28T06:11:02.9310848Z","lastModifiedTime":"2020-06-28T06:11:02.9310848Z","state":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","creationTime":"2020-09-15T07:26:14.6885772Z","lastModifiedTime":"2020-09-15T07:26:14.6885772Z","state":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '505' + - '507' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:10 GMT + - Tue, 15 Sep 2020 07:26:22 GMT expires: - '-1' pragma: @@ -1475,22 +1393,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[{"allowedOrigins":["http://www.contoso.com","http://www.fabrikam.com"],"allowedMethods":["GET","HEAD","POST","OPTIONS","MERGE","PUT"],"maxAgeInSeconds":100,"exposedHeaders":["x-ms-meta-*"],"allowedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x-ms-meta-target*"]},{"allowedOrigins":["*"],"allowedMethods":["GET"],"maxAgeInSeconds":2,"exposedHeaders":["*"],"allowedHeaders":["*"]},{"allowedOrigins":["http://www.abc23.com","https://www.fabrikam.com/*"],"allowedMethods":["GET","PUT"],"maxAgeInSeconds":2000,"exposedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[{"allowedOrigins":["http://www.contoso.com","http://www.fabrikam.com"],"allowedMethods":["GET","HEAD","POST","OPTIONS","MERGE","PUT"],"maxAgeInSeconds":100,"exposedHeaders":["x-ms-meta-*"],"allowedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x-ms-meta-target*"]},{"allowedOrigins":["*"],"allowedMethods":["GET"],"maxAgeInSeconds":2,"exposedHeaders":["*"],"allowedHeaders":["*"]},{"allowedOrigins":["http://www.abc23.com","https://www.fabrikam.com/*"],"allowedMethods":["GET","PUT"],"maxAgeInSeconds":2000,"exposedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x -ms-meta-target*"],"allowedHeaders":["x-ms-meta-12345675754564*"]}]},"defaultServiceVersion":"2017-07-29","deleteRetentionPolicy":{"enabled":true,"days":300}}}' headers: cache-control: - no-cache content-length: - - '1113' + - '1115' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:10 GMT + - Tue, 15 Sep 2020 07:26:23 GMT expires: - '-1' pragma: @@ -1518,21 +1436,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/fileServices/default?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/fileServices","properties":{"cors":{"corsRules":[]}}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/fileServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/fileServices","properties":{"protocolSettings":{"smb":{"multichannel":{"enabled":false}}},"cors":{"corsRules":[]}}}' headers: cache-control: - no-cache content-length: - - '398' + - '462' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:11 GMT + - Tue, 15 Sep 2020 07:26:23 GMT expires: - '-1' pragma: @@ -1560,21 +1478,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/privateLinkResources?api-version=2019-06-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources/blob","name":"blob","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"blob","requiredMembers":["blob"],"requiredZoneNames":["privatelink.blob.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources/table","name":"table","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"table","requiredMembers":["table"],"requiredZoneNames":["privatelink.table.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources/queue","name":"queue","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"queue","requiredMembers":["queue"],"requiredZoneNames":["privatelink.queue.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources/file","name":"file","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"file","requiredMembers":["file"],"requiredZoneNames":["privatelink.file.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources/web","name":"web","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"web","requiredMembers":["web"],"requiredZoneNames":["privatelink.web.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources/dfs","name":"dfs","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"dfs","requiredMembers":["dfs"],"requiredZoneNames":["privatelink.dfs.core.windows.net"]}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/privateLinkResources/blob","name":"blob","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"blob","requiredMembers":["blob"],"requiredZoneNames":["privatelink.blob.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/privateLinkResources/table","name":"table","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"table","requiredMembers":["table"],"requiredZoneNames":["privatelink.table.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/privateLinkResources/queue","name":"queue","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"queue","requiredMembers":["queue"],"requiredZoneNames":["privatelink.queue.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/privateLinkResources/file","name":"file","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"file","requiredMembers":["file"],"requiredZoneNames":["privatelink.file.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/privateLinkResources/web","name":"web","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"web","requiredMembers":["web"],"requiredZoneNames":["privatelink.web.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/privateLinkResources/dfs","name":"dfs","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"dfs","requiredMembers":["dfs"],"requiredZoneNames":["privatelink.dfs.core.windows.net"]}}]}' headers: cache-control: - no-cache content-length: - - '2645' + - '2657' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:11 GMT + - Tue, 15 Sep 2020 07:26:23 GMT expires: - '-1' pragma: @@ -1602,21 +1520,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/fileServices?api-version=2019-06-01 response: body: - string: '{"value":[{"sku":{"name":"Standard_GRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/fileServices","properties":{"cors":{"corsRules":[]}}}]}' + string: '{"value":[{"sku":{"name":"Standard_GRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/fileServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/fileServices","properties":{"protocolSettings":{"smb":{"multichannel":{"enabled":false}}},"cors":{"corsRules":[]}}}]}' headers: cache-control: - no-cache content-length: - - '410' + - '474' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:11 GMT + - Tue, 15 Sep 2020 07:26:24 GMT expires: - '-1' pragma: @@ -1644,21 +1562,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","name":"storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:09:51.0173972Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:09:51.0173972Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:09:50.9392454Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc","name":"storageaccountxxyyzzccc","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/privateEndpointConnections/storageaccountxxyyzzccc.ba159244-4e40-4c1f-a073-d2d265bacdff","name":"storageaccountxxyyzzccc.ba159244-4e40-4c1f-a073-d2d265bacdff","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:25:25.3087039Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:25:25.3087039Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-09-15T07:25:25.1993405Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzccc.dfs.core.windows.net/","web":"https://storageaccountxxyyzzccc.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzccc.blob.core.windows.net/","queue":"https://storageaccountxxyyzzccc.queue.core.windows.net/","table":"https://storageaccountxxyyzzccc.table.core.windows.net/","file":"https://storageaccountxxyyzzccc.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' headers: cache-control: - no-cache content-length: - - '2301' + - '2323' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:12 GMT + - Tue, 15 Sep 2020 07:26:24 GMT expires: - '-1' pragma: @@ -1690,9 +1608,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/setLegalHold?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz/setLegalHold?api-version=2019-06-01 response: body: string: '{"hasLegalHold":true,"tags":["tag1","tag2","tag3"]}' @@ -1704,7 +1622,7 @@ interactions: content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:12 GMT + - Tue, 15 Sep 2020 07:26:24 GMT expires: - '-1' pragma: @@ -1738,9 +1656,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/clearLegalHold?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz/clearLegalHold?api-version=2019-06-01 response: body: string: '{"hasLegalHold":false,"tags":[]}' @@ -1752,7 +1670,7 @@ interactions: content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:12 GMT + - Tue, 15 Sep 2020 07:26:25 GMT expires: - '-1' pragma: @@ -1786,12 +1704,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 response: body: - string: '{"leaseId":"1cd5c10b-ce5b-4119-ba96-4d4c08c7aabe"}' + string: '{"leaseId":"eb4a8551-3e11-434d-a350-50cd3f023ea1"}' headers: cache-control: - no-cache @@ -1800,9 +1718,9 @@ interactions: content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:13 GMT + - Tue, 15 Sep 2020 07:26:25 GMT etag: - - '"0x8D81B2A0F1B4567"' + - '"0x8D85948A76C0AFF"' expires: - '-1' pragma: @@ -1823,7 +1741,7 @@ interactions: code: 200 message: OK - request: - body: '{"action": "Break", "leaseId": "1cd5c10b-ce5b-4119-ba96-4d4c08c7aabe"}' + body: '{"action": "Break", "leaseId": "eb4a8551-3e11-434d-a350-50cd3f023ea1"}' headers: Accept: - application/json @@ -1836,9 +1754,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 response: body: string: '{"leaseTimeSeconds":"0"}' @@ -1850,9 +1768,9 @@ interactions: content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:13 GMT + - Tue, 15 Sep 2020 07:26:26 GMT etag: - - '"0x8D81B2A0F1B4567"' + - '"0x8D85948A76C0AFF"' expires: - '-1' pragma: @@ -1886,23 +1804,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers","properties":{"deleted":false,"remainingRetentionDays":0,"metadata":{"metadata":"true"},"publicAccess":"Container","hasImmutabilityPolicy":false,"hasLegalHold":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers","properties":{"deleted":false,"remainingRetentionDays":0,"metadata":{"metadata":"true"},"publicAccess":"Container","hasImmutabilityPolicy":false,"hasLegalHold":false}}' headers: cache-control: - no-cache content-length: - - '532' + - '534' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:14 GMT + - Tue, 15 Sep 2020 07:26:26 GMT etag: - - '"0x8D81B2A0FD36C90"' + - '"0x8D85948A83C038B"' expires: - '-1' pragma: @@ -1918,7 +1836,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1188' + - '1179' status: code: 200 message: OK @@ -1936,23 +1854,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares","properties":{"metadata":{"type":"image"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares","properties":{"metadata":{"type":"image"}}}' headers: cache-control: - no-cache content-length: - - '400' + - '402' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:14 GMT + - Tue, 15 Sep 2020 07:26:27 GMT etag: - - '"0x8D81B2A101CA53E"' + - '"0x8D85948A887D8DF"' expires: - '-1' pragma: @@ -1968,7 +1886,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1187' + - '1178' status: code: 200 message: OK @@ -1986,21 +1904,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-06-28T06:11:02.9310848Z","lastModifiedTime":"2020-06-28T06:11:02.9310848Z","state":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-09-15T07:26:14.6885772Z","lastModifiedTime":"2020-09-15T07:26:14.6885772Z","state":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '529' + - '531' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:15 GMT + - Tue, 15 Sep 2020 07:26:27 GMT expires: - '-1' pragma: @@ -2016,7 +1934,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1186' + - '1177' status: code: 200 message: OK @@ -2032,9 +1950,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/revokeUserDelegationKeys?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/revokeUserDelegationKeys?api-version=2019-06-01 response: body: string: '' @@ -2046,7 +1964,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Sun, 28 Jun 2020 06:11:15 GMT + - Tue, 15 Sep 2020 07:26:28 GMT expires: - '-1' pragma: @@ -2076,12 +1994,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/regenerateKey?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/regenerateKey?api-version=2019-06-01 response: body: - string: '{"keys":[{"keyName":"key1","value":"X6Fp+5ixf3LuFfqaRuplB/gmR32iF1tMIMHrPRqYpO3t45T68oY5a92fOGjw0KayjoFCTmwqmIgU9yWzotR3og==","permissions":"FULL"},{"keyName":"key2","value":"LBw3AZ3sdF5Fx0DOMuMtgDWqxpeyTq1nzYIPrGpUziHHWRF97LnQsHxH1FgxJQKnbZ2HmHPkq/CLSp22vS99Xg==","permissions":"FULL"}]}' + string: '{"keys":[{"keyName":"key1","value":"CepWIb3Y/6nOCwp8s2ZIUxf+OOTK3ZBHL2T+mO24dXLWp/ToHGOhyoFmtvqZdEM13OG4q9Cg611VSPNBdz3lTQ==","permissions":"FULL"},{"keyName":"key2","value":"m/KRJvcb9UFb7ggM4ri66HvKlVuB6Zx0tNtK1UHVrh/DgP5SFY7zneGbo73huXCsrN8f5efie/AnNdS25Jf9SQ==","permissions":"FULL"}]}' headers: cache-control: - no-cache @@ -2090,7 +2008,7 @@ interactions: content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:15 GMT + - Tue, 15 Sep 2020 07:26:28 GMT expires: - '-1' pragma: @@ -2122,12 +2040,12 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/listKeys?api-version=2019-06-01&$expand=kerb + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/listKeys?api-version=2019-06-01&$expand=kerb response: body: - string: '{"keys":[{"keyName":"key1","value":"X6Fp+5ixf3LuFfqaRuplB/gmR32iF1tMIMHrPRqYpO3t45T68oY5a92fOGjw0KayjoFCTmwqmIgU9yWzotR3og==","permissions":"FULL"},{"keyName":"key2","value":"LBw3AZ3sdF5Fx0DOMuMtgDWqxpeyTq1nzYIPrGpUziHHWRF97LnQsHxH1FgxJQKnbZ2HmHPkq/CLSp22vS99Xg==","permissions":"FULL"}]}' + string: '{"keys":[{"keyName":"key1","value":"CepWIb3Y/6nOCwp8s2ZIUxf+OOTK3ZBHL2T+mO24dXLWp/ToHGOhyoFmtvqZdEM13OG4q9Cg611VSPNBdz3lTQ==","permissions":"FULL"},{"keyName":"key2","value":"m/KRJvcb9UFb7ggM4ri66HvKlVuB6Zx0tNtK1UHVrh/DgP5SFY7zneGbo73huXCsrN8f5efie/AnNdS25Jf9SQ==","permissions":"FULL"}]}' headers: cache-control: - no-cache @@ -2136,7 +2054,7 @@ interactions: content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:16 GMT + - Tue, 15 Sep 2020 07:26:28 GMT expires: - '-1' pragma: @@ -2171,21 +2089,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","name":"storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:09:51.0173972Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:09:51.0173972Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:09:50.9392454Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc","name":"storageaccountxxyyzzccc","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/privateEndpointConnections/storageaccountxxyyzzccc.ba159244-4e40-4c1f-a073-d2d265bacdff","name":"storageaccountxxyyzzccc.ba159244-4e40-4c1f-a073-d2d265bacdff","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:25:25.3087039Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:25:25.3087039Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-09-15T07:25:25.1993405Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzccc.dfs.core.windows.net/","web":"https://storageaccountxxyyzzccc.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzccc.blob.core.windows.net/","queue":"https://storageaccountxxyyzzccc.queue.core.windows.net/","table":"https://storageaccountxxyyzzccc.table.core.windows.net/","file":"https://storageaccountxxyyzzccc.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' headers: cache-control: - no-cache content-length: - - '2301' + - '2323' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:17 GMT + - Tue, 15 Sep 2020 07:26:29 GMT expires: - '-1' pragma: @@ -2201,7 +2119,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1185' + - '1176' status: code: 200 message: OK @@ -2217,25 +2135,25 @@ interactions: Content-Length: - '0' If-Match: - - '"8d81b2a0ca14c87"' + - '"8d85948a4c748da"' User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/lock?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/lock?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2a11f9d194\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Locked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d85948aa3a081c\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Locked"}}' headers: cache-control: - no-cache content-length: - - '540' + - '542' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:17 GMT + - Tue, 15 Sep 2020 07:26:30 GMT etag: - - '"8d81b2a11f9d194"' + - '"8d85948aa3a081c"' expires: - '-1' pragma: @@ -2269,25 +2187,25 @@ interactions: Content-Type: - application/json If-Match: - - '"8d81b2a11f9d194"' + - '"8d85948aa3a081c"' User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/extend?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/extend?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2a12330b71\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":100,"state":"Locked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d85948aa7f2cad\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":100,"state":"Locked"}}' headers: cache-control: - no-cache content-length: - - '542' + - '544' content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:18 GMT + - Tue, 15 Sep 2020 07:26:30 GMT etag: - - '"8d81b2a12330b71"' + - '"8d85948aa7f2cad"' expires: - '-1' pragma: @@ -2321,7 +2239,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/checkNameAvailability?api-version=2019-06-01 response: @@ -2335,7 +2253,7 @@ interactions: content-type: - application/json date: - - Sun, 28 Jun 2020 06:11:18 GMT + - Tue, 15 Sep 2020 07:26:31 GMT expires: - '-1' pragma: @@ -2365,9 +2283,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 response: body: string: '' @@ -2379,7 +2297,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Sun, 28 Jun 2020 06:11:19 GMT + - Tue, 15 Sep 2020 07:26:31 GMT expires: - '-1' pragma: @@ -2391,7 +2309,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14996' status: code: 200 message: OK @@ -2399,7 +2317,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: @@ -2407,9 +2325,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/privateEndpointConnections/storageaccountxxyyzzccc.ba159244-4e40-4c1f-a073-d2d265bacdff?api-version=2019-06-01 response: body: string: '' @@ -2421,7 +2339,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Sun, 28 Jun 2020 06:11:21 GMT + - Tue, 15 Sep 2020 07:26:34 GMT expires: - '-1' pragma: @@ -2433,7 +2351,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14995' status: code: 200 message: OK @@ -2441,7 +2359,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: @@ -2449,9 +2367,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 response: body: string: '' @@ -2463,7 +2381,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Sun, 28 Jun 2020 06:11:22 GMT + - Tue, 15 Sep 2020 07:26:34 GMT expires: - '-1' pragma: @@ -2475,7 +2393,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '14994' status: code: 200 message: OK @@ -2491,9 +2409,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc/managementPolicies/default?api-version=2019-06-01 response: body: string: '' @@ -2505,7 +2423,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Sun, 28 Jun 2020 06:11:22 GMT + - Tue, 15 Sep 2020 07:26:35 GMT expires: - '-1' pragma: @@ -2517,7 +2435,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14994' + - '14993' status: code: 200 message: OK @@ -2533,9 +2451,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzccc?api-version=2019-06-01 response: body: string: '' @@ -2547,7 +2465,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Sun, 28 Jun 2020 06:11:27 GMT + - Tue, 15 Sep 2020 07:26:42 GMT expires: - '-1' pragma: @@ -2559,7 +2477,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14993' + - '14992' status: code: 200 message: OK diff --git a/sdk/storage/azure-mgmt-storage/tests/recordings/test_cli_mgmt_storage_async.test_storage.yaml b/sdk/storage/azure-mgmt-storage/tests/recordings/test_cli_mgmt_storage_async.test_storage.yaml index 08ad5df1795d..4948618302b1 100644 --- a/sdk/storage/azure-mgmt-storage/tests/recordings/test_cli_mgmt_storage_async.test_storage.yaml +++ b/sdk/storage/azure-mgmt-storage/tests/recordings/test_cli_mgmt_storage_async.test_storage.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn?api-version=2019-06-01 response: body: string: '' @@ -22,34 +22,34 @@ interactions: cache-control: no-cache content-length: '0' content-type: text/plain; charset=utf-8 - date: Sun, 28 Jun 2020 06:21:47 GMT + date: Tue, 15 Sep 2020 07:29:53 GMT expires: '-1' - location: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/asyncoperations/086e1265-6363-43ae-a5a9-743b4624bd61?monitor=true&api-version=2019-06-01 + location: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/asyncoperations/1f576be9-090f-4c6a-94d2-84fd6e88d36d?monitor=true&api-version=2019-06-01 pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1198' + x-ms-ratelimit-remaining-subscription-writes: '1195' status: code: 202 message: Accepted - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn?api-version=2019-06-01 - request: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/asyncoperations/086e1265-6363-43ae-a5a9-743b4624bd61?monitor=true&api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/asyncoperations/1f576be9-090f-4c6a-94d2-84fd6e88d36d?monitor=true&api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:21:48.0207896Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn","name":"storageaccountxxyyzznzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:29:53.5766027Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:29:53.5766027Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-09-15T07:29:53.4828765Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzznzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzznzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzznzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzznzn.queue.core.windows.net/","table":"https://storageaccountxxyyzznzn.table.core.windows.net/","file":"https://storageaccountxxyyzznzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:22:05 GMT + date: Tue, 15 Sep 2020 07:30:11 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -61,7 +61,7 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/providers/Microsoft.Storage/locations/westeurope/asyncoperations/086e1265-6363-43ae-a5a9-743b4624bd61?monitor=true&api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/providers/Microsoft.Storage/locations/westeurope/asyncoperations/1f576be9-090f-4c6a-94d2-84fd6e88d36d?monitor=true&api-version=2019-06-01 - request: body: '{"location": "westeurope", "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}}' @@ -77,24 +77,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111?api-version=2020-06-01 response: body: - string: "{\r\n \"name\": \"virualnetwork111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111\",\r\n - \ \"etag\": \"W/\\\"34718c40-fb38-4329-ac9d-e62613ed1dcb\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"05fc4376-1ed5-4e4f-bda8-bad83b7c7489\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": - [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n - \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n - \ \"enableVmProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virualnetwork111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111\"\ + ,\r\n \"etag\": \"W/\\\"b133f6e9-5070-43ca-bfc0-803d09c0204f\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ + \ \"resourceGuid\": \"1933ec04-0494-4a5e-b358-de0010eaaba7\",\r\n \"\ + addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ + \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/402f3b47-1a92-4e42-bf76-7ca53f61adcf?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/5a27a490-18c3-487a-aa88-7760745246e0?api-version=2020-06-01 cache-control: - no-cache content-length: @@ -102,7 +103,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:22:12 GMT + - Tue, 15 Sep 2020 07:30:20 GMT expires: - '-1' pragma: @@ -115,9 +116,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b88443ec-3a3a-4bf6-a725-e4c1affeb841 + - 9e623394-a206-4b44-a760-32ae51ea9ec8 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -131,9 +132,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/402f3b47-1a92-4e42-bf76-7ca53f61adcf?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/5a27a490-18c3-487a-aa88-7760745246e0?api-version=2020-06-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -145,7 +146,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:22:15 GMT + - Tue, 15 Sep 2020 07:30:24 GMT expires: - '-1' pragma: @@ -162,7 +163,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d015c9b0-db97-48e0-84a3-a7d004d41709 + - d15b43c9-fe52-486e-b4bb-cdd6012d4f8f status: code: 200 message: OK @@ -176,19 +177,20 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111?api-version=2020-06-01 response: body: - string: "{\r\n \"name\": \"virualnetwork111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111\",\r\n - \ \"etag\": \"W/\\\"8dc48a62-d89e-4469-9bdc-3981d9126a2c\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"05fc4376-1ed5-4e4f-bda8-bad83b7c7489\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": - [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n - \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n - \ \"enableVmProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virualnetwork111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111\"\ + ,\r\n \"etag\": \"W/\\\"6088ae89-0282-40a1-959c-68729455ad95\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ + \ \"resourceGuid\": \"1933ec04-0494-4a5e-b358-de0010eaaba7\",\r\n \"\ + addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ + \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}" headers: cache-control: - no-cache @@ -197,9 +199,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:22:16 GMT + - Tue, 15 Sep 2020 07:30:24 GMT etag: - - W/"8dc48a62-d89e-4469-9bdc-3981d9126a2c" + - W/"6088ae89-0282-40a1-959c-68729455ad95" expires: - '-1' pragma: @@ -216,7 +218,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5a51c50a-9902-467f-b3b6-3f210b5873b7 + - 8838d7fb-6176-44ae-84fe-d2f1e8066550 status: code: 200 message: OK @@ -235,20 +237,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111?api-version=2020-06-01 response: body: - string: "{\r\n \"name\": \"subnet111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\",\r\n - \ \"etag\": \"W/\\\"1b11b763-5972-4baa-99ce-f6ddce7715bd\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n - \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnet111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\ + ,\r\n \"etag\": \"W/\\\"0d339003-6710-4a8b-8ccf-cd98b3cb6190\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ + : \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Disabled\"\ + \r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/ae439846-69cf-4737-bf7e-44891e1d213a?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/c0e7f0ec-9c1e-4cd9-aaed-ac148c5ef04c?api-version=2020-06-01 cache-control: - no-cache content-length: @@ -256,7 +258,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:22:16 GMT + - Tue, 15 Sep 2020 07:30:25 GMT expires: - '-1' pragma: @@ -269,9 +271,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 26a16b94-c656-426b-a055-f2decbd43810 + - 2bec9021-e4c5-4e34-9bb9-c4b5d2c8b114 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -285,9 +287,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/ae439846-69cf-4737-bf7e-44891e1d213a?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/c0e7f0ec-9c1e-4cd9-aaed-ac148c5ef04c?api-version=2020-06-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -299,7 +301,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:22:20 GMT + - Tue, 15 Sep 2020 07:30:28 GMT expires: - '-1' pragma: @@ -316,7 +318,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4fa9fd1f-b144-4b06-b8ae-1b52dfe1dcf5 + - d7452666-a8f5-4893-a400-8e26ac345aba status: code: 200 message: OK @@ -330,17 +332,17 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111?api-version=2020-06-01 response: body: - string: "{\r\n \"name\": \"subnet111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\",\r\n - \ \"etag\": \"W/\\\"77c7033d-106b-4894-912c-c6011d3bed59\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n - \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnet111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\ + ,\r\n \"etag\": \"W/\\\"c40bcf3e-55bc-4974-b771-7d35f5caddf2\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ + : \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Disabled\"\ + \r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: cache-control: - no-cache @@ -349,9 +351,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:22:20 GMT + - Tue, 15 Sep 2020 07:30:28 GMT etag: - - W/"77c7033d-106b-4894-912c-c6011d3bed59" + - W/"c40bcf3e-55bc-4974-b771-7d35f5caddf2" expires: - '-1' pragma: @@ -368,14 +370,14 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 32073c8a-f5c0-485a-8e0f-a0f851ae1d7f + - 4bb7e4b7-1d9c-4b82-9b0d-c21d2c2232ef status: code: 200 message: OK - request: body: 'b''b\''{"location": "westeurope", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111"}, "privateLinkServiceConnections": [{"name": "myconnection", "properties": {"privateLinkServiceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn", "groupIds": ["blob"]}}]}}\''''' headers: Accept: @@ -385,45 +387,47 @@ interactions: Connection: - keep-alive Content-Length: - - '620' + - '622' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx?api-version=2020-06-01 response: body: - string: "{\r\n \"name\": \"endpoint123xxx\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx\",\r\n - \ \"etag\": \"W/\\\"eb411f69-d7b4-4dfe-8da9-708094ae98b1\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westeurope\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"0b7c6c13-c0b8-47d0-9cb8-cc18c19d98c1\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx/privateLinkServiceConnections/myconnection\",\r\n - \ \"etag\": \"W/\\\"eb411f69-d7b4-4dfe-8da9-708094ae98b1\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn\",\r\n - \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": - {\r\n \"status\": \"Approved\",\r\n \"description\": - \"\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n - \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n - \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n - \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpoint123xxx.nic.956d035f-9558-4e36-8de8-e6d2d7cf71ab\"\r\n - \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" + string: "{\r\n \"name\": \"endpoint123xxx\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx\"\ + ,\r\n \"etag\": \"W/\\\"2ea73e73-e234-47a8-a7d0-51c2820d74da\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"\ + westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ + ,\r\n \"resourceGuid\": \"8c571e98-5c36-4477-91ad-190cf26e0363\",\r\n \ + \ \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"\ + myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx/privateLinkServiceConnections/myconnection\"\ + ,\r\n \"etag\": \"W/\\\"2ea73e73-e234-47a8-a7d0-51c2820d74da\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn\"\ + ,\r\n \"groupIds\": [\r\n \"blob\"\r\n ],\r\n\ + \ \"privateLinkServiceConnectionState\": {\r\n \"status\"\ + : \"Approved\",\r\n \"description\": \"\",\r\n \"actionsRequired\"\ + : \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\ + \r\n }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\ + \n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\ + \r\n },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpoint123xxx.nic.4a3c09c3-1868-453d-9cb6-2be6f412f39c\"\ + \r\n }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/58f8f751-e30b-4f58-9f4f-6ae498c52c91?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/b18268c8-77fd-4695-a61a-221994c0d8a0?api-version=2020-06-01 cache-control: - no-cache content-length: - - '2227' + - '2229' content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:22:24 GMT + - Tue, 15 Sep 2020 07:30:32 GMT expires: - '-1' pragma: @@ -436,9 +440,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 97c7daa4-ee9e-4da9-befc-8d17b85b5912 + - f6c4d9bc-71d4-48fe-824d-31614a126ae3 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' status: code: 201 message: Created @@ -452,99 +456,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/58f8f751-e30b-4f58-9f4f-6ae498c52c91?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sun, 28 Jun 2020 06:22:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 6527a2c7-ad63-4939-91a0-c095e1f81467 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/58f8f751-e30b-4f58-9f4f-6ae498c52c91?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Sun, 28 Jun 2020 06:22:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 2d254713-ec98-4bb3-9ddf-2126a561ef8e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/58f8f751-e30b-4f58-9f4f-6ae498c52c91?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/b18268c8-77fd-4695-a61a-221994c0d8a0?api-version=2020-06-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -556,7 +470,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:22:55 GMT + - Tue, 15 Sep 2020 07:30:42 GMT expires: - '-1' pragma: @@ -573,7 +487,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f71a7b25-187e-492e-8768-0cd5f7c0cd8d + - f4756eb8-f372-44eb-848f-cedcf69f1b2f status: code: 200 message: OK @@ -587,41 +501,45 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-network/16.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx?api-version=2020-06-01 response: body: - string: "{\r\n \"name\": \"endpoint123xxx\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx\",\r\n - \ \"etag\": \"W/\\\"30c99cd2-5c0d-44eb-90f9-b8776645f762\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westeurope\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"0b7c6c13-c0b8-47d0-9cb8-cc18c19d98c1\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx/privateLinkServiceConnections/myconnection\",\r\n - \ \"etag\": \"W/\\\"30c99cd2-5c0d-44eb-90f9-b8776645f762\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn\",\r\n - \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": - {\r\n \"status\": \"Approved\",\r\n \"description\": - \"Auto-Approved\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n - \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n - \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n - \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpoint123xxx.nic.956d035f-9558-4e36-8de8-e6d2d7cf71ab\"\r\n - \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": - \"storageaccountxxyyzzn.blob.core.windows.net\",\r\n \"ipAddresses\": - [\r\n \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"endpoint123xxx\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx\"\ + ,\r\n \"etag\": \"W/\\\"dd4154d8-f69e-4d46-a9d1-a89381533883\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"\ + westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"resourceGuid\": \"8c571e98-5c36-4477-91ad-190cf26e0363\",\r\n \ + \ \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"\ + myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx/privateLinkServiceConnections/myconnection\"\ + ,\r\n \"etag\": \"W/\\\"dd4154d8-f69e-4d46-a9d1-a89381533883\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn\"\ + ,\r\n \"groupIds\": [\r\n \"blob\"\r\n ],\r\n\ + \ \"privateLinkServiceConnectionState\": {\r\n \"status\"\ + : \"Approved\",\r\n \"description\": \"Auto-Approved\",\r\n \ + \ \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \ + \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\ + \r\n }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\ + \n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\ + \r\n },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpoint123xxx.nic.4a3c09c3-1868-453d-9cb6-2be6f412f39c\"\ + \r\n }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \ + \ \"fqdn\": \"storageaccountxxyyzznzn.blob.core.windows.net\",\r\n \ + \ \"ipAddresses\": [\r\n \"10.0.0.4\"\r\n ]\r\n }\r\n\ + \ ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2388' + - '2392' content-type: - application/json; charset=utf-8 date: - - Sun, 28 Jun 2020 06:22:56 GMT + - Tue, 15 Sep 2020 07:30:43 GMT etag: - - W/"30c99cd2-5c0d-44eb-90f9-b8776645f762" + - W/"dd4154d8-f69e-4d46-a9d1-a89381533883" expires: - '-1' pragma: @@ -638,7 +556,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dc403308-0244-4e8e-89bc-cd8b1aed9142 + - 7b332437-3995-4ab8-85fa-652ac93effa9 status: code: 200 message: OK @@ -652,9 +570,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default?api-version=2019-06-01 response: body: string: '{}' @@ -662,7 +580,7 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:22:56 GMT + date: Tue, 15 Sep 2020 07:30:45 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -671,11 +589,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1196' + x-ms-ratelimit-remaining-subscription-writes: '1197' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default?api-version=2019-06-01 - request: body: '{"properties": {"cors": {"corsRules": [{"allowedOrigins": ["http://www.contoso.com", "http://www.fabrikam.com"], "allowedMethods": ["GET", "HEAD", "POST", "OPTIONS", @@ -695,18 +613,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[{"allowedOrigins":["http://www.contoso.com","http://www.fabrikam.com"],"allowedMethods":["GET","HEAD","POST","OPTIONS","MERGE","PUT"],"maxAgeInSeconds":100,"exposedHeaders":["x-ms-meta-*"],"allowedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x-ms-meta-target*"]},{"allowedOrigins":["*"],"allowedMethods":["GET"],"maxAgeInSeconds":2,"exposedHeaders":["*"],"allowedHeaders":["*"]},{"allowedOrigins":["http://www.abc23.com","https://www.fabrikam.com/*"],"allowedMethods":["GET","PUT"],"maxAgeInSeconds":2000,"exposedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[{"allowedOrigins":["http://www.contoso.com","http://www.fabrikam.com"],"allowedMethods":["GET","HEAD","POST","OPTIONS","MERGE","PUT"],"maxAgeInSeconds":100,"exposedHeaders":["x-ms-meta-*"],"allowedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x-ms-meta-target*"]},{"allowedOrigins":["*"],"allowedMethods":["GET"],"maxAgeInSeconds":2,"exposedHeaders":["*"],"allowedHeaders":["*"]},{"allowedOrigins":["http://www.abc23.com","https://www.fabrikam.com/*"],"allowedMethods":["GET","PUT"],"maxAgeInSeconds":2000,"exposedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x -ms-meta-target*"],"allowedHeaders":["x-ms-meta-12345675754564*"]}]},"defaultServiceVersion":"2017-07-29","deleteRetentionPolicy":{"enabled":true,"days":300}}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:22:57 GMT + date: Tue, 15 Sep 2020 07:30:46 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -715,11 +633,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1195' + x-ms-ratelimit-remaining-subscription-writes: '1196' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default?api-version=2019-06-01 - request: body: '{"properties": {"source": "Microsoft.Storage", "state": "Enabled"}}' headers: @@ -730,28 +648,28 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-06-28T06:22:58.4796418Z","lastModifiedTime":"2020-06-28T06:22:58.4796418Z","state":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-09-15T07:30:46.6679769Z","lastModifiedTime":"2020-09-15T07:30:46.6679769Z","state":"Enabled"}}' headers: cache-control: no-cache - content-length: '529' + content-length: '531' content-type: application/json - date: Sun, 28 Jun 2020 06:22:57 GMT + date: Tue, 15 Sep 2020 07:30:46 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1194' + x-ms-ratelimit-remaining-subscription-writes: '1195' status: code: 201 message: Created - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 - request: body: '{"properties": {"policy": {"rules": [{"enabled": true, "name": "olcmtest", "type": "Lifecycle", "definition": {"actions": {"baseBlob": {"tierToCool": {"daysAfterModificationGreaterThan": @@ -766,17 +684,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/managementPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default","name":"DefaultManagementPolicy","type":"Microsoft.Storage/storageAccounts/managementPolicies","properties":{"policy":{"rules":[{"enabled":true,"name":"olcmtest","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":30.0},"tierToArchive":{"daysAfterModificationGreaterThan":90.0},"delete":{"daysAfterModificationGreaterThan":1000.0}},"snapshot":{"delete":{"daysAfterCreationGreaterThan":30.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["olcmtestcontainer"]}}}]},"lastModifiedTime":"2020-06-28T06:22:58.9907811Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/managementPolicies/default","name":"DefaultManagementPolicy","type":"Microsoft.Storage/storageAccounts/managementPolicies","properties":{"policy":{"rules":[{"enabled":true,"name":"olcmtest","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":30.0},"tierToArchive":{"daysAfterModificationGreaterThan":90.0},"delete":{"daysAfterModificationGreaterThan":1000.0}},"snapshot":{"delete":{"daysAfterCreationGreaterThan":30.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["olcmtestcontainer"]}}}]},"lastModifiedTime":"2020-09-15T07:30:47.2802568Z"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:22:58 GMT + date: Tue, 15 Sep 2020 07:30:47 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -785,11 +703,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1193' + x-ms-ratelimit-remaining-subscription-writes: '1194' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/managementPolicies/default?api-version=2019-06-01 - request: body: '{}' headers: @@ -800,46 +718,46 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares"}' headers: cache-control: no-cache - content-length: '357' + content-length: '359' content-type: application/json - date: Sun, 28 Jun 2020 06:22:58 GMT - etag: '"0x8D81B2BB473806E"' + date: Tue, 15 Sep 2020 07:30:48 GMT + etag: '"0x8D85949442E9693"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1192' + x-ms-ratelimit-remaining-subscription-writes: '1193' status: code: 201 message: Created - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","name":"storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:21:48.0207896Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn","name":"storageaccountxxyyzznzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateEndpointConnections/storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55","name":"storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:29:53.5766027Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:29:53.5766027Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-09-15T07:29:53.4828765Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzznzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzznzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzznzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzznzn.queue.core.windows.net/","table":"https://storageaccountxxyyzznzn.table.core.windows.net/","file":"https://storageaccountxxyyzznzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:22:59 GMT + date: Tue, 15 Sep 2020 07:30:48 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -851,7 +769,7 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn?api-version=2019-06-01 - request: body: '{"properties": {"privateLinkServiceConnectionState": {"status": "Rejected", "description": "Auto-Approved"}}}' @@ -863,17 +781,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateEndpointConnections/storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","name":"storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateEndpointConnections/storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55","name":"storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:03 GMT + date: Tue, 15 Sep 2020 07:30:51 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -882,11 +800,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1191' + x-ms-ratelimit-remaining-subscription-writes: '1192' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateEndpointConnections/storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55?api-version=2019-06-01 - request: body: '{}' headers: @@ -897,29 +815,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers"}' headers: cache-control: no-cache - content-length: '365' + content-length: '367' content-type: application/json - date: Sun, 28 Jun 2020 06:23:03 GMT - etag: '"0x8D81B2BB6BDDE36"' + date: Tue, 15 Sep 2020 07:30:51 GMT + etag: '"0x8D85949463B6E64"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1190' + x-ms-ratelimit-remaining-subscription-writes: '1191' status: code: 201 message: Created - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 - request: body: '{"properties": {"immutabilityPeriodSinceCreationInDays": 3, "allowProtectedAppendWrites": true}}' @@ -931,18 +849,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2bb6fda623\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d8594946883194\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:04 GMT - etag: '"8d81b2bb6fda623"' + date: Tue, 15 Sep 2020 07:30:52 GMT + etag: '"8d8594946883194"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -951,31 +869,31 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1189' + x-ms-ratelimit-remaining-subscription-writes: '1190' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 - request: body: null headers: Accept: - application/json If-Match: - - '"8d81b2bb6fda623"' + - '"8d8594946883194"' User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2bb7406644\"","properties":{"immutabilityPeriodSinceCreationInDays":0,"state":"Deleted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d859494708f0e7\"","properties":{"immutabilityPeriodSinceCreationInDays":0,"state":"Deleted"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:04 GMT - etag: '"8d81b2bb7406644"' + date: Tue, 15 Sep 2020 07:30:53 GMT + etag: '"8d859494708f0e7"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -988,7 +906,7 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 - request: body: '{"properties": {"immutabilityPeriodSinceCreationInDays": 3, "allowProtectedAppendWrites": true}}' @@ -1000,18 +918,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2bb77e6544\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d8594947553c64\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:05 GMT - etag: '"8d81b2bb77e6544"' + date: Tue, 15 Sep 2020 07:30:53 GMT + etag: '"8d8594947553c64"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1020,29 +938,29 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1188' + x-ms-ratelimit-remaining-subscription-writes: '1189' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2bb77e6544\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d8594947553c64\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:05 GMT - etag: '"8d81b2bb77e6544"' + date: Tue, 15 Sep 2020 07:30:54 GMT + etag: '"8d8594947553c64"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1054,25 +972,25 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers","etag":"\"0x8D81B2BB78103ED\"","properties":{"deleted":false,"remainingRetentionDays":0,"defaultEncryptionScope":"$account-encryption-key","denyEncryptionScopeOverride":false,"publicAccess":"None","leaseStatus":"Unlocked","leaseState":"Available","lastModifiedTime":"2020-06-28T06:23:04.0000000Z","immutabilityPolicy":{"etag":"\"8d81b2bb77e6544\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"},"updateHistory":[{"allowProtectedAppendWrites":true,"update":"put","immutabilityPeriodSinceCreationInDays":3,"timestamp":"2020-06-28T06:23:04.9138904Z","objectIdentifier":"b8d54648-e120-4a1f-8da0-38788dc0090c","tenantId":"00000000-0000-0000-0000-000000000000"}]},"legalHold":{"hasLegalHold":false,"tags":[]},"hasImmutabilityPolicy":true,"hasLegalHold":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers","etag":"\"0x8D85949475A315B\"","properties":{"deleted":false,"remainingRetentionDays":0,"defaultEncryptionScope":"$account-encryption-key","denyEncryptionScopeOverride":false,"publicAccess":"None","leaseStatus":"Unlocked","leaseState":"Available","lastModifiedTime":"2020-09-15T07:30:53.0000000Z","immutabilityPolicy":{"etag":"\"8d8594947553c64\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"},"updateHistory":[{"allowProtectedAppendWrites":true,"update":"put","immutabilityPeriodSinceCreationInDays":3,"timestamp":"2020-09-15T07:30:53.7490742Z","objectIdentifier":"123743cc-88ef-49ee-920e-13958fe5697d","tenantId":"00000000-0000-0000-0000-000000000000"}]},"legalHold":{"hasLegalHold":false,"tags":[]},"hasImmutabilityPolicy":true,"hasLegalHold":false}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:05 GMT - etag: '"0x8D81B2BB78103ED"' + date: Tue, 15 Sep 2020 07:30:54 GMT + etag: '"0x8D85949475A315B"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1084,24 +1002,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateEndpointConnections/storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","name":"storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateEndpointConnections/storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55","name":"storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:05 GMT + date: Tue, 15 Sep 2020 07:30:54 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1113,25 +1031,25 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateEndpointConnections/storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01&$expand=stats + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01&$expand=stats response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares","etag":"\"0x8D81B2BB473806E\"","properties":{"shareUsageBytes":0,"lastModifiedTime":"2020-06-28T06:22:59.0000000Z","shareQuota":5120}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares","etag":"\"0x8D85949442E9693\"","properties":{"shareUsageBytes":0,"accessTier":"TransactionOptimized","lastModifiedTime":"2020-09-15T07:30:48.0000000Z","shareQuota":5120}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:06 GMT - etag: '"0x8D81B2BB473806E"' + date: Tue, 15 Sep 2020 07:30:55 GMT + etag: '"0x8D85949442E9693"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1143,24 +1061,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01&$expand=stats + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01&$expand=stats - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/managementPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default","name":"DefaultManagementPolicy","type":"Microsoft.Storage/storageAccounts/managementPolicies","properties":{"policy":{"rules":[{"enabled":true,"name":"olcmtest","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":30.0},"tierToArchive":{"daysAfterModificationGreaterThan":90.0},"delete":{"daysAfterModificationGreaterThan":1000.0}},"snapshot":{"delete":{"daysAfterCreationGreaterThan":30.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["olcmtestcontainer"]}}}]},"lastModifiedTime":"2020-06-28T06:22:58.9907811Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/managementPolicies/default","name":"DefaultManagementPolicy","type":"Microsoft.Storage/storageAccounts/managementPolicies","properties":{"policy":{"rules":[{"enabled":true,"name":"olcmtest","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":30.0},"tierToArchive":{"daysAfterModificationGreaterThan":90.0},"delete":{"daysAfterModificationGreaterThan":1000.0}},"snapshot":{"delete":{"daysAfterCreationGreaterThan":30.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["olcmtestcontainer"]}}}]},"lastModifiedTime":"2020-09-15T07:30:47.2802568Z"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:06 GMT + date: Tue, 15 Sep 2020 07:30:55 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1172,24 +1090,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/managementPolicies/default?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers?api-version=2019-06-01&$include=deleted + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers?api-version=2019-06-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers","etag":"\"0x8D81B2BB78103ED\"","properties":{"deleted":false,"remainingRetentionDays":0,"defaultEncryptionScope":"$account-encryption-key","denyEncryptionScopeOverride":false,"publicAccess":"None","leaseStatus":"Unlocked","leaseState":"Available","lastModifiedTime":"2020-06-28T06:23:04.0000000Z","hasImmutabilityPolicy":true,"hasLegalHold":false}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers","etag":"\"0x8D85949475A315B\"","properties":{"deleted":false,"remainingRetentionDays":0,"defaultEncryptionScope":"$account-encryption-key","denyEncryptionScopeOverride":false,"publicAccess":"None","leaseStatus":"Unlocked","leaseState":"Available","lastModifiedTime":"2020-09-15T07:30:53.0000000Z","hasImmutabilityPolicy":true,"hasLegalHold":false}}]}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:06 GMT + date: Tue, 15 Sep 2020 07:30:55 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1201,24 +1119,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers?api-version=2019-06-01&$include=deleted + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","creationTime":"2020-06-28T06:22:58.4796418Z","lastModifiedTime":"2020-06-28T06:22:58.4796418Z","state":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","creationTime":"2020-09-15T07:30:46.6679769Z","lastModifiedTime":"2020-09-15T07:30:46.6679769Z","state":"Enabled"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:07 GMT + date: Tue, 15 Sep 2020 07:30:56 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1230,24 +1148,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares?api-version=2019-06-01&$expand=deleted + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default/shares?api-version=2019-06-01&$expand=deleted response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares","etag":"\"0x8D81B2BB473806E\"","properties":{"accessTier":"TransactionOptimized","lastModifiedTime":"2020-06-28T06:22:59.0000000Z","shareQuota":5120,"enabledProtocols":"SMB"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares","etag":"\"0x8D85949442E9693\"","properties":{"accessTier":"TransactionOptimized","lastModifiedTime":"2020-09-15T07:30:48.0000000Z","shareQuota":5120,"enabledProtocols":"SMB"}}]}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:07 GMT + date: Tue, 15 Sep 2020 07:30:56 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1259,25 +1177,25 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares?api-version=2019-06-01&$expand=deleted + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default/shares?api-version=2019-06-01&$expand=deleted - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[{"allowedOrigins":["http://www.contoso.com","http://www.fabrikam.com"],"allowedMethods":["GET","HEAD","POST","OPTIONS","MERGE","PUT"],"maxAgeInSeconds":100,"exposedHeaders":["x-ms-meta-*"],"allowedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x-ms-meta-target*"]},{"allowedOrigins":["*"],"allowedMethods":["GET"],"maxAgeInSeconds":2,"exposedHeaders":["*"],"allowedHeaders":["*"]},{"allowedOrigins":["http://www.abc23.com","https://www.fabrikam.com/*"],"allowedMethods":["GET","PUT"],"maxAgeInSeconds":2000,"exposedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[{"allowedOrigins":["http://www.contoso.com","http://www.fabrikam.com"],"allowedMethods":["GET","HEAD","POST","OPTIONS","MERGE","PUT"],"maxAgeInSeconds":100,"exposedHeaders":["x-ms-meta-*"],"allowedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x-ms-meta-target*"]},{"allowedOrigins":["*"],"allowedMethods":["GET"],"maxAgeInSeconds":2,"exposedHeaders":["*"],"allowedHeaders":["*"]},{"allowedOrigins":["http://www.abc23.com","https://www.fabrikam.com/*"],"allowedMethods":["GET","PUT"],"maxAgeInSeconds":2000,"exposedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x -ms-meta-target*"],"allowedHeaders":["x-ms-meta-12345675754564*"]}]},"defaultServiceVersion":"2017-07-29","deleteRetentionPolicy":{"enabled":true,"days":300}}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:07 GMT + date: Tue, 15 Sep 2020 07:30:56 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1289,24 +1207,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/fileServices","properties":{"cors":{"corsRules":[]}}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/fileServices","properties":{"protocolSettings":{"smb":{"multichannel":{"enabled":false}}},"cors":{"corsRules":[]}}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:07 GMT + date: Tue, 15 Sep 2020 07:30:56 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1318,24 +1236,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateLinkResources?api-version=2019-06-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources/blob","name":"blob","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"blob","requiredMembers":["blob"],"requiredZoneNames":["privatelink.blob.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources/table","name":"table","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"table","requiredMembers":["table"],"requiredZoneNames":["privatelink.table.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources/queue","name":"queue","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"queue","requiredMembers":["queue"],"requiredZoneNames":["privatelink.queue.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources/file","name":"file","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"file","requiredMembers":["file"],"requiredZoneNames":["privatelink.file.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources/web","name":"web","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"web","requiredMembers":["web"],"requiredZoneNames":["privatelink.web.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources/dfs","name":"dfs","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"dfs","requiredMembers":["dfs"],"requiredZoneNames":["privatelink.dfs.core.windows.net"]}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateLinkResources/blob","name":"blob","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"blob","requiredMembers":["blob"],"requiredZoneNames":["privatelink.blob.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateLinkResources/table","name":"table","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"table","requiredMembers":["table"],"requiredZoneNames":["privatelink.table.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateLinkResources/queue","name":"queue","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"queue","requiredMembers":["queue"],"requiredZoneNames":["privatelink.queue.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateLinkResources/file","name":"file","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"file","requiredMembers":["file"],"requiredZoneNames":["privatelink.file.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateLinkResources/web","name":"web","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"web","requiredMembers":["web"],"requiredZoneNames":["privatelink.web.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateLinkResources/dfs","name":"dfs","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"dfs","requiredMembers":["dfs"],"requiredZoneNames":["privatelink.dfs.core.windows.net"]}}]}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:08 GMT + date: Tue, 15 Sep 2020 07:30:57 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1347,24 +1265,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateLinkResources?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/encryptionScopes?api-version=2019-06-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","creationTime":"2020-06-28T06:22:58.4796418Z","lastModifiedTime":"2020-06-28T06:22:58.4796418Z","state":"Enabled"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","creationTime":"2020-09-15T07:30:46.6679769Z","lastModifiedTime":"2020-09-15T07:30:46.6679769Z","state":"Enabled"}}]}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:08 GMT + date: Tue, 15 Sep 2020 07:30:57 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1376,25 +1294,25 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/encryptionScopes?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices?api-version=2019-06-01 response: body: - string: '{"value":[{"sku":{"name":"Standard_GRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[{"allowedOrigins":["http://www.contoso.com","http://www.fabrikam.com"],"allowedMethods":["GET","HEAD","POST","OPTIONS","MERGE","PUT"],"maxAgeInSeconds":100,"exposedHeaders":["x-ms-meta-*"],"allowedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x-ms-meta-target*"]},{"allowedOrigins":["*"],"allowedMethods":["GET"],"maxAgeInSeconds":2,"exposedHeaders":["*"],"allowedHeaders":["*"]},{"allowedOrigins":["http://www.abc23.com","https://www.fabrikam.com/*"],"allowedMethods":["GET","PUT"],"maxAgeInSeconds":2000,"exposedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x + string: '{"value":[{"sku":{"name":"Standard_GRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[{"allowedOrigins":["http://www.contoso.com","http://www.fabrikam.com"],"allowedMethods":["GET","HEAD","POST","OPTIONS","MERGE","PUT"],"maxAgeInSeconds":100,"exposedHeaders":["x-ms-meta-*"],"allowedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x-ms-meta-target*"]},{"allowedOrigins":["*"],"allowedMethods":["GET"],"maxAgeInSeconds":2,"exposedHeaders":["*"],"allowedHeaders":["*"]},{"allowedOrigins":["http://www.abc23.com","https://www.fabrikam.com/*"],"allowedMethods":["GET","PUT"],"maxAgeInSeconds":2000,"exposedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x -ms-meta-target*"],"allowedHeaders":["x-ms-meta-12345675754564*"]}]},"defaultServiceVersion":"2017-07-29","deleteRetentionPolicy":{"enabled":true,"days":300}}}]}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:08 GMT + date: Tue, 15 Sep 2020 07:30:57 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1406,24 +1324,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices?api-version=2019-06-01 response: body: - string: '{"value":[{"sku":{"name":"Standard_GRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/fileServices","properties":{"cors":{"corsRules":[]}}}]}' + string: '{"value":[{"sku":{"name":"Standard_GRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/fileServices","properties":{"protocolSettings":{"smb":{"multichannel":{"enabled":false}}},"cors":{"corsRules":[]}}}]}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:09 GMT + date: Tue, 15 Sep 2020 07:30:58 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1435,24 +1353,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","name":"storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:21:48.0207896Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn","name":"storageaccountxxyyzznzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateEndpointConnections/storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55","name":"storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:29:53.5766027Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:29:53.5766027Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-09-15T07:29:53.4828765Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzznzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzznzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzznzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzznzn.queue.core.windows.net/","table":"https://storageaccountxxyyzznzn.table.core.windows.net/","file":"https://storageaccountxxyyzznzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:09 GMT + date: Tue, 15 Sep 2020 07:30:58 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1464,24 +1382,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts?api-version=2019-06-01 response: body: - string: '{"value":[{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","name":"storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:21:48.0207896Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}]}' + string: '{"value":[{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn","name":"storageaccountxxyyzznzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateEndpointConnections/storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55","name":"storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:29:53.5766027Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:29:53.5766027Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-09-15T07:29:53.4828765Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzznzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzznzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzznzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzznzn.queue.core.windows.net/","table":"https://storageaccountxxyyzznzn.table.core.windows.net/","file":"https://storageaccountxxyyzznzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}]}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:09 GMT + date: Tue, 15 Sep 2020 07:30:58 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1493,14 +1411,14 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/usages?api-version=2019-06-01 response: @@ -1511,7 +1429,7 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:09 GMT + date: Tue, 15 Sep 2020 07:30:58 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1530,24 +1448,24 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2019-06-01 response: body: - string: '{"value":[{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qiaozhatest/providers/Microsoft.Storage/storageAccounts/qiaozhatestdiag","name":"qiaozhatestdiag","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-01T03:28:36.6558790Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-01T03:28:36.6558790Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-01T03:28:36.5776009Z","primaryEndpoints":{"blob":"https://qiaozhatestdiag.blob.core.windows.net/","queue":"https://qiaozhatestdiag.queue.core.windows.net/","table":"https://qiaozhatestdiag.table.core.windows.net/","file":"https://qiaozhatestdiag.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-sdk-for-node/providers/Microsoft.Storage/storageAccounts/azuresdkfornodediag","name":"azuresdkfornodediag","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-10T22:40:25.4342475Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-10T22:40:25.4342475Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2019-01-10T22:40:25.3405525Z","primaryEndpoints":{"blob":"https://azuresdkfornodediag.blob.core.windows.net/","queue":"https://azuresdkfornodediag.queue.core.windows.net/","table":"https://azuresdkfornodediag.table.core.windows.net/","file":"https://azuresdkfornodediag.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dev-box/providers/Microsoft.Storage/storageAccounts/devboxdiag862","name":"devboxdiag862","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-08-06T17:53:31.3605408Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-08-06T17:53:31.3605408Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-08-06T17:53:31.2355702Z","primaryEndpoints":{"blob":"https://devboxdiag862.blob.core.windows.net/","queue":"https://devboxdiag862.queue.core.windows.net/","table":"https://devboxdiag862.table.core.windows.net/","file":"https://devboxdiag862.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/msi-test-functions/providers/Microsoft.Storage/storageAccounts/msitestfunctionbc63","name":"msitestfunctionbc63","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-14T18:44:56.9136213Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-14T18:44:56.9136213Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2019-01-14T18:44:56.8042783Z","primaryEndpoints":{"blob":"https://msitestfunctionbc63.blob.core.windows.net/","queue":"https://msitestfunctionbc63.queue.core.windows.net/","table":"https://msitestfunctionbc63.table.core.windows.net/","file":"https://msitestfunctionbc63.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-sdk-for-js/providers/Microsoft.Storage/storageAccounts/proxytestjs","name":"proxytestjs","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-17T18:51:16.0174916Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-17T18:51:16.0174916Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2019-01-17T18:51:15.9237740Z","primaryEndpoints":{"dfs":"https://proxytestjs.dfs.core.windows.net/","web":"https://proxytestjs.z22.web.core.windows.net/","blob":"https://proxytestjs.blob.core.windows.net/","queue":"https://proxytestjs.queue.core.windows.net/","table":"https://proxytestjs.table.core.windows.net/","file":"https://proxytestjs.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"dfs":"https://proxytestjs-secondary.dfs.core.windows.net/","web":"https://proxytestjs-secondary.z22.web.core.windows.net/","blob":"https://proxytestjs-secondary.blob.core.windows.net/","queue":"https://proxytestjs-secondary.queue.core.windows.net/","table":"https://proxytestjs-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_compute_test_vm_extensions15a60f10/providers/Microsoft.Storage/storageAccounts/pyvmextstor15a60f10","name":"pyvmextstor15a60f10","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-17T04:30:54.7950234Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-17T04:30:54.7950234Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-06-17T04:30:54.7169469Z","primaryEndpoints":{"blob":"https://pyvmextstor15a60f10.blob.core.windows.net/","queue":"https://pyvmextstor15a60f10.queue.core.windows.net/","table":"https://pyvmextstor15a60f10.table.core.windows.net/","file":"https://pyvmextstor15a60f10.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qiaozhatest/providers/Microsoft.Storage/storageAccounts/qiaozhadftest","name":"qiaozhadftest","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-03-18T13:26:28.6688154Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-03-18T13:26:28.6688154Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-03-18T13:26:28.5907139Z","primaryEndpoints":{"blob":"https://qiaozhadftest.blob.core.windows.net/","queue":"https://qiaozhadftest.queue.core.windows.net/","table":"https://qiaozhadftest.table.core.windows.net/","file":"https://qiaozhadftest.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/arm-python-RG/providers/Microsoft.Storage/storageAccounts/armpythonrgdiag","name":"armpythonrgdiag","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-08T08:37:58.4541510Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-08T08:37:58.4541510Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-08T08:37:58.3603956Z","primaryEndpoints":{"blob":"https://armpythonrgdiag.blob.core.windows.net/","queue":"https://armpythonrgdiag.queue.core.windows.net/","table":"https://armpythonrgdiag.table.core.windows.net/","file":"https://armpythonrgdiag.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","name":"storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:21:48.0207896Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-changlong/providers/Microsoft.Storage/storageAccounts/testchanglong","name":"testchanglong","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{},"properties":{"privateEndpointConnections":[],"minimumTlsVersion":"TLS1_0","allowBlobPublicAccess":true,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T02:38:27.0613852Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T02:38:27.0613852Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T02:38:26.9983339Z","primaryEndpoints":{"dfs":"https://testchanglong.dfs.core.windows.net/","web":"https://testchanglong.z6.web.core.windows.net/","blob":"https://testchanglong.blob.core.windows.net/","queue":"https://testchanglong.queue.core.windows.net/","table":"https://testchanglong.table.core.windows.net/","file":"https://testchanglong.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available","secondaryEndpoints":{"dfs":"https://testchanglong-secondary.dfs.core.windows.net/","web":"https://testchanglong-secondary.z6.web.core.windows.net/","blob":"https://testchanglong-secondary.blob.core.windows.net/","queue":"https://testchanglong-secondary.queue.core.windows.net/","table":"https://testchanglong-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloud-shell-storage-southeastasia/providers/Microsoft.Storage/storageAccounts/cs1100320006f639ac4","name":"cs1100320006f639ac4","type":"Microsoft.Storage/storageAccounts","location":"southeastasia","tags":{"ms-resource-usage":"azure-cloud-shell"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-22T09:18:47.2076778Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-22T09:18:47.2076778Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-22T09:18:47.1451761Z","primaryEndpoints":{"dfs":"https://cs1100320006f639ac4.dfs.core.windows.net/","web":"https://cs1100320006f639ac4.z23.web.core.windows.net/","blob":"https://cs1100320006f639ac4.blob.core.windows.net/","queue":"https://cs1100320006f639ac4.queue.core.windows.net/","table":"https://cs1100320006f639ac4.table.core.windows.net/","file":"https://cs1100320006f639ac4.file.core.windows.net/"},"primaryLocation":"southeastasia","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloud-shell-storage-southeastasia/providers/Microsoft.Storage/storageAccounts/cs192f95d8f3c67x4124x91c","name":"cs192f95d8f3c67x4124x91c","type":"Microsoft.Storage/storageAccounts","location":"southeastasia","tags":{"ms-resource-usage":"azure-cloud-shell"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-01-19T06:50:51.6330046Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-01-19T06:50:51.6330046Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-01-19T06:50:51.5705351Z","primaryEndpoints":{"dfs":"https://cs192f95d8f3c67x4124x91c.dfs.core.windows.net/","web":"https://cs192f95d8f3c67x4124x91c.z23.web.core.windows.net/","blob":"https://cs192f95d8f3c67x4124x91c.blob.core.windows.net/","queue":"https://cs192f95d8f3c67x4124x91c.queue.core.windows.net/","table":"https://cs192f95d8f3c67x4124x91c.table.core.windows.net/","file":"https://cs192f95d8f3c67x4124x91c.file.core.windows.net/"},"primaryLocation":"southeastasia","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ml-test/providers/Microsoft.Storage/storageAccounts/billymlteststorage","name":"billymlteststorage","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-11T04:48:02.8290793Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-11T04:48:02.8290793Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-10-11T04:48:02.7509575Z","primaryEndpoints":{"blob":"https://billymlteststorage.blob.core.windows.net/","queue":"https://billymlteststorage.queue.core.windows.net/","table":"https://billymlteststorage.table.core.windows.net/","file":"https://billymlteststorage.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/git2gridtesting/providers/Microsoft.Storage/storageAccounts/git2gridb900","name":"git2gridb900","type":"Microsoft.Storage/storageAccounts","location":"centralus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-13T01:56:00.4853173Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-13T01:56:00.4853173Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-10-13T01:56:00.3446936Z","primaryEndpoints":{"blob":"https://git2gridb900.blob.core.windows.net/","queue":"https://git2gridb900.queue.core.windows.net/","table":"https://git2gridb900.table.core.windows.net/","file":"https://git2gridb900.file.core.windows.net/"},"primaryLocation":"centralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vpn-lon/providers/Microsoft.Storage/storageAccounts/vpnlondiag","name":"vpnlondiag","type":"Microsoft.Storage/storageAccounts","location":"ukwest","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-08T20:09:35.3071398Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-08T20:09:35.3071398Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-10-08T20:09:35.2602311Z","primaryEndpoints":{"blob":"https://vpnlondiag.blob.core.windows.net/","queue":"https://vpnlondiag.queue.core.windows.net/","table":"https://vpnlondiag.table.core.windows.net/","file":"https://vpnlondiag.file.core.windows.net/"},"primaryLocation":"ukwest","statusOfPrimary":"available"}}]}' + string: '{"value":[{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-sdk-test/providers/Microsoft.Storage/storageAccounts/azuresdktestdiag","name":"azuresdktestdiag","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-08T03:21:35.9194204Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-08T03:21:35.9194204Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-09-08T03:21:35.8256572Z","primaryEndpoints":{"blob":"https://azuresdktestdiag.blob.core.windows.net/","queue":"https://azuresdktestdiag.queue.core.windows.net/","table":"https://azuresdktestdiag.table.core.windows.net/","file":"https://azuresdktestdiag.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qiaozhatest/providers/Microsoft.Storage/storageAccounts/qiaozhatestdiag","name":"qiaozhatestdiag","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-01T03:28:36.6558790Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-01T03:28:36.6558790Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-01T03:28:36.5776009Z","primaryEndpoints":{"blob":"https://qiaozhatestdiag.blob.core.windows.net/","queue":"https://qiaozhatestdiag.queue.core.windows.net/","table":"https://qiaozhatestdiag.table.core.windows.net/","file":"https://qiaozhatestdiag.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qiaozhatest/providers/Microsoft.Storage/storageAccounts/testforadfsdk","name":"testforadfsdk","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-07-29T04:46:28.8903304Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-07-29T04:46:28.8903304Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-07-29T04:46:28.7965820Z","primaryEndpoints":{"dfs":"https://testforadfsdk.dfs.core.windows.net/","web":"https://testforadfsdk.z13.web.core.windows.net/","blob":"https://testforadfsdk.blob.core.windows.net/","queue":"https://testforadfsdk.queue.core.windows.net/","table":"https://testforadfsdk.table.core.windows.net/","file":"https://testforadfsdk.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qiaozhatest/providers/Microsoft.Storage/storageAccounts/testsdkjs","name":"testsdkjs","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"privateEndpointConnections":[],"minimumTlsVersion":"TLS1_0","allowBlobPublicAccess":true,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-08-07T07:31:16.0546602Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-08-07T07:31:16.0546602Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-08-07T07:31:15.9296592Z","primaryEndpoints":{"dfs":"https://testsdkjs.dfs.core.windows.net/","web":"https://testsdkjs.z13.web.core.windows.net/","blob":"https://testsdkjs.blob.core.windows.net/","queue":"https://testsdkjs.queue.core.windows.net/","table":"https://testsdkjs.table.core.windows.net/","file":"https://testsdkjs.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available","secondaryLocation":"westus","statusOfSecondary":"available","secondaryEndpoints":{"dfs":"https://testsdkjs-secondary.dfs.core.windows.net/","web":"https://testsdkjs-secondary.z13.web.core.windows.net/","blob":"https://testsdkjs-secondary.blob.core.windows.net/","queue":"https://testsdkjs-secondary.queue.core.windows.net/","table":"https://testsdkjs-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qiaozhatest/providers/Microsoft.Storage/storageAccounts/qiaozhatestdiag539","name":"qiaozhatestdiag539","type":"Microsoft.Storage/storageAccounts","location":"eastus2","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-08-06T01:55:21.1675069Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-08-06T01:55:21.1675069Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-08-06T01:55:21.0737687Z","primaryEndpoints":{"blob":"https://qiaozhatestdiag539.blob.core.windows.net/","queue":"https://qiaozhatestdiag539.queue.core.windows.net/","table":"https://qiaozhatestdiag539.table.core.windows.net/","file":"https://qiaozhatestdiag539.file.core.windows.net/"},"primaryLocation":"eastus2","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-sdk-for-node/providers/Microsoft.Storage/storageAccounts/azuresdkfornodediag","name":"azuresdkfornodediag","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-10T22:40:25.4342475Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-10T22:40:25.4342475Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2019-01-10T22:40:25.3405525Z","primaryEndpoints":{"blob":"https://azuresdkfornodediag.blob.core.windows.net/","queue":"https://azuresdkfornodediag.queue.core.windows.net/","table":"https://azuresdkfornodediag.table.core.windows.net/","file":"https://azuresdkfornodediag.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestqz44lhgyfadyuonzthxmzgrq4qtw5vctntbi2lyggv5neas6jklmdw2ot3qrglwn4xgw/providers/Microsoft.Storage/storageAccounts/clitesti5fqkvz5sekodvz7l","name":"clitesti5fqkvz5sekodvz7l","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-08-07T03:31:39.9199086Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-08-07T03:31:39.9199086Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-08-07T03:31:39.8417354Z","primaryEndpoints":{"blob":"https://clitesti5fqkvz5sekodvz7l.blob.core.windows.net/","queue":"https://clitesti5fqkvz5sekodvz7l.queue.core.windows.net/","table":"https://clitesti5fqkvz5sekodvz7l.table.core.windows.net/","file":"https://clitesti5fqkvz5sekodvz7l.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestleo4ph5sfx6z3zktznstrtxzj7llbya26xdg4qe477ebxol4xpl7zniwh3wkrh2m22uf/providers/Microsoft.Storage/storageAccounts/clitestidy657uufdzeitzcf","name":"clitestidy657uufdzeitzcf","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-08-14T05:19:43.4580946Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-08-14T05:19:43.4580946Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-08-14T05:19:43.3799804Z","primaryEndpoints":{"blob":"https://clitestidy657uufdzeitzcf.blob.core.windows.net/","queue":"https://clitestidy657uufdzeitzcf.queue.core.windows.net/","table":"https://clitestidy657uufdzeitzcf.table.core.windows.net/","file":"https://clitestidy657uufdzeitzcf.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestt766m3arr3aw6mv4bamwqplradoeeyqcy2ivqpqsigthyiarurwanqjqzt6qaubnepb7/providers/Microsoft.Storage/storageAccounts/clitestycq2ixmostncp2frb","name":"clitestycq2ixmostncp2frb","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-08-07T06:12:48.8279830Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-08-07T06:12:48.8279830Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-08-07T06:12:48.7498365Z","primaryEndpoints":{"blob":"https://clitestycq2ixmostncp2frb.blob.core.windows.net/","queue":"https://clitestycq2ixmostncp2frb.queue.core.windows.net/","table":"https://clitestycq2ixmostncp2frb.table.core.windows.net/","file":"https://clitestycq2ixmostncp2frb.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dev-box/providers/Microsoft.Storage/storageAccounts/devboxdiag862","name":"devboxdiag862","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-08-06T17:53:31.3605408Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-08-06T17:53:31.3605408Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-08-06T17:53:31.2355702Z","primaryEndpoints":{"blob":"https://devboxdiag862.blob.core.windows.net/","queue":"https://devboxdiag862.queue.core.windows.net/","table":"https://devboxdiag862.table.core.windows.net/","file":"https://devboxdiag862.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/msi-test-functions/providers/Microsoft.Storage/storageAccounts/msitestfunctionbc63","name":"msitestfunctionbc63","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-14T18:44:56.9136213Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-14T18:44:56.9136213Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2019-01-14T18:44:56.8042783Z","primaryEndpoints":{"blob":"https://msitestfunctionbc63.blob.core.windows.net/","queue":"https://msitestfunctionbc63.queue.core.windows.net/","table":"https://msitestfunctionbc63.table.core.windows.net/","file":"https://msitestfunctionbc63.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-sdk-for-js/providers/Microsoft.Storage/storageAccounts/proxytestjs","name":"proxytestjs","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-17T18:51:16.0174916Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-17T18:51:16.0174916Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2019-01-17T18:51:15.9237740Z","primaryEndpoints":{"dfs":"https://proxytestjs.dfs.core.windows.net/","web":"https://proxytestjs.z22.web.core.windows.net/","blob":"https://proxytestjs.blob.core.windows.net/","queue":"https://proxytestjs.queue.core.windows.net/","table":"https://proxytestjs.table.core.windows.net/","file":"https://proxytestjs.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"dfs":"https://proxytestjs-secondary.dfs.core.windows.net/","web":"https://proxytestjs-secondary.z22.web.core.windows.net/","blob":"https://proxytestjs-secondary.blob.core.windows.net/","queue":"https://proxytestjs-secondary.queue.core.windows.net/","table":"https://proxytestjs-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qiaozhatest/providers/Microsoft.Storage/storageAccounts/qiaozhadftest","name":"qiaozhadftest","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-03-18T13:26:28.6688154Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-03-18T13:26:28.6688154Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-03-18T13:26:28.5907139Z","primaryEndpoints":{"blob":"https://qiaozhadftest.blob.core.windows.net/","queue":"https://qiaozhadftest.queue.core.windows.net/","table":"https://qiaozhadftest.table.core.windows.net/","file":"https://qiaozhadftest.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/arm-python-RG/providers/Microsoft.Storage/storageAccounts/armpythonrgdiag","name":"armpythonrgdiag","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-08T08:37:58.4541510Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-08T08:37:58.4541510Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-08T08:37:58.3603956Z","primaryEndpoints":{"blob":"https://armpythonrgdiag.blob.core.windows.net/","queue":"https://armpythonrgdiag.queue.core.windows.net/","table":"https://armpythonrgdiag.table.core.windows.net/","file":"https://armpythonrgdiag.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn","name":"storageaccountxxyyzznzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateEndpointConnections/storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55","name":"storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:29:53.5766027Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:29:53.5766027Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-09-15T07:29:53.4828765Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzznzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzznzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzznzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzznzn.queue.core.windows.net/","table":"https://storageaccountxxyyzznzn.table.core.windows.net/","file":"https://storageaccountxxyyzznzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-changlong/providers/Microsoft.Storage/storageAccounts/testchanglong","name":"testchanglong","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{},"properties":{"privateEndpointConnections":[],"minimumTlsVersion":"TLS1_0","allowBlobPublicAccess":true,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T02:38:27.0613852Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T02:38:27.0613852Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T02:38:26.9983339Z","primaryEndpoints":{"dfs":"https://testchanglong.dfs.core.windows.net/","web":"https://testchanglong.z6.web.core.windows.net/","blob":"https://testchanglong.blob.core.windows.net/","queue":"https://testchanglong.queue.core.windows.net/","table":"https://testchanglong.table.core.windows.net/","file":"https://testchanglong.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available","secondaryEndpoints":{"dfs":"https://testchanglong-secondary.dfs.core.windows.net/","web":"https://testchanglong-secondary.z6.web.core.windows.net/","blob":"https://testchanglong-secondary.blob.core.windows.net/","queue":"https://testchanglong-secondary.queue.core.windows.net/","table":"https://testchanglong-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloud-shell-storage-southeastasia/providers/Microsoft.Storage/storageAccounts/cs1100320006f639ac4","name":"cs1100320006f639ac4","type":"Microsoft.Storage/storageAccounts","location":"southeastasia","tags":{"ms-resource-usage":"azure-cloud-shell"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-22T09:18:47.2076778Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-22T09:18:47.2076778Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-22T09:18:47.1451761Z","primaryEndpoints":{"dfs":"https://cs1100320006f639ac4.dfs.core.windows.net/","web":"https://cs1100320006f639ac4.z23.web.core.windows.net/","blob":"https://cs1100320006f639ac4.blob.core.windows.net/","queue":"https://cs1100320006f639ac4.queue.core.windows.net/","table":"https://cs1100320006f639ac4.table.core.windows.net/","file":"https://cs1100320006f639ac4.file.core.windows.net/"},"primaryLocation":"southeastasia","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloud-shell-storage-southeastasia/providers/Microsoft.Storage/storageAccounts/cs192f95d8f3c67x4124x91c","name":"cs192f95d8f3c67x4124x91c","type":"Microsoft.Storage/storageAccounts","location":"southeastasia","tags":{"ms-resource-usage":"azure-cloud-shell"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-01-19T06:50:51.6330046Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-01-19T06:50:51.6330046Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-01-19T06:50:51.5705351Z","primaryEndpoints":{"dfs":"https://cs192f95d8f3c67x4124x91c.dfs.core.windows.net/","web":"https://cs192f95d8f3c67x4124x91c.z23.web.core.windows.net/","blob":"https://cs192f95d8f3c67x4124x91c.blob.core.windows.net/","queue":"https://cs192f95d8f3c67x4124x91c.queue.core.windows.net/","table":"https://cs192f95d8f3c67x4124x91c.table.core.windows.net/","file":"https://cs192f95d8f3c67x4124x91c.file.core.windows.net/"},"primaryLocation":"southeastasia","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ml-test/providers/Microsoft.Storage/storageAccounts/billymlteststorage","name":"billymlteststorage","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-11T04:48:02.8290793Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-11T04:48:02.8290793Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-10-11T04:48:02.7509575Z","primaryEndpoints":{"blob":"https://billymlteststorage.blob.core.windows.net/","queue":"https://billymlteststorage.queue.core.windows.net/","table":"https://billymlteststorage.table.core.windows.net/","file":"https://billymlteststorage.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/git2gridtesting/providers/Microsoft.Storage/storageAccounts/git2gridb900","name":"git2gridb900","type":"Microsoft.Storage/storageAccounts","location":"centralus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-13T01:56:00.4853173Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-13T01:56:00.4853173Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-10-13T01:56:00.3446936Z","primaryEndpoints":{"blob":"https://git2gridb900.blob.core.windows.net/","queue":"https://git2gridb900.queue.core.windows.net/","table":"https://git2gridb900.table.core.windows.net/","file":"https://git2gridb900.file.core.windows.net/"},"primaryLocation":"centralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vpn-lon/providers/Microsoft.Storage/storageAccounts/vpnlondiag","name":"vpnlondiag","type":"Microsoft.Storage/storageAccounts","location":"ukwest","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-08T20:09:35.3071398Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-08T20:09:35.3071398Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-10-08T20:09:35.2602311Z","primaryEndpoints":{"blob":"https://vpnlondiag.blob.core.windows.net/","queue":"https://vpnlondiag.queue.core.windows.net/","table":"https://vpnlondiag.table.core.windows.net/","file":"https://vpnlondiag.file.core.windows.net/"},"primaryLocation":"ukwest","statusOfPrimary":"available"}}]}' headers: cache-control: no-cache content-encoding: gzip - content-length: '3211' + content-length: '4294' content-type: application/json; charset=utf-8 - date: Sun, 28 Jun 2020 06:23:10 GMT + date: Tue, 15 Sep 2020 07:30:59 GMT expires: '-1' pragma: no-cache strict-transport-security: max-age=31536000; includeSubDomains vary: Accept-Encoding x-content-type-options: nosniff - x-ms-original-request-ids: 61ced99c-acef-4f9a-a055-2e0f0fb4900f + x-ms-original-request-ids: 7311dae2-6078-494e-87b8-bea9cb2f4477 status: code: 200 message: OK @@ -1558,18 +1476,18 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/skus?api-version=2019-06-01 response: body: - string: '{"value":[{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"FileStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"FileStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"FileStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"BlockBlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]}]}' + string: '{"value":[{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsNfsShare","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"FileStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsNfsShare","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"FileStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsNfsShare","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsNfsShare","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsNfsShare","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsBlobInventoryPolicy","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsBlobInventoryPolicy","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsBlobInventoryPolicy","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsBlobInventoryPolicy","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsBlobInventoryPolicy","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsBlobInventoryPolicy","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsBlobInventoryPolicy","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"FileStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsNfsShare","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"FileStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsNfsShare","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"BlockBlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"FileStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"BlockBlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"FileStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"BlockBlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"FileStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsNfsShare","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsBlobInventoryPolicy","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsBlobInventoryPolicy","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsBlobInventoryPolicy","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsBlobInventoryPolicy","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsBlobInventoryPolicy","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsBlobInventoryPolicy","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsBlobInventoryPolicy","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsBlobInventoryPolicy","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsBlobInventoryPolicy","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastus2euap"],"locationInfo":[],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsNfsShare","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"},{"name":"supportsattributebasedaccesscontrol","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]}]}' headers: cache-control: no-cache content-encoding: gzip - content-length: '18261' + content-length: '22414' content-type: application/json; charset=utf-8 - date: Sun, 28 Jun 2020 06:23:10 GMT + date: Tue, 15 Sep 2020 07:31:00 GMT expires: '-1' pragma: no-cache strict-transport-security: max-age=31536000; includeSubDomains @@ -1585,537 +1503,930 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/providers/Microsoft.Storage/operations?api-version=2019-06-01 response: body: - string: "{\"value\":[{\"name\":\"Microsoft.Storage/locations/deleteVirtualNetworkOrSubnets/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Location\",\"operation\":\"Delete virtual network - or subnets notifications\",\"description\":\"Notifies Microsoft.Storage that - virtual network or subnet is being deleted\"}},{\"name\":\"Microsoft.Storage/storageAccounts/inventoryPolicies/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/inventoryPolicies/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/dataSharePolicies/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/dataSharePolicies/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/dataSharePolicies/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/dataSharePolicies/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/deletedAccounts/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localUsers/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Local User\",\"operation\":\"Delete Local User\",\"description\":\"Delete - local user\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localusers/listKeys/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Local User\",\"operation\":\"List Local User Keys\",\"description\":\"List - local user keys\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localusers/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Local User\",\"operation\":\"List Local Users\",\"description\":\"List - local users\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localusers/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Local User\",\"operation\":\"Get Local User\",\"description\":\"Get - local user\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localusers/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Local User\",\"operation\":\"Put Local User\",\"description\":\"Create - or update local user\"}},{\"name\":\"Microsoft.Storage/storageAccounts/objectReplicationPolicies/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Object Replication Policy\",\"operation\":\"Delete - Object Replication Policy\",\"description\":\"Delete object replication policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/objectReplicationPolicies/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Object Replication Policy\",\"operation\":\"Get Object - Replication Policy\",\"description\":\"Get object replication policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/objectReplicationPolicies/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Object Replication Policy\",\"operation\":\"List - Object Replication Policies\",\"description\":\"List object replication policies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnections/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Account Private Endpoint Connections\",\"operation\":\"List - Private Endpoint Connections\",\"description\":\"List Private Endpoint Connections\"}},{\"name\":\"Microsoft.Storage/storageAccounts/objectReplicationPolicies/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Object Replication Policy\",\"operation\":\"Put Object - Replication Policy\",\"description\":\"Create or update object replication - policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/encryptionScopes/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/encryptionScopes/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/encryptionScopes/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/encryptionScopes/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/managementPolicies/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Account Management Policies\",\"operation\":\"Delete - storage account management policies\",\"description\":\"Delete storage account - management policies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/managementPolicies/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Account Management Policies\",\"operation\":\"Get - storage account management policies\",\"description\":\"Get storage management - account policies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/managementPolicies/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Account Management Policies\",\"operation\":\"Put - storage account management policies\",\"description\":\"Put storage account - management policies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnectionProxies/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Account Private Endpoint Connection Proxy\",\"operation\":\"Get - Private Endpoint Connection Proxy\",\"description\":\"Get Private Endpoint - Connection Proxy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/restoreBlobRanges/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"Restore - blob ranges\",\"description\":\"Restore blob ranges to the state of the specified - time\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnectionProxies/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Account Private Endpoint Connection Proxies\",\"operation\":\"Delete - Private Endpoint Connection Proxies\",\"description\":\"Delete Private Endpoint - Connection Proxies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/PrivateEndpointConnectionsApproval/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Account Private Endpoint Connections\",\"operation\":\"Approve - Private Endpoint Connections\",\"description\":\"Approve Private Endpoint - Connections\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"File Share\",\"operation\":\"Delete File Share\",\"description\":\"Delete - file share\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"File Share\",\"operation\":\"Get File Share\",\"description\":\"Get - file share\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"File Share\",\"operation\":\"List File Shares\",\"description\":\"List - file shares\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"File Share\",\"operation\":\"Put File Share\",\"description\":\"Create - or update file share\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"File Share\",\"operation\":\"Restore File Share\",\"description\":\"Restore - file share\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"File Service\",\"operation\":\"List File Services\",\"description\":\"List - file services\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"File Service\",\"operation\":\"Put File Service Properties\",\"description\":\"Put - file service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/tables/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/tables/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Table Service\",\"operation\":\"Get Table - service properties\",\"description\":\"Get Table service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/tables/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/tables/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnections/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Account Private Endpoint Connection\",\"operation\":\"Delete - Private Endpoint Connection\",\"description\":\"Delete Private Endpoint Connection\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnections/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Account Private Endpoint Connection\",\"operation\":\"Get - Private Endpoint Connection\",\"description\":\"Get Private Endpoint Connection\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateLinkResources/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage account groupids\",\"operation\":\"Get StorageAccount - groupids\",\"description\":\"Get StorageAccount groupids\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnections/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Account Private Endpoint Connection\",\"operation\":\"Put - Private Endpoint Connection\",\"description\":\"Put Private Endpoint Connection\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnectionProxies/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Account Private Endpoint Connection Proxies\",\"operation\":\"Put - Private Endpoint Connection Proxies\",\"description\":\"Put Private Endpoint - Connection Proxies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Blob Service\",\"operation\":\"List Blob Services\",\"description\":\"List - blob services\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"Patch - blob container\",\"description\":\"Returns the result of patch blob container\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/generateUserDelegationKey/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Services\",\"operation\":\"Generate - a user delegation key\",\"description\":\"Returns a user delegation key for - the blob service\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Read - Blob\",\"description\":\"Returns a blob or a list of blobs\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Write - Blob\",\"description\":\"Returns the result of writing a blob\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/delete\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Delete - blob\",\"description\":\"Returns the result of deleting a blob\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/deleteBlobVersion/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Delete - blob versions\",\"description\":\"Returns the result of deleting a blob version\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Add - blob content\",\"description\":\"Returns the result of adding blob content\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/read\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Read - blob tags\",\"description\":\"Returns the result of reading blob tags\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/write\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Write - blob tags\",\"description\":\"Returns the result of writing blob tags\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/filter/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Filter blobs\",\"description\":\"Returns - the list of blobs under an account with matching tags filter\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/move/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Move - blobs\",\"description\":\"Moves the blob from one path to another\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/manageOwnership/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Manage - blob ownership\",\"description\":\"Changes ownership of the blob\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/modifyPermissions/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Modify - blob permissions\",\"description\":\"Modifies permissions of the blob\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/runAsSuperUser/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Execute - the command as super user\",\"description\":\"Returns the result of the blob - command\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"Delete - blob container\",\"description\":\"Returns the result of deleting a container\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage File Service\",\"operation\":\"Get file service - properties\",\"description\":\"Get file service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/read\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage File Service Files\",\"operation\":\"Read - Files\",\"description\":\"Returns a file/folder or a list of files/folders\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/write\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage File Service Files\",\"operation\":\"Write - Files\",\"description\":\"Returns the result of writing a file or creating - a folder\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/delete\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage File Service Files\",\"operation\":\"Delete - Files\",\"description\":\"Returns the result of deleting a file/folder\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/modifypermissions/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage File Service Files\",\"operation\":\"Modify - File Acl\",\"description\":\"Returns the result of modifying permission on - a file/folder\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/actassuperuser/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage File Service Files\",\"operation\":\"Get - File Admin Privileges\",\"description\":\"Get File Admin Privileges\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Queue Service\",\"operation\":\"Get Queue - service properties\",\"description\":\"Get Queue service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/extend/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\":\"Extend - blob container immutability policy\",\"description\":\"Extend blob container - immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\":\"Delete - blob container immutability policy\",\"description\":\"Delete blob container - immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\":\"Put - blob container immutability policy\",\"description\":\"Put blob container - immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/lock/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\":\"Lock - blob container immutability policy\",\"description\":\"Lock blob container - immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\":\"Get - blob container immutability policy\",\"description\":\"Get blob container - immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"Get - blob container\",\"description\":\"Returns a container\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"List - of blob containers\",\"description\":\"Returns list of containers\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/lease/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"Lease - blob container\",\"description\":\"Returns the result of leasing blob container\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"Put - blob container\",\"description\":\"Returns the result of put blob container\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/clearLegalHold/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"Clear - blob container legal hold\",\"description\":\"Clear blob container legal hold\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/setLegalHold/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"Set - blob container legal hold\",\"description\":\"Set blob container legal hold\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Queue Services\",\"operation\":\"Get queue - service properties or statistics\",\"description\":\"Returns queue service - properties or statistics.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Queue Services\",\"operation\":\"Set queue - service properties\",\"description\":\"Returns the result of setting queue - service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Queue Service Queues\",\"operation\":\"Read - a queue or list queues\",\"description\":\"Returns a queue or a list of queues.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Queue Service Queues\",\"operation\":\"Write - queue\",\"description\":\"Returns the result of writing a queue\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Queue Service Queues\",\"operation\":\"Delete - queue\",\"description\":\"Returns the result of deleting a queue\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/messages/read\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Queue Service Messages\",\"operation\":\"Read - message\",\"description\":\"Returns a message\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/messages/write\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Queue Service Messages\",\"operation\":\"Write - message\",\"description\":\"Returns the result of writing a message\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/messages/delete\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Queue Service Messages\",\"operation\":\"Delete - message\",\"description\":\"Returns the result of deleting a message\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/messages/add/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Queue Service Messages\",\"operation\":\"Add - message\",\"description\":\"Returns the result of adding a message\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/messages/process/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Queue Service Messages\",\"operation\":\"Process - message\",\"description\":\"Returns the result of processing a message\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Services\",\"operation\":\"Put blob - service properties\",\"description\":\"Returns the result of put blob service - properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/failover/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Storage Account - Failover\",\"description\":\"Customer is able to control the failover in case - of availability issues\"}},{\"name\":\"Microsoft.Storage/locations/checknameavailability/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Name Availability\",\"operation\":\"Check Name Availability\",\"description\":\"Checks - that account name is valid and is not in use.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/listkeys/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"List Storage Account - Keys\",\"description\":\"Returns the access keys for the specified storage - account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/regeneratekey/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Regenerate Storage - Account Keys\",\"description\":\"Regenerates the access keys for the specified - storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/revokeUserDelegationKeys/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Revoke Storage - Account User Delegation Keys\",\"description\":\"Revokes all the user delegation - keys for the specified storage account.\"}},{\"name\":\"Microsoft.Storage/register/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Resource Provider\",\"operation\":\"Registers - the Storage Resource Provider\",\"description\":\"Registers the subscription - for the storage resource provider and enables the creation of storage accounts.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/services/diagnosticSettings/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Create/Update - Diagnostic Settings\",\"description\":\"Create/Update storage account diagnostic - settings.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/metricDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Get list of Microsoft - Storage Metrics definitions\",\"description\":\"Get list of Microsoft Storage - Metrics definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"metricSpecifications\":[{\"name\":\"UsedCapacity\",\"displayName\":\"Used - capacity\",\"displayDescription\":\"The amount of storage used by the storage - account. For standard storage accounts, it's the sum of capacity used by blob, - table, file, and queue. For premium storage accounts and Blob storage accounts, - it is the same as BlobCapacity or FileCapacity.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"Transactions\",\"displayName\":\"Transactions\",\"displayDescription\":\"The - number of requests made to a storage service or the specified API operation. - This number includes successful and failed requests, as well as requests which - produced errors. Use ResponseType dimension for the number of different type - of response.\",\"unit\":\"Count\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response - type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"supportedAggregationTypes\":[\"Total\"]},{\"name\":\"Ingress\",\"displayName\":\"Ingress\",\"displayDescription\":\"The - amount of ingress data, in bytes. This number includes ingress from an external - client into Azure Storage as well as ingress within Azure.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Egress\",\"displayName\":\"Egress\",\"displayDescription\":\"The - amount of egress data. This number includes egress to external client from - Azure Storage as well as egress within Azure. As a result, this number does - not reflect billable egress.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessServerLatency\",\"displayName\":\"Success - Server Latency\",\"displayDescription\":\"The average time used to process - a successful request by Azure Storage. This value does not include the network - latency specified in SuccessE2ELatency.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessE2ELatency\",\"displayName\":\"Success - E2E Latency\",\"displayDescription\":\"The average end-to-end latency of successful - requests made to a storage service or the specified API operation, in milliseconds. - This value includes the required processing time within Azure Storage to read - the request, send the response, and receive acknowledgment of the response.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Availability\",\"displayName\":\"Availability\",\"displayDescription\":\"The - percentage of availability for the storage service or the specified API operation. - Availability is calculated by taking the TotalBillableRequests value and dividing - it by the number of applicable requests, including those that produced unexpected - errors. All unexpected errors result in reduced availability for the storage - service or the specified API operation.\",\"unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Read diagnostic - setting\",\"description\":\"Gets the diagnostic setting for the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Write diagnostic - setting\",\"description\":\"Creates or updates the diagnostic setting for - the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/metricDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Blob service\",\"operation\":\"Get list of Microsoft - Storage Metrics definitions\",\"description\":\"Get list of Microsoft Storage - Metrics definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"metricSpecifications\":[{\"name\":\"BlobCapacity\",\"displayName\":\"Blob - Capacity\",\"displayDescription\":\"The amount of storage used by the storage - account\u2019s Blob service in bytes.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"BlobType\",\"displayName\":\"Blob - type\",\"toBeExportedForShoebox\":true},{\"name\":\"Tier\",\"displayName\":\"Blob - tier\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"BlobCount\",\"displayName\":\"Blob - Count\",\"displayDescription\":\"The number of blob objects stored in the - storage account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"BlobType\",\"displayName\":\"Blob - type\",\"toBeExportedForShoebox\":true},{\"name\":\"Tier\",\"displayName\":\"Blob - tier\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"BlobProvisionedSize\",\"displayName\":\"Blob - Provisioned Size\",\"displayDescription\":\"The amount of storage provisioned - in the storage account\u2019s Blob service in bytes.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"BlobType\",\"displayName\":\"Blob - type\",\"toBeExportedForShoebox\":true},{\"name\":\"Tier\",\"displayName\":\"Blob - tier\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"],\"metricFilterPattern\":\"Premium\"},{\"name\":\"ContainerCount\",\"displayName\":\"Blob - Container Count\",\"displayDescription\":\"The number of containers in the - storage account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"IndexCapacity\",\"displayName\":\"Index - Capacity\",\"displayDescription\":\"The amount of storage used by Azure Data - Lake Storage Gen2 hierarchical index.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"Transactions\",\"displayName\":\"Transactions\",\"displayDescription\":\"The - number of requests made to a storage service or the specified API operation. - This number includes successful and failed requests, as well as requests which - produced errors. Use ResponseType dimension for the number of different type - of response.\",\"unit\":\"Count\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response - type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"]},{\"name\":\"Ingress\",\"displayName\":\"Ingress\",\"displayDescription\":\"The - amount of ingress data, in bytes. This number includes ingress from an external - client into Azure Storage as well as ingress within Azure.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Egress\",\"displayName\":\"Egress\",\"displayDescription\":\"The - amount of egress data. This number includes egress to external client from - Azure Storage as well as egress within Azure. As a result, this number does - not reflect billable egress.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessServerLatency\",\"displayName\":\"Success - Server Latency\",\"displayDescription\":\"The average time used to process - a successful request by Azure Storage. This value does not include the network - latency specified in SuccessE2ELatency.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessE2ELatency\",\"displayName\":\"Success - E2E Latency\",\"displayDescription\":\"The average end-to-end latency of successful - requests made to a storage service or the specified API operation, in milliseconds. - This value includes the required processing time within Azure Storage to read - the request, send the response, and receive acknowledgment of the response.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Availability\",\"displayName\":\"Availability\",\"displayDescription\":\"The - percentage of availability for the storage service or the specified API operation. - Availability is calculated by taking the TotalBillableRequests value and dividing - it by the number of applicable requests, including those that produced unexpected - errors. All unexpected errors result in reduced availability for the storage - service or the specified API operation.\",\"unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Blob service\",\"operation\":\"Read diagnostic setting\",\"description\":\"Gets - the diagnostic setting for the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Blob service\",\"operation\":\"Write diagnostic setting\",\"description\":\"Creates - or updates the diagnostic setting for the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/metricDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Table service\",\"operation\":\"Get list of Microsoft - Storage Metrics definitions\",\"description\":\"Get list of Microsoft Storage - Metrics definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"metricSpecifications\":[{\"name\":\"TableCapacity\",\"displayName\":\"Table - Capacity\",\"displayDescription\":\"The amount of Table storage used by the - storage account.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"TableCount\",\"displayName\":\"Table - Count\",\"displayDescription\":\"The number of tables in the storage account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"TableEntityCount\",\"displayName\":\"Table - Entity Count\",\"displayDescription\":\"The number of table entities in the - storage account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"Transactions\",\"displayName\":\"Transactions\",\"displayDescription\":\"The - number of requests made to a storage service or the specified API operation. - This number includes successful and failed requests, as well as requests which - produced errors. Use ResponseType dimension for the number of different type - of response.\",\"unit\":\"Count\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response - type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"]},{\"name\":\"Ingress\",\"displayName\":\"Ingress\",\"displayDescription\":\"The - amount of ingress data, in bytes. This number includes ingress from an external - client into Azure Storage as well as ingress within Azure.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Egress\",\"displayName\":\"Egress\",\"displayDescription\":\"The - amount of egress data. This number includes egress to external client from - Azure Storage as well as egress within Azure. As a result, this number does - not reflect billable egress.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessServerLatency\",\"displayName\":\"Success - Server Latency\",\"displayDescription\":\"The average time used to process - a successful request by Azure Storage. This value does not include the network - latency specified in SuccessE2ELatency.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessE2ELatency\",\"displayName\":\"Success - E2E Latency\",\"displayDescription\":\"The average end-to-end latency of successful - requests made to a storage service or the specified API operation, in milliseconds. - This value includes the required processing time within Azure Storage to read - the request, send the response, and receive acknowledgment of the response.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Availability\",\"displayName\":\"Availability\",\"displayDescription\":\"The - percentage of availability for the storage service or the specified API operation. - Availability is calculated by taking the TotalBillableRequests value and dividing - it by the number of applicable requests, including those that produced unexpected - errors. All unexpected errors result in reduced availability for the storage - service or the specified API operation.\",\"unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Table service\",\"operation\":\"Read diagnostic setting\",\"description\":\"Gets - the diagnostic setting for the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Table service\",\"operation\":\"Write diagnostic - setting\",\"description\":\"Creates or updates the diagnostic setting for - the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/metricDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"File service\",\"operation\":\"Get list of Microsoft - Storage Metrics definitions\",\"description\":\"Get list of Microsoft Storage - Metrics definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"metricSpecifications\":[{\"name\":\"FileCapacity\",\"displayName\":\"File - Capacity\",\"displayDescription\":\"The amount of File storage used by the - storage account.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File - Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileCount\",\"displayName\":\"File - Count\",\"displayDescription\":\"The number of files in the storage account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File - Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileShareCount\",\"displayName\":\"File - Share Count\",\"displayDescription\":\"The number of file shares in the storage - account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileShareSnapshotCount\",\"displayName\":\"File - Share Snapshot Count\",\"displayDescription\":\"The number of snapshots present - on the share in storage account\u2019s Files Service.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File - Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileShareSnapshotSize\",\"displayName\":\"File - Share Snapshot Size\",\"displayDescription\":\"The amount of storage used - by the snapshots in storage account\u2019s File service in bytes.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File - Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileShareCapacityQuota\",\"internalMetricName\":\"FileShareQuota\",\"displayName\":\"File - Share Capacity Quota\",\"displayDescription\":\"The upper limit on the amount - of storage that can be used by Azure Files Service in bytes.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File - Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileShareProvisionedIOPS\",\"displayName\":\"File - Share Provisioned IOPS\",\"displayDescription\":\"The baseline number of provisioned - IOPS for the premium file share in the premium files storage account. This - number is calculated based on the provisioned size (quota) of the share capacity.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File - Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"],\"metricFilterPattern\":\"Premium\"},{\"name\":\"Transactions\",\"displayName\":\"Transactions\",\"displayDescription\":\"The - number of requests made to a storage service or the specified API operation. - This number includes successful and failed requests, as well as requests which - produced errors. Use ResponseType dimension for the number of different type - of response.\",\"unit\":\"Count\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response - type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\":\"FileShare\",\"displayName\":\"File - Share\",\"toBeExportedForShoebox\":true,\"internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"]},{\"name\":\"Ingress\",\"displayName\":\"Ingress\",\"displayDescription\":\"The - amount of ingress data, in bytes. This number includes ingress from an external - client into Azure Storage as well as ingress within Azure.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\":\"FileShare\",\"displayName\":\"File - Share\",\"toBeExportedForShoebox\":true,\"internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Egress\",\"displayName\":\"Egress\",\"displayDescription\":\"The - amount of egress data. This number includes egress to external client from - Azure Storage as well as egress within Azure. As a result, this number does - not reflect billable egress.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\":\"FileShare\",\"displayName\":\"File - Share\",\"toBeExportedForShoebox\":true,\"internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessServerLatency\",\"displayName\":\"Success - Server Latency\",\"displayDescription\":\"The average time used to process - a successful request by Azure Storage. This value does not include the network - latency specified in SuccessE2ELatency.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\":\"FileShare\",\"displayName\":\"File - Share\",\"toBeExportedForShoebox\":true,\"internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessE2ELatency\",\"displayName\":\"Success - E2E Latency\",\"displayDescription\":\"The average end-to-end latency of successful - requests made to a storage service or the specified API operation, in milliseconds. - This value includes the required processing time within Azure Storage to read - the request, send the response, and receive acknowledgment of the response.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\":\"FileShare\",\"displayName\":\"File - Share\",\"toBeExportedForShoebox\":true,\"internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Availability\",\"displayName\":\"Availability\",\"displayDescription\":\"The - percentage of availability for the storage service or the specified API operation. - Availability is calculated by taking the TotalBillableRequests value and dividing - it by the number of applicable requests, including those that produced unexpected - errors. All unexpected errors result in reduced availability for the storage - service or the specified API operation.\",\"unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\":\"FileShare\",\"displayName\":\"File - Share\",\"toBeExportedForShoebox\":true,\"internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"File service\",\"operation\":\"Read diagnostic setting\",\"description\":\"Gets - the diagnostic setting for the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"File service\",\"operation\":\"Write diagnostic setting\",\"description\":\"Creates - or updates the diagnostic setting for the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/metricDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Queue service\",\"operation\":\"Get list of Microsoft - Storage Metrics definitions\",\"description\":\"Get list of Microsoft Storage - Metrics definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"metricSpecifications\":[{\"name\":\"QueueCapacity\",\"displayName\":\"Queue - Capacity\",\"displayDescription\":\"The amount of Queue storage used by the - storage account.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"QueueCount\",\"displayName\":\"Queue - Count\",\"displayDescription\":\"The number of queues in the storage account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"QueueMessageCount\",\"displayName\":\"Queue - Message Count\",\"displayDescription\":\"The number of unexpired queue messages - in the storage account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"Transactions\",\"displayName\":\"Transactions\",\"displayDescription\":\"The - number of requests made to a storage service or the specified API operation. - This number includes successful and failed requests, as well as requests which - produced errors. Use ResponseType dimension for the number of different type - of response.\",\"unit\":\"Count\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response - type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"]},{\"name\":\"Ingress\",\"displayName\":\"Ingress\",\"displayDescription\":\"The - amount of ingress data, in bytes. This number includes ingress from an external - client into Azure Storage as well as ingress within Azure.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Egress\",\"displayName\":\"Egress\",\"displayDescription\":\"The - amount of egress data. This number includes egress to external client from - Azure Storage as well as egress within Azure. As a result, this number does - not reflect billable egress.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessServerLatency\",\"displayName\":\"Success - Server Latency\",\"displayDescription\":\"The average time used to process - a successful request by Azure Storage. This value does not include the network - latency specified in SuccessE2ELatency.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessE2ELatency\",\"displayName\":\"Success - E2E Latency\",\"displayDescription\":\"The average end-to-end latency of successful - requests made to a storage service or the specified API operation, in milliseconds. - This value includes the required processing time within Azure Storage to read - the request, send the response, and receive acknowledgment of the response.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Availability\",\"displayName\":\"Availability\",\"displayDescription\":\"The - percentage of availability for the storage service or the specified API operation. - Availability is calculated by taking the TotalBillableRequests value and dividing - it by the number of applicable requests, including those that produced unexpected - errors. All unexpected errors result in reduced availability for the storage - service or the specified API operation.\",\"unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo - type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API - name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Queue service\",\"operation\":\"Read diagnostic setting\",\"description\":\"Gets - the diagnostic setting for the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Queue service\",\"operation\":\"Write diagnostic - setting\",\"description\":\"Creates or updates the diagnostic setting for - the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/logDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Table Service\",\"operation\":\"Read log definition\",\"description\":\"Gets - the log definition for Table\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"logSpecifications\":[{\"name\":\"StorageRead\",\"displayName\":\"StorageRead\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageWrite\",\"displayName\":\"StorageWrite\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageDelete\",\"displayName\":\"StorageDelete\",\"blobDuration\":\"PT1H\"}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/logDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Blob Service\",\"operation\":\"Read log definition\",\"description\":\"Gets - the log definition for Blob\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"logSpecifications\":[{\"name\":\"StorageRead\",\"displayName\":\"StorageRead\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageWrite\",\"displayName\":\"StorageWrite\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageDelete\",\"displayName\":\"StorageDelete\",\"blobDuration\":\"PT1H\"}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/logDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"File Service\",\"operation\":\"Read log definition\",\"description\":\"Gets - the log definition for File\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"logSpecifications\":[{\"name\":\"StorageRead\",\"displayName\":\"StorageRead\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageWrite\",\"displayName\":\"StorageWrite\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageDelete\",\"displayName\":\"StorageDelete\",\"blobDuration\":\"PT1H\"}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/logDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Queue Service\",\"operation\":\"Read log definition\",\"description\":\"Gets - the log definition for Queue\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"logSpecifications\":[{\"name\":\"StorageRead\",\"displayName\":\"StorageRead\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageWrite\",\"displayName\":\"StorageWrite\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageDelete\",\"displayName\":\"StorageDelete\",\"blobDuration\":\"PT1H\"}]}}},{\"name\":\"Microsoft.Storage/skus/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Sku\",\"operation\":\"List Skus\",\"description\":\"Lists - the Skus supported by Microsoft.Storage.\"}},{\"name\":\"Microsoft.Storage/operations/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Operations\",\"operation\":\"Poll Asynchronous Operation\",\"description\":\"Polls - the status of an asynchronous operation.\"}},{\"name\":\"Microsoft.Storage/checknameavailability/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Name Availability\",\"operation\":\"Check Name Availability\",\"description\":\"Checks - that account name is valid and is not in use.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Delete Storage - Account\",\"description\":\"Deletes an existing storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"List/Get Storage - Account(s)\",\"description\":\"Returns the list of storage accounts or gets - the properties for the specified storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/listAccountSas/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Account SAS Token\",\"operation\":\"Returns - Storage Account SAS Token\",\"description\":\"Returns the Account SAS token - for the specified storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/listServiceSas/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Service SAS Token\",\"operation\":\"Returns - Storage Service SAS Token\",\"description\":\"Returns the Service SAS token - for the specified storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Create/Update - Storage Account\",\"description\":\"Creates a storage account with the specified - parameters or update the properties or tags or adds custom domain for the - specified storage account.\"}},{\"name\":\"Microsoft.Storage/locations/usages/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Usage Metrics\",\"operation\":\"Get Subscription - Usages\",\"description\":\"Returns the limit and the current usage count for - resources in the specified subscription\"}},{\"name\":\"Microsoft.Storage/usages/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Usage Metrics\",\"operation\":\"Get Subscription - Usages\",\"description\":\"Returns the limit and the current usage count for - resources in the specified subscription\"}},{\"name\":\"Microsoft.Storage/storageAccounts/inventoryPolicies/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft - Storage\",\"resource\":\"Storage Blob Services\",\"operation\":\"Get blob - service properties or statistics\",\"description\":\"Returns blob service - properties or statistics\"}}]}" + string: "{\"value\":[{\"name\":\"Microsoft.Storage/locations/deleteVirtualNetworkOrSubnets/action\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Location\",\"operation\":\"Delete virtual network or subnets\ + \ notifications\",\"description\":\"Notifies Microsoft.Storage that virtual\ + \ network or subnet is being deleted\"}},{\"name\":\"Microsoft.Storage/storageAccounts/inventoryPolicies/delete\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/inventoryPolicies/read\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/dataSharePolicies/delete\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/dataSharePolicies/read\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/dataSharePolicies/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/dataSharePolicies/write\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/deletedAccounts/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/localUsers/delete\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Local\ + \ User\",\"operation\":\"Delete Local User\",\"description\":\"Delete local\ + \ user\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localusers/listKeys/action\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Local User\",\"operation\":\"List Local User Keys\",\"description\"\ + :\"List local user keys\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localusers/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Local User\",\"operation\":\"List Local Users\",\"description\"\ + :\"List local users\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localusers/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Local User\",\"operation\":\"Get Local User\",\"description\"\ + :\"Get local user\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localusers/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Local User\",\"operation\":\"Put Local User\",\"description\"\ + :\"Create or update local user\"}},{\"name\":\"Microsoft.Storage/storageAccounts/objectReplicationPolicies/delete\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Object Replication Policy\",\"operation\":\"Delete Object Replication\ + \ Policy\",\"description\":\"Delete object replication policy\"}},{\"name\"\ + :\"Microsoft.Storage/storageAccounts/objectReplicationPolicies/read\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Object\ + \ Replication Policy\",\"operation\":\"Get Object Replication Policy\",\"\ + description\":\"Get object replication policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/objectReplicationPolicies/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Object Replication Policy\",\"operation\":\"List Object Replication\ + \ Policies\",\"description\":\"List object replication policies\"}},{\"name\"\ + :\"Microsoft.Storage/storageAccounts/privateEndpointConnections/read\",\"\ + isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\"\ + :\"Storage Account Private Endpoint Connections\",\"operation\":\"List Private\ + \ Endpoint Connections\",\"description\":\"List Private Endpoint Connections\"\ + }},{\"name\":\"Microsoft.Storage/storageAccounts/objectReplicationPolicies/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Object Replication Policy\",\"operation\":\"Put Object Replication\ + \ Policy\",\"description\":\"Create or update object replication policy\"\ + }},{\"name\":\"Microsoft.Storage/storageAccounts/encryptionScopes/read\",\"\ + isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/encryptionScopes/read\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/encryptionScopes/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/encryptionScopes/write\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/managementPolicies/delete\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Account Management Policies\",\"operation\":\"Delete\ + \ storage account management policies\",\"description\":\"Delete storage account\ + \ management policies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/managementPolicies/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Account Management Policies\",\"operation\":\"Get storage\ + \ account management policies\",\"description\":\"Get storage management account\ + \ policies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/managementPolicies/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Account Management Policies\",\"operation\":\"Put storage\ + \ account management policies\",\"description\":\"Put storage account management\ + \ policies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnectionProxies/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Account Private Endpoint Connection Proxy\",\"operation\"\ + :\"Get Private Endpoint Connection Proxy\",\"description\":\"Get Private Endpoint\ + \ Connection Proxy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/restoreBlobRanges/action\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Containers\",\"operation\":\"Restore blob\ + \ ranges\",\"description\":\"Restore blob ranges to the state of the specified\ + \ time\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnectionProxies/delete\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Account Private Endpoint Connection Proxies\",\"operation\"\ + :\"Delete Private Endpoint Connection Proxies\",\"description\":\"Delete Private\ + \ Endpoint Connection Proxies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/PrivateEndpointConnectionsApproval/action\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Account Private Endpoint Connections\",\"operation\"\ + :\"Approve Private Endpoint Connections\",\"description\":\"Approve Private\ + \ Endpoint Connections\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/delete\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"File Share\",\"operation\":\"Delete File Share\",\"description\"\ + :\"Delete file share\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"File Share\",\"operation\":\"Get File Share\",\"description\"\ + :\"Get file share\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"File Share\",\"operation\":\"List File Shares\",\"description\"\ + :\"List file shares\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"File Share\",\"operation\":\"Put File Share\",\"description\"\ + :\"Create or update file share\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/action\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"File Share\",\"operation\":\"Restore File Share\",\"description\"\ + :\"Restore file share\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"File Service\",\"operation\":\"List File Services\",\"description\"\ + :\"List file services\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"File Service\",\"operation\":\"Put File Service Properties\"\ + ,\"description\":\"Put file service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/delete\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/queueServices/read\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/read\",\"\ + isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/queueServices/write\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/tableServices/tables/delete\",\"\ + isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/tableServices/read\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/tables/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/tableServices/read\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ + \ Table Service\",\"operation\":\"Get Table service properties\",\"description\"\ + :\"Get Table service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/tables/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/tableServices/write\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/tables/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnections/delete\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Account Private Endpoint Connection\",\"operation\":\"\ + Delete Private Endpoint Connection\",\"description\":\"Delete Private Endpoint\ + \ Connection\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnections/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Account Private Endpoint Connection\",\"operation\":\"\ + Get Private Endpoint Connection\",\"description\":\"Get Private Endpoint Connection\"\ + }},{\"name\":\"Microsoft.Storage/storageAccounts/privateLinkResources/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage account groupids\",\"operation\":\"Get StorageAccount\ + \ groupids\",\"description\":\"Get StorageAccount groupids\"}},{\"name\":\"\ + Microsoft.Storage/storageAccounts/privateEndpointConnections/write\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ + \ Account Private Endpoint Connection\",\"operation\":\"Put Private Endpoint\ + \ Connection\",\"description\":\"Put Private Endpoint Connection\"}},{\"name\"\ + :\"Microsoft.Storage/storageAccounts/privateEndpointConnectionProxies/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Account Private Endpoint Connection Proxies\",\"operation\"\ + :\"Put Private Endpoint Connection Proxies\",\"description\":\"Put Private\ + \ Endpoint Connection Proxies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Blob Service\",\"operation\":\"List Blob Services\",\"description\"\ + :\"List blob services\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Containers\",\"operation\":\"Patch blob\ + \ container\",\"description\":\"Returns the result of patch blob container\"\ + }},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/generateUserDelegationKey/action\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Services\",\"operation\":\"Generate a user delegation\ + \ key\",\"description\":\"Returns a user delegation key for the blob service\"\ + }},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Blobs\",\"operation\":\"Read Blob\",\"description\"\ + :\"Returns a blob or a list of blobs\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Blobs\",\"operation\":\"Write Blob\",\"\ + description\":\"Returns the result of writing a blob\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/delete\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Blobs\",\"operation\":\"Delete blob\",\"\ + description\":\"Returns the result of deleting a blob\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/deleteBlobVersion/action\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Blobs\",\"operation\":\"Delete blob versions\"\ + ,\"description\":\"Returns the result of deleting a blob version\"}},{\"name\"\ + :\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Blobs\",\"operation\":\"Add blob content\"\ + ,\"description\":\"Returns the result of adding blob content\"}},{\"name\"\ + :\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/read\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Blobs\",\"operation\":\"Read blob tags\"\ + ,\"description\":\"Returns the result of reading blob tags\"}},{\"name\":\"\ + Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/write\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Blobs\",\"operation\":\"Write blob tags\"\ + ,\"description\":\"Returns the result of writing blob tags\"}},{\"name\":\"\ + Microsoft.Storage/storageAccounts/blobServices/containers/blobs/filter/action\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Accounts\",\"operation\":\"Filter blobs\",\"description\"\ + :\"Returns the list of blobs under an account with matching tags filter\"\ + }},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/move/action\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Blobs\",\"operation\":\"Move blobs\",\"\ + description\":\"Moves the blob from one path to another\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/manageOwnership/action\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Blobs\",\"operation\":\"Manage blob ownership\"\ + ,\"description\":\"Changes ownership of the blob\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/modifyPermissions/action\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Blobs\",\"operation\":\"Modify blob permissions\"\ + ,\"description\":\"Modifies permissions of the blob\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/runAsSuperUser/action\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Blobs\",\"operation\":\"Execute the command\ + \ as super user\",\"description\":\"Returns the result of the blob command\"\ + }},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/delete\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Containers\",\"operation\":\"Delete blob\ + \ container\",\"description\":\"Returns the result of deleting a container\"\ + }},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/read\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ + \ File Service\",\"operation\":\"Get file service properties\",\"description\"\ + :\"Get file service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/read\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage File Service Files\",\"operation\":\"Read Files\",\"\ + description\":\"Returns a file/folder or a list of files/folders\"}},{\"name\"\ + :\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/write\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage File Service Files\",\"operation\":\"Write Files\",\"\ + description\":\"Returns the result of writing a file or creating a folder\"\ + }},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/delete\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage File Service Files\",\"operation\":\"Delete Files\",\"\ + description\":\"Returns the result of deleting a file/folder\"}},{\"name\"\ + :\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/modifypermissions/action\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage File Service Files\",\"operation\":\"Modify File Acl\"\ + ,\"description\":\"Returns the result of modifying permission on a file/folder\"\ + }},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/actassuperuser/action\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage File Service Files\",\"operation\":\"Get File Admin Privileges\"\ + ,\"description\":\"Get File Admin Privileges\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Queue Service\",\"operation\":\"Get Queue service properties\"\ + ,\"description\":\"Get Queue service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/extend/action\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\"\ + :\"Extend blob container immutability policy\",\"description\":\"Extend blob\ + \ container immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/delete\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\"\ + :\"Delete blob container immutability policy\",\"description\":\"Delete blob\ + \ container immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\"\ + :\"Put blob container immutability policy\",\"description\":\"Put blob container\ + \ immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/lock/action\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\"\ + :\"Lock blob container immutability policy\",\"description\":\"Lock blob container\ + \ immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\"\ + :\"Get blob container immutability policy\",\"description\":\"Get blob container\ + \ immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Containers\",\"operation\":\"Get blob container\"\ + ,\"description\":\"Returns a container\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Containers\",\"operation\":\"List of blob\ + \ containers\",\"description\":\"Returns list of containers\"}},{\"name\"\ + :\"Microsoft.Storage/storageAccounts/blobServices/containers/lease/action\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Containers\",\"operation\":\"Lease blob\ + \ container\",\"description\":\"Returns the result of leasing blob container\"\ + }},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Containers\",\"operation\":\"Put blob container\"\ + ,\"description\":\"Returns the result of put blob container\"}},{\"name\"\ + :\"Microsoft.Storage/storageAccounts/blobServices/containers/clearLegalHold/action\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Containers\",\"operation\":\"Clear blob\ + \ container legal hold\",\"description\":\"Clear blob container legal hold\"\ + }},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/setLegalHold/action\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Blob Service Containers\",\"operation\":\"Set blob container\ + \ legal hold\",\"description\":\"Set blob container legal hold\"}},{\"name\"\ + :\"Microsoft.Storage/storageAccounts/queueServices/read\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ + \ Queue Services\",\"operation\":\"Get queue service properties or statistics\"\ + ,\"description\":\"Returns queue service properties or statistics.\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/queueServices/write\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ + \ Queue Services\",\"operation\":\"Set queue service properties\",\"description\"\ + :\"Returns the result of setting queue service properties\"}},{\"name\":\"\ + Microsoft.Storage/storageAccounts/queueServices/queues/read\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ + \ Queue Service Queues\",\"operation\":\"Read a queue or list queues\",\"\ + description\":\"Returns a queue or a list of queues.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Queue Service Queues\",\"operation\":\"Write queue\"\ + ,\"description\":\"Returns the result of writing a queue\"}},{\"name\":\"\ + Microsoft.Storage/storageAccounts/queueServices/queues/delete\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ + \ Queue Service Queues\",\"operation\":\"Delete queue\",\"description\":\"\ + Returns the result of deleting a queue\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/messages/read\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Queue Service Messages\",\"operation\":\"Read message\"\ + ,\"description\":\"Returns a message\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/messages/write\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Queue Service Messages\",\"operation\":\"Write message\"\ + ,\"description\":\"Returns the result of writing a message\"}},{\"name\":\"\ + Microsoft.Storage/storageAccounts/queueServices/queues/messages/delete\",\"\ + isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\"\ + :\"Storage Queue Service Messages\",\"operation\":\"Delete message\",\"description\"\ + :\"Returns the result of deleting a message\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/messages/add/action\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Queue Service Messages\",\"operation\":\"Add message\"\ + ,\"description\":\"Returns the result of adding a message\"}},{\"name\":\"\ + Microsoft.Storage/storageAccounts/queueServices/queues/messages/process/action\"\ + ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Queue Service Messages\",\"operation\":\"Process message\"\ + ,\"description\":\"Returns the result of processing a message\"}},{\"name\"\ + :\"Microsoft.Storage/storageAccounts/blobServices/write\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ + \ Blob Services\",\"operation\":\"Put blob service properties\",\"description\"\ + :\"Returns the result of put blob service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/failover/action\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Accounts\",\"operation\":\"Storage Account Failover\"\ + ,\"description\":\"Customer is able to control the failover in case of availability\ + \ issues\"}},{\"name\":\"Microsoft.Storage/locations/checknameavailability/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Name Availability\",\"operation\":\"Check Name Availability\"\ + ,\"description\":\"Checks that account name is valid and is not in use.\"\ + }},{\"name\":\"Microsoft.Storage/storageAccounts/listkeys/action\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ + \ Accounts\",\"operation\":\"List Storage Account Keys\",\"description\":\"\ + Returns the access keys for the specified storage account.\"}},{\"name\":\"\ + Microsoft.Storage/storageAccounts/regeneratekey/action\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ + \ Accounts\",\"operation\":\"Regenerate Storage Account Keys\",\"description\"\ + :\"Regenerates the access keys for the specified storage account.\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/revokeUserDelegationKeys/action\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Accounts\",\"operation\":\"Revoke Storage Account User\ + \ Delegation Keys\",\"description\":\"Revokes all the user delegation keys\ + \ for the specified storage account.\"}},{\"name\":\"Microsoft.Storage/register/action\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Resource Provider\",\"operation\":\"Registers the Storage\ + \ Resource Provider\",\"description\":\"Registers the subscription for the\ + \ storage resource provider and enables the creation of storage accounts.\"\ + }},{\"name\":\"Microsoft.Storage/storageAccounts/services/diagnosticSettings/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Accounts\",\"operation\":\"Create/Update Diagnostic Settings\"\ + ,\"description\":\"Create/Update storage account diagnostic settings.\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/metricDefinitions/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Accounts\",\"operation\":\"Get list of Microsoft Storage\ + \ Metrics definitions\",\"description\":\"Get list of Microsoft Storage Metrics\ + \ definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\"\ + :{\"metricSpecifications\":[{\"name\":\"UsedCapacity\",\"displayName\":\"\ + Used capacity\",\"displayDescription\":\"The amount of storage used by the\ + \ storage account. For standard storage accounts, it's the sum of capacity\ + \ used by blob, table, file, and queue. For premium storage accounts and Blob\ + \ storage accounts, it is the same as BlobCapacity or FileCapacity.\",\"unit\"\ + :\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\"\ + ,\"fillGapWithZero\":false,\"category\":\"Capacity\",\"resourceIdDimensionNameOverride\"\ + :\"AccountResourceId\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\"\ + :[\"Average\"]},{\"name\":\"Transactions\",\"displayName\":\"Transactions\"\ + ,\"displayDescription\":\"The number of requests made to a storage service\ + \ or the specified API operation. This number includes successful and failed\ + \ requests, as well as requests which produced errors. Use ResponseType dimension\ + \ for the number of different type of response.\",\"unit\":\"Count\",\"aggregationType\"\ + :\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response\ + \ type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\"\ + :\"Geo type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\"\ + :\"API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\"\ + ,\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ + :false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\":\"\ + AccountResourceId\",\"supportedAggregationTypes\":[\"Total\"]},{\"name\":\"\ + Ingress\",\"displayName\":\"Ingress\",\"displayDescription\":\"The amount\ + \ of ingress data, in bytes. This number includes ingress from an external\ + \ client into Azure Storage as well as ingress within Azure.\",\"unit\":\"\ + Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\"\ + ,\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"name\":\"\ + ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\":true},{\"\ + name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\"\ + :true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\"\ + :\"AccountResourceId\",\"supportedAggregationTypes\":[\"Total\",\"Average\"\ + ,\"Minimum\",\"Maximum\"]},{\"name\":\"Egress\",\"displayName\":\"Egress\"\ + ,\"displayDescription\":\"The amount of egress data. This number includes\ + \ egress to external client from Azure Storage as well as egress within Azure.\ + \ As a result, this number does not reflect billable egress.\",\"unit\":\"\ + Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\"\ + ,\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"name\":\"\ + ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\":true},{\"\ + name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\"\ + :true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\"\ + :\"AccountResourceId\",\"supportedAggregationTypes\":[\"Total\",\"Average\"\ + ,\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessServerLatency\",\"displayName\"\ + :\"Success Server Latency\",\"displayDescription\":\"The average time used\ + \ to process a successful request by Azure Storage. This value does not include\ + \ the network latency specified in SuccessE2ELatency.\",\"unit\":\"Milliseconds\"\ + ,\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"\ + displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\"\ + ,\"displayName\":\"API name\",\"toBeExportedForShoebox\":true},{\"name\":\"\ + Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\"\ + :true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\"\ + :\"AccountResourceId\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\"\ + ,\"Maximum\"]},{\"name\":\"SuccessE2ELatency\",\"displayName\":\"Success E2E\ + \ Latency\",\"displayDescription\":\"The average end-to-end latency of successful\ + \ requests made to a storage service or the specified API operation, in milliseconds.\ + \ This value includes the required processing time within Azure Storage to\ + \ read the request, send the response, and receive acknowledgment of the response.\"\ + ,\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\"\ + :[{\"name\":\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ + toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ + Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"\ + supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\"\ + :\"Availability\",\"displayName\":\"Availability\",\"displayDescription\"\ + :\"The percentage of availability for the storage service or the specified\ + \ API operation. Availability is calculated by taking the TotalBillableRequests\ + \ value and dividing it by the number of applicable requests, including those\ + \ that produced unexpected errors. All unexpected errors result in reduced\ + \ availability for the storage service or the specified API operation.\",\"\ + unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\"\ + :\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ + name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ + toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ + Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"\ + supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]}]}}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Accounts\",\"operation\":\"Read diagnostic setting\"\ + ,\"description\":\"Gets the diagnostic setting for the resource.\"},\"origin\"\ + :\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Accounts\",\"operation\":\"Write diagnostic setting\"\ + ,\"description\":\"Creates or updates the diagnostic setting for the resource.\"\ + },\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/metricDefinitions/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Blob service\",\"operation\":\"Get list of Microsoft Storage\ + \ Metrics definitions\",\"description\":\"Get list of Microsoft Storage Metrics\ + \ definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\"\ + :{\"metricSpecifications\":[{\"name\":\"BlobCapacity\",\"displayName\":\"\ + Blob Capacity\",\"displayDescription\":\"The amount of storage used by the\ + \ storage account\u2019s Blob service in bytes.\",\"unit\":\"Bytes\",\"aggregationType\"\ + :\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"\ + BlobType\",\"displayName\":\"Blob type\",\"toBeExportedForShoebox\":true},{\"\ + name\":\"Tier\",\"displayName\":\"Blob tier\",\"toBeExportedForShoebox\":true}],\"\ + fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ + :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"BlobCount\"\ + ,\"displayName\":\"Blob Count\",\"displayDescription\":\"The number of blob\ + \ objects stored in the storage account.\",\"unit\":\"Count\",\"aggregationType\"\ + :\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"\ + BlobType\",\"displayName\":\"Blob type\",\"toBeExportedForShoebox\":true},{\"\ + name\":\"Tier\",\"displayName\":\"Blob tier\",\"toBeExportedForShoebox\":true}],\"\ + fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ + :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"BlobProvisionedSize\"\ + ,\"displayName\":\"Blob Provisioned Size\",\"displayDescription\":\"The amount\ + \ of storage provisioned in the storage account\u2019s Blob service in bytes.\"\ + ,\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\"\ + :\"Total\",\"dimensions\":[{\"name\":\"BlobType\",\"displayName\":\"Blob type\"\ + ,\"toBeExportedForShoebox\":true},{\"name\":\"Tier\",\"displayName\":\"Blob\ + \ tier\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\"\ + :\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\"\ + :[\"Average\"],\"metricFilterPattern\":\"Premium\"},{\"name\":\"ContainerCount\"\ + ,\"displayName\":\"Blob Container Count\",\"displayDescription\":\"The number\ + \ of containers in the storage account.\",\"unit\":\"Count\",\"aggregationType\"\ + :\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ + :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"IndexCapacity\"\ + ,\"displayName\":\"Index Capacity\",\"displayDescription\":\"The amount of\ + \ storage used by Azure Data Lake Storage Gen2 hierarchical index.\",\"unit\"\ + :\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\"\ + ,\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ + :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"Transactions\"\ + ,\"displayName\":\"Transactions\",\"displayDescription\":\"The number of requests\ + \ made to a storage service or the specified API operation. This number includes\ + \ successful and failed requests, as well as requests which produced errors.\ + \ Use ResponseType dimension for the number of different type of response.\"\ + ,\"unit\":\"Count\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\"\ + :\"ResponseType\",\"displayName\":\"Response type\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ + toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ + Transaction\",\"supportedAggregationTypes\":[\"Total\"]},{\"name\":\"Ingress\"\ + ,\"displayName\":\"Ingress\",\"displayDescription\":\"The amount of ingress\ + \ data, in bytes. This number includes ingress from an external client into\ + \ Azure Storage as well as ingress within Azure.\",\"unit\":\"Bytes\",\"aggregationType\"\ + :\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo type\"\ + ,\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"\ + API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"\ + displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ + :false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"\ + ,\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Egress\",\"displayName\"\ + :\"Egress\",\"displayDescription\":\"The amount of egress data. This number\ + \ includes egress to external client from Azure Storage as well as egress\ + \ within Azure. As a result, this number does not reflect billable egress.\"\ + ,\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\"\ + :\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ + name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ + toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ + Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\"\ + ,\"Maximum\"]},{\"name\":\"SuccessServerLatency\",\"displayName\":\"Success\ + \ Server Latency\",\"displayDescription\":\"The average time used to process\ + \ a successful request by Azure Storage. This value does not include the network\ + \ latency specified in SuccessE2ELatency.\",\"unit\":\"Milliseconds\",\"aggregationType\"\ + :\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo type\"\ + ,\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"\ + API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"\ + displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ + :false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\"\ + ,\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessE2ELatency\",\"displayName\"\ + :\"Success E2E Latency\",\"displayDescription\":\"The average end-to-end latency\ + \ of successful requests made to a storage service or the specified API operation,\ + \ in milliseconds. This value includes the required processing time within\ + \ Azure Storage to read the request, send the response, and receive acknowledgment\ + \ of the response.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\"\ + ,\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ + toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ + Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"\ + ]},{\"name\":\"Availability\",\"displayName\":\"Availability\",\"displayDescription\"\ + :\"The percentage of availability for the storage service or the specified\ + \ API operation. Availability is calculated by taking the TotalBillableRequests\ + \ value and dividing it by the number of applicable requests, including those\ + \ that produced unexpected errors. All unexpected errors result in reduced\ + \ availability for the storage service or the specified API operation.\",\"\ + unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\"\ + :\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ + name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ + toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ + Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"\ + ]}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Blob service\",\"operation\":\"Read diagnostic setting\",\"description\"\ + :\"Gets the diagnostic setting for the resource.\"},\"origin\":\"system\"\ + },{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Blob service\",\"operation\":\"Write diagnostic setting\",\"\ + description\":\"Creates or updates the diagnostic setting for the resource.\"\ + },\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/metricDefinitions/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Table service\",\"operation\":\"Get list of Microsoft Storage\ + \ Metrics definitions\",\"description\":\"Get list of Microsoft Storage Metrics\ + \ definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\"\ + :{\"metricSpecifications\":[{\"name\":\"TableCapacity\",\"displayName\":\"\ + Table Capacity\",\"displayDescription\":\"The amount of Table storage used\ + \ by the storage account.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\"\ + ,\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ + :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"TableCount\"\ + ,\"displayName\":\"Table Count\",\"displayDescription\":\"The number of tables\ + \ in the storage account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\"\ + ,\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ + :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"TableEntityCount\"\ + ,\"displayName\":\"Table Entity Count\",\"displayDescription\":\"The number\ + \ of table entities in the storage account.\",\"unit\":\"Count\",\"aggregationType\"\ + :\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ + :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"Transactions\"\ + ,\"displayName\":\"Transactions\",\"displayDescription\":\"The number of requests\ + \ made to a storage service or the specified API operation. This number includes\ + \ successful and failed requests, as well as requests which produced errors.\ + \ Use ResponseType dimension for the number of different type of response.\"\ + ,\"unit\":\"Count\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\"\ + :\"ResponseType\",\"displayName\":\"Response type\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ + toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ + Transaction\",\"supportedAggregationTypes\":[\"Total\"]},{\"name\":\"Ingress\"\ + ,\"displayName\":\"Ingress\",\"displayDescription\":\"The amount of ingress\ + \ data, in bytes. This number includes ingress from an external client into\ + \ Azure Storage as well as ingress within Azure.\",\"unit\":\"Bytes\",\"aggregationType\"\ + :\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo type\"\ + ,\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"\ + API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"\ + displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ + :false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"\ + ,\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Egress\",\"displayName\"\ + :\"Egress\",\"displayDescription\":\"The amount of egress data. This number\ + \ includes egress to external client from Azure Storage as well as egress\ + \ within Azure. As a result, this number does not reflect billable egress.\"\ + ,\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\"\ + :\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ + name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ + toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ + Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\"\ + ,\"Maximum\"]},{\"name\":\"SuccessServerLatency\",\"displayName\":\"Success\ + \ Server Latency\",\"displayDescription\":\"The average time used to process\ + \ a successful request by Azure Storage. This value does not include the network\ + \ latency specified in SuccessE2ELatency.\",\"unit\":\"Milliseconds\",\"aggregationType\"\ + :\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo type\"\ + ,\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"\ + API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"\ + displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ + :false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\"\ + ,\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessE2ELatency\",\"displayName\"\ + :\"Success E2E Latency\",\"displayDescription\":\"The average end-to-end latency\ + \ of successful requests made to a storage service or the specified API operation,\ + \ in milliseconds. This value includes the required processing time within\ + \ Azure Storage to read the request, send the response, and receive acknowledgment\ + \ of the response.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\"\ + ,\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ + toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ + Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"\ + ]},{\"name\":\"Availability\",\"displayName\":\"Availability\",\"displayDescription\"\ + :\"The percentage of availability for the storage service or the specified\ + \ API operation. Availability is calculated by taking the TotalBillableRequests\ + \ value and dividing it by the number of applicable requests, including those\ + \ that produced unexpected errors. All unexpected errors result in reduced\ + \ availability for the storage service or the specified API operation.\",\"\ + unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\"\ + :\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ + name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ + toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ + Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"\ + ]}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Table service\",\"operation\":\"Read diagnostic setting\",\"\ + description\":\"Gets the diagnostic setting for the resource.\"},\"origin\"\ + :\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Table service\",\"operation\":\"Write diagnostic setting\",\"\ + description\":\"Creates or updates the diagnostic setting for the resource.\"\ + },\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/metricDefinitions/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"File service\",\"operation\":\"Get list of Microsoft Storage\ + \ Metrics definitions\",\"description\":\"Get list of Microsoft Storage Metrics\ + \ definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\"\ + :{\"metricSpecifications\":[{\"name\":\"FileCapacity\",\"displayName\":\"\ + File Capacity\",\"displayDescription\":\"The amount of File storage used by\ + \ the storage account.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\"\ + ,\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"FileShare\"\ + ,\"displayName\":\"File Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ + :false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"\ + supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileCount\",\"displayName\"\ + :\"File Count\",\"displayDescription\":\"The number of files in the storage\ + \ account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"lockAggregationType\"\ + :\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File\ + \ Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\"\ + :\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\"\ + :[\"Average\"]},{\"name\":\"FileShareCount\",\"displayName\":\"File Share\ + \ Count\",\"displayDescription\":\"The number of file shares in the storage\ + \ account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"lockAggregationType\"\ + :\"Total\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ + :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileShareSnapshotCount\"\ + ,\"displayName\":\"File Share Snapshot Count\",\"displayDescription\":\"The\ + \ number of snapshots present on the share in storage account\u2019s Files\ + \ Service.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"lockAggregationType\"\ + :\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File\ + \ Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\"\ + :\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\"\ + :[\"Average\"]},{\"name\":\"FileShareSnapshotSize\",\"displayName\":\"File\ + \ Share Snapshot Size\",\"displayDescription\":\"The amount of storage used\ + \ by the snapshots in storage account\u2019s File service in bytes.\",\"unit\"\ + :\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\"\ + ,\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File Share\",\"\ + toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ + Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\"\ + :[\"Average\"]},{\"name\":\"FileShareCapacityQuota\",\"internalMetricName\"\ + :\"FileShareQuota\",\"displayName\":\"File Share Capacity Quota\",\"displayDescription\"\ + :\"The upper limit on the amount of storage that can be used by Azure Files\ + \ Service in bytes.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"\ + lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"\ + displayName\":\"File Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ + :false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"\ + supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileShareProvisionedIOPS\"\ + ,\"displayName\":\"File Share Provisioned IOPS\",\"displayDescription\":\"\ + The baseline number of provisioned IOPS for the premium file share in the\ + \ premium files storage account. This number is calculated based on the provisioned\ + \ size (quota) of the share capacity.\",\"unit\":\"Bytes\",\"aggregationType\"\ + :\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"\ + FileShare\",\"displayName\":\"File Share\",\"toBeExportedForShoebox\":true}],\"\ + fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ + :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"],\"metricFilterPattern\"\ + :\"Premium\"},{\"name\":\"Transactions\",\"displayName\":\"Transactions\"\ + ,\"displayDescription\":\"The number of requests made to a storage service\ + \ or the specified API operation. This number includes successful and failed\ + \ requests, as well as requests which produced errors. Use ResponseType dimension\ + \ for the number of different type of response.\",\"unit\":\"Count\",\"aggregationType\"\ + :\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response\ + \ type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\"\ + :\"Geo type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\"\ + :\"API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\"\ + ,\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\"\ + :\"FileShare\",\"displayName\":\"File Share\",\"toBeExportedForShoebox\":true,\"\ + internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\"\ + ,\"supportedAggregationTypes\":[\"Total\"]},{\"name\":\"Ingress\",\"displayName\"\ + :\"Ingress\",\"displayDescription\":\"The amount of ingress data, in bytes.\ + \ This number includes ingress from an external client into Azure Storage\ + \ as well as ingress within Azure.\",\"unit\":\"Bytes\",\"aggregationType\"\ + :\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo type\"\ + ,\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"\ + API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"\ + displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\"\ + :\"FileShare\",\"displayName\":\"File Share\",\"toBeExportedForShoebox\":true,\"\ + internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\"\ + ,\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"\ + ]},{\"name\":\"Egress\",\"displayName\":\"Egress\",\"displayDescription\"\ + :\"The amount of egress data. This number includes egress to external client\ + \ from Azure Storage as well as egress within Azure. As a result, this number\ + \ does not reflect billable egress.\",\"unit\":\"Bytes\",\"aggregationType\"\ + :\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo type\"\ + ,\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"\ + API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"\ + displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\"\ + :\"FileShare\",\"displayName\":\"File Share\",\"toBeExportedForShoebox\":true,\"\ + internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\"\ + ,\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"\ + ]},{\"name\":\"SuccessServerLatency\",\"displayName\":\"Success Server Latency\"\ + ,\"displayDescription\":\"The average time used to process a successful request\ + \ by Azure Storage. This value does not include the network latency specified\ + \ in SuccessE2ELatency.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"\ + Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo type\"\ + ,\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"\ + API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"\ + displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\"\ + :\"FileShare\",\"displayName\":\"File Share\",\"toBeExportedForShoebox\":true,\"\ + internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\"\ + ,\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"\ + name\":\"SuccessE2ELatency\",\"displayName\":\"Success E2E Latency\",\"displayDescription\"\ + :\"The average end-to-end latency of successful requests made to a storage\ + \ service or the specified API operation, in milliseconds. This value includes\ + \ the required processing time within Azure Storage to read the request, send\ + \ the response, and receive acknowledgment of the response.\",\"unit\":\"\ + Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"\ + GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ + name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ + toBeExportedForShoebox\":true},{\"name\":\"FileShare\",\"displayName\":\"\ + File Share\",\"toBeExportedForShoebox\":true,\"internalName\":\"Container\"\ + }],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\"\ + :[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Availability\",\"displayName\"\ + :\"Availability\",\"displayDescription\":\"The percentage of availability\ + \ for the storage service or the specified API operation. Availability is\ + \ calculated by taking the TotalBillableRequests value and dividing it by\ + \ the number of applicable requests, including those that produced unexpected\ + \ errors. All unexpected errors result in reduced availability for the storage\ + \ service or the specified API operation.\",\"unit\":\"Percent\",\"aggregationType\"\ + :\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo type\"\ + ,\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"\ + API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"\ + displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\"\ + :\"FileShare\",\"displayName\":\"File Share\",\"toBeExportedForShoebox\":true,\"\ + internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\"\ + ,\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]}]}}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"File service\",\"operation\":\"Read diagnostic setting\",\"description\"\ + :\"Gets the diagnostic setting for the resource.\"},\"origin\":\"system\"\ + },{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"File service\",\"operation\":\"Write diagnostic setting\",\"\ + description\":\"Creates or updates the diagnostic setting for the resource.\"\ + },\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/metricDefinitions/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Queue service\",\"operation\":\"Get list of Microsoft Storage\ + \ Metrics definitions\",\"description\":\"Get list of Microsoft Storage Metrics\ + \ definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\"\ + :{\"metricSpecifications\":[{\"name\":\"QueueCapacity\",\"displayName\":\"\ + Queue Capacity\",\"displayDescription\":\"The amount of Queue storage used\ + \ by the storage account.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\"\ + ,\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ + :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"QueueCount\"\ + ,\"displayName\":\"Queue Count\",\"displayDescription\":\"The number of queues\ + \ in the storage account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\"\ + ,\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ + :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"QueueMessageCount\"\ + ,\"displayName\":\"Queue Message Count\",\"displayDescription\":\"The number\ + \ of unexpired queue messages in the storage account.\",\"unit\":\"Count\"\ + ,\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\":\"\ + Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\"\ + :[\"Average\"]},{\"name\":\"Transactions\",\"displayName\":\"Transactions\"\ + ,\"displayDescription\":\"The number of requests made to a storage service\ + \ or the specified API operation. This number includes successful and failed\ + \ requests, as well as requests which produced errors. Use ResponseType dimension\ + \ for the number of different type of response.\",\"unit\":\"Count\",\"aggregationType\"\ + :\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response\ + \ type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\"\ + :\"Geo type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\"\ + :\"API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\"\ + ,\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ + :false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"\ + ]},{\"name\":\"Ingress\",\"displayName\":\"Ingress\",\"displayDescription\"\ + :\"The amount of ingress data, in bytes. This number includes ingress from\ + \ an external client into Azure Storage as well as ingress within Azure.\"\ + ,\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\"\ + :\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ + name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ + toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ + Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\"\ + ,\"Maximum\"]},{\"name\":\"Egress\",\"displayName\":\"Egress\",\"displayDescription\"\ + :\"The amount of egress data. This number includes egress to external client\ + \ from Azure Storage as well as egress within Azure. As a result, this number\ + \ does not reflect billable egress.\",\"unit\":\"Bytes\",\"aggregationType\"\ + :\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo type\"\ + ,\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"\ + API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"\ + displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ + :false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"\ + ,\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessServerLatency\"\ + ,\"displayName\":\"Success Server Latency\",\"displayDescription\":\"The average\ + \ time used to process a successful request by Azure Storage. This value does\ + \ not include the network latency specified in SuccessE2ELatency.\",\"unit\"\ + :\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\"\ + :\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ + name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ + toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ + Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"\ + ]},{\"name\":\"SuccessE2ELatency\",\"displayName\":\"Success E2E Latency\"\ + ,\"displayDescription\":\"The average end-to-end latency of successful requests\ + \ made to a storage service or the specified API operation, in milliseconds.\ + \ This value includes the required processing time within Azure Storage to\ + \ read the request, send the response, and receive acknowledgment of the response.\"\ + ,\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\"\ + :[{\"name\":\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ + toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ + Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"\ + ]},{\"name\":\"Availability\",\"displayName\":\"Availability\",\"displayDescription\"\ + :\"The percentage of availability for the storage service or the specified\ + \ API operation. Availability is calculated by taking the TotalBillableRequests\ + \ value and dividing it by the number of applicable requests, including those\ + \ that produced unexpected errors. All unexpected errors result in reduced\ + \ availability for the storage service or the specified API operation.\",\"\ + unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\"\ + :\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ + name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ + :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ + toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ + Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"\ + ]}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Queue service\",\"operation\":\"Read diagnostic setting\",\"\ + description\":\"Gets the diagnostic setting for the resource.\"},\"origin\"\ + :\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Queue service\",\"operation\":\"Write diagnostic setting\",\"\ + description\":\"Creates or updates the diagnostic setting for the resource.\"\ + },\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/logDefinitions/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Table Service\",\"operation\":\"Read log definition\",\"description\"\ + :\"Gets the log definition for Table\"},\"origin\":\"system\",\"properties\"\ + :{\"serviceSpecification\":{\"logSpecifications\":[{\"name\":\"StorageRead\"\ + ,\"displayName\":\"StorageRead\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageWrite\"\ + ,\"displayName\":\"StorageWrite\",\"blobDuration\":\"PT1H\"},{\"name\":\"\ + StorageDelete\",\"displayName\":\"StorageDelete\",\"blobDuration\":\"PT1H\"\ + }]}}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/logDefinitions/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Blob Service\",\"operation\":\"Read log definition\",\"description\"\ + :\"Gets the log definition for Blob\"},\"origin\":\"system\",\"properties\"\ + :{\"serviceSpecification\":{\"logSpecifications\":[{\"name\":\"StorageRead\"\ + ,\"displayName\":\"StorageRead\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageWrite\"\ + ,\"displayName\":\"StorageWrite\",\"blobDuration\":\"PT1H\"},{\"name\":\"\ + StorageDelete\",\"displayName\":\"StorageDelete\",\"blobDuration\":\"PT1H\"\ + }]}}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/logDefinitions/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"File Service\",\"operation\":\"Read log definition\",\"description\"\ + :\"Gets the log definition for File\"},\"origin\":\"system\",\"properties\"\ + :{\"serviceSpecification\":{\"logSpecifications\":[{\"name\":\"StorageRead\"\ + ,\"displayName\":\"StorageRead\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageWrite\"\ + ,\"displayName\":\"StorageWrite\",\"blobDuration\":\"PT1H\"},{\"name\":\"\ + StorageDelete\",\"displayName\":\"StorageDelete\",\"blobDuration\":\"PT1H\"\ + }]}}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/logDefinitions/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Queue Service\",\"operation\":\"Read log definition\",\"description\"\ + :\"Gets the log definition for Queue\"},\"origin\":\"system\",\"properties\"\ + :{\"serviceSpecification\":{\"logSpecifications\":[{\"name\":\"StorageRead\"\ + ,\"displayName\":\"StorageRead\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageWrite\"\ + ,\"displayName\":\"StorageWrite\",\"blobDuration\":\"PT1H\"},{\"name\":\"\ + StorageDelete\",\"displayName\":\"StorageDelete\",\"blobDuration\":\"PT1H\"\ + }]}}},{\"name\":\"Microsoft.Storage/skus/read\",\"isDataAction\":false,\"\ + display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Sku\",\"operation\"\ + :\"List Skus\",\"description\":\"Lists the Skus supported by Microsoft.Storage.\"\ + }},{\"name\":\"Microsoft.Storage/operations/read\",\"isDataAction\":false,\"\ + display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Operations\"\ + ,\"operation\":\"Poll Asynchronous Operation\",\"description\":\"Polls the\ + \ status of an asynchronous operation.\"}},{\"name\":\"Microsoft.Storage/checknameavailability/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Name Availability\",\"operation\":\"Check Name Availability\"\ + ,\"description\":\"Checks that account name is valid and is not in use.\"\ + }},{\"name\":\"Microsoft.Storage/storageAccounts/delete\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ + \ Accounts\",\"operation\":\"Delete Storage Account\",\"description\":\"Deletes\ + \ an existing storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Accounts\",\"operation\":\"List/Get Storage Account(s)\"\ + ,\"description\":\"Returns the list of storage accounts or gets the properties\ + \ for the specified storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/listAccountSas/action\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Account SAS Token\",\"operation\":\"Returns Storage Account\ + \ SAS Token\",\"description\":\"Returns the Account SAS token for the specified\ + \ storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/listServiceSas/action\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Service SAS Token\",\"operation\":\"Returns Storage Service\ + \ SAS Token\",\"description\":\"Returns the Service SAS token for the specified\ + \ storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Storage Accounts\",\"operation\":\"Create/Update Storage Account\"\ + ,\"description\":\"Creates a storage account with the specified parameters\ + \ or update the properties or tags or adds custom domain for the specified\ + \ storage account.\"}},{\"name\":\"Microsoft.Storage/locations/usages/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Usage Metrics\",\"operation\":\"Get Subscription Usages\",\"\ + description\":\"Returns the limit and the current usage count for resources\ + \ in the specified subscription\"}},{\"name\":\"Microsoft.Storage/usages/read\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ + resource\":\"Usage Metrics\",\"operation\":\"Get Subscription Usages\",\"\ + description\":\"Returns the limit and the current usage count for resources\ + \ in the specified subscription\"}},{\"name\":\"Microsoft.Storage/storageAccounts/inventoryPolicies/write\"\ + ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ + name\":\"Microsoft.Storage/storageAccounts/blobServices/read\",\"isDataAction\"\ + :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ + \ Blob Services\",\"operation\":\"Get blob service properties or statistics\"\ + ,\"description\":\"Returns blob service properties or statistics\"}}]}" headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:11 GMT + date: Tue, 15 Sep 2020 07:31:00 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2138,9 +2449,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/setLegalHold?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/setLegalHold?api-version=2019-06-01 response: body: string: '{"hasLegalHold":true,"tags":["tag1","tag2","tag3"]}' @@ -2148,7 +2459,7 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:11 GMT + date: Tue, 15 Sep 2020 07:31:00 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2157,11 +2468,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1199' + x-ms-ratelimit-remaining-subscription-writes: '1198' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/setLegalHold?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/setLegalHold?api-version=2019-06-01 - request: body: '{"tags": ["tag1", "tag2", "tag3"]}' headers: @@ -2172,9 +2483,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/clearLegalHold?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/clearLegalHold?api-version=2019-06-01 response: body: string: '{"hasLegalHold":false,"tags":[]}' @@ -2182,7 +2493,7 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:11 GMT + date: Tue, 15 Sep 2020 07:31:01 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2191,11 +2502,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1198' + x-ms-ratelimit-remaining-subscription-writes: '1197' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/clearLegalHold?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/clearLegalHold?api-version=2019-06-01 - request: body: '{"action": "Acquire", "leaseDuration": -1}' headers: @@ -2206,18 +2517,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 response: body: - string: '{"leaseId":"deb43697-3466-4bb3-9abd-5088f0ec5f25"}' + string: '{"leaseId":"4c446619-aabc-4809-901c-2e19e41dbf3c"}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:12 GMT - etag: '"0x8D81B2BBBB70F10"' + date: Tue, 15 Sep 2020 07:31:01 GMT + etag: '"0x8D859494BE48221"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2226,13 +2537,13 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1197' + x-ms-ratelimit-remaining-subscription-writes: '1196' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 - request: - body: '{"action": "Break", "leaseId": "deb43697-3466-4bb3-9abd-5088f0ec5f25"}' + body: '{"action": "Break", "leaseId": "4c446619-aabc-4809-901c-2e19e41dbf3c"}' headers: Accept: - application/json @@ -2241,9 +2552,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 response: body: string: '{"leaseTimeSeconds":"0"}' @@ -2251,8 +2562,8 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:12 GMT - etag: '"0x8D81B2BBBB70F10"' + date: Tue, 15 Sep 2020 07:31:02 GMT + etag: '"0x8D859494BE48221"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2261,11 +2572,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1196' + x-ms-ratelimit-remaining-subscription-writes: '1195' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 - request: body: '{"properties": {"publicAccess": "Container", "metadata": {"metadata": "true"}}}' headers: @@ -2276,18 +2587,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers","properties":{"deleted":false,"remainingRetentionDays":0,"metadata":{"metadata":"true"},"publicAccess":"Container","hasImmutabilityPolicy":false,"hasLegalHold":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers","properties":{"deleted":false,"remainingRetentionDays":0,"metadata":{"metadata":"true"},"publicAccess":"Container","hasImmutabilityPolicy":false,"hasLegalHold":false}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:13 GMT - etag: '"0x8D81B2BBC6A2C46"' + date: Tue, 15 Sep 2020 07:31:02 GMT + etag: '"0x8D859494CBC4447"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2296,11 +2607,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1187' + x-ms-ratelimit-remaining-subscription-writes: '1188' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 - request: body: '{"properties": {"metadata": {"type": "image"}}}' headers: @@ -2311,18 +2622,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares","properties":{"metadata":{"type":"image"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares","properties":{"metadata":{"type":"image"}}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:13 GMT - etag: '"0x8D81B2BBCAC1B73"' + date: Tue, 15 Sep 2020 07:31:03 GMT + etag: '"0x8D859494D119D3C"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2331,11 +2642,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1186' + x-ms-ratelimit-remaining-subscription-writes: '1187' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 - request: body: '{"properties": {"source": "Microsoft.Storage", "state": "Enabled"}}' headers: @@ -2346,17 +2657,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-06-28T06:22:58.4796418Z","lastModifiedTime":"2020-06-28T06:22:58.4796418Z","state":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-09-15T07:30:46.6679769Z","lastModifiedTime":"2020-09-15T07:30:46.6679769Z","state":"Enabled"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:14 GMT + date: Tue, 15 Sep 2020 07:31:03 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2365,18 +2676,18 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1185' + x-ms-ratelimit-remaining-subscription-writes: '1186' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 - request: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/revokeUserDelegationKeys?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/revokeUserDelegationKeys?api-version=2019-06-01 response: body: string: '' @@ -2384,18 +2695,18 @@ interactions: cache-control: no-cache content-length: '0' content-type: text/plain; charset=utf-8 - date: Sun, 28 Jun 2020 06:23:14 GMT + date: Tue, 15 Sep 2020 07:31:04 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1195' + x-ms-ratelimit-remaining-subscription-writes: '1194' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/revokeUserDelegationKeys?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/revokeUserDelegationKeys?api-version=2019-06-01 - request: body: '{"keyName": "key2"}' headers: @@ -2406,17 +2717,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/regenerateKey?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/regenerateKey?api-version=2019-06-01 response: body: - string: '{"keys":[{"keyName":"key1","value":"6TuxWVi8o6PvFOeeyx2YI+Mij/0abKt0wfmuYNT6Klase5dQyXo5sPFk7o0YvRwR+xpm88TTxdW9l9989MbsfA==","permissions":"FULL"},{"keyName":"key2","value":"vYL8mTDE/0CAz/10VNUbdOT6w52NLxIxX9Ax4P7hboy56xIoLllVhpqi4ciWKAso19A1eQn7+fDLd9cgQvq5OA==","permissions":"FULL"}]}' + string: '{"keys":[{"keyName":"key1","value":"UWosKFZEEUGQtok35m5JWMvMHtt6d3tlRxNo+owMrgrfcE9/HbZ232tpc/9YdkvYBnva+UgPB65+CRW3uHHiEA==","permissions":"FULL"},{"keyName":"key2","value":"+ux1uEu9apTcLGrz1Wjbukz6OOyydyDgZlkKaPasoSfUj95wTozUSE5DInxo6G50thgwH/Nr6Q9XbEurqxNAXA==","permissions":"FULL"}]}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:14 GMT + date: Tue, 15 Sep 2020 07:31:04 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2425,28 +2736,28 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1194' + x-ms-ratelimit-remaining-subscription-writes: '1193' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/regenerateKey?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/regenerateKey?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/listKeys?api-version=2019-06-01&$expand=kerb + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/listKeys?api-version=2019-06-01&$expand=kerb response: body: - string: '{"keys":[{"keyName":"key1","value":"6TuxWVi8o6PvFOeeyx2YI+Mij/0abKt0wfmuYNT6Klase5dQyXo5sPFk7o0YvRwR+xpm88TTxdW9l9989MbsfA==","permissions":"FULL"},{"keyName":"key2","value":"vYL8mTDE/0CAz/10VNUbdOT6w52NLxIxX9Ax4P7hboy56xIoLllVhpqi4ciWKAso19A1eQn7+fDLd9cgQvq5OA==","permissions":"FULL"}]}' + string: '{"keys":[{"keyName":"key1","value":"UWosKFZEEUGQtok35m5JWMvMHtt6d3tlRxNo+owMrgrfcE9/HbZ232tpc/9YdkvYBnva+UgPB65+CRW3uHHiEA==","permissions":"FULL"},{"keyName":"key2","value":"+ux1uEu9apTcLGrz1Wjbukz6OOyydyDgZlkKaPasoSfUj95wTozUSE5DInxo6G50thgwH/Nr6Q9XbEurqxNAXA==","permissions":"FULL"}]}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:15 GMT + date: Tue, 15 Sep 2020 07:31:04 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2459,7 +2770,7 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/listKeys?api-version=2019-06-01&$expand=kerb + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/listKeys?api-version=2019-06-01&$expand=kerb - request: body: '{"properties": {"encryption": {"services": {"blob": {"enabled": true, "keyType": "Account"}, "file": {"enabled": true, "keyType": "Account"}}, "keySource": "Microsoft.Storage"}}}' @@ -2471,17 +2782,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","name":"storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:21:48.0207896Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn","name":"storageaccountxxyyzznzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateEndpointConnections/storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55","name":"storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:29:53.5766027Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-09-15T07:29:53.5766027Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-09-15T07:29:53.4828765Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzznzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzznzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzznzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzznzn.queue.core.windows.net/","table":"https://storageaccountxxyyzznzn.table.core.windows.net/","file":"https://storageaccountxxyyzznzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:15 GMT + date: Tue, 15 Sep 2020 07:31:05 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2490,31 +2801,31 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1184' + x-ms-ratelimit-remaining-subscription-writes: '1185' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn?api-version=2019-06-01 - request: body: null headers: Accept: - application/json If-Match: - - '"8d81b2bb77e6544"' + - '"8d8594947553c64"' User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/lock?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/lock?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2bbe2978b2\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Locked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d859494ed22570\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Locked"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:16 GMT - etag: '"8d81b2bbe2978b2"' + date: Tue, 15 Sep 2020 07:31:06 GMT + etag: '"8d859494ed22570"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2523,11 +2834,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1193' + x-ms-ratelimit-remaining-subscription-writes: '1192' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/lock?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/lock?api-version=2019-06-01 - request: body: '{"properties": {"immutabilityPeriodSinceCreationInDays": 100}}' headers: @@ -2538,20 +2849,20 @@ interactions: Content-Type: - application/json If-Match: - - '"8d81b2bbe2978b2"' + - '"8d859494ed22570"' User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/extend?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/extend?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2bbe6775c5\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":100,"state":"Locked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d859494f102218\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":100,"state":"Locked"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:16 GMT - etag: '"8d81b2bbe6775c5"' + date: Tue, 15 Sep 2020 07:31:06 GMT + etag: '"8d859494f102218"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2560,11 +2871,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1192' + x-ms-ratelimit-remaining-subscription-writes: '1191' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/extend?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/extend?api-version=2019-06-01 - request: body: '{"name": "sto3363", "type": "Microsoft.Storage/storageAccounts"}' headers: @@ -2575,7 +2886,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/checkNameAvailability?api-version=2019-06-01 response: @@ -2585,7 +2896,7 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Sun, 28 Jun 2020 06:23:17 GMT + date: Tue, 15 Sep 2020 07:31:07 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2602,9 +2913,9 @@ interactions: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 response: body: string: '' @@ -2612,7 +2923,7 @@ interactions: cache-control: no-cache content-length: '0' content-type: text/plain; charset=utf-8 - date: Sun, 28 Jun 2020 06:23:17 GMT + date: Tue, 15 Sep 2020 07:31:07 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2623,14 +2934,16 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 - request: body: null headers: + Accept: + - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateEndpointConnections/storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55?api-version=2019-06-01 response: body: string: '' @@ -2638,7 +2951,7 @@ interactions: cache-control: no-cache content-length: '0' content-type: text/plain; charset=utf-8 - date: Sun, 28 Jun 2020 06:23:19 GMT + date: Tue, 15 Sep 2020 07:31:10 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2649,14 +2962,16 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/privateEndpointConnections/storageaccountxxyyzznzn.4715daeb-05e5-49ae-9afe-70d137f41d55?api-version=2019-06-01 - request: body: null headers: + Accept: + - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 response: body: string: '' @@ -2664,7 +2979,7 @@ interactions: cache-control: no-cache content-length: '0' content-type: text/plain; charset=utf-8 - date: Sun, 28 Jun 2020 06:23:20 GMT + date: Tue, 15 Sep 2020 07:31:10 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2675,14 +2990,14 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 - request: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/managementPolicies/default?api-version=2019-06-01 response: body: string: '' @@ -2690,7 +3005,7 @@ interactions: cache-control: no-cache content-length: '0' content-type: text/plain; charset=utf-8 - date: Sun, 28 Jun 2020 06:23:20 GMT + date: Tue, 15 Sep 2020 07:31:11 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2701,14 +3016,14 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn/managementPolicies/default?api-version=2019-06-01 - request: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + - azsdk-python-azure-mgmt-storage/16.0.0b2 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn?api-version=2019-06-01 response: body: string: '' @@ -2716,7 +3031,7 @@ interactions: cache-control: no-cache content-length: '0' content-type: text/plain; charset=utf-8 - date: Sun, 28 Jun 2020 06:23:25 GMT + date: Tue, 15 Sep 2020 07:31:19 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2727,5 +3042,5 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/e2zbcxuft3y2bdh47j2ry3aek3lfzz2d5qufwbzzzwuwbbckksp5da3525okfw3crb3s2bchigg/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzznzn?api-version=2019-06-01 version: 1 diff --git a/sdk/storage/azure-mgmt-storage/tests/test_cli_mgmt_storage.py b/sdk/storage/azure-mgmt-storage/tests/test_cli_mgmt_storage.py index 030f435df7af..ea018fe2c691 100644 --- a/sdk/storage/azure-mgmt-storage/tests/test_cli_mgmt_storage.py +++ b/sdk/storage/azure-mgmt-storage/tests/test_cli_mgmt_storage.py @@ -122,8 +122,8 @@ def test_storage(self, resource_group): SUBSCRIPTION_ID = self.settings.SUBSCRIPTION_ID RESOURCE_GROUP = resource_group.name - STORAGE_ACCOUNT_NAME = "storageaccountxxyyzzn" # TODO: need change a random name, if need run live test again. - DEST_STORAGE_ACCOUNT_NAME = "storageaccountxxyyzznnx" + STORAGE_ACCOUNT_NAME = "storageaccountxxyyzzccc" # TODO: need change a random name, if need run live test again. + DEST_STORAGE_ACCOUNT_NAME = "storageaccountxxyyzznnccc" FILE_SERVICE_NAME = "fileservicexxyyzz" SHARE_NAME = "filesharenamexxyyzz" BLOB_SERVICE_NAME = "blobservicexxyyzz" @@ -387,7 +387,7 @@ def test_storage(self, resource_group): ] } } - result = self.mgmt_client.management_policies.create_or_update(resource_group.name, STORAGE_ACCOUNT_NAME, BODY) + result = self.mgmt_client.management_policies.create_or_update(resource_group.name, STORAGE_ACCOUNT_NAME, "default", BODY) # PutShares[put] result = self.mgmt_client.file_shares.create(resource_group.name, STORAGE_ACCOUNT_NAME, SHARE_NAME, {}) @@ -454,7 +454,7 @@ def test_storage(self, resource_group): result = self.mgmt_client.file_shares.get(resource_group.name, STORAGE_ACCOUNT_NAME, SHARE_NAME) # StorageAccountGetManagementPolicies[get] - result = self.mgmt_client.management_policies.get(resource_group.name, STORAGE_ACCOUNT_NAME) + result = self.mgmt_client.management_policies.get(resource_group.name, STORAGE_ACCOUNT_NAME, "default") # ListContainers[get] result = self.mgmt_client.blob_containers.list(resource_group.name, STORAGE_ACCOUNT_NAME) @@ -717,7 +717,7 @@ def test_storage(self, resource_group): result = self.mgmt_client.file_shares.delete(resource_group.name, STORAGE_ACCOUNT_NAME, SHARE_NAME) # StorageAccountDeleteManagementPolicies[delete] - result = self.mgmt_client.management_policies.delete(resource_group.name, STORAGE_ACCOUNT_NAME) + result = self.mgmt_client.management_policies.delete(resource_group.name, STORAGE_ACCOUNT_NAME, "default") # TODO: [Kaihui] feature is unavailable # Delete object replication policy diff --git a/sdk/storage/azure-mgmt-storage/tests/test_cli_mgmt_storage_async.py b/sdk/storage/azure-mgmt-storage/tests/test_cli_mgmt_storage_async.py index 059167bd64a1..a46856867a6a 100644 --- a/sdk/storage/azure-mgmt-storage/tests/test_cli_mgmt_storage_async.py +++ b/sdk/storage/azure-mgmt-storage/tests/test_cli_mgmt_storage_async.py @@ -98,7 +98,7 @@ def test_storage(self, resource_group): SUBSCRIPTION_ID = self.settings.SUBSCRIPTION_ID RESOURCE_GROUP = resource_group.name - STORAGE_ACCOUNT_NAME = "storageaccountxxyyzzn" # TODO: need change a random name, if need run live test again. + STORAGE_ACCOUNT_NAME = "storageaccountxxyyzznzn" # TODO: need change a random name, if need run live test again. FILE_SERVICE_NAME = "fileservicexxyyzz" SHARE_NAME = "filesharenamexxyyzz" BLOB_SERVICE_NAME = "blobservicexxyyzz" @@ -347,7 +347,7 @@ def test_storage(self, resource_group): } } result = self.event_loop.run_until_complete( - self.mgmt_client.management_policies.create_or_update(resource_group.name, STORAGE_ACCOUNT_NAME, BODY) + self.mgmt_client.management_policies.create_or_update(resource_group.name, STORAGE_ACCOUNT_NAME, "default", BODY) ) # PutShares[put] @@ -434,7 +434,7 @@ def test_storage(self, resource_group): # StorageAccountGetManagementPolicies[get] result = self.event_loop.run_until_complete( - self.mgmt_client.management_policies.get(resource_group.name, STORAGE_ACCOUNT_NAME) + self.mgmt_client.management_policies.get(resource_group.name, STORAGE_ACCOUNT_NAME, "default") ) # ListContainers[get] @@ -673,7 +673,7 @@ def test_storage(self, resource_group): # StorageAccountDeleteManagementPolicies[delete] result = self.event_loop.run_until_complete( - self.mgmt_client.management_policies.delete(resource_group.name, STORAGE_ACCOUNT_NAME) + self.mgmt_client.management_policies.delete(resource_group.name, STORAGE_ACCOUNT_NAME, "default") ) # StorageAccountDelete[delete]