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
|
@@ -51,10 +51,10 @@ from ...operations._storage_accounts_operations import (
|
|
51
51
|
build_update_request,
|
52
52
|
)
|
53
53
|
|
54
|
-
if sys.version_info >= (3,
|
55
|
-
from
|
54
|
+
if sys.version_info >= (3, 9):
|
55
|
+
from collections.abc import MutableMapping
|
56
56
|
else:
|
57
|
-
from
|
57
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
58
58
|
T = TypeVar("T")
|
59
59
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
60
60
|
|
@@ -97,7 +97,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
97
97
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
98
98
|
Default value is "application/json".
|
99
99
|
:paramtype content_type: str
|
100
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
101
100
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
102
101
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.CheckNameAvailabilityResult
|
103
102
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -105,18 +104,17 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
105
104
|
|
106
105
|
@overload
|
107
106
|
async def check_name_availability(
|
108
|
-
self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
|
107
|
+
self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
|
109
108
|
) -> _models.CheckNameAvailabilityResult:
|
110
109
|
"""Checks that the storage account name is valid and is not already in use.
|
111
110
|
|
112
111
|
:param account_name: The name of the storage account within the specified resource group.
|
113
112
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
114
113
|
lower-case letters only. Required.
|
115
|
-
:type account_name: IO
|
114
|
+
:type account_name: IO[bytes]
|
116
115
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
117
116
|
Default value is "application/json".
|
118
117
|
:paramtype content_type: str
|
119
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
120
118
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
121
119
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.CheckNameAvailabilityResult
|
122
120
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -124,25 +122,22 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
124
122
|
|
125
123
|
@distributed_trace_async
|
126
124
|
async def check_name_availability(
|
127
|
-
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
|
125
|
+
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
|
128
126
|
) -> _models.CheckNameAvailabilityResult:
|
129
127
|
"""Checks that the storage account name is valid and is not already in use.
|
130
128
|
|
131
129
|
:param account_name: The name of the storage account within the specified resource group.
|
132
130
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
133
|
-
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
134
|
-
type. Required.
|
131
|
+
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
132
|
+
IO[bytes] type. Required.
|
135
133
|
:type account_name:
|
136
|
-
~azure.mgmt.storage.v2022_05_01.models.StorageAccountCheckNameAvailabilityParameters or
|
137
|
-
|
138
|
-
Default value is None.
|
139
|
-
:paramtype content_type: str
|
140
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
134
|
+
~azure.mgmt.storage.v2022_05_01.models.StorageAccountCheckNameAvailabilityParameters or
|
135
|
+
IO[bytes]
|
141
136
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
142
137
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.CheckNameAvailabilityResult
|
143
138
|
:raises ~azure.core.exceptions.HttpResponseError:
|
144
139
|
"""
|
145
|
-
error_map = {
|
140
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
146
141
|
401: ClientAuthenticationError,
|
147
142
|
404: ResourceNotFoundError,
|
148
143
|
409: ResourceExistsError,
|
@@ -165,22 +160,21 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
165
160
|
else:
|
166
161
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
167
162
|
|
168
|
-
|
163
|
+
_request = build_check_name_availability_request(
|
169
164
|
subscription_id=self._config.subscription_id,
|
170
165
|
api_version=api_version,
|
171
166
|
content_type=content_type,
|
172
167
|
json=_json,
|
173
168
|
content=_content,
|
174
|
-
template_url=self.check_name_availability.metadata["url"],
|
175
169
|
headers=_headers,
|
176
170
|
params=_params,
|
177
171
|
)
|
178
|
-
|
179
|
-
|
172
|
+
_request = _convert_request(_request)
|
173
|
+
_request.url = self._client.format_url(_request.url)
|
180
174
|
|
181
175
|
_stream = False
|
182
176
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
183
|
-
|
177
|
+
_request, stream=_stream, **kwargs
|
184
178
|
)
|
185
179
|
|
186
180
|
response = pipeline_response.http_response
|
@@ -192,22 +186,18 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
192
186
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
193
187
|
|
194
188
|
if cls:
|
195
|
-
return cls(pipeline_response, deserialized, {})
|
196
|
-
|
197
|
-
return deserialized
|
189
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
198
190
|
|
199
|
-
|
200
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
201
|
-
}
|
191
|
+
return deserialized # type: ignore
|
202
192
|
|
203
193
|
async def _create_initial(
|
204
194
|
self,
|
205
195
|
resource_group_name: str,
|
206
196
|
account_name: str,
|
207
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
197
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
208
198
|
**kwargs: Any
|
209
199
|
) -> Optional[_models.StorageAccount]:
|
210
|
-
error_map = {
|
200
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
211
201
|
401: ClientAuthenticationError,
|
212
202
|
404: ResourceNotFoundError,
|
213
203
|
409: ResourceExistsError,
|
@@ -230,7 +220,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
230
220
|
else:
|
231
221
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
232
222
|
|
233
|
-
|
223
|
+
_request = build_create_request(
|
234
224
|
resource_group_name=resource_group_name,
|
235
225
|
account_name=account_name,
|
236
226
|
subscription_id=self._config.subscription_id,
|
@@ -238,16 +228,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
238
228
|
content_type=content_type,
|
239
229
|
json=_json,
|
240
230
|
content=_content,
|
241
|
-
template_url=self._create_initial.metadata["url"],
|
242
231
|
headers=_headers,
|
243
232
|
params=_params,
|
244
233
|
)
|
245
|
-
|
246
|
-
|
234
|
+
_request = _convert_request(_request)
|
235
|
+
_request.url = self._client.format_url(_request.url)
|
247
236
|
|
248
237
|
_stream = False
|
249
238
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
250
|
-
|
239
|
+
_request, stream=_stream, **kwargs
|
251
240
|
)
|
252
241
|
|
253
242
|
response = pipeline_response.http_response
|
@@ -261,13 +250,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
261
250
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
262
251
|
|
263
252
|
if cls:
|
264
|
-
return cls(pipeline_response, deserialized, {})
|
265
|
-
|
266
|
-
return deserialized
|
253
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
267
254
|
|
268
|
-
|
269
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
270
|
-
}
|
255
|
+
return deserialized # type: ignore
|
271
256
|
|
272
257
|
@overload
|
273
258
|
async def begin_create(
|
@@ -296,14 +281,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
296
281
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
297
282
|
Default value is "application/json".
|
298
283
|
:paramtype content_type: str
|
299
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
300
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
301
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
302
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
303
|
-
polling strategy.
|
304
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
305
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
306
|
-
Retry-After header is present.
|
307
284
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
308
285
|
cls(response)
|
309
286
|
:rtype:
|
@@ -316,7 +293,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
316
293
|
self,
|
317
294
|
resource_group_name: str,
|
318
295
|
account_name: str,
|
319
|
-
parameters: IO,
|
296
|
+
parameters: IO[bytes],
|
320
297
|
*,
|
321
298
|
content_type: str = "application/json",
|
322
299
|
**kwargs: Any
|
@@ -334,18 +311,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
334
311
|
lower-case letters only. Required.
|
335
312
|
:type account_name: str
|
336
313
|
:param parameters: The parameters to provide for the created account. Required.
|
337
|
-
:type parameters: IO
|
314
|
+
:type parameters: IO[bytes]
|
338
315
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
339
316
|
Default value is "application/json".
|
340
317
|
:paramtype content_type: str
|
341
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
342
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
343
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
344
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
345
|
-
polling strategy.
|
346
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
347
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
348
|
-
Retry-After header is present.
|
349
318
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
350
319
|
cls(response)
|
351
320
|
:rtype:
|
@@ -358,7 +327,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
358
327
|
self,
|
359
328
|
resource_group_name: str,
|
360
329
|
account_name: str,
|
361
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
330
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
362
331
|
**kwargs: Any
|
363
332
|
) -> AsyncLROPoller[_models.StorageAccount]:
|
364
333
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -374,19 +343,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
374
343
|
lower-case letters only. Required.
|
375
344
|
:type account_name: str
|
376
345
|
:param parameters: The parameters to provide for the created account. Is either a
|
377
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
378
|
-
:type parameters: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountCreateParameters or
|
379
|
-
|
380
|
-
Default value is None.
|
381
|
-
:paramtype content_type: str
|
382
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
383
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
384
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
385
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
386
|
-
polling strategy.
|
387
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
388
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
389
|
-
Retry-After header is present.
|
346
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
347
|
+
:type parameters: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountCreateParameters or
|
348
|
+
IO[bytes]
|
390
349
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
391
350
|
cls(response)
|
392
351
|
:rtype:
|
@@ -419,7 +378,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
419
378
|
def get_long_running_output(pipeline_response):
|
420
379
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
421
380
|
if cls:
|
422
|
-
return cls(pipeline_response, deserialized, {})
|
381
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
423
382
|
return deserialized
|
424
383
|
|
425
384
|
if polling is True:
|
@@ -429,17 +388,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
429
388
|
else:
|
430
389
|
polling_method = polling
|
431
390
|
if cont_token:
|
432
|
-
return AsyncLROPoller.from_continuation_token(
|
391
|
+
return AsyncLROPoller[_models.StorageAccount].from_continuation_token(
|
433
392
|
polling_method=polling_method,
|
434
393
|
continuation_token=cont_token,
|
435
394
|
client=self._client,
|
436
395
|
deserialization_callback=get_long_running_output,
|
437
396
|
)
|
438
|
-
return AsyncLROPoller(
|
439
|
-
|
440
|
-
|
441
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
442
|
-
}
|
397
|
+
return AsyncLROPoller[_models.StorageAccount](
|
398
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
399
|
+
)
|
443
400
|
|
444
401
|
@distributed_trace_async
|
445
402
|
async def delete( # pylint: disable=inconsistent-return-statements
|
@@ -454,12 +411,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
454
411
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
455
412
|
lower-case letters only. Required.
|
456
413
|
:type account_name: str
|
457
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
458
414
|
:return: None or the result of cls(response)
|
459
415
|
:rtype: None
|
460
416
|
:raises ~azure.core.exceptions.HttpResponseError:
|
461
417
|
"""
|
462
|
-
error_map = {
|
418
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
463
419
|
401: ClientAuthenticationError,
|
464
420
|
404: ResourceNotFoundError,
|
465
421
|
409: ResourceExistsError,
|
@@ -473,21 +429,20 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
473
429
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
|
474
430
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
475
431
|
|
476
|
-
|
432
|
+
_request = build_delete_request(
|
477
433
|
resource_group_name=resource_group_name,
|
478
434
|
account_name=account_name,
|
479
435
|
subscription_id=self._config.subscription_id,
|
480
436
|
api_version=api_version,
|
481
|
-
template_url=self.delete.metadata["url"],
|
482
437
|
headers=_headers,
|
483
438
|
params=_params,
|
484
439
|
)
|
485
|
-
|
486
|
-
|
440
|
+
_request = _convert_request(_request)
|
441
|
+
_request.url = self._client.format_url(_request.url)
|
487
442
|
|
488
443
|
_stream = False
|
489
444
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
490
|
-
|
445
|
+
_request, stream=_stream, **kwargs
|
491
446
|
)
|
492
447
|
|
493
448
|
response = pipeline_response.http_response
|
@@ -497,11 +452,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
497
452
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
498
453
|
|
499
454
|
if cls:
|
500
|
-
return cls(pipeline_response, None, {})
|
501
|
-
|
502
|
-
delete.metadata = {
|
503
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
504
|
-
}
|
455
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
505
456
|
|
506
457
|
@distributed_trace_async
|
507
458
|
async def get_properties(
|
@@ -527,12 +478,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
527
478
|
and blobRestoreStatus. Known values are: "geoReplicationStats" and "blobRestoreStatus". Default
|
528
479
|
value is None.
|
529
480
|
:type expand: str or ~azure.mgmt.storage.v2022_05_01.models.StorageAccountExpand
|
530
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
531
481
|
:return: StorageAccount or the result of cls(response)
|
532
482
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccount
|
533
483
|
:raises ~azure.core.exceptions.HttpResponseError:
|
534
484
|
"""
|
535
|
-
error_map = {
|
485
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
536
486
|
401: ClientAuthenticationError,
|
537
487
|
404: ResourceNotFoundError,
|
538
488
|
409: ResourceExistsError,
|
@@ -546,22 +496,21 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
546
496
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
|
547
497
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
548
498
|
|
549
|
-
|
499
|
+
_request = build_get_properties_request(
|
550
500
|
resource_group_name=resource_group_name,
|
551
501
|
account_name=account_name,
|
552
502
|
subscription_id=self._config.subscription_id,
|
553
503
|
expand=expand,
|
554
504
|
api_version=api_version,
|
555
|
-
template_url=self.get_properties.metadata["url"],
|
556
505
|
headers=_headers,
|
557
506
|
params=_params,
|
558
507
|
)
|
559
|
-
|
560
|
-
|
508
|
+
_request = _convert_request(_request)
|
509
|
+
_request.url = self._client.format_url(_request.url)
|
561
510
|
|
562
511
|
_stream = False
|
563
512
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
564
|
-
|
513
|
+
_request, stream=_stream, **kwargs
|
565
514
|
)
|
566
515
|
|
567
516
|
response = pipeline_response.http_response
|
@@ -573,13 +522,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
573
522
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
574
523
|
|
575
524
|
if cls:
|
576
|
-
return cls(pipeline_response, deserialized, {})
|
577
|
-
|
578
|
-
return deserialized
|
525
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
579
526
|
|
580
|
-
|
581
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
582
|
-
}
|
527
|
+
return deserialized # type: ignore
|
583
528
|
|
584
529
|
@overload
|
585
530
|
async def update(
|
@@ -612,7 +557,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
612
557
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
613
558
|
Default value is "application/json".
|
614
559
|
:paramtype content_type: str
|
615
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
616
560
|
:return: StorageAccount or the result of cls(response)
|
617
561
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccount
|
618
562
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -623,7 +567,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
623
567
|
self,
|
624
568
|
resource_group_name: str,
|
625
569
|
account_name: str,
|
626
|
-
parameters: IO,
|
570
|
+
parameters: IO[bytes],
|
627
571
|
*,
|
628
572
|
content_type: str = "application/json",
|
629
573
|
**kwargs: Any
|
@@ -645,11 +589,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
645
589
|
lower-case letters only. Required.
|
646
590
|
:type account_name: str
|
647
591
|
:param parameters: The parameters to provide for the updated account. Required.
|
648
|
-
:type parameters: IO
|
592
|
+
:type parameters: IO[bytes]
|
649
593
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
650
594
|
Default value is "application/json".
|
651
595
|
:paramtype content_type: str
|
652
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
653
596
|
:return: StorageAccount or the result of cls(response)
|
654
597
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccount
|
655
598
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -660,7 +603,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
660
603
|
self,
|
661
604
|
resource_group_name: str,
|
662
605
|
account_name: str,
|
663
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
606
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
664
607
|
**kwargs: Any
|
665
608
|
) -> _models.StorageAccount:
|
666
609
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -680,17 +623,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
680
623
|
lower-case letters only. Required.
|
681
624
|
:type account_name: str
|
682
625
|
:param parameters: The parameters to provide for the updated account. Is either a
|
683
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
684
|
-
:type parameters: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountUpdateParameters or
|
685
|
-
|
686
|
-
Default value is None.
|
687
|
-
:paramtype content_type: str
|
688
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
626
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
627
|
+
:type parameters: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountUpdateParameters or
|
628
|
+
IO[bytes]
|
689
629
|
:return: StorageAccount or the result of cls(response)
|
690
630
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccount
|
691
631
|
:raises ~azure.core.exceptions.HttpResponseError:
|
692
632
|
"""
|
693
|
-
error_map = {
|
633
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
694
634
|
401: ClientAuthenticationError,
|
695
635
|
404: ResourceNotFoundError,
|
696
636
|
409: ResourceExistsError,
|
@@ -713,7 +653,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
713
653
|
else:
|
714
654
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
715
655
|
|
716
|
-
|
656
|
+
_request = build_update_request(
|
717
657
|
resource_group_name=resource_group_name,
|
718
658
|
account_name=account_name,
|
719
659
|
subscription_id=self._config.subscription_id,
|
@@ -721,16 +661,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
721
661
|
content_type=content_type,
|
722
662
|
json=_json,
|
723
663
|
content=_content,
|
724
|
-
template_url=self.update.metadata["url"],
|
725
664
|
headers=_headers,
|
726
665
|
params=_params,
|
727
666
|
)
|
728
|
-
|
729
|
-
|
667
|
+
_request = _convert_request(_request)
|
668
|
+
_request.url = self._client.format_url(_request.url)
|
730
669
|
|
731
670
|
_stream = False
|
732
671
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
733
|
-
|
672
|
+
_request, stream=_stream, **kwargs
|
734
673
|
)
|
735
674
|
|
736
675
|
response = pipeline_response.http_response
|
@@ -742,20 +681,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
742
681
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
743
682
|
|
744
683
|
if cls:
|
745
|
-
return cls(pipeline_response, deserialized, {})
|
746
|
-
|
747
|
-
return deserialized
|
684
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
748
685
|
|
749
|
-
|
750
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
751
|
-
}
|
686
|
+
return deserialized # type: ignore
|
752
687
|
|
753
688
|
@distributed_trace
|
754
689
|
def list(self, **kwargs: Any) -> AsyncIterable["_models.StorageAccount"]:
|
755
690
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
756
691
|
returned; use the ListKeys operation for this.
|
757
692
|
|
758
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
759
693
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
760
694
|
:rtype:
|
761
695
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2022_05_01.models.StorageAccount]
|
@@ -767,7 +701,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
767
701
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
|
768
702
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
769
703
|
|
770
|
-
error_map = {
|
704
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
771
705
|
401: ClientAuthenticationError,
|
772
706
|
404: ResourceNotFoundError,
|
773
707
|
409: ResourceExistsError,
|
@@ -778,15 +712,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
778
712
|
def prepare_request(next_link=None):
|
779
713
|
if not next_link:
|
780
714
|
|
781
|
-
|
715
|
+
_request = build_list_request(
|
782
716
|
subscription_id=self._config.subscription_id,
|
783
717
|
api_version=api_version,
|
784
|
-
template_url=self.list.metadata["url"],
|
785
718
|
headers=_headers,
|
786
719
|
params=_params,
|
787
720
|
)
|
788
|
-
|
789
|
-
|
721
|
+
_request = _convert_request(_request)
|
722
|
+
_request.url = self._client.format_url(_request.url)
|
790
723
|
|
791
724
|
else:
|
792
725
|
# make call to next link with the client's api-version
|
@@ -797,14 +730,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
797
730
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
798
731
|
}
|
799
732
|
)
|
800
|
-
_next_request_params["api-version"] = self.
|
801
|
-
|
733
|
+
_next_request_params["api-version"] = self._api_version
|
734
|
+
_request = HttpRequest(
|
802
735
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
803
736
|
)
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
return
|
737
|
+
_request = _convert_request(_request)
|
738
|
+
_request.url = self._client.format_url(_request.url)
|
739
|
+
_request.method = "GET"
|
740
|
+
return _request
|
808
741
|
|
809
742
|
async def extract_data(pipeline_response):
|
810
743
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -814,11 +747,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
814
747
|
return deserialized.next_link or None, AsyncList(list_of_elem)
|
815
748
|
|
816
749
|
async def get_next(next_link=None):
|
817
|
-
|
750
|
+
_request = prepare_request(next_link)
|
818
751
|
|
819
752
|
_stream = False
|
820
753
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
821
|
-
|
754
|
+
_request, stream=_stream, **kwargs
|
822
755
|
)
|
823
756
|
response = pipeline_response.http_response
|
824
757
|
|
@@ -830,8 +763,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
830
763
|
|
831
764
|
return AsyncItemPaged(get_next, extract_data)
|
832
765
|
|
833
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
834
|
-
|
835
766
|
@distributed_trace
|
836
767
|
def list_by_resource_group(
|
837
768
|
self, resource_group_name: str, **kwargs: Any
|
@@ -842,7 +773,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
842
773
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
843
774
|
name is case insensitive. Required.
|
844
775
|
:type resource_group_name: str
|
845
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
846
776
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
847
777
|
:rtype:
|
848
778
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2022_05_01.models.StorageAccount]
|
@@ -854,7 +784,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
854
784
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
|
855
785
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
856
786
|
|
857
|
-
error_map = {
|
787
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
858
788
|
401: ClientAuthenticationError,
|
859
789
|
404: ResourceNotFoundError,
|
860
790
|
409: ResourceExistsError,
|
@@ -865,16 +795,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
865
795
|
def prepare_request(next_link=None):
|
866
796
|
if not next_link:
|
867
797
|
|
868
|
-
|
798
|
+
_request = build_list_by_resource_group_request(
|
869
799
|
resource_group_name=resource_group_name,
|
870
800
|
subscription_id=self._config.subscription_id,
|
871
801
|
api_version=api_version,
|
872
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
873
802
|
headers=_headers,
|
874
803
|
params=_params,
|
875
804
|
)
|
876
|
-
|
877
|
-
|
805
|
+
_request = _convert_request(_request)
|
806
|
+
_request.url = self._client.format_url(_request.url)
|
878
807
|
|
879
808
|
else:
|
880
809
|
# make call to next link with the client's api-version
|
@@ -885,14 +814,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
885
814
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
886
815
|
}
|
887
816
|
)
|
888
|
-
_next_request_params["api-version"] = self.
|
889
|
-
|
817
|
+
_next_request_params["api-version"] = self._api_version
|
818
|
+
_request = HttpRequest(
|
890
819
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
891
820
|
)
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
return
|
821
|
+
_request = _convert_request(_request)
|
822
|
+
_request.url = self._client.format_url(_request.url)
|
823
|
+
_request.method = "GET"
|
824
|
+
return _request
|
896
825
|
|
897
826
|
async def extract_data(pipeline_response):
|
898
827
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -902,11 +831,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
902
831
|
return deserialized.next_link or None, AsyncList(list_of_elem)
|
903
832
|
|
904
833
|
async def get_next(next_link=None):
|
905
|
-
|
834
|
+
_request = prepare_request(next_link)
|
906
835
|
|
907
836
|
_stream = False
|
908
837
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
909
|
-
|
838
|
+
_request, stream=_stream, **kwargs
|
910
839
|
)
|
911
840
|
response = pipeline_response.http_response
|
912
841
|
|
@@ -918,10 +847,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
918
847
|
|
919
848
|
return AsyncItemPaged(get_next, extract_data)
|
920
849
|
|
921
|
-
list_by_resource_group.metadata = {
|
922
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
923
|
-
}
|
924
|
-
|
925
850
|
@distributed_trace_async
|
926
851
|
async def list_keys(
|
927
852
|
self, resource_group_name: str, account_name: str, expand: Literal["kerb"] = "kerb", **kwargs: Any
|
@@ -939,12 +864,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
939
864
|
:param expand: Specifies type of the key to be listed. Possible value is kerb. Known values are
|
940
865
|
"kerb" and None. Default value is "kerb".
|
941
866
|
:type expand: str
|
942
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
943
867
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
944
868
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountListKeysResult
|
945
869
|
:raises ~azure.core.exceptions.HttpResponseError:
|
946
870
|
"""
|
947
|
-
error_map = {
|
871
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
948
872
|
401: ClientAuthenticationError,
|
949
873
|
404: ResourceNotFoundError,
|
950
874
|
409: ResourceExistsError,
|
@@ -958,22 +882,21 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
958
882
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
|
959
883
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
960
884
|
|
961
|
-
|
885
|
+
_request = build_list_keys_request(
|
962
886
|
resource_group_name=resource_group_name,
|
963
887
|
account_name=account_name,
|
964
888
|
subscription_id=self._config.subscription_id,
|
965
889
|
expand=expand,
|
966
890
|
api_version=api_version,
|
967
|
-
template_url=self.list_keys.metadata["url"],
|
968
891
|
headers=_headers,
|
969
892
|
params=_params,
|
970
893
|
)
|
971
|
-
|
972
|
-
|
894
|
+
_request = _convert_request(_request)
|
895
|
+
_request.url = self._client.format_url(_request.url)
|
973
896
|
|
974
897
|
_stream = False
|
975
898
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
976
|
-
|
899
|
+
_request, stream=_stream, **kwargs
|
977
900
|
)
|
978
901
|
|
979
902
|
response = pipeline_response.http_response
|
@@ -985,13 +908,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
985
908
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
986
909
|
|
987
910
|
if cls:
|
988
|
-
return cls(pipeline_response, deserialized, {})
|
989
|
-
|
990
|
-
return deserialized
|
911
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
991
912
|
|
992
|
-
|
993
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
994
|
-
}
|
913
|
+
return deserialized # type: ignore
|
995
914
|
|
996
915
|
@overload
|
997
916
|
async def regenerate_key(
|
@@ -1019,7 +938,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1019
938
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1020
939
|
Default value is "application/json".
|
1021
940
|
:paramtype content_type: str
|
1022
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1023
941
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1024
942
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountListKeysResult
|
1025
943
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1030,7 +948,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1030
948
|
self,
|
1031
949
|
resource_group_name: str,
|
1032
950
|
account_name: str,
|
1033
|
-
regenerate_key: IO,
|
951
|
+
regenerate_key: IO[bytes],
|
1034
952
|
*,
|
1035
953
|
content_type: str = "application/json",
|
1036
954
|
**kwargs: Any
|
@@ -1046,11 +964,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1046
964
|
:type account_name: str
|
1047
965
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1048
966
|
kerb1, kerb2. Required.
|
1049
|
-
:type regenerate_key: IO
|
967
|
+
:type regenerate_key: IO[bytes]
|
1050
968
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1051
969
|
Default value is "application/json".
|
1052
970
|
:paramtype content_type: str
|
1053
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1054
971
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1055
972
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountListKeysResult
|
1056
973
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1061,7 +978,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1061
978
|
self,
|
1062
979
|
resource_group_name: str,
|
1063
980
|
account_name: str,
|
1064
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
981
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1065
982
|
**kwargs: Any
|
1066
983
|
) -> _models.StorageAccountListKeysResult:
|
1067
984
|
"""Regenerates one of the access keys or Kerberos keys for the specified storage account.
|
@@ -1074,18 +991,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1074
991
|
lower-case letters only. Required.
|
1075
992
|
:type account_name: str
|
1076
993
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1077
|
-
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO type.
|
994
|
+
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
|
995
|
+
Required.
|
1078
996
|
:type regenerate_key:
|
1079
|
-
~azure.mgmt.storage.v2022_05_01.models.StorageAccountRegenerateKeyParameters or IO
|
1080
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1081
|
-
Default value is None.
|
1082
|
-
:paramtype content_type: str
|
1083
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
997
|
+
~azure.mgmt.storage.v2022_05_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
|
1084
998
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1085
999
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountListKeysResult
|
1086
1000
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1087
1001
|
"""
|
1088
|
-
error_map = {
|
1002
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1089
1003
|
401: ClientAuthenticationError,
|
1090
1004
|
404: ResourceNotFoundError,
|
1091
1005
|
409: ResourceExistsError,
|
@@ -1108,7 +1022,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1108
1022
|
else:
|
1109
1023
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1110
1024
|
|
1111
|
-
|
1025
|
+
_request = build_regenerate_key_request(
|
1112
1026
|
resource_group_name=resource_group_name,
|
1113
1027
|
account_name=account_name,
|
1114
1028
|
subscription_id=self._config.subscription_id,
|
@@ -1116,16 +1030,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1116
1030
|
content_type=content_type,
|
1117
1031
|
json=_json,
|
1118
1032
|
content=_content,
|
1119
|
-
template_url=self.regenerate_key.metadata["url"],
|
1120
1033
|
headers=_headers,
|
1121
1034
|
params=_params,
|
1122
1035
|
)
|
1123
|
-
|
1124
|
-
|
1036
|
+
_request = _convert_request(_request)
|
1037
|
+
_request.url = self._client.format_url(_request.url)
|
1125
1038
|
|
1126
1039
|
_stream = False
|
1127
1040
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1128
|
-
|
1041
|
+
_request, stream=_stream, **kwargs
|
1129
1042
|
)
|
1130
1043
|
|
1131
1044
|
response = pipeline_response.http_response
|
@@ -1137,13 +1050,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1137
1050
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1138
1051
|
|
1139
1052
|
if cls:
|
1140
|
-
return cls(pipeline_response, deserialized, {})
|
1141
|
-
|
1142
|
-
return deserialized
|
1053
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1143
1054
|
|
1144
|
-
|
1145
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1146
|
-
}
|
1055
|
+
return deserialized # type: ignore
|
1147
1056
|
|
1148
1057
|
@overload
|
1149
1058
|
async def list_account_sas(
|
@@ -1170,7 +1079,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1170
1079
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1171
1080
|
Default value is "application/json".
|
1172
1081
|
:paramtype content_type: str
|
1173
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1174
1082
|
:return: ListAccountSasResponse or the result of cls(response)
|
1175
1083
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.ListAccountSasResponse
|
1176
1084
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1181,7 +1089,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1181
1089
|
self,
|
1182
1090
|
resource_group_name: str,
|
1183
1091
|
account_name: str,
|
1184
|
-
parameters: IO,
|
1092
|
+
parameters: IO[bytes],
|
1185
1093
|
*,
|
1186
1094
|
content_type: str = "application/json",
|
1187
1095
|
**kwargs: Any
|
@@ -1197,11 +1105,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1197
1105
|
:type account_name: str
|
1198
1106
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1199
1107
|
Required.
|
1200
|
-
:type parameters: IO
|
1108
|
+
:type parameters: IO[bytes]
|
1201
1109
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1202
1110
|
Default value is "application/json".
|
1203
1111
|
:paramtype content_type: str
|
1204
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1205
1112
|
:return: ListAccountSasResponse or the result of cls(response)
|
1206
1113
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.ListAccountSasResponse
|
1207
1114
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1212,7 +1119,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1212
1119
|
self,
|
1213
1120
|
resource_group_name: str,
|
1214
1121
|
account_name: str,
|
1215
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1122
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1216
1123
|
**kwargs: Any
|
1217
1124
|
) -> _models.ListAccountSasResponse:
|
1218
1125
|
"""List SAS credentials of a storage account.
|
@@ -1225,17 +1132,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1225
1132
|
lower-case letters only. Required.
|
1226
1133
|
:type account_name: str
|
1227
1134
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1228
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1229
|
-
:type parameters: ~azure.mgmt.storage.v2022_05_01.models.AccountSasParameters or IO
|
1230
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1231
|
-
Default value is None.
|
1232
|
-
:paramtype content_type: str
|
1233
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1135
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1136
|
+
:type parameters: ~azure.mgmt.storage.v2022_05_01.models.AccountSasParameters or IO[bytes]
|
1234
1137
|
:return: ListAccountSasResponse or the result of cls(response)
|
1235
1138
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.ListAccountSasResponse
|
1236
1139
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1237
1140
|
"""
|
1238
|
-
error_map = {
|
1141
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1239
1142
|
401: ClientAuthenticationError,
|
1240
1143
|
404: ResourceNotFoundError,
|
1241
1144
|
409: ResourceExistsError,
|
@@ -1258,7 +1161,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1258
1161
|
else:
|
1259
1162
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1260
1163
|
|
1261
|
-
|
1164
|
+
_request = build_list_account_sas_request(
|
1262
1165
|
resource_group_name=resource_group_name,
|
1263
1166
|
account_name=account_name,
|
1264
1167
|
subscription_id=self._config.subscription_id,
|
@@ -1266,16 +1169,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1266
1169
|
content_type=content_type,
|
1267
1170
|
json=_json,
|
1268
1171
|
content=_content,
|
1269
|
-
template_url=self.list_account_sas.metadata["url"],
|
1270
1172
|
headers=_headers,
|
1271
1173
|
params=_params,
|
1272
1174
|
)
|
1273
|
-
|
1274
|
-
|
1175
|
+
_request = _convert_request(_request)
|
1176
|
+
_request.url = self._client.format_url(_request.url)
|
1275
1177
|
|
1276
1178
|
_stream = False
|
1277
1179
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1278
|
-
|
1180
|
+
_request, stream=_stream, **kwargs
|
1279
1181
|
)
|
1280
1182
|
|
1281
1183
|
response = pipeline_response.http_response
|
@@ -1287,13 +1189,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1287
1189
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1288
1190
|
|
1289
1191
|
if cls:
|
1290
|
-
return cls(pipeline_response, deserialized, {})
|
1291
|
-
|
1292
|
-
return deserialized
|
1192
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1293
1193
|
|
1294
|
-
|
1295
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1296
|
-
}
|
1194
|
+
return deserialized # type: ignore
|
1297
1195
|
|
1298
1196
|
@overload
|
1299
1197
|
async def list_service_sas(
|
@@ -1319,7 +1217,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1319
1217
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1320
1218
|
Default value is "application/json".
|
1321
1219
|
:paramtype content_type: str
|
1322
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1323
1220
|
:return: ListServiceSasResponse or the result of cls(response)
|
1324
1221
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.ListServiceSasResponse
|
1325
1222
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1330,7 +1227,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1330
1227
|
self,
|
1331
1228
|
resource_group_name: str,
|
1332
1229
|
account_name: str,
|
1333
|
-
parameters: IO,
|
1230
|
+
parameters: IO[bytes],
|
1334
1231
|
*,
|
1335
1232
|
content_type: str = "application/json",
|
1336
1233
|
**kwargs: Any
|
@@ -1345,11 +1242,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1345
1242
|
lower-case letters only. Required.
|
1346
1243
|
:type account_name: str
|
1347
1244
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1348
|
-
:type parameters: IO
|
1245
|
+
:type parameters: IO[bytes]
|
1349
1246
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1350
1247
|
Default value is "application/json".
|
1351
1248
|
:paramtype content_type: str
|
1352
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1353
1249
|
:return: ListServiceSasResponse or the result of cls(response)
|
1354
1250
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.ListServiceSasResponse
|
1355
1251
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1360,7 +1256,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1360
1256
|
self,
|
1361
1257
|
resource_group_name: str,
|
1362
1258
|
account_name: str,
|
1363
|
-
parameters: Union[_models.ServiceSasParameters, IO],
|
1259
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1364
1260
|
**kwargs: Any
|
1365
1261
|
) -> _models.ListServiceSasResponse:
|
1366
1262
|
"""List service SAS credentials of a specific resource.
|
@@ -1373,17 +1269,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1373
1269
|
lower-case letters only. Required.
|
1374
1270
|
:type account_name: str
|
1375
1271
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1376
|
-
ServiceSasParameters type or a IO type. Required.
|
1377
|
-
:type parameters: ~azure.mgmt.storage.v2022_05_01.models.ServiceSasParameters or IO
|
1378
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1379
|
-
Default value is None.
|
1380
|
-
:paramtype content_type: str
|
1381
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1272
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1273
|
+
:type parameters: ~azure.mgmt.storage.v2022_05_01.models.ServiceSasParameters or IO[bytes]
|
1382
1274
|
:return: ListServiceSasResponse or the result of cls(response)
|
1383
1275
|
:rtype: ~azure.mgmt.storage.v2022_05_01.models.ListServiceSasResponse
|
1384
1276
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1385
1277
|
"""
|
1386
|
-
error_map = {
|
1278
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1387
1279
|
401: ClientAuthenticationError,
|
1388
1280
|
404: ResourceNotFoundError,
|
1389
1281
|
409: ResourceExistsError,
|
@@ -1406,7 +1298,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1406
1298
|
else:
|
1407
1299
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1408
1300
|
|
1409
|
-
|
1301
|
+
_request = build_list_service_sas_request(
|
1410
1302
|
resource_group_name=resource_group_name,
|
1411
1303
|
account_name=account_name,
|
1412
1304
|
subscription_id=self._config.subscription_id,
|
@@ -1414,16 +1306,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1414
1306
|
content_type=content_type,
|
1415
1307
|
json=_json,
|
1416
1308
|
content=_content,
|
1417
|
-
template_url=self.list_service_sas.metadata["url"],
|
1418
1309
|
headers=_headers,
|
1419
1310
|
params=_params,
|
1420
1311
|
)
|
1421
|
-
|
1422
|
-
|
1312
|
+
_request = _convert_request(_request)
|
1313
|
+
_request.url = self._client.format_url(_request.url)
|
1423
1314
|
|
1424
1315
|
_stream = False
|
1425
1316
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1426
|
-
|
1317
|
+
_request, stream=_stream, **kwargs
|
1427
1318
|
)
|
1428
1319
|
|
1429
1320
|
response = pipeline_response.http_response
|
@@ -1435,18 +1326,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1435
1326
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1436
1327
|
|
1437
1328
|
if cls:
|
1438
|
-
return cls(pipeline_response, deserialized, {})
|
1439
|
-
|
1440
|
-
return deserialized
|
1329
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1441
1330
|
|
1442
|
-
|
1443
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1444
|
-
}
|
1331
|
+
return deserialized # type: ignore
|
1445
1332
|
|
1446
1333
|
async def _failover_initial( # pylint: disable=inconsistent-return-statements
|
1447
1334
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1448
1335
|
) -> None:
|
1449
|
-
error_map = {
|
1336
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1450
1337
|
401: ClientAuthenticationError,
|
1451
1338
|
404: ResourceNotFoundError,
|
1452
1339
|
409: ResourceExistsError,
|
@@ -1460,21 +1347,20 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1460
1347
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
|
1461
1348
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1462
1349
|
|
1463
|
-
|
1350
|
+
_request = build_failover_request(
|
1464
1351
|
resource_group_name=resource_group_name,
|
1465
1352
|
account_name=account_name,
|
1466
1353
|
subscription_id=self._config.subscription_id,
|
1467
1354
|
api_version=api_version,
|
1468
|
-
template_url=self._failover_initial.metadata["url"],
|
1469
1355
|
headers=_headers,
|
1470
1356
|
params=_params,
|
1471
1357
|
)
|
1472
|
-
|
1473
|
-
|
1358
|
+
_request = _convert_request(_request)
|
1359
|
+
_request.url = self._client.format_url(_request.url)
|
1474
1360
|
|
1475
1361
|
_stream = False
|
1476
1362
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1477
|
-
|
1363
|
+
_request, stream=_stream, **kwargs
|
1478
1364
|
)
|
1479
1365
|
|
1480
1366
|
response = pipeline_response.http_response
|
@@ -1484,11 +1370,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1484
1370
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1485
1371
|
|
1486
1372
|
if cls:
|
1487
|
-
return cls(pipeline_response, None, {})
|
1488
|
-
|
1489
|
-
_failover_initial.metadata = {
|
1490
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1491
|
-
}
|
1373
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1492
1374
|
|
1493
1375
|
@distributed_trace_async
|
1494
1376
|
async def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> AsyncLROPoller[None]:
|
@@ -1503,14 +1385,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1503
1385
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1504
1386
|
lower-case letters only. Required.
|
1505
1387
|
:type account_name: str
|
1506
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1507
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1508
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1509
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1510
|
-
polling strategy.
|
1511
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1512
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1513
|
-
Retry-After header is present.
|
1514
1388
|
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
|
1515
1389
|
:rtype: ~azure.core.polling.AsyncLROPoller[None]
|
1516
1390
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1537,7 +1411,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1537
1411
|
|
1538
1412
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
1539
1413
|
if cls:
|
1540
|
-
return cls(pipeline_response, None, {})
|
1414
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1541
1415
|
|
1542
1416
|
if polling is True:
|
1543
1417
|
polling_method: AsyncPollingMethod = cast(
|
@@ -1548,22 +1422,18 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1548
1422
|
else:
|
1549
1423
|
polling_method = polling
|
1550
1424
|
if cont_token:
|
1551
|
-
return AsyncLROPoller.from_continuation_token(
|
1425
|
+
return AsyncLROPoller[None].from_continuation_token(
|
1552
1426
|
polling_method=polling_method,
|
1553
1427
|
continuation_token=cont_token,
|
1554
1428
|
client=self._client,
|
1555
1429
|
deserialization_callback=get_long_running_output,
|
1556
1430
|
)
|
1557
|
-
return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1558
|
-
|
1559
|
-
begin_failover.metadata = {
|
1560
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1561
|
-
}
|
1431
|
+
return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1562
1432
|
|
1563
|
-
async def _hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements
|
1433
|
+
async def _hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements,name-too-long
|
1564
1434
|
self, resource_group_name: str, account_name: str, request_type: str, **kwargs: Any
|
1565
1435
|
) -> None:
|
1566
|
-
error_map = {
|
1436
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1567
1437
|
401: ClientAuthenticationError,
|
1568
1438
|
404: ResourceNotFoundError,
|
1569
1439
|
409: ResourceExistsError,
|
@@ -1577,22 +1447,21 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1577
1447
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
|
1578
1448
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1579
1449
|
|
1580
|
-
|
1450
|
+
_request = build_hierarchical_namespace_migration_request(
|
1581
1451
|
resource_group_name=resource_group_name,
|
1582
1452
|
account_name=account_name,
|
1583
1453
|
subscription_id=self._config.subscription_id,
|
1584
1454
|
request_type=request_type,
|
1585
1455
|
api_version=api_version,
|
1586
|
-
template_url=self._hierarchical_namespace_migration_initial.metadata["url"],
|
1587
1456
|
headers=_headers,
|
1588
1457
|
params=_params,
|
1589
1458
|
)
|
1590
|
-
|
1591
|
-
|
1459
|
+
_request = _convert_request(_request)
|
1460
|
+
_request.url = self._client.format_url(_request.url)
|
1592
1461
|
|
1593
1462
|
_stream = False
|
1594
1463
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1595
|
-
|
1464
|
+
_request, stream=_stream, **kwargs
|
1596
1465
|
)
|
1597
1466
|
|
1598
1467
|
response = pipeline_response.http_response
|
@@ -1603,11 +1472,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1603
1472
|
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
|
1604
1473
|
|
1605
1474
|
if cls:
|
1606
|
-
return cls(pipeline_response, None, {})
|
1607
|
-
|
1608
|
-
_hierarchical_namespace_migration_initial.metadata = {
|
1609
|
-
"url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration"
|
1610
|
-
}
|
1475
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1611
1476
|
|
1612
1477
|
@distributed_trace_async
|
1613
1478
|
async def begin_hierarchical_namespace_migration(
|
@@ -1627,14 +1492,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1627
1492
|
'HnsOnHydrationRequest'. The validation request will validate the migration whereas the
|
1628
1493
|
hydration request will migrate the account. Required.
|
1629
1494
|
:type request_type: str
|
1630
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1631
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1632
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1633
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1634
|
-
polling strategy.
|
1635
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1636
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1637
|
-
Retry-After header is present.
|
1638
1495
|
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
|
1639
1496
|
:rtype: ~azure.core.polling.AsyncLROPoller[None]
|
1640
1497
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1662,7 +1519,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1662
1519
|
|
1663
1520
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
1664
1521
|
if cls:
|
1665
|
-
return cls(pipeline_response, None, {})
|
1522
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1666
1523
|
|
1667
1524
|
if polling is True:
|
1668
1525
|
polling_method: AsyncPollingMethod = cast(
|
@@ -1673,22 +1530,18 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1673
1530
|
else:
|
1674
1531
|
polling_method = polling
|
1675
1532
|
if cont_token:
|
1676
|
-
return AsyncLROPoller.from_continuation_token(
|
1533
|
+
return AsyncLROPoller[None].from_continuation_token(
|
1677
1534
|
polling_method=polling_method,
|
1678
1535
|
continuation_token=cont_token,
|
1679
1536
|
client=self._client,
|
1680
1537
|
deserialization_callback=get_long_running_output,
|
1681
1538
|
)
|
1682
|
-
return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1539
|
+
return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1683
1540
|
|
1684
|
-
|
1685
|
-
"url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration"
|
1686
|
-
}
|
1687
|
-
|
1688
|
-
async def _abort_hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements
|
1541
|
+
async def _abort_hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements,name-too-long
|
1689
1542
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1690
1543
|
) -> None:
|
1691
|
-
error_map = {
|
1544
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1692
1545
|
401: ClientAuthenticationError,
|
1693
1546
|
404: ResourceNotFoundError,
|
1694
1547
|
409: ResourceExistsError,
|
@@ -1702,21 +1555,20 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1702
1555
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
|
1703
1556
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1704
1557
|
|
1705
|
-
|
1558
|
+
_request = build_abort_hierarchical_namespace_migration_request(
|
1706
1559
|
resource_group_name=resource_group_name,
|
1707
1560
|
account_name=account_name,
|
1708
1561
|
subscription_id=self._config.subscription_id,
|
1709
1562
|
api_version=api_version,
|
1710
|
-
template_url=self._abort_hierarchical_namespace_migration_initial.metadata["url"],
|
1711
1563
|
headers=_headers,
|
1712
1564
|
params=_params,
|
1713
1565
|
)
|
1714
|
-
|
1715
|
-
|
1566
|
+
_request = _convert_request(_request)
|
1567
|
+
_request.url = self._client.format_url(_request.url)
|
1716
1568
|
|
1717
1569
|
_stream = False
|
1718
1570
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1719
|
-
|
1571
|
+
_request, stream=_stream, **kwargs
|
1720
1572
|
)
|
1721
1573
|
|
1722
1574
|
response = pipeline_response.http_response
|
@@ -1727,14 +1579,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1727
1579
|
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
|
1728
1580
|
|
1729
1581
|
if cls:
|
1730
|
-
return cls(pipeline_response, None, {})
|
1731
|
-
|
1732
|
-
_abort_hierarchical_namespace_migration_initial.metadata = {
|
1733
|
-
"url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration"
|
1734
|
-
}
|
1582
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1735
1583
|
|
1736
1584
|
@distributed_trace_async
|
1737
|
-
async def begin_abort_hierarchical_namespace_migration(
|
1585
|
+
async def begin_abort_hierarchical_namespace_migration( # pylint: disable=name-too-long
|
1738
1586
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1739
1587
|
) -> AsyncLROPoller[None]:
|
1740
1588
|
"""Abort live Migration of storage account to enable Hns.
|
@@ -1746,14 +1594,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1746
1594
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1747
1595
|
lower-case letters only. Required.
|
1748
1596
|
:type account_name: str
|
1749
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1750
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1751
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1752
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1753
|
-
polling strategy.
|
1754
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1755
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1756
|
-
Retry-After header is present.
|
1757
1597
|
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
|
1758
1598
|
:rtype: ~azure.core.polling.AsyncLROPoller[None]
|
1759
1599
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1780,7 +1620,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1780
1620
|
|
1781
1621
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
1782
1622
|
if cls:
|
1783
|
-
return cls(pipeline_response, None, {})
|
1623
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1784
1624
|
|
1785
1625
|
if polling is True:
|
1786
1626
|
polling_method: AsyncPollingMethod = cast(
|
@@ -1791,26 +1631,22 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1791
1631
|
else:
|
1792
1632
|
polling_method = polling
|
1793
1633
|
if cont_token:
|
1794
|
-
return AsyncLROPoller.from_continuation_token(
|
1634
|
+
return AsyncLROPoller[None].from_continuation_token(
|
1795
1635
|
polling_method=polling_method,
|
1796
1636
|
continuation_token=cont_token,
|
1797
1637
|
client=self._client,
|
1798
1638
|
deserialization_callback=get_long_running_output,
|
1799
1639
|
)
|
1800
|
-
return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1801
|
-
|
1802
|
-
begin_abort_hierarchical_namespace_migration.metadata = {
|
1803
|
-
"url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration"
|
1804
|
-
}
|
1640
|
+
return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1805
1641
|
|
1806
1642
|
async def _restore_blob_ranges_initial(
|
1807
1643
|
self,
|
1808
1644
|
resource_group_name: str,
|
1809
1645
|
account_name: str,
|
1810
|
-
parameters: Union[_models.BlobRestoreParameters, IO],
|
1646
|
+
parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
|
1811
1647
|
**kwargs: Any
|
1812
1648
|
) -> _models.BlobRestoreStatus:
|
1813
|
-
error_map = {
|
1649
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1814
1650
|
401: ClientAuthenticationError,
|
1815
1651
|
404: ResourceNotFoundError,
|
1816
1652
|
409: ResourceExistsError,
|
@@ -1833,7 +1669,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1833
1669
|
else:
|
1834
1670
|
_json = self._serialize.body(parameters, "BlobRestoreParameters")
|
1835
1671
|
|
1836
|
-
|
1672
|
+
_request = build_restore_blob_ranges_request(
|
1837
1673
|
resource_group_name=resource_group_name,
|
1838
1674
|
account_name=account_name,
|
1839
1675
|
subscription_id=self._config.subscription_id,
|
@@ -1841,16 +1677,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1841
1677
|
content_type=content_type,
|
1842
1678
|
json=_json,
|
1843
1679
|
content=_content,
|
1844
|
-
template_url=self._restore_blob_ranges_initial.metadata["url"],
|
1845
1680
|
headers=_headers,
|
1846
1681
|
params=_params,
|
1847
1682
|
)
|
1848
|
-
|
1849
|
-
|
1683
|
+
_request = _convert_request(_request)
|
1684
|
+
_request.url = self._client.format_url(_request.url)
|
1850
1685
|
|
1851
1686
|
_stream = False
|
1852
1687
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1853
|
-
|
1688
|
+
_request, stream=_stream, **kwargs
|
1854
1689
|
)
|
1855
1690
|
|
1856
1691
|
response = pipeline_response.http_response
|
@@ -1870,10 +1705,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1870
1705
|
|
1871
1706
|
return deserialized # type: ignore
|
1872
1707
|
|
1873
|
-
_restore_blob_ranges_initial.metadata = {
|
1874
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
|
1875
|
-
}
|
1876
|
-
|
1877
1708
|
@overload
|
1878
1709
|
async def begin_restore_blob_ranges(
|
1879
1710
|
self,
|
@@ -1898,14 +1729,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1898
1729
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1899
1730
|
Default value is "application/json".
|
1900
1731
|
:paramtype content_type: str
|
1901
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1902
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1903
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1904
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1905
|
-
polling strategy.
|
1906
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1907
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1908
|
-
Retry-After header is present.
|
1909
1732
|
:return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
|
1910
1733
|
cls(response)
|
1911
1734
|
:rtype:
|
@@ -1918,7 +1741,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1918
1741
|
self,
|
1919
1742
|
resource_group_name: str,
|
1920
1743
|
account_name: str,
|
1921
|
-
parameters: IO,
|
1744
|
+
parameters: IO[bytes],
|
1922
1745
|
*,
|
1923
1746
|
content_type: str = "application/json",
|
1924
1747
|
**kwargs: Any
|
@@ -1933,18 +1756,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1933
1756
|
lower-case letters only. Required.
|
1934
1757
|
:type account_name: str
|
1935
1758
|
:param parameters: The parameters to provide for restore blob ranges. Required.
|
1936
|
-
:type parameters: IO
|
1759
|
+
:type parameters: IO[bytes]
|
1937
1760
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1938
1761
|
Default value is "application/json".
|
1939
1762
|
:paramtype content_type: str
|
1940
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1941
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1942
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1943
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1944
|
-
polling strategy.
|
1945
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1946
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1947
|
-
Retry-After header is present.
|
1948
1763
|
:return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
|
1949
1764
|
cls(response)
|
1950
1765
|
:rtype:
|
@@ -1957,7 +1772,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1957
1772
|
self,
|
1958
1773
|
resource_group_name: str,
|
1959
1774
|
account_name: str,
|
1960
|
-
parameters: Union[_models.BlobRestoreParameters, IO],
|
1775
|
+
parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
|
1961
1776
|
**kwargs: Any
|
1962
1777
|
) -> AsyncLROPoller[_models.BlobRestoreStatus]:
|
1963
1778
|
"""Restore blobs in the specified blob ranges.
|
@@ -1970,19 +1785,8 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1970
1785
|
lower-case letters only. Required.
|
1971
1786
|
:type account_name: str
|
1972
1787
|
:param parameters: The parameters to provide for restore blob ranges. Is either a
|
1973
|
-
BlobRestoreParameters type or a IO type. Required.
|
1974
|
-
:type parameters: ~azure.mgmt.storage.v2022_05_01.models.BlobRestoreParameters or IO
|
1975
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1976
|
-
Default value is None.
|
1977
|
-
:paramtype content_type: str
|
1978
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1979
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1980
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1981
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1982
|
-
polling strategy.
|
1983
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1984
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1985
|
-
Retry-After header is present.
|
1788
|
+
BlobRestoreParameters type or a IO[bytes] type. Required.
|
1789
|
+
:type parameters: ~azure.mgmt.storage.v2022_05_01.models.BlobRestoreParameters or IO[bytes]
|
1986
1790
|
:return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
|
1987
1791
|
cls(response)
|
1988
1792
|
:rtype:
|
@@ -2015,7 +1819,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2015
1819
|
def get_long_running_output(pipeline_response):
|
2016
1820
|
deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
|
2017
1821
|
if cls:
|
2018
|
-
return cls(pipeline_response, deserialized, {})
|
1822
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
2019
1823
|
return deserialized
|
2020
1824
|
|
2021
1825
|
if polling is True:
|
@@ -2027,17 +1831,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2027
1831
|
else:
|
2028
1832
|
polling_method = polling
|
2029
1833
|
if cont_token:
|
2030
|
-
return AsyncLROPoller.from_continuation_token(
|
1834
|
+
return AsyncLROPoller[_models.BlobRestoreStatus].from_continuation_token(
|
2031
1835
|
polling_method=polling_method,
|
2032
1836
|
continuation_token=cont_token,
|
2033
1837
|
client=self._client,
|
2034
1838
|
deserialization_callback=get_long_running_output,
|
2035
1839
|
)
|
2036
|
-
return AsyncLROPoller(
|
2037
|
-
|
2038
|
-
|
2039
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
|
2040
|
-
}
|
1840
|
+
return AsyncLROPoller[_models.BlobRestoreStatus](
|
1841
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
1842
|
+
)
|
2041
1843
|
|
2042
1844
|
@distributed_trace_async
|
2043
1845
|
async def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
|
@@ -2052,12 +1854,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2052
1854
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
2053
1855
|
lower-case letters only. Required.
|
2054
1856
|
:type account_name: str
|
2055
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2056
1857
|
:return: None or the result of cls(response)
|
2057
1858
|
:rtype: None
|
2058
1859
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2059
1860
|
"""
|
2060
|
-
error_map = {
|
1861
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2061
1862
|
401: ClientAuthenticationError,
|
2062
1863
|
404: ResourceNotFoundError,
|
2063
1864
|
409: ResourceExistsError,
|
@@ -2071,21 +1872,20 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2071
1872
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
|
2072
1873
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
2073
1874
|
|
2074
|
-
|
1875
|
+
_request = build_revoke_user_delegation_keys_request(
|
2075
1876
|
resource_group_name=resource_group_name,
|
2076
1877
|
account_name=account_name,
|
2077
1878
|
subscription_id=self._config.subscription_id,
|
2078
1879
|
api_version=api_version,
|
2079
|
-
template_url=self.revoke_user_delegation_keys.metadata["url"],
|
2080
1880
|
headers=_headers,
|
2081
1881
|
params=_params,
|
2082
1882
|
)
|
2083
|
-
|
2084
|
-
|
1883
|
+
_request = _convert_request(_request)
|
1884
|
+
_request.url = self._client.format_url(_request.url)
|
2085
1885
|
|
2086
1886
|
_stream = False
|
2087
1887
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
2088
|
-
|
1888
|
+
_request, stream=_stream, **kwargs
|
2089
1889
|
)
|
2090
1890
|
|
2091
1891
|
response = pipeline_response.http_response
|
@@ -2095,8 +1895,4 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2095
1895
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
2096
1896
|
|
2097
1897
|
if cls:
|
2098
|
-
return cls(pipeline_response, None, {})
|
2099
|
-
|
2100
|
-
revoke_user_delegation_keys.metadata = {
|
2101
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
|
2102
|
-
}
|
1898
|
+
return cls(pipeline_response, None, {}) # type: ignore
|