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.v2019_06_01.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.v2019_06_01.models.CheckNameAvailabilityResult
|
120
118
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -122,25 +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
|
-
~azure.mgmt.storage.v2019_06_01.models.StorageAccountCheckNameAvailabilityParameters or
|
135
|
-
|
136
|
-
Default value is None.
|
137
|
-
:paramtype content_type: str
|
138
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
132
|
+
~azure.mgmt.storage.v2019_06_01.models.StorageAccountCheckNameAvailabilityParameters or
|
133
|
+
IO[bytes]
|
139
134
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
140
135
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.CheckNameAvailabilityResult
|
141
136
|
:raises ~azure.core.exceptions.HttpResponseError:
|
142
137
|
"""
|
143
|
-
error_map = {
|
138
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
144
139
|
401: ClientAuthenticationError,
|
145
140
|
404: ResourceNotFoundError,
|
146
141
|
409: ResourceExistsError,
|
@@ -163,22 +158,21 @@ class StorageAccountsOperations:
|
|
163
158
|
else:
|
164
159
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
165
160
|
|
166
|
-
|
161
|
+
_request = build_check_name_availability_request(
|
167
162
|
subscription_id=self._config.subscription_id,
|
168
163
|
api_version=api_version,
|
169
164
|
content_type=content_type,
|
170
165
|
json=_json,
|
171
166
|
content=_content,
|
172
|
-
template_url=self.check_name_availability.metadata["url"],
|
173
167
|
headers=_headers,
|
174
168
|
params=_params,
|
175
169
|
)
|
176
|
-
|
177
|
-
|
170
|
+
_request = _convert_request(_request)
|
171
|
+
_request.url = self._client.format_url(_request.url)
|
178
172
|
|
179
173
|
_stream = False
|
180
174
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
181
|
-
|
175
|
+
_request, stream=_stream, **kwargs
|
182
176
|
)
|
183
177
|
|
184
178
|
response = pipeline_response.http_response
|
@@ -190,22 +184,18 @@ class StorageAccountsOperations:
|
|
190
184
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
191
185
|
|
192
186
|
if cls:
|
193
|
-
return cls(pipeline_response, deserialized, {})
|
194
|
-
|
195
|
-
return deserialized
|
187
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
196
188
|
|
197
|
-
|
198
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
199
|
-
}
|
189
|
+
return deserialized # type: ignore
|
200
190
|
|
201
191
|
async def _create_initial(
|
202
192
|
self,
|
203
193
|
resource_group_name: str,
|
204
194
|
account_name: str,
|
205
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
195
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
206
196
|
**kwargs: Any
|
207
197
|
) -> Optional[_models.StorageAccount]:
|
208
|
-
error_map = {
|
198
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
209
199
|
401: ClientAuthenticationError,
|
210
200
|
404: ResourceNotFoundError,
|
211
201
|
409: ResourceExistsError,
|
@@ -228,7 +218,7 @@ class StorageAccountsOperations:
|
|
228
218
|
else:
|
229
219
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
230
220
|
|
231
|
-
|
221
|
+
_request = build_create_request(
|
232
222
|
resource_group_name=resource_group_name,
|
233
223
|
account_name=account_name,
|
234
224
|
subscription_id=self._config.subscription_id,
|
@@ -236,16 +226,15 @@ class StorageAccountsOperations:
|
|
236
226
|
content_type=content_type,
|
237
227
|
json=_json,
|
238
228
|
content=_content,
|
239
|
-
template_url=self._create_initial.metadata["url"],
|
240
229
|
headers=_headers,
|
241
230
|
params=_params,
|
242
231
|
)
|
243
|
-
|
244
|
-
|
232
|
+
_request = _convert_request(_request)
|
233
|
+
_request.url = self._client.format_url(_request.url)
|
245
234
|
|
246
235
|
_stream = False
|
247
236
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
248
|
-
|
237
|
+
_request, stream=_stream, **kwargs
|
249
238
|
)
|
250
239
|
|
251
240
|
response = pipeline_response.http_response
|
@@ -259,13 +248,9 @@ class StorageAccountsOperations:
|
|
259
248
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
260
249
|
|
261
250
|
if cls:
|
262
|
-
return cls(pipeline_response, deserialized, {})
|
263
|
-
|
264
|
-
return deserialized
|
251
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
265
252
|
|
266
|
-
|
267
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
268
|
-
}
|
253
|
+
return deserialized # type: ignore
|
269
254
|
|
270
255
|
@overload
|
271
256
|
async def begin_create(
|
@@ -294,14 +279,6 @@ class StorageAccountsOperations:
|
|
294
279
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
295
280
|
Default value is "application/json".
|
296
281
|
:paramtype content_type: str
|
297
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
298
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
299
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
300
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
301
|
-
polling strategy.
|
302
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
303
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
304
|
-
Retry-After header is present.
|
305
282
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
306
283
|
cls(response)
|
307
284
|
:rtype:
|
@@ -314,7 +291,7 @@ class StorageAccountsOperations:
|
|
314
291
|
self,
|
315
292
|
resource_group_name: str,
|
316
293
|
account_name: str,
|
317
|
-
parameters: IO,
|
294
|
+
parameters: IO[bytes],
|
318
295
|
*,
|
319
296
|
content_type: str = "application/json",
|
320
297
|
**kwargs: Any
|
@@ -332,18 +309,10 @@ class StorageAccountsOperations:
|
|
332
309
|
lower-case letters only. Required.
|
333
310
|
:type account_name: str
|
334
311
|
:param parameters: The parameters to provide for the created account. Required.
|
335
|
-
:type parameters: IO
|
312
|
+
:type parameters: IO[bytes]
|
336
313
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
337
314
|
Default value is "application/json".
|
338
315
|
:paramtype content_type: str
|
339
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
340
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
341
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
342
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
343
|
-
polling strategy.
|
344
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
345
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
346
|
-
Retry-After header is present.
|
347
316
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
348
317
|
cls(response)
|
349
318
|
:rtype:
|
@@ -356,7 +325,7 @@ class StorageAccountsOperations:
|
|
356
325
|
self,
|
357
326
|
resource_group_name: str,
|
358
327
|
account_name: str,
|
359
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
328
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
360
329
|
**kwargs: Any
|
361
330
|
) -> AsyncLROPoller[_models.StorageAccount]:
|
362
331
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -372,19 +341,9 @@ class StorageAccountsOperations:
|
|
372
341
|
lower-case letters only. Required.
|
373
342
|
:type account_name: str
|
374
343
|
:param parameters: The parameters to provide for the created account. Is either a
|
375
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
376
|
-
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountCreateParameters or
|
377
|
-
|
378
|
-
Default value is None.
|
379
|
-
:paramtype content_type: str
|
380
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
381
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
382
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
383
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
384
|
-
polling strategy.
|
385
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
386
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
387
|
-
Retry-After header is present.
|
344
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
345
|
+
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountCreateParameters or
|
346
|
+
IO[bytes]
|
388
347
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
389
348
|
cls(response)
|
390
349
|
:rtype:
|
@@ -417,7 +376,7 @@ class StorageAccountsOperations:
|
|
417
376
|
def get_long_running_output(pipeline_response):
|
418
377
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
419
378
|
if cls:
|
420
|
-
return cls(pipeline_response, deserialized, {})
|
379
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
421
380
|
return deserialized
|
422
381
|
|
423
382
|
if polling is True:
|
@@ -427,17 +386,15 @@ class StorageAccountsOperations:
|
|
427
386
|
else:
|
428
387
|
polling_method = polling
|
429
388
|
if cont_token:
|
430
|
-
return AsyncLROPoller.from_continuation_token(
|
389
|
+
return AsyncLROPoller[_models.StorageAccount].from_continuation_token(
|
431
390
|
polling_method=polling_method,
|
432
391
|
continuation_token=cont_token,
|
433
392
|
client=self._client,
|
434
393
|
deserialization_callback=get_long_running_output,
|
435
394
|
)
|
436
|
-
return AsyncLROPoller(
|
437
|
-
|
438
|
-
|
439
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
440
|
-
}
|
395
|
+
return AsyncLROPoller[_models.StorageAccount](
|
396
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
397
|
+
)
|
441
398
|
|
442
399
|
@distributed_trace_async
|
443
400
|
async def delete( # pylint: disable=inconsistent-return-statements
|
@@ -452,12 +409,11 @@ class StorageAccountsOperations:
|
|
452
409
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
453
410
|
lower-case letters only. Required.
|
454
411
|
:type account_name: str
|
455
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
456
412
|
:return: None or the result of cls(response)
|
457
413
|
:rtype: None
|
458
414
|
:raises ~azure.core.exceptions.HttpResponseError:
|
459
415
|
"""
|
460
|
-
error_map = {
|
416
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
461
417
|
401: ClientAuthenticationError,
|
462
418
|
404: ResourceNotFoundError,
|
463
419
|
409: ResourceExistsError,
|
@@ -471,21 +427,20 @@ class StorageAccountsOperations:
|
|
471
427
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-06-01"))
|
472
428
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
473
429
|
|
474
|
-
|
430
|
+
_request = build_delete_request(
|
475
431
|
resource_group_name=resource_group_name,
|
476
432
|
account_name=account_name,
|
477
433
|
subscription_id=self._config.subscription_id,
|
478
434
|
api_version=api_version,
|
479
|
-
template_url=self.delete.metadata["url"],
|
480
435
|
headers=_headers,
|
481
436
|
params=_params,
|
482
437
|
)
|
483
|
-
|
484
|
-
|
438
|
+
_request = _convert_request(_request)
|
439
|
+
_request.url = self._client.format_url(_request.url)
|
485
440
|
|
486
441
|
_stream = False
|
487
442
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
488
|
-
|
443
|
+
_request, stream=_stream, **kwargs
|
489
444
|
)
|
490
445
|
|
491
446
|
response = pipeline_response.http_response
|
@@ -495,11 +450,7 @@ class StorageAccountsOperations:
|
|
495
450
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
496
451
|
|
497
452
|
if cls:
|
498
|
-
return cls(pipeline_response, None, {})
|
499
|
-
|
500
|
-
delete.metadata = {
|
501
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
502
|
-
}
|
453
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
503
454
|
|
504
455
|
@distributed_trace_async
|
505
456
|
async def get_properties(
|
@@ -525,12 +476,11 @@ class StorageAccountsOperations:
|
|
525
476
|
and blobRestoreStatus. Known values are: "geoReplicationStats" and "blobRestoreStatus". Default
|
526
477
|
value is None.
|
527
478
|
:type expand: str or ~azure.mgmt.storage.v2019_06_01.models.StorageAccountExpand
|
528
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
529
479
|
:return: StorageAccount or the result of cls(response)
|
530
480
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccount
|
531
481
|
:raises ~azure.core.exceptions.HttpResponseError:
|
532
482
|
"""
|
533
|
-
error_map = {
|
483
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
534
484
|
401: ClientAuthenticationError,
|
535
485
|
404: ResourceNotFoundError,
|
536
486
|
409: ResourceExistsError,
|
@@ -544,22 +494,21 @@ class StorageAccountsOperations:
|
|
544
494
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-06-01"))
|
545
495
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
546
496
|
|
547
|
-
|
497
|
+
_request = build_get_properties_request(
|
548
498
|
resource_group_name=resource_group_name,
|
549
499
|
account_name=account_name,
|
550
500
|
subscription_id=self._config.subscription_id,
|
551
501
|
expand=expand,
|
552
502
|
api_version=api_version,
|
553
|
-
template_url=self.get_properties.metadata["url"],
|
554
503
|
headers=_headers,
|
555
504
|
params=_params,
|
556
505
|
)
|
557
|
-
|
558
|
-
|
506
|
+
_request = _convert_request(_request)
|
507
|
+
_request.url = self._client.format_url(_request.url)
|
559
508
|
|
560
509
|
_stream = False
|
561
510
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
562
|
-
|
511
|
+
_request, stream=_stream, **kwargs
|
563
512
|
)
|
564
513
|
|
565
514
|
response = pipeline_response.http_response
|
@@ -571,13 +520,9 @@ class StorageAccountsOperations:
|
|
571
520
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
572
521
|
|
573
522
|
if cls:
|
574
|
-
return cls(pipeline_response, deserialized, {})
|
575
|
-
|
576
|
-
return deserialized
|
523
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
577
524
|
|
578
|
-
|
579
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
580
|
-
}
|
525
|
+
return deserialized # type: ignore
|
581
526
|
|
582
527
|
@overload
|
583
528
|
async def update(
|
@@ -610,7 +555,6 @@ class StorageAccountsOperations:
|
|
610
555
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
611
556
|
Default value is "application/json".
|
612
557
|
:paramtype content_type: str
|
613
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
614
558
|
:return: StorageAccount or the result of cls(response)
|
615
559
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccount
|
616
560
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -621,7 +565,7 @@ class StorageAccountsOperations:
|
|
621
565
|
self,
|
622
566
|
resource_group_name: str,
|
623
567
|
account_name: str,
|
624
|
-
parameters: IO,
|
568
|
+
parameters: IO[bytes],
|
625
569
|
*,
|
626
570
|
content_type: str = "application/json",
|
627
571
|
**kwargs: Any
|
@@ -643,11 +587,10 @@ class StorageAccountsOperations:
|
|
643
587
|
lower-case letters only. Required.
|
644
588
|
:type account_name: str
|
645
589
|
:param parameters: The parameters to provide for the updated account. Required.
|
646
|
-
:type parameters: IO
|
590
|
+
:type parameters: IO[bytes]
|
647
591
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
648
592
|
Default value is "application/json".
|
649
593
|
:paramtype content_type: str
|
650
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
651
594
|
:return: StorageAccount or the result of cls(response)
|
652
595
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccount
|
653
596
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -658,7 +601,7 @@ class StorageAccountsOperations:
|
|
658
601
|
self,
|
659
602
|
resource_group_name: str,
|
660
603
|
account_name: str,
|
661
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
604
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
662
605
|
**kwargs: Any
|
663
606
|
) -> _models.StorageAccount:
|
664
607
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -678,17 +621,14 @@ class StorageAccountsOperations:
|
|
678
621
|
lower-case letters only. Required.
|
679
622
|
:type account_name: str
|
680
623
|
:param parameters: The parameters to provide for the updated account. Is either a
|
681
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
682
|
-
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountUpdateParameters or
|
683
|
-
|
684
|
-
Default value is None.
|
685
|
-
:paramtype content_type: str
|
686
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
624
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
625
|
+
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountUpdateParameters or
|
626
|
+
IO[bytes]
|
687
627
|
:return: StorageAccount or the result of cls(response)
|
688
628
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccount
|
689
629
|
:raises ~azure.core.exceptions.HttpResponseError:
|
690
630
|
"""
|
691
|
-
error_map = {
|
631
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
692
632
|
401: ClientAuthenticationError,
|
693
633
|
404: ResourceNotFoundError,
|
694
634
|
409: ResourceExistsError,
|
@@ -711,7 +651,7 @@ class StorageAccountsOperations:
|
|
711
651
|
else:
|
712
652
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
713
653
|
|
714
|
-
|
654
|
+
_request = build_update_request(
|
715
655
|
resource_group_name=resource_group_name,
|
716
656
|
account_name=account_name,
|
717
657
|
subscription_id=self._config.subscription_id,
|
@@ -719,16 +659,15 @@ class StorageAccountsOperations:
|
|
719
659
|
content_type=content_type,
|
720
660
|
json=_json,
|
721
661
|
content=_content,
|
722
|
-
template_url=self.update.metadata["url"],
|
723
662
|
headers=_headers,
|
724
663
|
params=_params,
|
725
664
|
)
|
726
|
-
|
727
|
-
|
665
|
+
_request = _convert_request(_request)
|
666
|
+
_request.url = self._client.format_url(_request.url)
|
728
667
|
|
729
668
|
_stream = False
|
730
669
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
731
|
-
|
670
|
+
_request, stream=_stream, **kwargs
|
732
671
|
)
|
733
672
|
|
734
673
|
response = pipeline_response.http_response
|
@@ -740,20 +679,15 @@ class StorageAccountsOperations:
|
|
740
679
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
741
680
|
|
742
681
|
if cls:
|
743
|
-
return cls(pipeline_response, deserialized, {})
|
744
|
-
|
745
|
-
return deserialized
|
682
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
746
683
|
|
747
|
-
|
748
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
749
|
-
}
|
684
|
+
return deserialized # type: ignore
|
750
685
|
|
751
686
|
@distributed_trace
|
752
687
|
def list(self, **kwargs: Any) -> AsyncIterable["_models.StorageAccount"]:
|
753
688
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
754
689
|
returned; use the ListKeys operation for this.
|
755
690
|
|
756
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
757
691
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
758
692
|
:rtype:
|
759
693
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2019_06_01.models.StorageAccount]
|
@@ -765,7 +699,7 @@ class StorageAccountsOperations:
|
|
765
699
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-06-01"))
|
766
700
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
767
701
|
|
768
|
-
error_map = {
|
702
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
769
703
|
401: ClientAuthenticationError,
|
770
704
|
404: ResourceNotFoundError,
|
771
705
|
409: ResourceExistsError,
|
@@ -776,15 +710,14 @@ class StorageAccountsOperations:
|
|
776
710
|
def prepare_request(next_link=None):
|
777
711
|
if not next_link:
|
778
712
|
|
779
|
-
|
713
|
+
_request = build_list_request(
|
780
714
|
subscription_id=self._config.subscription_id,
|
781
715
|
api_version=api_version,
|
782
|
-
template_url=self.list.metadata["url"],
|
783
716
|
headers=_headers,
|
784
717
|
params=_params,
|
785
718
|
)
|
786
|
-
|
787
|
-
|
719
|
+
_request = _convert_request(_request)
|
720
|
+
_request.url = self._client.format_url(_request.url)
|
788
721
|
|
789
722
|
else:
|
790
723
|
# make call to next link with the client's api-version
|
@@ -795,14 +728,14 @@ class StorageAccountsOperations:
|
|
795
728
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
796
729
|
}
|
797
730
|
)
|
798
|
-
_next_request_params["api-version"] = self.
|
799
|
-
|
731
|
+
_next_request_params["api-version"] = self._api_version
|
732
|
+
_request = HttpRequest(
|
800
733
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
801
734
|
)
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
return
|
735
|
+
_request = _convert_request(_request)
|
736
|
+
_request.url = self._client.format_url(_request.url)
|
737
|
+
_request.method = "GET"
|
738
|
+
return _request
|
806
739
|
|
807
740
|
async def extract_data(pipeline_response):
|
808
741
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -812,11 +745,11 @@ class StorageAccountsOperations:
|
|
812
745
|
return deserialized.next_link or None, AsyncList(list_of_elem)
|
813
746
|
|
814
747
|
async def get_next(next_link=None):
|
815
|
-
|
748
|
+
_request = prepare_request(next_link)
|
816
749
|
|
817
750
|
_stream = False
|
818
751
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
819
|
-
|
752
|
+
_request, stream=_stream, **kwargs
|
820
753
|
)
|
821
754
|
response = pipeline_response.http_response
|
822
755
|
|
@@ -828,8 +761,6 @@ class StorageAccountsOperations:
|
|
828
761
|
|
829
762
|
return AsyncItemPaged(get_next, extract_data)
|
830
763
|
|
831
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
832
|
-
|
833
764
|
@distributed_trace
|
834
765
|
def list_by_resource_group(
|
835
766
|
self, resource_group_name: str, **kwargs: Any
|
@@ -840,7 +771,6 @@ class StorageAccountsOperations:
|
|
840
771
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
841
772
|
name is case insensitive. Required.
|
842
773
|
:type resource_group_name: str
|
843
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
844
774
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
845
775
|
:rtype:
|
846
776
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2019_06_01.models.StorageAccount]
|
@@ -852,7 +782,7 @@ class StorageAccountsOperations:
|
|
852
782
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-06-01"))
|
853
783
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
854
784
|
|
855
|
-
error_map = {
|
785
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
856
786
|
401: ClientAuthenticationError,
|
857
787
|
404: ResourceNotFoundError,
|
858
788
|
409: ResourceExistsError,
|
@@ -863,16 +793,15 @@ class StorageAccountsOperations:
|
|
863
793
|
def prepare_request(next_link=None):
|
864
794
|
if not next_link:
|
865
795
|
|
866
|
-
|
796
|
+
_request = build_list_by_resource_group_request(
|
867
797
|
resource_group_name=resource_group_name,
|
868
798
|
subscription_id=self._config.subscription_id,
|
869
799
|
api_version=api_version,
|
870
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
871
800
|
headers=_headers,
|
872
801
|
params=_params,
|
873
802
|
)
|
874
|
-
|
875
|
-
|
803
|
+
_request = _convert_request(_request)
|
804
|
+
_request.url = self._client.format_url(_request.url)
|
876
805
|
|
877
806
|
else:
|
878
807
|
# make call to next link with the client's api-version
|
@@ -883,14 +812,14 @@ class StorageAccountsOperations:
|
|
883
812
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
884
813
|
}
|
885
814
|
)
|
886
|
-
_next_request_params["api-version"] = self.
|
887
|
-
|
815
|
+
_next_request_params["api-version"] = self._api_version
|
816
|
+
_request = HttpRequest(
|
888
817
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
889
818
|
)
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
return
|
819
|
+
_request = _convert_request(_request)
|
820
|
+
_request.url = self._client.format_url(_request.url)
|
821
|
+
_request.method = "GET"
|
822
|
+
return _request
|
894
823
|
|
895
824
|
async def extract_data(pipeline_response):
|
896
825
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -900,11 +829,11 @@ class StorageAccountsOperations:
|
|
900
829
|
return None, AsyncList(list_of_elem)
|
901
830
|
|
902
831
|
async def get_next(next_link=None):
|
903
|
-
|
832
|
+
_request = prepare_request(next_link)
|
904
833
|
|
905
834
|
_stream = False
|
906
835
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
907
|
-
|
836
|
+
_request, stream=_stream, **kwargs
|
908
837
|
)
|
909
838
|
response = pipeline_response.http_response
|
910
839
|
|
@@ -916,10 +845,6 @@ class StorageAccountsOperations:
|
|
916
845
|
|
917
846
|
return AsyncItemPaged(get_next, extract_data)
|
918
847
|
|
919
|
-
list_by_resource_group.metadata = {
|
920
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
921
|
-
}
|
922
|
-
|
923
848
|
@distributed_trace_async
|
924
849
|
async def list_keys(
|
925
850
|
self, resource_group_name: str, account_name: str, expand: Literal["kerb"] = "kerb", **kwargs: Any
|
@@ -937,12 +862,11 @@ class StorageAccountsOperations:
|
|
937
862
|
:param expand: Specifies type of the key to be listed. Possible value is kerb. Known values are
|
938
863
|
"kerb" and None. Default value is "kerb".
|
939
864
|
:type expand: str
|
940
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
941
865
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
942
866
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountListKeysResult
|
943
867
|
:raises ~azure.core.exceptions.HttpResponseError:
|
944
868
|
"""
|
945
|
-
error_map = {
|
869
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
946
870
|
401: ClientAuthenticationError,
|
947
871
|
404: ResourceNotFoundError,
|
948
872
|
409: ResourceExistsError,
|
@@ -956,22 +880,21 @@ class StorageAccountsOperations:
|
|
956
880
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-06-01"))
|
957
881
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
958
882
|
|
959
|
-
|
883
|
+
_request = build_list_keys_request(
|
960
884
|
resource_group_name=resource_group_name,
|
961
885
|
account_name=account_name,
|
962
886
|
subscription_id=self._config.subscription_id,
|
963
887
|
expand=expand,
|
964
888
|
api_version=api_version,
|
965
|
-
template_url=self.list_keys.metadata["url"],
|
966
889
|
headers=_headers,
|
967
890
|
params=_params,
|
968
891
|
)
|
969
|
-
|
970
|
-
|
892
|
+
_request = _convert_request(_request)
|
893
|
+
_request.url = self._client.format_url(_request.url)
|
971
894
|
|
972
895
|
_stream = False
|
973
896
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
974
|
-
|
897
|
+
_request, stream=_stream, **kwargs
|
975
898
|
)
|
976
899
|
|
977
900
|
response = pipeline_response.http_response
|
@@ -983,13 +906,9 @@ class StorageAccountsOperations:
|
|
983
906
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
984
907
|
|
985
908
|
if cls:
|
986
|
-
return cls(pipeline_response, deserialized, {})
|
987
|
-
|
988
|
-
return deserialized
|
909
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
989
910
|
|
990
|
-
|
991
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
992
|
-
}
|
911
|
+
return deserialized # type: ignore
|
993
912
|
|
994
913
|
@overload
|
995
914
|
async def regenerate_key(
|
@@ -1017,7 +936,6 @@ class StorageAccountsOperations:
|
|
1017
936
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1018
937
|
Default value is "application/json".
|
1019
938
|
:paramtype content_type: str
|
1020
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1021
939
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1022
940
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountListKeysResult
|
1023
941
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1028,7 +946,7 @@ class StorageAccountsOperations:
|
|
1028
946
|
self,
|
1029
947
|
resource_group_name: str,
|
1030
948
|
account_name: str,
|
1031
|
-
regenerate_key: IO,
|
949
|
+
regenerate_key: IO[bytes],
|
1032
950
|
*,
|
1033
951
|
content_type: str = "application/json",
|
1034
952
|
**kwargs: Any
|
@@ -1044,11 +962,10 @@ class StorageAccountsOperations:
|
|
1044
962
|
:type account_name: str
|
1045
963
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1046
964
|
kerb1, kerb2. Required.
|
1047
|
-
:type regenerate_key: IO
|
965
|
+
:type regenerate_key: IO[bytes]
|
1048
966
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1049
967
|
Default value is "application/json".
|
1050
968
|
:paramtype content_type: str
|
1051
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1052
969
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1053
970
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountListKeysResult
|
1054
971
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1059,7 +976,7 @@ class StorageAccountsOperations:
|
|
1059
976
|
self,
|
1060
977
|
resource_group_name: str,
|
1061
978
|
account_name: str,
|
1062
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
979
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1063
980
|
**kwargs: Any
|
1064
981
|
) -> _models.StorageAccountListKeysResult:
|
1065
982
|
"""Regenerates one of the access keys or Kerberos keys for the specified storage account.
|
@@ -1072,18 +989,15 @@ class StorageAccountsOperations:
|
|
1072
989
|
lower-case letters only. Required.
|
1073
990
|
:type account_name: str
|
1074
991
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1075
|
-
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO type.
|
992
|
+
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
|
993
|
+
Required.
|
1076
994
|
:type regenerate_key:
|
1077
|
-
~azure.mgmt.storage.v2019_06_01.models.StorageAccountRegenerateKeyParameters or IO
|
1078
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1079
|
-
Default value is None.
|
1080
|
-
:paramtype content_type: str
|
1081
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
995
|
+
~azure.mgmt.storage.v2019_06_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
|
1082
996
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1083
997
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountListKeysResult
|
1084
998
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1085
999
|
"""
|
1086
|
-
error_map = {
|
1000
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1087
1001
|
401: ClientAuthenticationError,
|
1088
1002
|
404: ResourceNotFoundError,
|
1089
1003
|
409: ResourceExistsError,
|
@@ -1106,7 +1020,7 @@ class StorageAccountsOperations:
|
|
1106
1020
|
else:
|
1107
1021
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1108
1022
|
|
1109
|
-
|
1023
|
+
_request = build_regenerate_key_request(
|
1110
1024
|
resource_group_name=resource_group_name,
|
1111
1025
|
account_name=account_name,
|
1112
1026
|
subscription_id=self._config.subscription_id,
|
@@ -1114,16 +1028,15 @@ class StorageAccountsOperations:
|
|
1114
1028
|
content_type=content_type,
|
1115
1029
|
json=_json,
|
1116
1030
|
content=_content,
|
1117
|
-
template_url=self.regenerate_key.metadata["url"],
|
1118
1031
|
headers=_headers,
|
1119
1032
|
params=_params,
|
1120
1033
|
)
|
1121
|
-
|
1122
|
-
|
1034
|
+
_request = _convert_request(_request)
|
1035
|
+
_request.url = self._client.format_url(_request.url)
|
1123
1036
|
|
1124
1037
|
_stream = False
|
1125
1038
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1126
|
-
|
1039
|
+
_request, stream=_stream, **kwargs
|
1127
1040
|
)
|
1128
1041
|
|
1129
1042
|
response = pipeline_response.http_response
|
@@ -1135,13 +1048,9 @@ class StorageAccountsOperations:
|
|
1135
1048
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1136
1049
|
|
1137
1050
|
if cls:
|
1138
|
-
return cls(pipeline_response, deserialized, {})
|
1139
|
-
|
1140
|
-
return deserialized
|
1051
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1141
1052
|
|
1142
|
-
|
1143
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1144
|
-
}
|
1053
|
+
return deserialized # type: ignore
|
1145
1054
|
|
1146
1055
|
@overload
|
1147
1056
|
async def list_account_sas(
|
@@ -1168,7 +1077,6 @@ class StorageAccountsOperations:
|
|
1168
1077
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1169
1078
|
Default value is "application/json".
|
1170
1079
|
:paramtype content_type: str
|
1171
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1172
1080
|
:return: ListAccountSasResponse or the result of cls(response)
|
1173
1081
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.ListAccountSasResponse
|
1174
1082
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1179,7 +1087,7 @@ class StorageAccountsOperations:
|
|
1179
1087
|
self,
|
1180
1088
|
resource_group_name: str,
|
1181
1089
|
account_name: str,
|
1182
|
-
parameters: IO,
|
1090
|
+
parameters: IO[bytes],
|
1183
1091
|
*,
|
1184
1092
|
content_type: str = "application/json",
|
1185
1093
|
**kwargs: Any
|
@@ -1195,11 +1103,10 @@ class StorageAccountsOperations:
|
|
1195
1103
|
:type account_name: str
|
1196
1104
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1197
1105
|
Required.
|
1198
|
-
:type parameters: IO
|
1106
|
+
:type parameters: IO[bytes]
|
1199
1107
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1200
1108
|
Default value is "application/json".
|
1201
1109
|
:paramtype content_type: str
|
1202
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1203
1110
|
:return: ListAccountSasResponse or the result of cls(response)
|
1204
1111
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.ListAccountSasResponse
|
1205
1112
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1210,7 +1117,7 @@ class StorageAccountsOperations:
|
|
1210
1117
|
self,
|
1211
1118
|
resource_group_name: str,
|
1212
1119
|
account_name: str,
|
1213
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1120
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1214
1121
|
**kwargs: Any
|
1215
1122
|
) -> _models.ListAccountSasResponse:
|
1216
1123
|
"""List SAS credentials of a storage account.
|
@@ -1223,17 +1130,13 @@ class StorageAccountsOperations:
|
|
1223
1130
|
lower-case letters only. Required.
|
1224
1131
|
:type account_name: str
|
1225
1132
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1226
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1227
|
-
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.AccountSasParameters or IO
|
1228
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1229
|
-
Default value is None.
|
1230
|
-
:paramtype content_type: str
|
1231
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1133
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1134
|
+
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.AccountSasParameters or IO[bytes]
|
1232
1135
|
:return: ListAccountSasResponse or the result of cls(response)
|
1233
1136
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.ListAccountSasResponse
|
1234
1137
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1235
1138
|
"""
|
1236
|
-
error_map = {
|
1139
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1237
1140
|
401: ClientAuthenticationError,
|
1238
1141
|
404: ResourceNotFoundError,
|
1239
1142
|
409: ResourceExistsError,
|
@@ -1256,7 +1159,7 @@ class StorageAccountsOperations:
|
|
1256
1159
|
else:
|
1257
1160
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1258
1161
|
|
1259
|
-
|
1162
|
+
_request = build_list_account_sas_request(
|
1260
1163
|
resource_group_name=resource_group_name,
|
1261
1164
|
account_name=account_name,
|
1262
1165
|
subscription_id=self._config.subscription_id,
|
@@ -1264,16 +1167,15 @@ class StorageAccountsOperations:
|
|
1264
1167
|
content_type=content_type,
|
1265
1168
|
json=_json,
|
1266
1169
|
content=_content,
|
1267
|
-
template_url=self.list_account_sas.metadata["url"],
|
1268
1170
|
headers=_headers,
|
1269
1171
|
params=_params,
|
1270
1172
|
)
|
1271
|
-
|
1272
|
-
|
1173
|
+
_request = _convert_request(_request)
|
1174
|
+
_request.url = self._client.format_url(_request.url)
|
1273
1175
|
|
1274
1176
|
_stream = False
|
1275
1177
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1276
|
-
|
1178
|
+
_request, stream=_stream, **kwargs
|
1277
1179
|
)
|
1278
1180
|
|
1279
1181
|
response = pipeline_response.http_response
|
@@ -1285,13 +1187,9 @@ class StorageAccountsOperations:
|
|
1285
1187
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1286
1188
|
|
1287
1189
|
if cls:
|
1288
|
-
return cls(pipeline_response, deserialized, {})
|
1289
|
-
|
1290
|
-
return deserialized
|
1190
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1291
1191
|
|
1292
|
-
|
1293
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1294
|
-
}
|
1192
|
+
return deserialized # type: ignore
|
1295
1193
|
|
1296
1194
|
@overload
|
1297
1195
|
async def list_service_sas(
|
@@ -1317,7 +1215,6 @@ class StorageAccountsOperations:
|
|
1317
1215
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1318
1216
|
Default value is "application/json".
|
1319
1217
|
:paramtype content_type: str
|
1320
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1321
1218
|
:return: ListServiceSasResponse or the result of cls(response)
|
1322
1219
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.ListServiceSasResponse
|
1323
1220
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1328,7 +1225,7 @@ class StorageAccountsOperations:
|
|
1328
1225
|
self,
|
1329
1226
|
resource_group_name: str,
|
1330
1227
|
account_name: str,
|
1331
|
-
parameters: IO,
|
1228
|
+
parameters: IO[bytes],
|
1332
1229
|
*,
|
1333
1230
|
content_type: str = "application/json",
|
1334
1231
|
**kwargs: Any
|
@@ -1343,11 +1240,10 @@ class StorageAccountsOperations:
|
|
1343
1240
|
lower-case letters only. Required.
|
1344
1241
|
:type account_name: str
|
1345
1242
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1346
|
-
:type parameters: IO
|
1243
|
+
:type parameters: IO[bytes]
|
1347
1244
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1348
1245
|
Default value is "application/json".
|
1349
1246
|
:paramtype content_type: str
|
1350
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1351
1247
|
:return: ListServiceSasResponse or the result of cls(response)
|
1352
1248
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.ListServiceSasResponse
|
1353
1249
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1358,7 +1254,7 @@ class StorageAccountsOperations:
|
|
1358
1254
|
self,
|
1359
1255
|
resource_group_name: str,
|
1360
1256
|
account_name: str,
|
1361
|
-
parameters: Union[_models.ServiceSasParameters, IO],
|
1257
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1362
1258
|
**kwargs: Any
|
1363
1259
|
) -> _models.ListServiceSasResponse:
|
1364
1260
|
"""List service SAS credentials of a specific resource.
|
@@ -1371,17 +1267,13 @@ class StorageAccountsOperations:
|
|
1371
1267
|
lower-case letters only. Required.
|
1372
1268
|
:type account_name: str
|
1373
1269
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1374
|
-
ServiceSasParameters type or a IO type. Required.
|
1375
|
-
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.ServiceSasParameters or IO
|
1376
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1377
|
-
Default value is None.
|
1378
|
-
:paramtype content_type: str
|
1379
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1270
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1271
|
+
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.ServiceSasParameters or IO[bytes]
|
1380
1272
|
:return: ListServiceSasResponse or the result of cls(response)
|
1381
1273
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.ListServiceSasResponse
|
1382
1274
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1383
1275
|
"""
|
1384
|
-
error_map = {
|
1276
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1385
1277
|
401: ClientAuthenticationError,
|
1386
1278
|
404: ResourceNotFoundError,
|
1387
1279
|
409: ResourceExistsError,
|
@@ -1404,7 +1296,7 @@ class StorageAccountsOperations:
|
|
1404
1296
|
else:
|
1405
1297
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1406
1298
|
|
1407
|
-
|
1299
|
+
_request = build_list_service_sas_request(
|
1408
1300
|
resource_group_name=resource_group_name,
|
1409
1301
|
account_name=account_name,
|
1410
1302
|
subscription_id=self._config.subscription_id,
|
@@ -1412,16 +1304,15 @@ class StorageAccountsOperations:
|
|
1412
1304
|
content_type=content_type,
|
1413
1305
|
json=_json,
|
1414
1306
|
content=_content,
|
1415
|
-
template_url=self.list_service_sas.metadata["url"],
|
1416
1307
|
headers=_headers,
|
1417
1308
|
params=_params,
|
1418
1309
|
)
|
1419
|
-
|
1420
|
-
|
1310
|
+
_request = _convert_request(_request)
|
1311
|
+
_request.url = self._client.format_url(_request.url)
|
1421
1312
|
|
1422
1313
|
_stream = False
|
1423
1314
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1424
|
-
|
1315
|
+
_request, stream=_stream, **kwargs
|
1425
1316
|
)
|
1426
1317
|
|
1427
1318
|
response = pipeline_response.http_response
|
@@ -1433,18 +1324,14 @@ class StorageAccountsOperations:
|
|
1433
1324
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1434
1325
|
|
1435
1326
|
if cls:
|
1436
|
-
return cls(pipeline_response, deserialized, {})
|
1437
|
-
|
1438
|
-
return deserialized
|
1327
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1439
1328
|
|
1440
|
-
|
1441
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1442
|
-
}
|
1329
|
+
return deserialized # type: ignore
|
1443
1330
|
|
1444
1331
|
async def _failover_initial( # pylint: disable=inconsistent-return-statements
|
1445
1332
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1446
1333
|
) -> None:
|
1447
|
-
error_map = {
|
1334
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1448
1335
|
401: ClientAuthenticationError,
|
1449
1336
|
404: ResourceNotFoundError,
|
1450
1337
|
409: ResourceExistsError,
|
@@ -1458,21 +1345,20 @@ class StorageAccountsOperations:
|
|
1458
1345
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-06-01"))
|
1459
1346
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1460
1347
|
|
1461
|
-
|
1348
|
+
_request = build_failover_request(
|
1462
1349
|
resource_group_name=resource_group_name,
|
1463
1350
|
account_name=account_name,
|
1464
1351
|
subscription_id=self._config.subscription_id,
|
1465
1352
|
api_version=api_version,
|
1466
|
-
template_url=self._failover_initial.metadata["url"],
|
1467
1353
|
headers=_headers,
|
1468
1354
|
params=_params,
|
1469
1355
|
)
|
1470
|
-
|
1471
|
-
|
1356
|
+
_request = _convert_request(_request)
|
1357
|
+
_request.url = self._client.format_url(_request.url)
|
1472
1358
|
|
1473
1359
|
_stream = False
|
1474
1360
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1475
|
-
|
1361
|
+
_request, stream=_stream, **kwargs
|
1476
1362
|
)
|
1477
1363
|
|
1478
1364
|
response = pipeline_response.http_response
|
@@ -1482,11 +1368,7 @@ class StorageAccountsOperations:
|
|
1482
1368
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1483
1369
|
|
1484
1370
|
if cls:
|
1485
|
-
return cls(pipeline_response, None, {})
|
1486
|
-
|
1487
|
-
_failover_initial.metadata = {
|
1488
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1489
|
-
}
|
1371
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1490
1372
|
|
1491
1373
|
@distributed_trace_async
|
1492
1374
|
async def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> AsyncLROPoller[None]:
|
@@ -1501,14 +1383,6 @@ class StorageAccountsOperations:
|
|
1501
1383
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1502
1384
|
lower-case letters only. Required.
|
1503
1385
|
:type account_name: str
|
1504
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1505
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1506
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1507
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1508
|
-
polling strategy.
|
1509
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1510
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1511
|
-
Retry-After header is present.
|
1512
1386
|
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
|
1513
1387
|
:rtype: ~azure.core.polling.AsyncLROPoller[None]
|
1514
1388
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1535,7 +1409,7 @@ class StorageAccountsOperations:
|
|
1535
1409
|
|
1536
1410
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
1537
1411
|
if cls:
|
1538
|
-
return cls(pipeline_response, None, {})
|
1412
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1539
1413
|
|
1540
1414
|
if polling is True:
|
1541
1415
|
polling_method: AsyncPollingMethod = cast(
|
@@ -1546,26 +1420,22 @@ class StorageAccountsOperations:
|
|
1546
1420
|
else:
|
1547
1421
|
polling_method = polling
|
1548
1422
|
if cont_token:
|
1549
|
-
return AsyncLROPoller.from_continuation_token(
|
1423
|
+
return AsyncLROPoller[None].from_continuation_token(
|
1550
1424
|
polling_method=polling_method,
|
1551
1425
|
continuation_token=cont_token,
|
1552
1426
|
client=self._client,
|
1553
1427
|
deserialization_callback=get_long_running_output,
|
1554
1428
|
)
|
1555
|
-
return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1556
|
-
|
1557
|
-
begin_failover.metadata = {
|
1558
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1559
|
-
}
|
1429
|
+
return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1560
1430
|
|
1561
1431
|
async def _restore_blob_ranges_initial(
|
1562
1432
|
self,
|
1563
1433
|
resource_group_name: str,
|
1564
1434
|
account_name: str,
|
1565
|
-
parameters: Union[_models.BlobRestoreParameters, IO],
|
1435
|
+
parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
|
1566
1436
|
**kwargs: Any
|
1567
1437
|
) -> _models.BlobRestoreStatus:
|
1568
|
-
error_map = {
|
1438
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1569
1439
|
401: ClientAuthenticationError,
|
1570
1440
|
404: ResourceNotFoundError,
|
1571
1441
|
409: ResourceExistsError,
|
@@ -1588,7 +1458,7 @@ class StorageAccountsOperations:
|
|
1588
1458
|
else:
|
1589
1459
|
_json = self._serialize.body(parameters, "BlobRestoreParameters")
|
1590
1460
|
|
1591
|
-
|
1461
|
+
_request = build_restore_blob_ranges_request(
|
1592
1462
|
resource_group_name=resource_group_name,
|
1593
1463
|
account_name=account_name,
|
1594
1464
|
subscription_id=self._config.subscription_id,
|
@@ -1596,16 +1466,15 @@ class StorageAccountsOperations:
|
|
1596
1466
|
content_type=content_type,
|
1597
1467
|
json=_json,
|
1598
1468
|
content=_content,
|
1599
|
-
template_url=self._restore_blob_ranges_initial.metadata["url"],
|
1600
1469
|
headers=_headers,
|
1601
1470
|
params=_params,
|
1602
1471
|
)
|
1603
|
-
|
1604
|
-
|
1472
|
+
_request = _convert_request(_request)
|
1473
|
+
_request.url = self._client.format_url(_request.url)
|
1605
1474
|
|
1606
1475
|
_stream = False
|
1607
1476
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1608
|
-
|
1477
|
+
_request, stream=_stream, **kwargs
|
1609
1478
|
)
|
1610
1479
|
|
1611
1480
|
response = pipeline_response.http_response
|
@@ -1625,10 +1494,6 @@ class StorageAccountsOperations:
|
|
1625
1494
|
|
1626
1495
|
return deserialized # type: ignore
|
1627
1496
|
|
1628
|
-
_restore_blob_ranges_initial.metadata = {
|
1629
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
|
1630
|
-
}
|
1631
|
-
|
1632
1497
|
@overload
|
1633
1498
|
async def begin_restore_blob_ranges(
|
1634
1499
|
self,
|
@@ -1653,14 +1518,6 @@ class StorageAccountsOperations:
|
|
1653
1518
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1654
1519
|
Default value is "application/json".
|
1655
1520
|
:paramtype content_type: str
|
1656
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1657
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1658
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1659
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1660
|
-
polling strategy.
|
1661
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1662
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1663
|
-
Retry-After header is present.
|
1664
1521
|
:return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
|
1665
1522
|
cls(response)
|
1666
1523
|
:rtype:
|
@@ -1673,7 +1530,7 @@ class StorageAccountsOperations:
|
|
1673
1530
|
self,
|
1674
1531
|
resource_group_name: str,
|
1675
1532
|
account_name: str,
|
1676
|
-
parameters: IO,
|
1533
|
+
parameters: IO[bytes],
|
1677
1534
|
*,
|
1678
1535
|
content_type: str = "application/json",
|
1679
1536
|
**kwargs: Any
|
@@ -1688,18 +1545,10 @@ class StorageAccountsOperations:
|
|
1688
1545
|
lower-case letters only. Required.
|
1689
1546
|
:type account_name: str
|
1690
1547
|
:param parameters: The parameters to provide for restore blob ranges. Required.
|
1691
|
-
:type parameters: IO
|
1548
|
+
:type parameters: IO[bytes]
|
1692
1549
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1693
1550
|
Default value is "application/json".
|
1694
1551
|
:paramtype content_type: str
|
1695
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1696
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1697
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1698
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1699
|
-
polling strategy.
|
1700
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1701
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1702
|
-
Retry-After header is present.
|
1703
1552
|
:return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
|
1704
1553
|
cls(response)
|
1705
1554
|
:rtype:
|
@@ -1712,7 +1561,7 @@ class StorageAccountsOperations:
|
|
1712
1561
|
self,
|
1713
1562
|
resource_group_name: str,
|
1714
1563
|
account_name: str,
|
1715
|
-
parameters: Union[_models.BlobRestoreParameters, IO],
|
1564
|
+
parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
|
1716
1565
|
**kwargs: Any
|
1717
1566
|
) -> AsyncLROPoller[_models.BlobRestoreStatus]:
|
1718
1567
|
"""Restore blobs in the specified blob ranges.
|
@@ -1725,19 +1574,8 @@ class StorageAccountsOperations:
|
|
1725
1574
|
lower-case letters only. Required.
|
1726
1575
|
:type account_name: str
|
1727
1576
|
:param parameters: The parameters to provide for restore blob ranges. Is either a
|
1728
|
-
BlobRestoreParameters type or a IO type. Required.
|
1729
|
-
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.BlobRestoreParameters or IO
|
1730
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1731
|
-
Default value is None.
|
1732
|
-
:paramtype content_type: str
|
1733
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1734
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1735
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1736
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1737
|
-
polling strategy.
|
1738
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1739
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1740
|
-
Retry-After header is present.
|
1577
|
+
BlobRestoreParameters type or a IO[bytes] type. Required.
|
1578
|
+
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.BlobRestoreParameters or IO[bytes]
|
1741
1579
|
:return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
|
1742
1580
|
cls(response)
|
1743
1581
|
:rtype:
|
@@ -1770,7 +1608,7 @@ class StorageAccountsOperations:
|
|
1770
1608
|
def get_long_running_output(pipeline_response):
|
1771
1609
|
deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
|
1772
1610
|
if cls:
|
1773
|
-
return cls(pipeline_response, deserialized, {})
|
1611
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1774
1612
|
return deserialized
|
1775
1613
|
|
1776
1614
|
if polling is True:
|
@@ -1782,17 +1620,15 @@ class StorageAccountsOperations:
|
|
1782
1620
|
else:
|
1783
1621
|
polling_method = polling
|
1784
1622
|
if cont_token:
|
1785
|
-
return AsyncLROPoller.from_continuation_token(
|
1623
|
+
return AsyncLROPoller[_models.BlobRestoreStatus].from_continuation_token(
|
1786
1624
|
polling_method=polling_method,
|
1787
1625
|
continuation_token=cont_token,
|
1788
1626
|
client=self._client,
|
1789
1627
|
deserialization_callback=get_long_running_output,
|
1790
1628
|
)
|
1791
|
-
return AsyncLROPoller(
|
1792
|
-
|
1793
|
-
|
1794
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
|
1795
|
-
}
|
1629
|
+
return AsyncLROPoller[_models.BlobRestoreStatus](
|
1630
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
1631
|
+
)
|
1796
1632
|
|
1797
1633
|
@distributed_trace_async
|
1798
1634
|
async def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
|
@@ -1807,12 +1643,11 @@ class StorageAccountsOperations:
|
|
1807
1643
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1808
1644
|
lower-case letters only. Required.
|
1809
1645
|
:type account_name: str
|
1810
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1811
1646
|
:return: None or the result of cls(response)
|
1812
1647
|
:rtype: None
|
1813
1648
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1814
1649
|
"""
|
1815
|
-
error_map = {
|
1650
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1816
1651
|
401: ClientAuthenticationError,
|
1817
1652
|
404: ResourceNotFoundError,
|
1818
1653
|
409: ResourceExistsError,
|
@@ -1826,21 +1661,20 @@ class StorageAccountsOperations:
|
|
1826
1661
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-06-01"))
|
1827
1662
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1828
1663
|
|
1829
|
-
|
1664
|
+
_request = build_revoke_user_delegation_keys_request(
|
1830
1665
|
resource_group_name=resource_group_name,
|
1831
1666
|
account_name=account_name,
|
1832
1667
|
subscription_id=self._config.subscription_id,
|
1833
1668
|
api_version=api_version,
|
1834
|
-
template_url=self.revoke_user_delegation_keys.metadata["url"],
|
1835
1669
|
headers=_headers,
|
1836
1670
|
params=_params,
|
1837
1671
|
)
|
1838
|
-
|
1839
|
-
|
1672
|
+
_request = _convert_request(_request)
|
1673
|
+
_request.url = self._client.format_url(_request.url)
|
1840
1674
|
|
1841
1675
|
_stream = False
|
1842
1676
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1843
|
-
|
1677
|
+
_request, stream=_stream, **kwargs
|
1844
1678
|
)
|
1845
1679
|
|
1846
1680
|
response = pipeline_response.http_response
|
@@ -1850,8 +1684,4 @@ class StorageAccountsOperations:
|
|
1850
1684
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1851
1685
|
|
1852
1686
|
if cls:
|
1853
|
-
return cls(pipeline_response, None, {})
|
1854
|
-
|
1855
|
-
revoke_user_delegation_keys.metadata = {
|
1856
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
|
1857
|
-
}
|
1687
|
+
return cls(pipeline_response, None, {}) # type: ignore
|