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, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload
|
11
|
+
from typing import Any, Callable, Dict, IO, Iterable, Literal, Optional, Type, TypeVar, Union, cast, overload
|
12
12
|
import urllib.parse
|
13
13
|
|
14
14
|
from azure.core.exceptions import (
|
@@ -33,10 +33,10 @@ from .. import models as _models
|
|
33
33
|
from ..._serialization import Serializer
|
34
34
|
from .._vendor import _convert_request
|
35
35
|
|
36
|
-
if sys.version_info >= (3,
|
37
|
-
from
|
36
|
+
if sys.version_info >= (3, 9):
|
37
|
+
from collections.abc import MutableMapping
|
38
38
|
else:
|
39
|
-
from
|
39
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
40
40
|
T = TypeVar("T")
|
41
41
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
|
42
42
|
|
@@ -477,7 +477,7 @@ def build_restore_blob_ranges_request(
|
|
477
477
|
return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
|
478
478
|
|
479
479
|
|
480
|
-
def build_revoke_user_delegation_keys_request(
|
480
|
+
def build_revoke_user_delegation_keys_request( # pylint: disable=name-too-long
|
481
481
|
resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
|
482
482
|
) -> HttpRequest:
|
483
483
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
@@ -542,7 +542,6 @@ class StorageAccountsOperations:
|
|
542
542
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
543
543
|
Default value is "application/json".
|
544
544
|
:paramtype content_type: str
|
545
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
546
545
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
547
546
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.CheckNameAvailabilityResult
|
548
547
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -550,18 +549,17 @@ class StorageAccountsOperations:
|
|
550
549
|
|
551
550
|
@overload
|
552
551
|
def check_name_availability(
|
553
|
-
self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
|
552
|
+
self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
|
554
553
|
) -> _models.CheckNameAvailabilityResult:
|
555
554
|
"""Checks that the storage account name is valid and is not already in use.
|
556
555
|
|
557
556
|
:param account_name: The name of the storage account within the specified resource group.
|
558
557
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
559
558
|
lower-case letters only. Required.
|
560
|
-
:type account_name: IO
|
559
|
+
:type account_name: IO[bytes]
|
561
560
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
562
561
|
Default value is "application/json".
|
563
562
|
:paramtype content_type: str
|
564
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
565
563
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
566
564
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.CheckNameAvailabilityResult
|
567
565
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -569,26 +567,22 @@ class StorageAccountsOperations:
|
|
569
567
|
|
570
568
|
@distributed_trace
|
571
569
|
def check_name_availability(
|
572
|
-
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
|
570
|
+
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
|
573
571
|
) -> _models.CheckNameAvailabilityResult:
|
574
572
|
"""Checks that the storage account name is valid and is not already in use.
|
575
573
|
|
576
574
|
:param account_name: The name of the storage account within the specified resource group.
|
577
575
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
578
|
-
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
579
|
-
type. Required.
|
576
|
+
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
577
|
+
IO[bytes] type. Required.
|
580
578
|
:type account_name:
|
581
579
|
~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountCheckNameAvailabilityParameters or
|
582
|
-
IO
|
583
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
584
|
-
Default value is None.
|
585
|
-
:paramtype content_type: str
|
586
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
580
|
+
IO[bytes]
|
587
581
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
588
582
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.CheckNameAvailabilityResult
|
589
583
|
:raises ~azure.core.exceptions.HttpResponseError:
|
590
584
|
"""
|
591
|
-
error_map = {
|
585
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
592
586
|
401: ClientAuthenticationError,
|
593
587
|
404: ResourceNotFoundError,
|
594
588
|
409: ResourceExistsError,
|
@@ -613,22 +607,21 @@ class StorageAccountsOperations:
|
|
613
607
|
else:
|
614
608
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
615
609
|
|
616
|
-
|
610
|
+
_request = build_check_name_availability_request(
|
617
611
|
subscription_id=self._config.subscription_id,
|
618
612
|
api_version=api_version,
|
619
613
|
content_type=content_type,
|
620
614
|
json=_json,
|
621
615
|
content=_content,
|
622
|
-
template_url=self.check_name_availability.metadata["url"],
|
623
616
|
headers=_headers,
|
624
617
|
params=_params,
|
625
618
|
)
|
626
|
-
|
627
|
-
|
619
|
+
_request = _convert_request(_request)
|
620
|
+
_request.url = self._client.format_url(_request.url)
|
628
621
|
|
629
622
|
_stream = False
|
630
623
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
631
|
-
|
624
|
+
_request, stream=_stream, **kwargs
|
632
625
|
)
|
633
626
|
|
634
627
|
response = pipeline_response.http_response
|
@@ -640,22 +633,18 @@ class StorageAccountsOperations:
|
|
640
633
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
641
634
|
|
642
635
|
if cls:
|
643
|
-
return cls(pipeline_response, deserialized, {})
|
644
|
-
|
645
|
-
return deserialized
|
636
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
646
637
|
|
647
|
-
|
648
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
649
|
-
}
|
638
|
+
return deserialized # type: ignore
|
650
639
|
|
651
640
|
def _create_initial(
|
652
641
|
self,
|
653
642
|
resource_group_name: str,
|
654
643
|
account_name: str,
|
655
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
644
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
656
645
|
**kwargs: Any
|
657
646
|
) -> Optional[_models.StorageAccount]:
|
658
|
-
error_map = {
|
647
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
659
648
|
401: ClientAuthenticationError,
|
660
649
|
404: ResourceNotFoundError,
|
661
650
|
409: ResourceExistsError,
|
@@ -680,7 +669,7 @@ class StorageAccountsOperations:
|
|
680
669
|
else:
|
681
670
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
682
671
|
|
683
|
-
|
672
|
+
_request = build_create_request(
|
684
673
|
resource_group_name=resource_group_name,
|
685
674
|
account_name=account_name,
|
686
675
|
subscription_id=self._config.subscription_id,
|
@@ -688,16 +677,15 @@ class StorageAccountsOperations:
|
|
688
677
|
content_type=content_type,
|
689
678
|
json=_json,
|
690
679
|
content=_content,
|
691
|
-
template_url=self._create_initial.metadata["url"],
|
692
680
|
headers=_headers,
|
693
681
|
params=_params,
|
694
682
|
)
|
695
|
-
|
696
|
-
|
683
|
+
_request = _convert_request(_request)
|
684
|
+
_request.url = self._client.format_url(_request.url)
|
697
685
|
|
698
686
|
_stream = False
|
699
687
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
700
|
-
|
688
|
+
_request, stream=_stream, **kwargs
|
701
689
|
)
|
702
690
|
|
703
691
|
response = pipeline_response.http_response
|
@@ -711,13 +699,9 @@ class StorageAccountsOperations:
|
|
711
699
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
712
700
|
|
713
701
|
if cls:
|
714
|
-
return cls(pipeline_response, deserialized, {})
|
715
|
-
|
716
|
-
return deserialized
|
702
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
717
703
|
|
718
|
-
|
719
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
720
|
-
}
|
704
|
+
return deserialized # type: ignore
|
721
705
|
|
722
706
|
@overload
|
723
707
|
def begin_create(
|
@@ -746,14 +730,6 @@ class StorageAccountsOperations:
|
|
746
730
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
747
731
|
Default value is "application/json".
|
748
732
|
:paramtype content_type: str
|
749
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
750
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
751
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
752
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
753
|
-
strategy.
|
754
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
755
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
756
|
-
Retry-After header is present.
|
757
733
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
758
734
|
cls(response)
|
759
735
|
:rtype:
|
@@ -766,7 +742,7 @@ class StorageAccountsOperations:
|
|
766
742
|
self,
|
767
743
|
resource_group_name: str,
|
768
744
|
account_name: str,
|
769
|
-
parameters: IO,
|
745
|
+
parameters: IO[bytes],
|
770
746
|
*,
|
771
747
|
content_type: str = "application/json",
|
772
748
|
**kwargs: Any
|
@@ -784,18 +760,10 @@ class StorageAccountsOperations:
|
|
784
760
|
lower-case letters only. Required.
|
785
761
|
:type account_name: str
|
786
762
|
:param parameters: The parameters to provide for the created account. Required.
|
787
|
-
:type parameters: IO
|
763
|
+
:type parameters: IO[bytes]
|
788
764
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
789
765
|
Default value is "application/json".
|
790
766
|
:paramtype content_type: str
|
791
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
792
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
793
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
794
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
795
|
-
strategy.
|
796
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
797
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
798
|
-
Retry-After header is present.
|
799
767
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
800
768
|
cls(response)
|
801
769
|
:rtype:
|
@@ -808,7 +776,7 @@ class StorageAccountsOperations:
|
|
808
776
|
self,
|
809
777
|
resource_group_name: str,
|
810
778
|
account_name: str,
|
811
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
779
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
812
780
|
**kwargs: Any
|
813
781
|
) -> LROPoller[_models.StorageAccount]:
|
814
782
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -824,20 +792,9 @@ class StorageAccountsOperations:
|
|
824
792
|
lower-case letters only. Required.
|
825
793
|
:type account_name: str
|
826
794
|
:param parameters: The parameters to provide for the created account. Is either a
|
827
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
795
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
828
796
|
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountCreateParameters
|
829
|
-
or IO
|
830
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
831
|
-
Default value is None.
|
832
|
-
:paramtype content_type: str
|
833
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
834
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
835
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
836
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
837
|
-
strategy.
|
838
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
839
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
840
|
-
Retry-After header is present.
|
797
|
+
or IO[bytes]
|
841
798
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
842
799
|
cls(response)
|
843
800
|
:rtype:
|
@@ -872,7 +829,7 @@ class StorageAccountsOperations:
|
|
872
829
|
def get_long_running_output(pipeline_response):
|
873
830
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
874
831
|
if cls:
|
875
|
-
return cls(pipeline_response, deserialized, {})
|
832
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
876
833
|
return deserialized
|
877
834
|
|
878
835
|
if polling is True:
|
@@ -882,17 +839,15 @@ class StorageAccountsOperations:
|
|
882
839
|
else:
|
883
840
|
polling_method = polling
|
884
841
|
if cont_token:
|
885
|
-
return LROPoller.from_continuation_token(
|
842
|
+
return LROPoller[_models.StorageAccount].from_continuation_token(
|
886
843
|
polling_method=polling_method,
|
887
844
|
continuation_token=cont_token,
|
888
845
|
client=self._client,
|
889
846
|
deserialization_callback=get_long_running_output,
|
890
847
|
)
|
891
|
-
return LROPoller(
|
892
|
-
|
893
|
-
|
894
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
895
|
-
}
|
848
|
+
return LROPoller[_models.StorageAccount](
|
849
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
850
|
+
)
|
896
851
|
|
897
852
|
@distributed_trace
|
898
853
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -907,12 +862,11 @@ class StorageAccountsOperations:
|
|
907
862
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
908
863
|
lower-case letters only. Required.
|
909
864
|
:type account_name: str
|
910
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
911
865
|
:return: None or the result of cls(response)
|
912
866
|
:rtype: None
|
913
867
|
:raises ~azure.core.exceptions.HttpResponseError:
|
914
868
|
"""
|
915
|
-
error_map = {
|
869
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
916
870
|
401: ClientAuthenticationError,
|
917
871
|
404: ResourceNotFoundError,
|
918
872
|
409: ResourceExistsError,
|
@@ -928,21 +882,20 @@ class StorageAccountsOperations:
|
|
928
882
|
)
|
929
883
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
930
884
|
|
931
|
-
|
885
|
+
_request = build_delete_request(
|
932
886
|
resource_group_name=resource_group_name,
|
933
887
|
account_name=account_name,
|
934
888
|
subscription_id=self._config.subscription_id,
|
935
889
|
api_version=api_version,
|
936
|
-
template_url=self.delete.metadata["url"],
|
937
890
|
headers=_headers,
|
938
891
|
params=_params,
|
939
892
|
)
|
940
|
-
|
941
|
-
|
893
|
+
_request = _convert_request(_request)
|
894
|
+
_request.url = self._client.format_url(_request.url)
|
942
895
|
|
943
896
|
_stream = False
|
944
897
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
945
|
-
|
898
|
+
_request, stream=_stream, **kwargs
|
946
899
|
)
|
947
900
|
|
948
901
|
response = pipeline_response.http_response
|
@@ -952,11 +905,7 @@ class StorageAccountsOperations:
|
|
952
905
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
953
906
|
|
954
907
|
if cls:
|
955
|
-
return cls(pipeline_response, None, {})
|
956
|
-
|
957
|
-
delete.metadata = {
|
958
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
959
|
-
}
|
908
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
960
909
|
|
961
910
|
@distributed_trace
|
962
911
|
def get_properties(
|
@@ -982,12 +931,11 @@ class StorageAccountsOperations:
|
|
982
931
|
and blobRestoreStatus. Known values are: "geoReplicationStats" and "blobRestoreStatus". Default
|
983
932
|
value is None.
|
984
933
|
:type expand: str or ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountExpand
|
985
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
986
934
|
:return: StorageAccount or the result of cls(response)
|
987
935
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
|
988
936
|
:raises ~azure.core.exceptions.HttpResponseError:
|
989
937
|
"""
|
990
|
-
error_map = {
|
938
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
991
939
|
401: ClientAuthenticationError,
|
992
940
|
404: ResourceNotFoundError,
|
993
941
|
409: ResourceExistsError,
|
@@ -1003,22 +951,21 @@ class StorageAccountsOperations:
|
|
1003
951
|
)
|
1004
952
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
1005
953
|
|
1006
|
-
|
954
|
+
_request = build_get_properties_request(
|
1007
955
|
resource_group_name=resource_group_name,
|
1008
956
|
account_name=account_name,
|
1009
957
|
subscription_id=self._config.subscription_id,
|
1010
958
|
expand=expand,
|
1011
959
|
api_version=api_version,
|
1012
|
-
template_url=self.get_properties.metadata["url"],
|
1013
960
|
headers=_headers,
|
1014
961
|
params=_params,
|
1015
962
|
)
|
1016
|
-
|
1017
|
-
|
963
|
+
_request = _convert_request(_request)
|
964
|
+
_request.url = self._client.format_url(_request.url)
|
1018
965
|
|
1019
966
|
_stream = False
|
1020
967
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1021
|
-
|
968
|
+
_request, stream=_stream, **kwargs
|
1022
969
|
)
|
1023
970
|
|
1024
971
|
response = pipeline_response.http_response
|
@@ -1030,13 +977,9 @@ class StorageAccountsOperations:
|
|
1030
977
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
1031
978
|
|
1032
979
|
if cls:
|
1033
|
-
return cls(pipeline_response, deserialized, {})
|
1034
|
-
|
1035
|
-
return deserialized
|
980
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1036
981
|
|
1037
|
-
|
1038
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
1039
|
-
}
|
982
|
+
return deserialized # type: ignore
|
1040
983
|
|
1041
984
|
@overload
|
1042
985
|
def update(
|
@@ -1069,7 +1012,6 @@ class StorageAccountsOperations:
|
|
1069
1012
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1070
1013
|
Default value is "application/json".
|
1071
1014
|
:paramtype content_type: str
|
1072
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1073
1015
|
:return: StorageAccount or the result of cls(response)
|
1074
1016
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
|
1075
1017
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1080,7 +1022,7 @@ class StorageAccountsOperations:
|
|
1080
1022
|
self,
|
1081
1023
|
resource_group_name: str,
|
1082
1024
|
account_name: str,
|
1083
|
-
parameters: IO,
|
1025
|
+
parameters: IO[bytes],
|
1084
1026
|
*,
|
1085
1027
|
content_type: str = "application/json",
|
1086
1028
|
**kwargs: Any
|
@@ -1102,11 +1044,10 @@ class StorageAccountsOperations:
|
|
1102
1044
|
lower-case letters only. Required.
|
1103
1045
|
:type account_name: str
|
1104
1046
|
:param parameters: The parameters to provide for the updated account. Required.
|
1105
|
-
:type parameters: IO
|
1047
|
+
:type parameters: IO[bytes]
|
1106
1048
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1107
1049
|
Default value is "application/json".
|
1108
1050
|
:paramtype content_type: str
|
1109
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1110
1051
|
:return: StorageAccount or the result of cls(response)
|
1111
1052
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
|
1112
1053
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1117,7 +1058,7 @@ class StorageAccountsOperations:
|
|
1117
1058
|
self,
|
1118
1059
|
resource_group_name: str,
|
1119
1060
|
account_name: str,
|
1120
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
1061
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
1121
1062
|
**kwargs: Any
|
1122
1063
|
) -> _models.StorageAccount:
|
1123
1064
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -1137,18 +1078,14 @@ class StorageAccountsOperations:
|
|
1137
1078
|
lower-case letters only. Required.
|
1138
1079
|
:type account_name: str
|
1139
1080
|
:param parameters: The parameters to provide for the updated account. Is either a
|
1140
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
1081
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
1141
1082
|
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountUpdateParameters
|
1142
|
-
or IO
|
1143
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1144
|
-
Default value is None.
|
1145
|
-
:paramtype content_type: str
|
1146
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1083
|
+
or IO[bytes]
|
1147
1084
|
:return: StorageAccount or the result of cls(response)
|
1148
1085
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
|
1149
1086
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1150
1087
|
"""
|
1151
|
-
error_map = {
|
1088
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1152
1089
|
401: ClientAuthenticationError,
|
1153
1090
|
404: ResourceNotFoundError,
|
1154
1091
|
409: ResourceExistsError,
|
@@ -1173,7 +1110,7 @@ class StorageAccountsOperations:
|
|
1173
1110
|
else:
|
1174
1111
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
1175
1112
|
|
1176
|
-
|
1113
|
+
_request = build_update_request(
|
1177
1114
|
resource_group_name=resource_group_name,
|
1178
1115
|
account_name=account_name,
|
1179
1116
|
subscription_id=self._config.subscription_id,
|
@@ -1181,16 +1118,15 @@ class StorageAccountsOperations:
|
|
1181
1118
|
content_type=content_type,
|
1182
1119
|
json=_json,
|
1183
1120
|
content=_content,
|
1184
|
-
template_url=self.update.metadata["url"],
|
1185
1121
|
headers=_headers,
|
1186
1122
|
params=_params,
|
1187
1123
|
)
|
1188
|
-
|
1189
|
-
|
1124
|
+
_request = _convert_request(_request)
|
1125
|
+
_request.url = self._client.format_url(_request.url)
|
1190
1126
|
|
1191
1127
|
_stream = False
|
1192
1128
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1193
|
-
|
1129
|
+
_request, stream=_stream, **kwargs
|
1194
1130
|
)
|
1195
1131
|
|
1196
1132
|
response = pipeline_response.http_response
|
@@ -1202,20 +1138,15 @@ class StorageAccountsOperations:
|
|
1202
1138
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
1203
1139
|
|
1204
1140
|
if cls:
|
1205
|
-
return cls(pipeline_response, deserialized, {})
|
1206
|
-
|
1207
|
-
return deserialized
|
1141
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1208
1142
|
|
1209
|
-
|
1210
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
1211
|
-
}
|
1143
|
+
return deserialized # type: ignore
|
1212
1144
|
|
1213
1145
|
@distributed_trace
|
1214
1146
|
def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1215
1147
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
1216
1148
|
returned; use the ListKeys operation for this.
|
1217
1149
|
|
1218
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1219
1150
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1220
1151
|
:rtype:
|
1221
1152
|
~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount]
|
@@ -1229,7 +1160,7 @@ class StorageAccountsOperations:
|
|
1229
1160
|
)
|
1230
1161
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1231
1162
|
|
1232
|
-
error_map = {
|
1163
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1233
1164
|
401: ClientAuthenticationError,
|
1234
1165
|
404: ResourceNotFoundError,
|
1235
1166
|
409: ResourceExistsError,
|
@@ -1240,15 +1171,14 @@ class StorageAccountsOperations:
|
|
1240
1171
|
def prepare_request(next_link=None):
|
1241
1172
|
if not next_link:
|
1242
1173
|
|
1243
|
-
|
1174
|
+
_request = build_list_request(
|
1244
1175
|
subscription_id=self._config.subscription_id,
|
1245
1176
|
api_version=api_version,
|
1246
|
-
template_url=self.list.metadata["url"],
|
1247
1177
|
headers=_headers,
|
1248
1178
|
params=_params,
|
1249
1179
|
)
|
1250
|
-
|
1251
|
-
|
1180
|
+
_request = _convert_request(_request)
|
1181
|
+
_request.url = self._client.format_url(_request.url)
|
1252
1182
|
|
1253
1183
|
else:
|
1254
1184
|
# make call to next link with the client's api-version
|
@@ -1259,14 +1189,14 @@ class StorageAccountsOperations:
|
|
1259
1189
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1260
1190
|
}
|
1261
1191
|
)
|
1262
|
-
_next_request_params["api-version"] = self.
|
1263
|
-
|
1192
|
+
_next_request_params["api-version"] = self._api_version
|
1193
|
+
_request = HttpRequest(
|
1264
1194
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1265
1195
|
)
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
return
|
1196
|
+
_request = _convert_request(_request)
|
1197
|
+
_request.url = self._client.format_url(_request.url)
|
1198
|
+
_request.method = "GET"
|
1199
|
+
return _request
|
1270
1200
|
|
1271
1201
|
def extract_data(pipeline_response):
|
1272
1202
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1276,11 +1206,11 @@ class StorageAccountsOperations:
|
|
1276
1206
|
return deserialized.next_link or None, iter(list_of_elem)
|
1277
1207
|
|
1278
1208
|
def get_next(next_link=None):
|
1279
|
-
|
1209
|
+
_request = prepare_request(next_link)
|
1280
1210
|
|
1281
1211
|
_stream = False
|
1282
1212
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1283
|
-
|
1213
|
+
_request, stream=_stream, **kwargs
|
1284
1214
|
)
|
1285
1215
|
response = pipeline_response.http_response
|
1286
1216
|
|
@@ -1292,8 +1222,6 @@ class StorageAccountsOperations:
|
|
1292
1222
|
|
1293
1223
|
return ItemPaged(get_next, extract_data)
|
1294
1224
|
|
1295
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
1296
|
-
|
1297
1225
|
@distributed_trace
|
1298
1226
|
def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1299
1227
|
"""Lists all the storage accounts available under the given resource group. Note that storage keys
|
@@ -1302,7 +1230,6 @@ class StorageAccountsOperations:
|
|
1302
1230
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1303
1231
|
name is case insensitive. Required.
|
1304
1232
|
:type resource_group_name: str
|
1305
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1306
1233
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1307
1234
|
:rtype:
|
1308
1235
|
~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount]
|
@@ -1316,7 +1243,7 @@ class StorageAccountsOperations:
|
|
1316
1243
|
)
|
1317
1244
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1318
1245
|
|
1319
|
-
error_map = {
|
1246
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1320
1247
|
401: ClientAuthenticationError,
|
1321
1248
|
404: ResourceNotFoundError,
|
1322
1249
|
409: ResourceExistsError,
|
@@ -1327,16 +1254,15 @@ class StorageAccountsOperations:
|
|
1327
1254
|
def prepare_request(next_link=None):
|
1328
1255
|
if not next_link:
|
1329
1256
|
|
1330
|
-
|
1257
|
+
_request = build_list_by_resource_group_request(
|
1331
1258
|
resource_group_name=resource_group_name,
|
1332
1259
|
subscription_id=self._config.subscription_id,
|
1333
1260
|
api_version=api_version,
|
1334
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
1335
1261
|
headers=_headers,
|
1336
1262
|
params=_params,
|
1337
1263
|
)
|
1338
|
-
|
1339
|
-
|
1264
|
+
_request = _convert_request(_request)
|
1265
|
+
_request.url = self._client.format_url(_request.url)
|
1340
1266
|
|
1341
1267
|
else:
|
1342
1268
|
# make call to next link with the client's api-version
|
@@ -1347,14 +1273,14 @@ class StorageAccountsOperations:
|
|
1347
1273
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1348
1274
|
}
|
1349
1275
|
)
|
1350
|
-
_next_request_params["api-version"] = self.
|
1351
|
-
|
1276
|
+
_next_request_params["api-version"] = self._api_version
|
1277
|
+
_request = HttpRequest(
|
1352
1278
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1353
1279
|
)
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
return
|
1280
|
+
_request = _convert_request(_request)
|
1281
|
+
_request.url = self._client.format_url(_request.url)
|
1282
|
+
_request.method = "GET"
|
1283
|
+
return _request
|
1358
1284
|
|
1359
1285
|
def extract_data(pipeline_response):
|
1360
1286
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1364,11 +1290,11 @@ class StorageAccountsOperations:
|
|
1364
1290
|
return deserialized.next_link or None, iter(list_of_elem)
|
1365
1291
|
|
1366
1292
|
def get_next(next_link=None):
|
1367
|
-
|
1293
|
+
_request = prepare_request(next_link)
|
1368
1294
|
|
1369
1295
|
_stream = False
|
1370
1296
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1371
|
-
|
1297
|
+
_request, stream=_stream, **kwargs
|
1372
1298
|
)
|
1373
1299
|
response = pipeline_response.http_response
|
1374
1300
|
|
@@ -1380,10 +1306,6 @@ class StorageAccountsOperations:
|
|
1380
1306
|
|
1381
1307
|
return ItemPaged(get_next, extract_data)
|
1382
1308
|
|
1383
|
-
list_by_resource_group.metadata = {
|
1384
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
1385
|
-
}
|
1386
|
-
|
1387
1309
|
@distributed_trace
|
1388
1310
|
def list_keys(
|
1389
1311
|
self, resource_group_name: str, account_name: str, expand: Literal["kerb"] = "kerb", **kwargs: Any
|
@@ -1401,12 +1323,11 @@ class StorageAccountsOperations:
|
|
1401
1323
|
:param expand: Specifies type of the key to be listed. Possible value is kerb. Known values are
|
1402
1324
|
"kerb" and None. Default value is "kerb".
|
1403
1325
|
:type expand: str
|
1404
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1405
1326
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1406
1327
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
|
1407
1328
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1408
1329
|
"""
|
1409
|
-
error_map = {
|
1330
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1410
1331
|
401: ClientAuthenticationError,
|
1411
1332
|
404: ResourceNotFoundError,
|
1412
1333
|
409: ResourceExistsError,
|
@@ -1422,22 +1343,21 @@ class StorageAccountsOperations:
|
|
1422
1343
|
)
|
1423
1344
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
1424
1345
|
|
1425
|
-
|
1346
|
+
_request = build_list_keys_request(
|
1426
1347
|
resource_group_name=resource_group_name,
|
1427
1348
|
account_name=account_name,
|
1428
1349
|
subscription_id=self._config.subscription_id,
|
1429
1350
|
expand=expand,
|
1430
1351
|
api_version=api_version,
|
1431
|
-
template_url=self.list_keys.metadata["url"],
|
1432
1352
|
headers=_headers,
|
1433
1353
|
params=_params,
|
1434
1354
|
)
|
1435
|
-
|
1436
|
-
|
1355
|
+
_request = _convert_request(_request)
|
1356
|
+
_request.url = self._client.format_url(_request.url)
|
1437
1357
|
|
1438
1358
|
_stream = False
|
1439
1359
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1440
|
-
|
1360
|
+
_request, stream=_stream, **kwargs
|
1441
1361
|
)
|
1442
1362
|
|
1443
1363
|
response = pipeline_response.http_response
|
@@ -1449,13 +1369,9 @@ class StorageAccountsOperations:
|
|
1449
1369
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1450
1370
|
|
1451
1371
|
if cls:
|
1452
|
-
return cls(pipeline_response, deserialized, {})
|
1453
|
-
|
1454
|
-
return deserialized
|
1372
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1455
1373
|
|
1456
|
-
|
1457
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
1458
|
-
}
|
1374
|
+
return deserialized # type: ignore
|
1459
1375
|
|
1460
1376
|
@overload
|
1461
1377
|
def regenerate_key(
|
@@ -1483,7 +1399,6 @@ class StorageAccountsOperations:
|
|
1483
1399
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1484
1400
|
Default value is "application/json".
|
1485
1401
|
:paramtype content_type: str
|
1486
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1487
1402
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1488
1403
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
|
1489
1404
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1494,7 +1409,7 @@ class StorageAccountsOperations:
|
|
1494
1409
|
self,
|
1495
1410
|
resource_group_name: str,
|
1496
1411
|
account_name: str,
|
1497
|
-
regenerate_key: IO,
|
1412
|
+
regenerate_key: IO[bytes],
|
1498
1413
|
*,
|
1499
1414
|
content_type: str = "application/json",
|
1500
1415
|
**kwargs: Any
|
@@ -1510,11 +1425,10 @@ class StorageAccountsOperations:
|
|
1510
1425
|
:type account_name: str
|
1511
1426
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1512
1427
|
kerb1, kerb2. Required.
|
1513
|
-
:type regenerate_key: IO
|
1428
|
+
:type regenerate_key: IO[bytes]
|
1514
1429
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1515
1430
|
Default value is "application/json".
|
1516
1431
|
:paramtype content_type: str
|
1517
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1518
1432
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1519
1433
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
|
1520
1434
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1525,7 +1439,7 @@ class StorageAccountsOperations:
|
|
1525
1439
|
self,
|
1526
1440
|
resource_group_name: str,
|
1527
1441
|
account_name: str,
|
1528
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
1442
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1529
1443
|
**kwargs: Any
|
1530
1444
|
) -> _models.StorageAccountListKeysResult:
|
1531
1445
|
"""Regenerates one of the access keys or Kerberos keys for the specified storage account.
|
@@ -1538,18 +1452,16 @@ class StorageAccountsOperations:
|
|
1538
1452
|
lower-case letters only. Required.
|
1539
1453
|
:type account_name: str
|
1540
1454
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1541
|
-
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO type.
|
1455
|
+
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
|
1456
|
+
Required.
|
1542
1457
|
:type regenerate_key:
|
1543
|
-
~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountRegenerateKeyParameters or
|
1544
|
-
|
1545
|
-
Default value is None.
|
1546
|
-
:paramtype content_type: str
|
1547
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1458
|
+
~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountRegenerateKeyParameters or
|
1459
|
+
IO[bytes]
|
1548
1460
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1549
1461
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
|
1550
1462
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1551
1463
|
"""
|
1552
|
-
error_map = {
|
1464
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1553
1465
|
401: ClientAuthenticationError,
|
1554
1466
|
404: ResourceNotFoundError,
|
1555
1467
|
409: ResourceExistsError,
|
@@ -1574,7 +1486,7 @@ class StorageAccountsOperations:
|
|
1574
1486
|
else:
|
1575
1487
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1576
1488
|
|
1577
|
-
|
1489
|
+
_request = build_regenerate_key_request(
|
1578
1490
|
resource_group_name=resource_group_name,
|
1579
1491
|
account_name=account_name,
|
1580
1492
|
subscription_id=self._config.subscription_id,
|
@@ -1582,16 +1494,15 @@ class StorageAccountsOperations:
|
|
1582
1494
|
content_type=content_type,
|
1583
1495
|
json=_json,
|
1584
1496
|
content=_content,
|
1585
|
-
template_url=self.regenerate_key.metadata["url"],
|
1586
1497
|
headers=_headers,
|
1587
1498
|
params=_params,
|
1588
1499
|
)
|
1589
|
-
|
1590
|
-
|
1500
|
+
_request = _convert_request(_request)
|
1501
|
+
_request.url = self._client.format_url(_request.url)
|
1591
1502
|
|
1592
1503
|
_stream = False
|
1593
1504
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1594
|
-
|
1505
|
+
_request, stream=_stream, **kwargs
|
1595
1506
|
)
|
1596
1507
|
|
1597
1508
|
response = pipeline_response.http_response
|
@@ -1603,13 +1514,9 @@ class StorageAccountsOperations:
|
|
1603
1514
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1604
1515
|
|
1605
1516
|
if cls:
|
1606
|
-
return cls(pipeline_response, deserialized, {})
|
1607
|
-
|
1608
|
-
return deserialized
|
1517
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1609
1518
|
|
1610
|
-
|
1611
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1612
|
-
}
|
1519
|
+
return deserialized # type: ignore
|
1613
1520
|
|
1614
1521
|
@overload
|
1615
1522
|
def list_account_sas(
|
@@ -1636,7 +1543,6 @@ class StorageAccountsOperations:
|
|
1636
1543
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1637
1544
|
Default value is "application/json".
|
1638
1545
|
:paramtype content_type: str
|
1639
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1640
1546
|
:return: ListAccountSasResponse or the result of cls(response)
|
1641
1547
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListAccountSasResponse
|
1642
1548
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1647,7 +1553,7 @@ class StorageAccountsOperations:
|
|
1647
1553
|
self,
|
1648
1554
|
resource_group_name: str,
|
1649
1555
|
account_name: str,
|
1650
|
-
parameters: IO,
|
1556
|
+
parameters: IO[bytes],
|
1651
1557
|
*,
|
1652
1558
|
content_type: str = "application/json",
|
1653
1559
|
**kwargs: Any
|
@@ -1663,11 +1569,10 @@ class StorageAccountsOperations:
|
|
1663
1569
|
:type account_name: str
|
1664
1570
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1665
1571
|
Required.
|
1666
|
-
:type parameters: IO
|
1572
|
+
:type parameters: IO[bytes]
|
1667
1573
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1668
1574
|
Default value is "application/json".
|
1669
1575
|
:paramtype content_type: str
|
1670
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1671
1576
|
:return: ListAccountSasResponse or the result of cls(response)
|
1672
1577
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListAccountSasResponse
|
1673
1578
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1678,7 +1583,7 @@ class StorageAccountsOperations:
|
|
1678
1583
|
self,
|
1679
1584
|
resource_group_name: str,
|
1680
1585
|
account_name: str,
|
1681
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1586
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1682
1587
|
**kwargs: Any
|
1683
1588
|
) -> _models.ListAccountSasResponse:
|
1684
1589
|
"""List SAS credentials of a storage account.
|
@@ -1691,17 +1596,14 @@ class StorageAccountsOperations:
|
|
1691
1596
|
lower-case letters only. Required.
|
1692
1597
|
:type account_name: str
|
1693
1598
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1694
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1695
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.AccountSasParameters or
|
1696
|
-
|
1697
|
-
Default value is None.
|
1698
|
-
:paramtype content_type: str
|
1699
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1599
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1600
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.AccountSasParameters or
|
1601
|
+
IO[bytes]
|
1700
1602
|
:return: ListAccountSasResponse or the result of cls(response)
|
1701
1603
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListAccountSasResponse
|
1702
1604
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1703
1605
|
"""
|
1704
|
-
error_map = {
|
1606
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1705
1607
|
401: ClientAuthenticationError,
|
1706
1608
|
404: ResourceNotFoundError,
|
1707
1609
|
409: ResourceExistsError,
|
@@ -1726,7 +1628,7 @@ class StorageAccountsOperations:
|
|
1726
1628
|
else:
|
1727
1629
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1728
1630
|
|
1729
|
-
|
1631
|
+
_request = build_list_account_sas_request(
|
1730
1632
|
resource_group_name=resource_group_name,
|
1731
1633
|
account_name=account_name,
|
1732
1634
|
subscription_id=self._config.subscription_id,
|
@@ -1734,16 +1636,15 @@ class StorageAccountsOperations:
|
|
1734
1636
|
content_type=content_type,
|
1735
1637
|
json=_json,
|
1736
1638
|
content=_content,
|
1737
|
-
template_url=self.list_account_sas.metadata["url"],
|
1738
1639
|
headers=_headers,
|
1739
1640
|
params=_params,
|
1740
1641
|
)
|
1741
|
-
|
1742
|
-
|
1642
|
+
_request = _convert_request(_request)
|
1643
|
+
_request.url = self._client.format_url(_request.url)
|
1743
1644
|
|
1744
1645
|
_stream = False
|
1745
1646
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1746
|
-
|
1647
|
+
_request, stream=_stream, **kwargs
|
1747
1648
|
)
|
1748
1649
|
|
1749
1650
|
response = pipeline_response.http_response
|
@@ -1755,13 +1656,9 @@ class StorageAccountsOperations:
|
|
1755
1656
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1756
1657
|
|
1757
1658
|
if cls:
|
1758
|
-
return cls(pipeline_response, deserialized, {})
|
1759
|
-
|
1760
|
-
return deserialized
|
1659
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1761
1660
|
|
1762
|
-
|
1763
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1764
|
-
}
|
1661
|
+
return deserialized # type: ignore
|
1765
1662
|
|
1766
1663
|
@overload
|
1767
1664
|
def list_service_sas(
|
@@ -1787,7 +1684,6 @@ class StorageAccountsOperations:
|
|
1787
1684
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1788
1685
|
Default value is "application/json".
|
1789
1686
|
:paramtype content_type: str
|
1790
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1791
1687
|
:return: ListServiceSasResponse or the result of cls(response)
|
1792
1688
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListServiceSasResponse
|
1793
1689
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1798,7 +1694,7 @@ class StorageAccountsOperations:
|
|
1798
1694
|
self,
|
1799
1695
|
resource_group_name: str,
|
1800
1696
|
account_name: str,
|
1801
|
-
parameters: IO,
|
1697
|
+
parameters: IO[bytes],
|
1802
1698
|
*,
|
1803
1699
|
content_type: str = "application/json",
|
1804
1700
|
**kwargs: Any
|
@@ -1813,11 +1709,10 @@ class StorageAccountsOperations:
|
|
1813
1709
|
lower-case letters only. Required.
|
1814
1710
|
:type account_name: str
|
1815
1711
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1816
|
-
:type parameters: IO
|
1712
|
+
:type parameters: IO[bytes]
|
1817
1713
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1818
1714
|
Default value is "application/json".
|
1819
1715
|
:paramtype content_type: str
|
1820
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1821
1716
|
:return: ListServiceSasResponse or the result of cls(response)
|
1822
1717
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListServiceSasResponse
|
1823
1718
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1828,7 +1723,7 @@ class StorageAccountsOperations:
|
|
1828
1723
|
self,
|
1829
1724
|
resource_group_name: str,
|
1830
1725
|
account_name: str,
|
1831
|
-
parameters: Union[_models.ServiceSasParameters, IO],
|
1726
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1832
1727
|
**kwargs: Any
|
1833
1728
|
) -> _models.ListServiceSasResponse:
|
1834
1729
|
"""List service SAS credentials of a specific resource.
|
@@ -1841,17 +1736,14 @@ class StorageAccountsOperations:
|
|
1841
1736
|
lower-case letters only. Required.
|
1842
1737
|
:type account_name: str
|
1843
1738
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1844
|
-
ServiceSasParameters type or a IO type. Required.
|
1845
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ServiceSasParameters or
|
1846
|
-
|
1847
|
-
Default value is None.
|
1848
|
-
:paramtype content_type: str
|
1849
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1739
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1740
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ServiceSasParameters or
|
1741
|
+
IO[bytes]
|
1850
1742
|
:return: ListServiceSasResponse or the result of cls(response)
|
1851
1743
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListServiceSasResponse
|
1852
1744
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1853
1745
|
"""
|
1854
|
-
error_map = {
|
1746
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1855
1747
|
401: ClientAuthenticationError,
|
1856
1748
|
404: ResourceNotFoundError,
|
1857
1749
|
409: ResourceExistsError,
|
@@ -1876,7 +1768,7 @@ class StorageAccountsOperations:
|
|
1876
1768
|
else:
|
1877
1769
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1878
1770
|
|
1879
|
-
|
1771
|
+
_request = build_list_service_sas_request(
|
1880
1772
|
resource_group_name=resource_group_name,
|
1881
1773
|
account_name=account_name,
|
1882
1774
|
subscription_id=self._config.subscription_id,
|
@@ -1884,16 +1776,15 @@ class StorageAccountsOperations:
|
|
1884
1776
|
content_type=content_type,
|
1885
1777
|
json=_json,
|
1886
1778
|
content=_content,
|
1887
|
-
template_url=self.list_service_sas.metadata["url"],
|
1888
1779
|
headers=_headers,
|
1889
1780
|
params=_params,
|
1890
1781
|
)
|
1891
|
-
|
1892
|
-
|
1782
|
+
_request = _convert_request(_request)
|
1783
|
+
_request.url = self._client.format_url(_request.url)
|
1893
1784
|
|
1894
1785
|
_stream = False
|
1895
1786
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1896
|
-
|
1787
|
+
_request, stream=_stream, **kwargs
|
1897
1788
|
)
|
1898
1789
|
|
1899
1790
|
response = pipeline_response.http_response
|
@@ -1905,18 +1796,14 @@ class StorageAccountsOperations:
|
|
1905
1796
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1906
1797
|
|
1907
1798
|
if cls:
|
1908
|
-
return cls(pipeline_response, deserialized, {})
|
1909
|
-
|
1910
|
-
return deserialized
|
1799
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1911
1800
|
|
1912
|
-
|
1913
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1914
|
-
}
|
1801
|
+
return deserialized # type: ignore
|
1915
1802
|
|
1916
1803
|
def _failover_initial( # pylint: disable=inconsistent-return-statements
|
1917
1804
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1918
1805
|
) -> None:
|
1919
|
-
error_map = {
|
1806
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1920
1807
|
401: ClientAuthenticationError,
|
1921
1808
|
404: ResourceNotFoundError,
|
1922
1809
|
409: ResourceExistsError,
|
@@ -1932,21 +1819,20 @@ class StorageAccountsOperations:
|
|
1932
1819
|
)
|
1933
1820
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1934
1821
|
|
1935
|
-
|
1822
|
+
_request = build_failover_request(
|
1936
1823
|
resource_group_name=resource_group_name,
|
1937
1824
|
account_name=account_name,
|
1938
1825
|
subscription_id=self._config.subscription_id,
|
1939
1826
|
api_version=api_version,
|
1940
|
-
template_url=self._failover_initial.metadata["url"],
|
1941
1827
|
headers=_headers,
|
1942
1828
|
params=_params,
|
1943
1829
|
)
|
1944
|
-
|
1945
|
-
|
1830
|
+
_request = _convert_request(_request)
|
1831
|
+
_request.url = self._client.format_url(_request.url)
|
1946
1832
|
|
1947
1833
|
_stream = False
|
1948
1834
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1949
|
-
|
1835
|
+
_request, stream=_stream, **kwargs
|
1950
1836
|
)
|
1951
1837
|
|
1952
1838
|
response = pipeline_response.http_response
|
@@ -1956,11 +1842,7 @@ class StorageAccountsOperations:
|
|
1956
1842
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1957
1843
|
|
1958
1844
|
if cls:
|
1959
|
-
return cls(pipeline_response, None, {})
|
1960
|
-
|
1961
|
-
_failover_initial.metadata = {
|
1962
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1963
|
-
}
|
1845
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1964
1846
|
|
1965
1847
|
@distributed_trace
|
1966
1848
|
def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> LROPoller[None]:
|
@@ -1975,14 +1857,6 @@ class StorageAccountsOperations:
|
|
1975
1857
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1976
1858
|
lower-case letters only. Required.
|
1977
1859
|
:type account_name: 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 ARMPolling. Pass in False for this
|
1981
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
1982
|
-
strategy.
|
1983
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
1984
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1985
|
-
Retry-After header is present.
|
1986
1860
|
:return: An instance of LROPoller that returns either None or the result of cls(response)
|
1987
1861
|
:rtype: ~azure.core.polling.LROPoller[None]
|
1988
1862
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2011,7 +1885,7 @@ class StorageAccountsOperations:
|
|
2011
1885
|
|
2012
1886
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
2013
1887
|
if cls:
|
2014
|
-
return cls(pipeline_response, None, {})
|
1888
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
2015
1889
|
|
2016
1890
|
if polling is True:
|
2017
1891
|
polling_method: PollingMethod = cast(
|
@@ -2022,26 +1896,22 @@ class StorageAccountsOperations:
|
|
2022
1896
|
else:
|
2023
1897
|
polling_method = polling
|
2024
1898
|
if cont_token:
|
2025
|
-
return LROPoller.from_continuation_token(
|
1899
|
+
return LROPoller[None].from_continuation_token(
|
2026
1900
|
polling_method=polling_method,
|
2027
1901
|
continuation_token=cont_token,
|
2028
1902
|
client=self._client,
|
2029
1903
|
deserialization_callback=get_long_running_output,
|
2030
1904
|
)
|
2031
|
-
return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
2032
|
-
|
2033
|
-
begin_failover.metadata = {
|
2034
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
2035
|
-
}
|
1905
|
+
return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
2036
1906
|
|
2037
1907
|
def _restore_blob_ranges_initial(
|
2038
1908
|
self,
|
2039
1909
|
resource_group_name: str,
|
2040
1910
|
account_name: str,
|
2041
|
-
parameters: Union[_models.BlobRestoreParameters, IO],
|
1911
|
+
parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
|
2042
1912
|
**kwargs: Any
|
2043
1913
|
) -> _models.BlobRestoreStatus:
|
2044
|
-
error_map = {
|
1914
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2045
1915
|
401: ClientAuthenticationError,
|
2046
1916
|
404: ResourceNotFoundError,
|
2047
1917
|
409: ResourceExistsError,
|
@@ -2066,7 +1936,7 @@ class StorageAccountsOperations:
|
|
2066
1936
|
else:
|
2067
1937
|
_json = self._serialize.body(parameters, "BlobRestoreParameters")
|
2068
1938
|
|
2069
|
-
|
1939
|
+
_request = build_restore_blob_ranges_request(
|
2070
1940
|
resource_group_name=resource_group_name,
|
2071
1941
|
account_name=account_name,
|
2072
1942
|
subscription_id=self._config.subscription_id,
|
@@ -2074,16 +1944,15 @@ class StorageAccountsOperations:
|
|
2074
1944
|
content_type=content_type,
|
2075
1945
|
json=_json,
|
2076
1946
|
content=_content,
|
2077
|
-
template_url=self._restore_blob_ranges_initial.metadata["url"],
|
2078
1947
|
headers=_headers,
|
2079
1948
|
params=_params,
|
2080
1949
|
)
|
2081
|
-
|
2082
|
-
|
1950
|
+
_request = _convert_request(_request)
|
1951
|
+
_request.url = self._client.format_url(_request.url)
|
2083
1952
|
|
2084
1953
|
_stream = False
|
2085
1954
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2086
|
-
|
1955
|
+
_request, stream=_stream, **kwargs
|
2087
1956
|
)
|
2088
1957
|
|
2089
1958
|
response = pipeline_response.http_response
|
@@ -2103,10 +1972,6 @@ class StorageAccountsOperations:
|
|
2103
1972
|
|
2104
1973
|
return deserialized # type: ignore
|
2105
1974
|
|
2106
|
-
_restore_blob_ranges_initial.metadata = {
|
2107
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
|
2108
|
-
}
|
2109
|
-
|
2110
1975
|
@overload
|
2111
1976
|
def begin_restore_blob_ranges(
|
2112
1977
|
self,
|
@@ -2131,14 +1996,6 @@ class StorageAccountsOperations:
|
|
2131
1996
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2132
1997
|
Default value is "application/json".
|
2133
1998
|
:paramtype content_type: str
|
2134
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2135
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
2136
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
2137
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
2138
|
-
strategy.
|
2139
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
2140
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
2141
|
-
Retry-After header is present.
|
2142
1999
|
:return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
|
2143
2000
|
cls(response)
|
2144
2001
|
:rtype:
|
@@ -2151,7 +2008,7 @@ class StorageAccountsOperations:
|
|
2151
2008
|
self,
|
2152
2009
|
resource_group_name: str,
|
2153
2010
|
account_name: str,
|
2154
|
-
parameters: IO,
|
2011
|
+
parameters: IO[bytes],
|
2155
2012
|
*,
|
2156
2013
|
content_type: str = "application/json",
|
2157
2014
|
**kwargs: Any
|
@@ -2166,18 +2023,10 @@ class StorageAccountsOperations:
|
|
2166
2023
|
lower-case letters only. Required.
|
2167
2024
|
:type account_name: str
|
2168
2025
|
:param parameters: The parameters to provide for restore blob ranges. Required.
|
2169
|
-
:type parameters: IO
|
2026
|
+
:type parameters: IO[bytes]
|
2170
2027
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2171
2028
|
Default value is "application/json".
|
2172
2029
|
:paramtype content_type: str
|
2173
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2174
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
2175
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
2176
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
2177
|
-
strategy.
|
2178
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
2179
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
2180
|
-
Retry-After header is present.
|
2181
2030
|
:return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
|
2182
2031
|
cls(response)
|
2183
2032
|
:rtype:
|
@@ -2190,7 +2039,7 @@ class StorageAccountsOperations:
|
|
2190
2039
|
self,
|
2191
2040
|
resource_group_name: str,
|
2192
2041
|
account_name: str,
|
2193
|
-
parameters: Union[_models.BlobRestoreParameters, IO],
|
2042
|
+
parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
|
2194
2043
|
**kwargs: Any
|
2195
2044
|
) -> LROPoller[_models.BlobRestoreStatus]:
|
2196
2045
|
"""Restore blobs in the specified blob ranges.
|
@@ -2203,19 +2052,9 @@ class StorageAccountsOperations:
|
|
2203
2052
|
lower-case letters only. Required.
|
2204
2053
|
:type account_name: str
|
2205
2054
|
:param parameters: The parameters to provide for restore blob ranges. Is either a
|
2206
|
-
BlobRestoreParameters type or a IO type. Required.
|
2207
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobRestoreParameters or
|
2208
|
-
|
2209
|
-
Default value is None.
|
2210
|
-
:paramtype content_type: str
|
2211
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2212
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
2213
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
2214
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
2215
|
-
strategy.
|
2216
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
2217
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
2218
|
-
Retry-After header is present.
|
2055
|
+
BlobRestoreParameters type or a IO[bytes] type. Required.
|
2056
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobRestoreParameters or
|
2057
|
+
IO[bytes]
|
2219
2058
|
:return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
|
2220
2059
|
cls(response)
|
2221
2060
|
:rtype:
|
@@ -2250,7 +2089,7 @@ class StorageAccountsOperations:
|
|
2250
2089
|
def get_long_running_output(pipeline_response):
|
2251
2090
|
deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
|
2252
2091
|
if cls:
|
2253
|
-
return cls(pipeline_response, deserialized, {})
|
2092
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
2254
2093
|
return deserialized
|
2255
2094
|
|
2256
2095
|
if polling is True:
|
@@ -2262,17 +2101,15 @@ class StorageAccountsOperations:
|
|
2262
2101
|
else:
|
2263
2102
|
polling_method = polling
|
2264
2103
|
if cont_token:
|
2265
|
-
return LROPoller.from_continuation_token(
|
2104
|
+
return LROPoller[_models.BlobRestoreStatus].from_continuation_token(
|
2266
2105
|
polling_method=polling_method,
|
2267
2106
|
continuation_token=cont_token,
|
2268
2107
|
client=self._client,
|
2269
2108
|
deserialization_callback=get_long_running_output,
|
2270
2109
|
)
|
2271
|
-
return LROPoller(
|
2272
|
-
|
2273
|
-
|
2274
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
|
2275
|
-
}
|
2110
|
+
return LROPoller[_models.BlobRestoreStatus](
|
2111
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
2112
|
+
)
|
2276
2113
|
|
2277
2114
|
@distributed_trace
|
2278
2115
|
def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
|
@@ -2287,12 +2124,11 @@ class StorageAccountsOperations:
|
|
2287
2124
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
2288
2125
|
lower-case letters only. Required.
|
2289
2126
|
:type account_name: str
|
2290
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2291
2127
|
:return: None or the result of cls(response)
|
2292
2128
|
:rtype: None
|
2293
2129
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2294
2130
|
"""
|
2295
|
-
error_map = {
|
2131
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2296
2132
|
401: ClientAuthenticationError,
|
2297
2133
|
404: ResourceNotFoundError,
|
2298
2134
|
409: ResourceExistsError,
|
@@ -2308,21 +2144,20 @@ class StorageAccountsOperations:
|
|
2308
2144
|
)
|
2309
2145
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
2310
2146
|
|
2311
|
-
|
2147
|
+
_request = build_revoke_user_delegation_keys_request(
|
2312
2148
|
resource_group_name=resource_group_name,
|
2313
2149
|
account_name=account_name,
|
2314
2150
|
subscription_id=self._config.subscription_id,
|
2315
2151
|
api_version=api_version,
|
2316
|
-
template_url=self.revoke_user_delegation_keys.metadata["url"],
|
2317
2152
|
headers=_headers,
|
2318
2153
|
params=_params,
|
2319
2154
|
)
|
2320
|
-
|
2321
|
-
|
2155
|
+
_request = _convert_request(_request)
|
2156
|
+
_request.url = self._client.format_url(_request.url)
|
2322
2157
|
|
2323
2158
|
_stream = False
|
2324
2159
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2325
|
-
|
2160
|
+
_request, stream=_stream, **kwargs
|
2326
2161
|
)
|
2327
2162
|
|
2328
2163
|
response = pipeline_response.http_response
|
@@ -2332,8 +2167,4 @@ class StorageAccountsOperations:
|
|
2332
2167
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
2333
2168
|
|
2334
2169
|
if cls:
|
2335
|
-
return cls(pipeline_response, None, {})
|
2336
|
-
|
2337
|
-
revoke_user_delegation_keys.metadata = {
|
2338
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
|
2339
|
-
}
|
2170
|
+
return cls(pipeline_response, None, {}) # type: ignore
|