azure-mgmt-storage 21.1.0__py3-none-any.whl → 21.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azure/mgmt/storage/_configuration.py +2 -3
- azure/mgmt/storage/_serialization.py +41 -49
- azure/mgmt/storage/_storage_management_client.py +142 -2
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_configuration.py +2 -3
- azure/mgmt/storage/aio/_storage_management_client.py +142 -2
- azure/mgmt/storage/models.py +1 -1
- azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
- azure/mgmt/storage/v2015_06_15/_version.py +1 -1
- azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
- azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2016_01_01/_version.py +1 -1
- azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
- azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2016_12_01/_version.py +1 -1
- azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
- azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_06_01/_version.py +1 -1
- azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_10_01/_version.py +1 -1
- azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_02_01/_version.py +1 -1
- azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
- azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
- azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
- azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_07_01/_version.py +1 -1
- azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
- azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_11_01/_version.py +1 -1
- azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
- azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
- azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
- azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
- azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_04_01/_version.py +1 -1
- azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
- azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
- azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
- azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_06_01/_version.py +1 -1
- azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
- azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_01_01/_version.py +1 -1
- azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_02_01/_version.py +1 -1
- azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
- azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_04_01/_version.py +1 -1
- azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
- azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_06_01/_version.py +1 -1
- azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_08_01/_version.py +1 -1
- azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
- azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_09_01/_version.py +1 -1
- azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_05_01/_version.py +1 -1
- azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_09_01/_version.py +1 -1
- azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2023_01_01/_version.py +1 -1
- azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
- azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
- azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
- azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
- azure/mgmt/storage/v2023_05_01/_version.py +9 -0
- azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
- azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
- azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
- azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
- azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
- azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
- azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
- azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
- azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
- azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
- azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
- azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
- azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
- azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
1
|
+
# pylint: disable=too-many-lines,too-many-statements
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# --------------------------------------------------------------------------
|
9
9
|
from io import IOBase
|
10
10
|
import sys
|
11
|
-
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload
|
11
|
+
from typing import Any, AsyncIterable, Callable, Dict, IO, Literal, Optional, Type, TypeVar, Union, cast, overload
|
12
12
|
import urllib.parse
|
13
13
|
|
14
14
|
from azure.core.async_paging import AsyncItemPaged, AsyncList
|
@@ -49,10 +49,10 @@ from ...operations._storage_accounts_operations import (
|
|
49
49
|
build_update_request,
|
50
50
|
)
|
51
51
|
|
52
|
-
if sys.version_info >= (3,
|
53
|
-
from
|
52
|
+
if sys.version_info >= (3, 9):
|
53
|
+
from collections.abc import MutableMapping
|
54
54
|
else:
|
55
|
-
from
|
55
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
56
56
|
T = TypeVar("T")
|
57
57
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
58
58
|
|
@@ -95,7 +95,6 @@ class StorageAccountsOperations:
|
|
95
95
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
96
96
|
Default value is "application/json".
|
97
97
|
:paramtype content_type: str
|
98
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
99
98
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
100
99
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.CheckNameAvailabilityResult
|
101
100
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -103,18 +102,17 @@ class StorageAccountsOperations:
|
|
103
102
|
|
104
103
|
@overload
|
105
104
|
async def check_name_availability(
|
106
|
-
self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
|
105
|
+
self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
|
107
106
|
) -> _models.CheckNameAvailabilityResult:
|
108
107
|
"""Checks that the storage account name is valid and is not already in use.
|
109
108
|
|
110
109
|
:param account_name: The name of the storage account within the specified resource group.
|
111
110
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
112
111
|
lower-case letters only. Required.
|
113
|
-
:type account_name: IO
|
112
|
+
:type account_name: IO[bytes]
|
114
113
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
115
114
|
Default value is "application/json".
|
116
115
|
:paramtype content_type: str
|
117
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
118
116
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
119
117
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.CheckNameAvailabilityResult
|
120
118
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -122,26 +120,22 @@ class StorageAccountsOperations:
|
|
122
120
|
|
123
121
|
@distributed_trace_async
|
124
122
|
async def check_name_availability(
|
125
|
-
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
|
123
|
+
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
|
126
124
|
) -> _models.CheckNameAvailabilityResult:
|
127
125
|
"""Checks that the storage account name is valid and is not already in use.
|
128
126
|
|
129
127
|
:param account_name: The name of the storage account within the specified resource group.
|
130
128
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
131
|
-
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
132
|
-
type. Required.
|
129
|
+
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
130
|
+
IO[bytes] type. Required.
|
133
131
|
:type account_name:
|
134
132
|
~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountCheckNameAvailabilityParameters or
|
135
|
-
IO
|
136
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
137
|
-
Default value is None.
|
138
|
-
:paramtype content_type: str
|
139
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
133
|
+
IO[bytes]
|
140
134
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
141
135
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.CheckNameAvailabilityResult
|
142
136
|
:raises ~azure.core.exceptions.HttpResponseError:
|
143
137
|
"""
|
144
|
-
error_map = {
|
138
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
145
139
|
401: ClientAuthenticationError,
|
146
140
|
404: ResourceNotFoundError,
|
147
141
|
409: ResourceExistsError,
|
@@ -166,22 +160,21 @@ class StorageAccountsOperations:
|
|
166
160
|
else:
|
167
161
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
168
162
|
|
169
|
-
|
163
|
+
_request = build_check_name_availability_request(
|
170
164
|
subscription_id=self._config.subscription_id,
|
171
165
|
api_version=api_version,
|
172
166
|
content_type=content_type,
|
173
167
|
json=_json,
|
174
168
|
content=_content,
|
175
|
-
template_url=self.check_name_availability.metadata["url"],
|
176
169
|
headers=_headers,
|
177
170
|
params=_params,
|
178
171
|
)
|
179
|
-
|
180
|
-
|
172
|
+
_request = _convert_request(_request)
|
173
|
+
_request.url = self._client.format_url(_request.url)
|
181
174
|
|
182
175
|
_stream = False
|
183
176
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
184
|
-
|
177
|
+
_request, stream=_stream, **kwargs
|
185
178
|
)
|
186
179
|
|
187
180
|
response = pipeline_response.http_response
|
@@ -193,22 +186,18 @@ class StorageAccountsOperations:
|
|
193
186
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
194
187
|
|
195
188
|
if cls:
|
196
|
-
return cls(pipeline_response, deserialized, {})
|
197
|
-
|
198
|
-
return deserialized
|
189
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
199
190
|
|
200
|
-
|
201
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
202
|
-
}
|
191
|
+
return deserialized # type: ignore
|
203
192
|
|
204
193
|
async def _create_initial(
|
205
194
|
self,
|
206
195
|
resource_group_name: str,
|
207
196
|
account_name: str,
|
208
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
197
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
209
198
|
**kwargs: Any
|
210
199
|
) -> Optional[_models.StorageAccount]:
|
211
|
-
error_map = {
|
200
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
212
201
|
401: ClientAuthenticationError,
|
213
202
|
404: ResourceNotFoundError,
|
214
203
|
409: ResourceExistsError,
|
@@ -233,7 +222,7 @@ class StorageAccountsOperations:
|
|
233
222
|
else:
|
234
223
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
235
224
|
|
236
|
-
|
225
|
+
_request = build_create_request(
|
237
226
|
resource_group_name=resource_group_name,
|
238
227
|
account_name=account_name,
|
239
228
|
subscription_id=self._config.subscription_id,
|
@@ -241,16 +230,15 @@ class StorageAccountsOperations:
|
|
241
230
|
content_type=content_type,
|
242
231
|
json=_json,
|
243
232
|
content=_content,
|
244
|
-
template_url=self._create_initial.metadata["url"],
|
245
233
|
headers=_headers,
|
246
234
|
params=_params,
|
247
235
|
)
|
248
|
-
|
249
|
-
|
236
|
+
_request = _convert_request(_request)
|
237
|
+
_request.url = self._client.format_url(_request.url)
|
250
238
|
|
251
239
|
_stream = False
|
252
240
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
253
|
-
|
241
|
+
_request, stream=_stream, **kwargs
|
254
242
|
)
|
255
243
|
|
256
244
|
response = pipeline_response.http_response
|
@@ -264,13 +252,9 @@ class StorageAccountsOperations:
|
|
264
252
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
265
253
|
|
266
254
|
if cls:
|
267
|
-
return cls(pipeline_response, deserialized, {})
|
268
|
-
|
269
|
-
return deserialized
|
255
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
270
256
|
|
271
|
-
|
272
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
273
|
-
}
|
257
|
+
return deserialized # type: ignore
|
274
258
|
|
275
259
|
@overload
|
276
260
|
async def begin_create(
|
@@ -299,14 +283,6 @@ class StorageAccountsOperations:
|
|
299
283
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
300
284
|
Default value is "application/json".
|
301
285
|
:paramtype content_type: str
|
302
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
303
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
304
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
305
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
306
|
-
polling strategy.
|
307
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
308
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
309
|
-
Retry-After header is present.
|
310
286
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
311
287
|
cls(response)
|
312
288
|
:rtype:
|
@@ -319,7 +295,7 @@ class StorageAccountsOperations:
|
|
319
295
|
self,
|
320
296
|
resource_group_name: str,
|
321
297
|
account_name: str,
|
322
|
-
parameters: IO,
|
298
|
+
parameters: IO[bytes],
|
323
299
|
*,
|
324
300
|
content_type: str = "application/json",
|
325
301
|
**kwargs: Any
|
@@ -337,18 +313,10 @@ class StorageAccountsOperations:
|
|
337
313
|
lower-case letters only. Required.
|
338
314
|
:type account_name: str
|
339
315
|
:param parameters: The parameters to provide for the created account. Required.
|
340
|
-
:type parameters: IO
|
316
|
+
:type parameters: IO[bytes]
|
341
317
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
342
318
|
Default value is "application/json".
|
343
319
|
:paramtype content_type: str
|
344
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
345
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
346
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
347
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
348
|
-
polling strategy.
|
349
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
350
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
351
|
-
Retry-After header is present.
|
352
320
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
353
321
|
cls(response)
|
354
322
|
:rtype:
|
@@ -361,7 +329,7 @@ class StorageAccountsOperations:
|
|
361
329
|
self,
|
362
330
|
resource_group_name: str,
|
363
331
|
account_name: str,
|
364
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
332
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
365
333
|
**kwargs: Any
|
366
334
|
) -> AsyncLROPoller[_models.StorageAccount]:
|
367
335
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -377,20 +345,9 @@ class StorageAccountsOperations:
|
|
377
345
|
lower-case letters only. Required.
|
378
346
|
:type account_name: str
|
379
347
|
:param parameters: The parameters to provide for the created account. Is either a
|
380
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
348
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
381
349
|
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountCreateParameters
|
382
|
-
or IO
|
383
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
384
|
-
Default value is None.
|
385
|
-
:paramtype content_type: str
|
386
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
387
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
388
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
389
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
390
|
-
polling strategy.
|
391
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
392
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
393
|
-
Retry-After header is present.
|
350
|
+
or IO[bytes]
|
394
351
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
395
352
|
cls(response)
|
396
353
|
:rtype:
|
@@ -425,7 +382,7 @@ class StorageAccountsOperations:
|
|
425
382
|
def get_long_running_output(pipeline_response):
|
426
383
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
427
384
|
if cls:
|
428
|
-
return cls(pipeline_response, deserialized, {})
|
385
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
429
386
|
return deserialized
|
430
387
|
|
431
388
|
if polling is True:
|
@@ -435,17 +392,15 @@ class StorageAccountsOperations:
|
|
435
392
|
else:
|
436
393
|
polling_method = polling
|
437
394
|
if cont_token:
|
438
|
-
return AsyncLROPoller.from_continuation_token(
|
395
|
+
return AsyncLROPoller[_models.StorageAccount].from_continuation_token(
|
439
396
|
polling_method=polling_method,
|
440
397
|
continuation_token=cont_token,
|
441
398
|
client=self._client,
|
442
399
|
deserialization_callback=get_long_running_output,
|
443
400
|
)
|
444
|
-
return AsyncLROPoller(
|
445
|
-
|
446
|
-
|
447
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
448
|
-
}
|
401
|
+
return AsyncLROPoller[_models.StorageAccount](
|
402
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
403
|
+
)
|
449
404
|
|
450
405
|
@distributed_trace_async
|
451
406
|
async def delete( # pylint: disable=inconsistent-return-statements
|
@@ -460,12 +415,11 @@ class StorageAccountsOperations:
|
|
460
415
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
461
416
|
lower-case letters only. Required.
|
462
417
|
:type account_name: str
|
463
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
464
418
|
:return: None or the result of cls(response)
|
465
419
|
:rtype: None
|
466
420
|
:raises ~azure.core.exceptions.HttpResponseError:
|
467
421
|
"""
|
468
|
-
error_map = {
|
422
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
469
423
|
401: ClientAuthenticationError,
|
470
424
|
404: ResourceNotFoundError,
|
471
425
|
409: ResourceExistsError,
|
@@ -481,21 +435,20 @@ class StorageAccountsOperations:
|
|
481
435
|
)
|
482
436
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
483
437
|
|
484
|
-
|
438
|
+
_request = build_delete_request(
|
485
439
|
resource_group_name=resource_group_name,
|
486
440
|
account_name=account_name,
|
487
441
|
subscription_id=self._config.subscription_id,
|
488
442
|
api_version=api_version,
|
489
|
-
template_url=self.delete.metadata["url"],
|
490
443
|
headers=_headers,
|
491
444
|
params=_params,
|
492
445
|
)
|
493
|
-
|
494
|
-
|
446
|
+
_request = _convert_request(_request)
|
447
|
+
_request.url = self._client.format_url(_request.url)
|
495
448
|
|
496
449
|
_stream = False
|
497
450
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
498
|
-
|
451
|
+
_request, stream=_stream, **kwargs
|
499
452
|
)
|
500
453
|
|
501
454
|
response = pipeline_response.http_response
|
@@ -505,11 +458,7 @@ class StorageAccountsOperations:
|
|
505
458
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
506
459
|
|
507
460
|
if cls:
|
508
|
-
return cls(pipeline_response, None, {})
|
509
|
-
|
510
|
-
delete.metadata = {
|
511
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
512
|
-
}
|
461
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
513
462
|
|
514
463
|
@distributed_trace_async
|
515
464
|
async def get_properties(
|
@@ -535,12 +484,11 @@ class StorageAccountsOperations:
|
|
535
484
|
and blobRestoreStatus. Known values are: "geoReplicationStats" and "blobRestoreStatus". Default
|
536
485
|
value is None.
|
537
486
|
:type expand: str or ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountExpand
|
538
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
539
487
|
:return: StorageAccount or the result of cls(response)
|
540
488
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
|
541
489
|
:raises ~azure.core.exceptions.HttpResponseError:
|
542
490
|
"""
|
543
|
-
error_map = {
|
491
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
544
492
|
401: ClientAuthenticationError,
|
545
493
|
404: ResourceNotFoundError,
|
546
494
|
409: ResourceExistsError,
|
@@ -556,22 +504,21 @@ class StorageAccountsOperations:
|
|
556
504
|
)
|
557
505
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
558
506
|
|
559
|
-
|
507
|
+
_request = build_get_properties_request(
|
560
508
|
resource_group_name=resource_group_name,
|
561
509
|
account_name=account_name,
|
562
510
|
subscription_id=self._config.subscription_id,
|
563
511
|
expand=expand,
|
564
512
|
api_version=api_version,
|
565
|
-
template_url=self.get_properties.metadata["url"],
|
566
513
|
headers=_headers,
|
567
514
|
params=_params,
|
568
515
|
)
|
569
|
-
|
570
|
-
|
516
|
+
_request = _convert_request(_request)
|
517
|
+
_request.url = self._client.format_url(_request.url)
|
571
518
|
|
572
519
|
_stream = False
|
573
520
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
574
|
-
|
521
|
+
_request, stream=_stream, **kwargs
|
575
522
|
)
|
576
523
|
|
577
524
|
response = pipeline_response.http_response
|
@@ -583,13 +530,9 @@ class StorageAccountsOperations:
|
|
583
530
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
584
531
|
|
585
532
|
if cls:
|
586
|
-
return cls(pipeline_response, deserialized, {})
|
587
|
-
|
588
|
-
return deserialized
|
533
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
589
534
|
|
590
|
-
|
591
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
592
|
-
}
|
535
|
+
return deserialized # type: ignore
|
593
536
|
|
594
537
|
@overload
|
595
538
|
async def update(
|
@@ -622,7 +565,6 @@ class StorageAccountsOperations:
|
|
622
565
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
623
566
|
Default value is "application/json".
|
624
567
|
:paramtype content_type: str
|
625
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
626
568
|
:return: StorageAccount or the result of cls(response)
|
627
569
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
|
628
570
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -633,7 +575,7 @@ class StorageAccountsOperations:
|
|
633
575
|
self,
|
634
576
|
resource_group_name: str,
|
635
577
|
account_name: str,
|
636
|
-
parameters: IO,
|
578
|
+
parameters: IO[bytes],
|
637
579
|
*,
|
638
580
|
content_type: str = "application/json",
|
639
581
|
**kwargs: Any
|
@@ -655,11 +597,10 @@ class StorageAccountsOperations:
|
|
655
597
|
lower-case letters only. Required.
|
656
598
|
:type account_name: str
|
657
599
|
:param parameters: The parameters to provide for the updated account. Required.
|
658
|
-
:type parameters: IO
|
600
|
+
:type parameters: IO[bytes]
|
659
601
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
660
602
|
Default value is "application/json".
|
661
603
|
:paramtype content_type: str
|
662
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
663
604
|
:return: StorageAccount or the result of cls(response)
|
664
605
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
|
665
606
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -670,7 +611,7 @@ class StorageAccountsOperations:
|
|
670
611
|
self,
|
671
612
|
resource_group_name: str,
|
672
613
|
account_name: str,
|
673
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
614
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
674
615
|
**kwargs: Any
|
675
616
|
) -> _models.StorageAccount:
|
676
617
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -690,18 +631,14 @@ class StorageAccountsOperations:
|
|
690
631
|
lower-case letters only. Required.
|
691
632
|
:type account_name: str
|
692
633
|
:param parameters: The parameters to provide for the updated account. Is either a
|
693
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
634
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
694
635
|
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountUpdateParameters
|
695
|
-
or IO
|
696
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
697
|
-
Default value is None.
|
698
|
-
:paramtype content_type: str
|
699
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
636
|
+
or IO[bytes]
|
700
637
|
:return: StorageAccount or the result of cls(response)
|
701
638
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
|
702
639
|
:raises ~azure.core.exceptions.HttpResponseError:
|
703
640
|
"""
|
704
|
-
error_map = {
|
641
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
705
642
|
401: ClientAuthenticationError,
|
706
643
|
404: ResourceNotFoundError,
|
707
644
|
409: ResourceExistsError,
|
@@ -726,7 +663,7 @@ class StorageAccountsOperations:
|
|
726
663
|
else:
|
727
664
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
728
665
|
|
729
|
-
|
666
|
+
_request = build_update_request(
|
730
667
|
resource_group_name=resource_group_name,
|
731
668
|
account_name=account_name,
|
732
669
|
subscription_id=self._config.subscription_id,
|
@@ -734,16 +671,15 @@ class StorageAccountsOperations:
|
|
734
671
|
content_type=content_type,
|
735
672
|
json=_json,
|
736
673
|
content=_content,
|
737
|
-
template_url=self.update.metadata["url"],
|
738
674
|
headers=_headers,
|
739
675
|
params=_params,
|
740
676
|
)
|
741
|
-
|
742
|
-
|
677
|
+
_request = _convert_request(_request)
|
678
|
+
_request.url = self._client.format_url(_request.url)
|
743
679
|
|
744
680
|
_stream = False
|
745
681
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
746
|
-
|
682
|
+
_request, stream=_stream, **kwargs
|
747
683
|
)
|
748
684
|
|
749
685
|
response = pipeline_response.http_response
|
@@ -755,20 +691,15 @@ class StorageAccountsOperations:
|
|
755
691
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
756
692
|
|
757
693
|
if cls:
|
758
|
-
return cls(pipeline_response, deserialized, {})
|
759
|
-
|
760
|
-
return deserialized
|
694
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
761
695
|
|
762
|
-
|
763
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
764
|
-
}
|
696
|
+
return deserialized # type: ignore
|
765
697
|
|
766
698
|
@distributed_trace
|
767
699
|
def list(self, **kwargs: Any) -> AsyncIterable["_models.StorageAccount"]:
|
768
700
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
769
701
|
returned; use the ListKeys operation for this.
|
770
702
|
|
771
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
772
703
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
773
704
|
:rtype:
|
774
705
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount]
|
@@ -782,7 +713,7 @@ class StorageAccountsOperations:
|
|
782
713
|
)
|
783
714
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
784
715
|
|
785
|
-
error_map = {
|
716
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
786
717
|
401: ClientAuthenticationError,
|
787
718
|
404: ResourceNotFoundError,
|
788
719
|
409: ResourceExistsError,
|
@@ -793,15 +724,14 @@ class StorageAccountsOperations:
|
|
793
724
|
def prepare_request(next_link=None):
|
794
725
|
if not next_link:
|
795
726
|
|
796
|
-
|
727
|
+
_request = build_list_request(
|
797
728
|
subscription_id=self._config.subscription_id,
|
798
729
|
api_version=api_version,
|
799
|
-
template_url=self.list.metadata["url"],
|
800
730
|
headers=_headers,
|
801
731
|
params=_params,
|
802
732
|
)
|
803
|
-
|
804
|
-
|
733
|
+
_request = _convert_request(_request)
|
734
|
+
_request.url = self._client.format_url(_request.url)
|
805
735
|
|
806
736
|
else:
|
807
737
|
# make call to next link with the client's api-version
|
@@ -812,14 +742,14 @@ class StorageAccountsOperations:
|
|
812
742
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
813
743
|
}
|
814
744
|
)
|
815
|
-
_next_request_params["api-version"] = self.
|
816
|
-
|
745
|
+
_next_request_params["api-version"] = self._api_version
|
746
|
+
_request = HttpRequest(
|
817
747
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
818
748
|
)
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
return
|
749
|
+
_request = _convert_request(_request)
|
750
|
+
_request.url = self._client.format_url(_request.url)
|
751
|
+
_request.method = "GET"
|
752
|
+
return _request
|
823
753
|
|
824
754
|
async def extract_data(pipeline_response):
|
825
755
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -829,11 +759,11 @@ class StorageAccountsOperations:
|
|
829
759
|
return deserialized.next_link or None, AsyncList(list_of_elem)
|
830
760
|
|
831
761
|
async def get_next(next_link=None):
|
832
|
-
|
762
|
+
_request = prepare_request(next_link)
|
833
763
|
|
834
764
|
_stream = False
|
835
765
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
836
|
-
|
766
|
+
_request, stream=_stream, **kwargs
|
837
767
|
)
|
838
768
|
response = pipeline_response.http_response
|
839
769
|
|
@@ -845,8 +775,6 @@ class StorageAccountsOperations:
|
|
845
775
|
|
846
776
|
return AsyncItemPaged(get_next, extract_data)
|
847
777
|
|
848
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
849
|
-
|
850
778
|
@distributed_trace
|
851
779
|
def list_by_resource_group(
|
852
780
|
self, resource_group_name: str, **kwargs: Any
|
@@ -857,7 +785,6 @@ class StorageAccountsOperations:
|
|
857
785
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
858
786
|
name is case insensitive. Required.
|
859
787
|
:type resource_group_name: str
|
860
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
861
788
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
862
789
|
:rtype:
|
863
790
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount]
|
@@ -871,7 +798,7 @@ class StorageAccountsOperations:
|
|
871
798
|
)
|
872
799
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
873
800
|
|
874
|
-
error_map = {
|
801
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
875
802
|
401: ClientAuthenticationError,
|
876
803
|
404: ResourceNotFoundError,
|
877
804
|
409: ResourceExistsError,
|
@@ -882,16 +809,15 @@ class StorageAccountsOperations:
|
|
882
809
|
def prepare_request(next_link=None):
|
883
810
|
if not next_link:
|
884
811
|
|
885
|
-
|
812
|
+
_request = build_list_by_resource_group_request(
|
886
813
|
resource_group_name=resource_group_name,
|
887
814
|
subscription_id=self._config.subscription_id,
|
888
815
|
api_version=api_version,
|
889
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
890
816
|
headers=_headers,
|
891
817
|
params=_params,
|
892
818
|
)
|
893
|
-
|
894
|
-
|
819
|
+
_request = _convert_request(_request)
|
820
|
+
_request.url = self._client.format_url(_request.url)
|
895
821
|
|
896
822
|
else:
|
897
823
|
# make call to next link with the client's api-version
|
@@ -902,14 +828,14 @@ class StorageAccountsOperations:
|
|
902
828
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
903
829
|
}
|
904
830
|
)
|
905
|
-
_next_request_params["api-version"] = self.
|
906
|
-
|
831
|
+
_next_request_params["api-version"] = self._api_version
|
832
|
+
_request = HttpRequest(
|
907
833
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
908
834
|
)
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
return
|
835
|
+
_request = _convert_request(_request)
|
836
|
+
_request.url = self._client.format_url(_request.url)
|
837
|
+
_request.method = "GET"
|
838
|
+
return _request
|
913
839
|
|
914
840
|
async def extract_data(pipeline_response):
|
915
841
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -919,11 +845,11 @@ class StorageAccountsOperations:
|
|
919
845
|
return deserialized.next_link or None, AsyncList(list_of_elem)
|
920
846
|
|
921
847
|
async def get_next(next_link=None):
|
922
|
-
|
848
|
+
_request = prepare_request(next_link)
|
923
849
|
|
924
850
|
_stream = False
|
925
851
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
926
|
-
|
852
|
+
_request, stream=_stream, **kwargs
|
927
853
|
)
|
928
854
|
response = pipeline_response.http_response
|
929
855
|
|
@@ -935,10 +861,6 @@ class StorageAccountsOperations:
|
|
935
861
|
|
936
862
|
return AsyncItemPaged(get_next, extract_data)
|
937
863
|
|
938
|
-
list_by_resource_group.metadata = {
|
939
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
940
|
-
}
|
941
|
-
|
942
864
|
@distributed_trace_async
|
943
865
|
async def list_keys(
|
944
866
|
self, resource_group_name: str, account_name: str, expand: Literal["kerb"] = "kerb", **kwargs: Any
|
@@ -956,12 +878,11 @@ class StorageAccountsOperations:
|
|
956
878
|
:param expand: Specifies type of the key to be listed. Possible value is kerb. Known values are
|
957
879
|
"kerb" and None. Default value is "kerb".
|
958
880
|
:type expand: str
|
959
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
960
881
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
961
882
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
|
962
883
|
:raises ~azure.core.exceptions.HttpResponseError:
|
963
884
|
"""
|
964
|
-
error_map = {
|
885
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
965
886
|
401: ClientAuthenticationError,
|
966
887
|
404: ResourceNotFoundError,
|
967
888
|
409: ResourceExistsError,
|
@@ -977,22 +898,21 @@ class StorageAccountsOperations:
|
|
977
898
|
)
|
978
899
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
979
900
|
|
980
|
-
|
901
|
+
_request = build_list_keys_request(
|
981
902
|
resource_group_name=resource_group_name,
|
982
903
|
account_name=account_name,
|
983
904
|
subscription_id=self._config.subscription_id,
|
984
905
|
expand=expand,
|
985
906
|
api_version=api_version,
|
986
|
-
template_url=self.list_keys.metadata["url"],
|
987
907
|
headers=_headers,
|
988
908
|
params=_params,
|
989
909
|
)
|
990
|
-
|
991
|
-
|
910
|
+
_request = _convert_request(_request)
|
911
|
+
_request.url = self._client.format_url(_request.url)
|
992
912
|
|
993
913
|
_stream = False
|
994
914
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
995
|
-
|
915
|
+
_request, stream=_stream, **kwargs
|
996
916
|
)
|
997
917
|
|
998
918
|
response = pipeline_response.http_response
|
@@ -1004,13 +924,9 @@ class StorageAccountsOperations:
|
|
1004
924
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1005
925
|
|
1006
926
|
if cls:
|
1007
|
-
return cls(pipeline_response, deserialized, {})
|
1008
|
-
|
1009
|
-
return deserialized
|
927
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1010
928
|
|
1011
|
-
|
1012
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
1013
|
-
}
|
929
|
+
return deserialized # type: ignore
|
1014
930
|
|
1015
931
|
@overload
|
1016
932
|
async def regenerate_key(
|
@@ -1038,7 +954,6 @@ class StorageAccountsOperations:
|
|
1038
954
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1039
955
|
Default value is "application/json".
|
1040
956
|
:paramtype content_type: str
|
1041
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1042
957
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1043
958
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
|
1044
959
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1049,7 +964,7 @@ class StorageAccountsOperations:
|
|
1049
964
|
self,
|
1050
965
|
resource_group_name: str,
|
1051
966
|
account_name: str,
|
1052
|
-
regenerate_key: IO,
|
967
|
+
regenerate_key: IO[bytes],
|
1053
968
|
*,
|
1054
969
|
content_type: str = "application/json",
|
1055
970
|
**kwargs: Any
|
@@ -1065,11 +980,10 @@ class StorageAccountsOperations:
|
|
1065
980
|
:type account_name: str
|
1066
981
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1067
982
|
kerb1, kerb2. Required.
|
1068
|
-
:type regenerate_key: IO
|
983
|
+
:type regenerate_key: IO[bytes]
|
1069
984
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1070
985
|
Default value is "application/json".
|
1071
986
|
:paramtype content_type: str
|
1072
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1073
987
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1074
988
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
|
1075
989
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1080,7 +994,7 @@ class StorageAccountsOperations:
|
|
1080
994
|
self,
|
1081
995
|
resource_group_name: str,
|
1082
996
|
account_name: str,
|
1083
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
997
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1084
998
|
**kwargs: Any
|
1085
999
|
) -> _models.StorageAccountListKeysResult:
|
1086
1000
|
"""Regenerates one of the access keys or Kerberos keys for the specified storage account.
|
@@ -1093,18 +1007,16 @@ class StorageAccountsOperations:
|
|
1093
1007
|
lower-case letters only. Required.
|
1094
1008
|
:type account_name: str
|
1095
1009
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1096
|
-
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO type.
|
1010
|
+
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
|
1011
|
+
Required.
|
1097
1012
|
:type regenerate_key:
|
1098
|
-
~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountRegenerateKeyParameters or
|
1099
|
-
|
1100
|
-
Default value is None.
|
1101
|
-
:paramtype content_type: str
|
1102
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1013
|
+
~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountRegenerateKeyParameters or
|
1014
|
+
IO[bytes]
|
1103
1015
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1104
1016
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
|
1105
1017
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1106
1018
|
"""
|
1107
|
-
error_map = {
|
1019
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1108
1020
|
401: ClientAuthenticationError,
|
1109
1021
|
404: ResourceNotFoundError,
|
1110
1022
|
409: ResourceExistsError,
|
@@ -1129,7 +1041,7 @@ class StorageAccountsOperations:
|
|
1129
1041
|
else:
|
1130
1042
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1131
1043
|
|
1132
|
-
|
1044
|
+
_request = build_regenerate_key_request(
|
1133
1045
|
resource_group_name=resource_group_name,
|
1134
1046
|
account_name=account_name,
|
1135
1047
|
subscription_id=self._config.subscription_id,
|
@@ -1137,16 +1049,15 @@ class StorageAccountsOperations:
|
|
1137
1049
|
content_type=content_type,
|
1138
1050
|
json=_json,
|
1139
1051
|
content=_content,
|
1140
|
-
template_url=self.regenerate_key.metadata["url"],
|
1141
1052
|
headers=_headers,
|
1142
1053
|
params=_params,
|
1143
1054
|
)
|
1144
|
-
|
1145
|
-
|
1055
|
+
_request = _convert_request(_request)
|
1056
|
+
_request.url = self._client.format_url(_request.url)
|
1146
1057
|
|
1147
1058
|
_stream = False
|
1148
1059
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1149
|
-
|
1060
|
+
_request, stream=_stream, **kwargs
|
1150
1061
|
)
|
1151
1062
|
|
1152
1063
|
response = pipeline_response.http_response
|
@@ -1158,13 +1069,9 @@ class StorageAccountsOperations:
|
|
1158
1069
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1159
1070
|
|
1160
1071
|
if cls:
|
1161
|
-
return cls(pipeline_response, deserialized, {})
|
1162
|
-
|
1163
|
-
return deserialized
|
1072
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1164
1073
|
|
1165
|
-
|
1166
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1167
|
-
}
|
1074
|
+
return deserialized # type: ignore
|
1168
1075
|
|
1169
1076
|
@overload
|
1170
1077
|
async def list_account_sas(
|
@@ -1191,7 +1098,6 @@ class StorageAccountsOperations:
|
|
1191
1098
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1192
1099
|
Default value is "application/json".
|
1193
1100
|
:paramtype content_type: str
|
1194
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1195
1101
|
:return: ListAccountSasResponse or the result of cls(response)
|
1196
1102
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListAccountSasResponse
|
1197
1103
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1202,7 +1108,7 @@ class StorageAccountsOperations:
|
|
1202
1108
|
self,
|
1203
1109
|
resource_group_name: str,
|
1204
1110
|
account_name: str,
|
1205
|
-
parameters: IO,
|
1111
|
+
parameters: IO[bytes],
|
1206
1112
|
*,
|
1207
1113
|
content_type: str = "application/json",
|
1208
1114
|
**kwargs: Any
|
@@ -1218,11 +1124,10 @@ class StorageAccountsOperations:
|
|
1218
1124
|
:type account_name: str
|
1219
1125
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1220
1126
|
Required.
|
1221
|
-
:type parameters: IO
|
1127
|
+
:type parameters: IO[bytes]
|
1222
1128
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1223
1129
|
Default value is "application/json".
|
1224
1130
|
:paramtype content_type: str
|
1225
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1226
1131
|
:return: ListAccountSasResponse or the result of cls(response)
|
1227
1132
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListAccountSasResponse
|
1228
1133
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1233,7 +1138,7 @@ class StorageAccountsOperations:
|
|
1233
1138
|
self,
|
1234
1139
|
resource_group_name: str,
|
1235
1140
|
account_name: str,
|
1236
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1141
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1237
1142
|
**kwargs: Any
|
1238
1143
|
) -> _models.ListAccountSasResponse:
|
1239
1144
|
"""List SAS credentials of a storage account.
|
@@ -1246,17 +1151,14 @@ class StorageAccountsOperations:
|
|
1246
1151
|
lower-case letters only. Required.
|
1247
1152
|
:type account_name: str
|
1248
1153
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1249
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1250
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.AccountSasParameters or
|
1251
|
-
|
1252
|
-
Default value is None.
|
1253
|
-
:paramtype content_type: str
|
1254
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1154
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1155
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.AccountSasParameters or
|
1156
|
+
IO[bytes]
|
1255
1157
|
:return: ListAccountSasResponse or the result of cls(response)
|
1256
1158
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListAccountSasResponse
|
1257
1159
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1258
1160
|
"""
|
1259
|
-
error_map = {
|
1161
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1260
1162
|
401: ClientAuthenticationError,
|
1261
1163
|
404: ResourceNotFoundError,
|
1262
1164
|
409: ResourceExistsError,
|
@@ -1281,7 +1183,7 @@ class StorageAccountsOperations:
|
|
1281
1183
|
else:
|
1282
1184
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1283
1185
|
|
1284
|
-
|
1186
|
+
_request = build_list_account_sas_request(
|
1285
1187
|
resource_group_name=resource_group_name,
|
1286
1188
|
account_name=account_name,
|
1287
1189
|
subscription_id=self._config.subscription_id,
|
@@ -1289,16 +1191,15 @@ class StorageAccountsOperations:
|
|
1289
1191
|
content_type=content_type,
|
1290
1192
|
json=_json,
|
1291
1193
|
content=_content,
|
1292
|
-
template_url=self.list_account_sas.metadata["url"],
|
1293
1194
|
headers=_headers,
|
1294
1195
|
params=_params,
|
1295
1196
|
)
|
1296
|
-
|
1297
|
-
|
1197
|
+
_request = _convert_request(_request)
|
1198
|
+
_request.url = self._client.format_url(_request.url)
|
1298
1199
|
|
1299
1200
|
_stream = False
|
1300
1201
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1301
|
-
|
1202
|
+
_request, stream=_stream, **kwargs
|
1302
1203
|
)
|
1303
1204
|
|
1304
1205
|
response = pipeline_response.http_response
|
@@ -1310,13 +1211,9 @@ class StorageAccountsOperations:
|
|
1310
1211
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1311
1212
|
|
1312
1213
|
if cls:
|
1313
|
-
return cls(pipeline_response, deserialized, {})
|
1314
|
-
|
1315
|
-
return deserialized
|
1214
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1316
1215
|
|
1317
|
-
|
1318
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1319
|
-
}
|
1216
|
+
return deserialized # type: ignore
|
1320
1217
|
|
1321
1218
|
@overload
|
1322
1219
|
async def list_service_sas(
|
@@ -1342,7 +1239,6 @@ class StorageAccountsOperations:
|
|
1342
1239
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1343
1240
|
Default value is "application/json".
|
1344
1241
|
:paramtype content_type: str
|
1345
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1346
1242
|
:return: ListServiceSasResponse or the result of cls(response)
|
1347
1243
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListServiceSasResponse
|
1348
1244
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1353,7 +1249,7 @@ class StorageAccountsOperations:
|
|
1353
1249
|
self,
|
1354
1250
|
resource_group_name: str,
|
1355
1251
|
account_name: str,
|
1356
|
-
parameters: IO,
|
1252
|
+
parameters: IO[bytes],
|
1357
1253
|
*,
|
1358
1254
|
content_type: str = "application/json",
|
1359
1255
|
**kwargs: Any
|
@@ -1368,11 +1264,10 @@ class StorageAccountsOperations:
|
|
1368
1264
|
lower-case letters only. Required.
|
1369
1265
|
:type account_name: str
|
1370
1266
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1371
|
-
:type parameters: IO
|
1267
|
+
:type parameters: IO[bytes]
|
1372
1268
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1373
1269
|
Default value is "application/json".
|
1374
1270
|
:paramtype content_type: str
|
1375
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1376
1271
|
:return: ListServiceSasResponse or the result of cls(response)
|
1377
1272
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListServiceSasResponse
|
1378
1273
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1383,7 +1278,7 @@ class StorageAccountsOperations:
|
|
1383
1278
|
self,
|
1384
1279
|
resource_group_name: str,
|
1385
1280
|
account_name: str,
|
1386
|
-
parameters: Union[_models.ServiceSasParameters, IO],
|
1281
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1387
1282
|
**kwargs: Any
|
1388
1283
|
) -> _models.ListServiceSasResponse:
|
1389
1284
|
"""List service SAS credentials of a specific resource.
|
@@ -1396,17 +1291,14 @@ class StorageAccountsOperations:
|
|
1396
1291
|
lower-case letters only. Required.
|
1397
1292
|
:type account_name: str
|
1398
1293
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1399
|
-
ServiceSasParameters type or a IO type. Required.
|
1400
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ServiceSasParameters or
|
1401
|
-
|
1402
|
-
Default value is None.
|
1403
|
-
:paramtype content_type: str
|
1404
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1294
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1295
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ServiceSasParameters or
|
1296
|
+
IO[bytes]
|
1405
1297
|
:return: ListServiceSasResponse or the result of cls(response)
|
1406
1298
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListServiceSasResponse
|
1407
1299
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1408
1300
|
"""
|
1409
|
-
error_map = {
|
1301
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1410
1302
|
401: ClientAuthenticationError,
|
1411
1303
|
404: ResourceNotFoundError,
|
1412
1304
|
409: ResourceExistsError,
|
@@ -1431,7 +1323,7 @@ class StorageAccountsOperations:
|
|
1431
1323
|
else:
|
1432
1324
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1433
1325
|
|
1434
|
-
|
1326
|
+
_request = build_list_service_sas_request(
|
1435
1327
|
resource_group_name=resource_group_name,
|
1436
1328
|
account_name=account_name,
|
1437
1329
|
subscription_id=self._config.subscription_id,
|
@@ -1439,16 +1331,15 @@ class StorageAccountsOperations:
|
|
1439
1331
|
content_type=content_type,
|
1440
1332
|
json=_json,
|
1441
1333
|
content=_content,
|
1442
|
-
template_url=self.list_service_sas.metadata["url"],
|
1443
1334
|
headers=_headers,
|
1444
1335
|
params=_params,
|
1445
1336
|
)
|
1446
|
-
|
1447
|
-
|
1337
|
+
_request = _convert_request(_request)
|
1338
|
+
_request.url = self._client.format_url(_request.url)
|
1448
1339
|
|
1449
1340
|
_stream = False
|
1450
1341
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1451
|
-
|
1342
|
+
_request, stream=_stream, **kwargs
|
1452
1343
|
)
|
1453
1344
|
|
1454
1345
|
response = pipeline_response.http_response
|
@@ -1460,18 +1351,14 @@ class StorageAccountsOperations:
|
|
1460
1351
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1461
1352
|
|
1462
1353
|
if cls:
|
1463
|
-
return cls(pipeline_response, deserialized, {})
|
1464
|
-
|
1465
|
-
return deserialized
|
1354
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1466
1355
|
|
1467
|
-
|
1468
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1469
|
-
}
|
1356
|
+
return deserialized # type: ignore
|
1470
1357
|
|
1471
1358
|
async def _failover_initial( # pylint: disable=inconsistent-return-statements
|
1472
1359
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1473
1360
|
) -> None:
|
1474
|
-
error_map = {
|
1361
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1475
1362
|
401: ClientAuthenticationError,
|
1476
1363
|
404: ResourceNotFoundError,
|
1477
1364
|
409: ResourceExistsError,
|
@@ -1487,21 +1374,20 @@ class StorageAccountsOperations:
|
|
1487
1374
|
)
|
1488
1375
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1489
1376
|
|
1490
|
-
|
1377
|
+
_request = build_failover_request(
|
1491
1378
|
resource_group_name=resource_group_name,
|
1492
1379
|
account_name=account_name,
|
1493
1380
|
subscription_id=self._config.subscription_id,
|
1494
1381
|
api_version=api_version,
|
1495
|
-
template_url=self._failover_initial.metadata["url"],
|
1496
1382
|
headers=_headers,
|
1497
1383
|
params=_params,
|
1498
1384
|
)
|
1499
|
-
|
1500
|
-
|
1385
|
+
_request = _convert_request(_request)
|
1386
|
+
_request.url = self._client.format_url(_request.url)
|
1501
1387
|
|
1502
1388
|
_stream = False
|
1503
1389
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1504
|
-
|
1390
|
+
_request, stream=_stream, **kwargs
|
1505
1391
|
)
|
1506
1392
|
|
1507
1393
|
response = pipeline_response.http_response
|
@@ -1511,11 +1397,7 @@ class StorageAccountsOperations:
|
|
1511
1397
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1512
1398
|
|
1513
1399
|
if cls:
|
1514
|
-
return cls(pipeline_response, None, {})
|
1515
|
-
|
1516
|
-
_failover_initial.metadata = {
|
1517
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1518
|
-
}
|
1400
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1519
1401
|
|
1520
1402
|
@distributed_trace_async
|
1521
1403
|
async def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> AsyncLROPoller[None]:
|
@@ -1530,14 +1412,6 @@ class StorageAccountsOperations:
|
|
1530
1412
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1531
1413
|
lower-case letters only. Required.
|
1532
1414
|
:type account_name: str
|
1533
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1534
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1535
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1536
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1537
|
-
polling strategy.
|
1538
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1539
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1540
|
-
Retry-After header is present.
|
1541
1415
|
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
|
1542
1416
|
:rtype: ~azure.core.polling.AsyncLROPoller[None]
|
1543
1417
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1566,7 +1440,7 @@ class StorageAccountsOperations:
|
|
1566
1440
|
|
1567
1441
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
1568
1442
|
if cls:
|
1569
|
-
return cls(pipeline_response, None, {})
|
1443
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1570
1444
|
|
1571
1445
|
if polling is True:
|
1572
1446
|
polling_method: AsyncPollingMethod = cast(
|
@@ -1577,26 +1451,22 @@ class StorageAccountsOperations:
|
|
1577
1451
|
else:
|
1578
1452
|
polling_method = polling
|
1579
1453
|
if cont_token:
|
1580
|
-
return AsyncLROPoller.from_continuation_token(
|
1454
|
+
return AsyncLROPoller[None].from_continuation_token(
|
1581
1455
|
polling_method=polling_method,
|
1582
1456
|
continuation_token=cont_token,
|
1583
1457
|
client=self._client,
|
1584
1458
|
deserialization_callback=get_long_running_output,
|
1585
1459
|
)
|
1586
|
-
return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1587
|
-
|
1588
|
-
begin_failover.metadata = {
|
1589
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1590
|
-
}
|
1460
|
+
return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1591
1461
|
|
1592
1462
|
async def _restore_blob_ranges_initial(
|
1593
1463
|
self,
|
1594
1464
|
resource_group_name: str,
|
1595
1465
|
account_name: str,
|
1596
|
-
parameters: Union[_models.BlobRestoreParameters, IO],
|
1466
|
+
parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
|
1597
1467
|
**kwargs: Any
|
1598
1468
|
) -> _models.BlobRestoreStatus:
|
1599
|
-
error_map = {
|
1469
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1600
1470
|
401: ClientAuthenticationError,
|
1601
1471
|
404: ResourceNotFoundError,
|
1602
1472
|
409: ResourceExistsError,
|
@@ -1621,7 +1491,7 @@ class StorageAccountsOperations:
|
|
1621
1491
|
else:
|
1622
1492
|
_json = self._serialize.body(parameters, "BlobRestoreParameters")
|
1623
1493
|
|
1624
|
-
|
1494
|
+
_request = build_restore_blob_ranges_request(
|
1625
1495
|
resource_group_name=resource_group_name,
|
1626
1496
|
account_name=account_name,
|
1627
1497
|
subscription_id=self._config.subscription_id,
|
@@ -1629,16 +1499,15 @@ class StorageAccountsOperations:
|
|
1629
1499
|
content_type=content_type,
|
1630
1500
|
json=_json,
|
1631
1501
|
content=_content,
|
1632
|
-
template_url=self._restore_blob_ranges_initial.metadata["url"],
|
1633
1502
|
headers=_headers,
|
1634
1503
|
params=_params,
|
1635
1504
|
)
|
1636
|
-
|
1637
|
-
|
1505
|
+
_request = _convert_request(_request)
|
1506
|
+
_request.url = self._client.format_url(_request.url)
|
1638
1507
|
|
1639
1508
|
_stream = False
|
1640
1509
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1641
|
-
|
1510
|
+
_request, stream=_stream, **kwargs
|
1642
1511
|
)
|
1643
1512
|
|
1644
1513
|
response = pipeline_response.http_response
|
@@ -1658,10 +1527,6 @@ class StorageAccountsOperations:
|
|
1658
1527
|
|
1659
1528
|
return deserialized # type: ignore
|
1660
1529
|
|
1661
|
-
_restore_blob_ranges_initial.metadata = {
|
1662
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
|
1663
|
-
}
|
1664
|
-
|
1665
1530
|
@overload
|
1666
1531
|
async def begin_restore_blob_ranges(
|
1667
1532
|
self,
|
@@ -1686,14 +1551,6 @@ class StorageAccountsOperations:
|
|
1686
1551
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1687
1552
|
Default value is "application/json".
|
1688
1553
|
:paramtype content_type: str
|
1689
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1690
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1691
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1692
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1693
|
-
polling strategy.
|
1694
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1695
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1696
|
-
Retry-After header is present.
|
1697
1554
|
:return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
|
1698
1555
|
cls(response)
|
1699
1556
|
:rtype:
|
@@ -1706,7 +1563,7 @@ class StorageAccountsOperations:
|
|
1706
1563
|
self,
|
1707
1564
|
resource_group_name: str,
|
1708
1565
|
account_name: str,
|
1709
|
-
parameters: IO,
|
1566
|
+
parameters: IO[bytes],
|
1710
1567
|
*,
|
1711
1568
|
content_type: str = "application/json",
|
1712
1569
|
**kwargs: Any
|
@@ -1721,18 +1578,10 @@ class StorageAccountsOperations:
|
|
1721
1578
|
lower-case letters only. Required.
|
1722
1579
|
:type account_name: str
|
1723
1580
|
:param parameters: The parameters to provide for restore blob ranges. Required.
|
1724
|
-
:type parameters: IO
|
1581
|
+
:type parameters: IO[bytes]
|
1725
1582
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1726
1583
|
Default value is "application/json".
|
1727
1584
|
:paramtype content_type: str
|
1728
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1729
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1730
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1731
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1732
|
-
polling strategy.
|
1733
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1734
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1735
|
-
Retry-After header is present.
|
1736
1585
|
:return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
|
1737
1586
|
cls(response)
|
1738
1587
|
:rtype:
|
@@ -1745,7 +1594,7 @@ class StorageAccountsOperations:
|
|
1745
1594
|
self,
|
1746
1595
|
resource_group_name: str,
|
1747
1596
|
account_name: str,
|
1748
|
-
parameters: Union[_models.BlobRestoreParameters, IO],
|
1597
|
+
parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
|
1749
1598
|
**kwargs: Any
|
1750
1599
|
) -> AsyncLROPoller[_models.BlobRestoreStatus]:
|
1751
1600
|
"""Restore blobs in the specified blob ranges.
|
@@ -1758,19 +1607,9 @@ class StorageAccountsOperations:
|
|
1758
1607
|
lower-case letters only. Required.
|
1759
1608
|
:type account_name: str
|
1760
1609
|
:param parameters: The parameters to provide for restore blob ranges. Is either a
|
1761
|
-
BlobRestoreParameters type or a IO type. Required.
|
1762
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobRestoreParameters or
|
1763
|
-
|
1764
|
-
Default value is None.
|
1765
|
-
:paramtype content_type: str
|
1766
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1767
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1768
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1769
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1770
|
-
polling strategy.
|
1771
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1772
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1773
|
-
Retry-After header is present.
|
1610
|
+
BlobRestoreParameters type or a IO[bytes] type. Required.
|
1611
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobRestoreParameters or
|
1612
|
+
IO[bytes]
|
1774
1613
|
:return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
|
1775
1614
|
cls(response)
|
1776
1615
|
:rtype:
|
@@ -1805,7 +1644,7 @@ class StorageAccountsOperations:
|
|
1805
1644
|
def get_long_running_output(pipeline_response):
|
1806
1645
|
deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
|
1807
1646
|
if cls:
|
1808
|
-
return cls(pipeline_response, deserialized, {})
|
1647
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1809
1648
|
return deserialized
|
1810
1649
|
|
1811
1650
|
if polling is True:
|
@@ -1817,17 +1656,15 @@ class StorageAccountsOperations:
|
|
1817
1656
|
else:
|
1818
1657
|
polling_method = polling
|
1819
1658
|
if cont_token:
|
1820
|
-
return AsyncLROPoller.from_continuation_token(
|
1659
|
+
return AsyncLROPoller[_models.BlobRestoreStatus].from_continuation_token(
|
1821
1660
|
polling_method=polling_method,
|
1822
1661
|
continuation_token=cont_token,
|
1823
1662
|
client=self._client,
|
1824
1663
|
deserialization_callback=get_long_running_output,
|
1825
1664
|
)
|
1826
|
-
return AsyncLROPoller(
|
1827
|
-
|
1828
|
-
|
1829
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
|
1830
|
-
}
|
1665
|
+
return AsyncLROPoller[_models.BlobRestoreStatus](
|
1666
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
1667
|
+
)
|
1831
1668
|
|
1832
1669
|
@distributed_trace_async
|
1833
1670
|
async def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
|
@@ -1842,12 +1679,11 @@ class StorageAccountsOperations:
|
|
1842
1679
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1843
1680
|
lower-case letters only. Required.
|
1844
1681
|
:type account_name: str
|
1845
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1846
1682
|
:return: None or the result of cls(response)
|
1847
1683
|
:rtype: None
|
1848
1684
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1849
1685
|
"""
|
1850
|
-
error_map = {
|
1686
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1851
1687
|
401: ClientAuthenticationError,
|
1852
1688
|
404: ResourceNotFoundError,
|
1853
1689
|
409: ResourceExistsError,
|
@@ -1863,21 +1699,20 @@ class StorageAccountsOperations:
|
|
1863
1699
|
)
|
1864
1700
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1865
1701
|
|
1866
|
-
|
1702
|
+
_request = build_revoke_user_delegation_keys_request(
|
1867
1703
|
resource_group_name=resource_group_name,
|
1868
1704
|
account_name=account_name,
|
1869
1705
|
subscription_id=self._config.subscription_id,
|
1870
1706
|
api_version=api_version,
|
1871
|
-
template_url=self.revoke_user_delegation_keys.metadata["url"],
|
1872
1707
|
headers=_headers,
|
1873
1708
|
params=_params,
|
1874
1709
|
)
|
1875
|
-
|
1876
|
-
|
1710
|
+
_request = _convert_request(_request)
|
1711
|
+
_request.url = self._client.format_url(_request.url)
|
1877
1712
|
|
1878
1713
|
_stream = False
|
1879
1714
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1880
|
-
|
1715
|
+
_request, stream=_stream, **kwargs
|
1881
1716
|
)
|
1882
1717
|
|
1883
1718
|
response = pipeline_response.http_response
|
@@ -1887,8 +1722,4 @@ class StorageAccountsOperations:
|
|
1887
1722
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1888
1723
|
|
1889
1724
|
if cls:
|
1890
|
-
return cls(pipeline_response, None, {})
|
1891
|
-
|
1892
|
-
revoke_user_delegation_keys.metadata = {
|
1893
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
|
1894
|
-
}
|
1725
|
+
return cls(pipeline_response, None, {}) # type: ignore
|