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.v2019_06_01.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.v2019_06_01.models.CheckNameAvailabilityResult
|
567
565
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -569,25 +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
|
-
~azure.mgmt.storage.v2019_06_01.models.StorageAccountCheckNameAvailabilityParameters or
|
582
|
-
|
583
|
-
Default value is None.
|
584
|
-
:paramtype content_type: str
|
585
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
579
|
+
~azure.mgmt.storage.v2019_06_01.models.StorageAccountCheckNameAvailabilityParameters or
|
580
|
+
IO[bytes]
|
586
581
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
587
582
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.CheckNameAvailabilityResult
|
588
583
|
:raises ~azure.core.exceptions.HttpResponseError:
|
589
584
|
"""
|
590
|
-
error_map = {
|
585
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
591
586
|
401: ClientAuthenticationError,
|
592
587
|
404: ResourceNotFoundError,
|
593
588
|
409: ResourceExistsError,
|
@@ -610,22 +605,21 @@ class StorageAccountsOperations:
|
|
610
605
|
else:
|
611
606
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
612
607
|
|
613
|
-
|
608
|
+
_request = build_check_name_availability_request(
|
614
609
|
subscription_id=self._config.subscription_id,
|
615
610
|
api_version=api_version,
|
616
611
|
content_type=content_type,
|
617
612
|
json=_json,
|
618
613
|
content=_content,
|
619
|
-
template_url=self.check_name_availability.metadata["url"],
|
620
614
|
headers=_headers,
|
621
615
|
params=_params,
|
622
616
|
)
|
623
|
-
|
624
|
-
|
617
|
+
_request = _convert_request(_request)
|
618
|
+
_request.url = self._client.format_url(_request.url)
|
625
619
|
|
626
620
|
_stream = False
|
627
621
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
628
|
-
|
622
|
+
_request, stream=_stream, **kwargs
|
629
623
|
)
|
630
624
|
|
631
625
|
response = pipeline_response.http_response
|
@@ -637,22 +631,18 @@ class StorageAccountsOperations:
|
|
637
631
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
638
632
|
|
639
633
|
if cls:
|
640
|
-
return cls(pipeline_response, deserialized, {})
|
641
|
-
|
642
|
-
return deserialized
|
634
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
643
635
|
|
644
|
-
|
645
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
646
|
-
}
|
636
|
+
return deserialized # type: ignore
|
647
637
|
|
648
638
|
def _create_initial(
|
649
639
|
self,
|
650
640
|
resource_group_name: str,
|
651
641
|
account_name: str,
|
652
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
642
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
653
643
|
**kwargs: Any
|
654
644
|
) -> Optional[_models.StorageAccount]:
|
655
|
-
error_map = {
|
645
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
656
646
|
401: ClientAuthenticationError,
|
657
647
|
404: ResourceNotFoundError,
|
658
648
|
409: ResourceExistsError,
|
@@ -675,7 +665,7 @@ class StorageAccountsOperations:
|
|
675
665
|
else:
|
676
666
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
677
667
|
|
678
|
-
|
668
|
+
_request = build_create_request(
|
679
669
|
resource_group_name=resource_group_name,
|
680
670
|
account_name=account_name,
|
681
671
|
subscription_id=self._config.subscription_id,
|
@@ -683,16 +673,15 @@ class StorageAccountsOperations:
|
|
683
673
|
content_type=content_type,
|
684
674
|
json=_json,
|
685
675
|
content=_content,
|
686
|
-
template_url=self._create_initial.metadata["url"],
|
687
676
|
headers=_headers,
|
688
677
|
params=_params,
|
689
678
|
)
|
690
|
-
|
691
|
-
|
679
|
+
_request = _convert_request(_request)
|
680
|
+
_request.url = self._client.format_url(_request.url)
|
692
681
|
|
693
682
|
_stream = False
|
694
683
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
695
|
-
|
684
|
+
_request, stream=_stream, **kwargs
|
696
685
|
)
|
697
686
|
|
698
687
|
response = pipeline_response.http_response
|
@@ -706,13 +695,9 @@ class StorageAccountsOperations:
|
|
706
695
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
707
696
|
|
708
697
|
if cls:
|
709
|
-
return cls(pipeline_response, deserialized, {})
|
710
|
-
|
711
|
-
return deserialized
|
698
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
712
699
|
|
713
|
-
|
714
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
715
|
-
}
|
700
|
+
return deserialized # type: ignore
|
716
701
|
|
717
702
|
@overload
|
718
703
|
def begin_create(
|
@@ -741,14 +726,6 @@ class StorageAccountsOperations:
|
|
741
726
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
742
727
|
Default value is "application/json".
|
743
728
|
:paramtype content_type: str
|
744
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
745
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
746
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
747
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
748
|
-
strategy.
|
749
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
750
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
751
|
-
Retry-After header is present.
|
752
729
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
753
730
|
cls(response)
|
754
731
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2019_06_01.models.StorageAccount]
|
@@ -760,7 +737,7 @@ class StorageAccountsOperations:
|
|
760
737
|
self,
|
761
738
|
resource_group_name: str,
|
762
739
|
account_name: str,
|
763
|
-
parameters: IO,
|
740
|
+
parameters: IO[bytes],
|
764
741
|
*,
|
765
742
|
content_type: str = "application/json",
|
766
743
|
**kwargs: Any
|
@@ -778,18 +755,10 @@ class StorageAccountsOperations:
|
|
778
755
|
lower-case letters only. Required.
|
779
756
|
:type account_name: str
|
780
757
|
:param parameters: The parameters to provide for the created account. Required.
|
781
|
-
:type parameters: IO
|
758
|
+
:type parameters: IO[bytes]
|
782
759
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
783
760
|
Default value is "application/json".
|
784
761
|
:paramtype content_type: str
|
785
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
786
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
787
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
788
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
789
|
-
strategy.
|
790
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
791
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
792
|
-
Retry-After header is present.
|
793
762
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
794
763
|
cls(response)
|
795
764
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2019_06_01.models.StorageAccount]
|
@@ -801,7 +770,7 @@ class StorageAccountsOperations:
|
|
801
770
|
self,
|
802
771
|
resource_group_name: str,
|
803
772
|
account_name: str,
|
804
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
773
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
805
774
|
**kwargs: Any
|
806
775
|
) -> LROPoller[_models.StorageAccount]:
|
807
776
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -817,19 +786,9 @@ class StorageAccountsOperations:
|
|
817
786
|
lower-case letters only. Required.
|
818
787
|
:type account_name: str
|
819
788
|
:param parameters: The parameters to provide for the created account. Is either a
|
820
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
821
|
-
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountCreateParameters or
|
822
|
-
|
823
|
-
Default value is None.
|
824
|
-
:paramtype content_type: str
|
825
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
826
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
827
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
828
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
829
|
-
strategy.
|
830
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
831
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
832
|
-
Retry-After header is present.
|
789
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
790
|
+
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountCreateParameters or
|
791
|
+
IO[bytes]
|
833
792
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
834
793
|
cls(response)
|
835
794
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2019_06_01.models.StorageAccount]
|
@@ -861,7 +820,7 @@ class StorageAccountsOperations:
|
|
861
820
|
def get_long_running_output(pipeline_response):
|
862
821
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
863
822
|
if cls:
|
864
|
-
return cls(pipeline_response, deserialized, {})
|
823
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
865
824
|
return deserialized
|
866
825
|
|
867
826
|
if polling is True:
|
@@ -871,17 +830,15 @@ class StorageAccountsOperations:
|
|
871
830
|
else:
|
872
831
|
polling_method = polling
|
873
832
|
if cont_token:
|
874
|
-
return LROPoller.from_continuation_token(
|
833
|
+
return LROPoller[_models.StorageAccount].from_continuation_token(
|
875
834
|
polling_method=polling_method,
|
876
835
|
continuation_token=cont_token,
|
877
836
|
client=self._client,
|
878
837
|
deserialization_callback=get_long_running_output,
|
879
838
|
)
|
880
|
-
return LROPoller(
|
881
|
-
|
882
|
-
|
883
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
884
|
-
}
|
839
|
+
return LROPoller[_models.StorageAccount](
|
840
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
841
|
+
)
|
885
842
|
|
886
843
|
@distributed_trace
|
887
844
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -896,12 +853,11 @@ class StorageAccountsOperations:
|
|
896
853
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
897
854
|
lower-case letters only. Required.
|
898
855
|
:type account_name: str
|
899
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
900
856
|
:return: None or the result of cls(response)
|
901
857
|
:rtype: None
|
902
858
|
:raises ~azure.core.exceptions.HttpResponseError:
|
903
859
|
"""
|
904
|
-
error_map = {
|
860
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
905
861
|
401: ClientAuthenticationError,
|
906
862
|
404: ResourceNotFoundError,
|
907
863
|
409: ResourceExistsError,
|
@@ -915,21 +871,20 @@ class StorageAccountsOperations:
|
|
915
871
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-06-01"))
|
916
872
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
917
873
|
|
918
|
-
|
874
|
+
_request = build_delete_request(
|
919
875
|
resource_group_name=resource_group_name,
|
920
876
|
account_name=account_name,
|
921
877
|
subscription_id=self._config.subscription_id,
|
922
878
|
api_version=api_version,
|
923
|
-
template_url=self.delete.metadata["url"],
|
924
879
|
headers=_headers,
|
925
880
|
params=_params,
|
926
881
|
)
|
927
|
-
|
928
|
-
|
882
|
+
_request = _convert_request(_request)
|
883
|
+
_request.url = self._client.format_url(_request.url)
|
929
884
|
|
930
885
|
_stream = False
|
931
886
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
932
|
-
|
887
|
+
_request, stream=_stream, **kwargs
|
933
888
|
)
|
934
889
|
|
935
890
|
response = pipeline_response.http_response
|
@@ -939,11 +894,7 @@ class StorageAccountsOperations:
|
|
939
894
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
940
895
|
|
941
896
|
if cls:
|
942
|
-
return cls(pipeline_response, None, {})
|
943
|
-
|
944
|
-
delete.metadata = {
|
945
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
946
|
-
}
|
897
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
947
898
|
|
948
899
|
@distributed_trace
|
949
900
|
def get_properties(
|
@@ -969,12 +920,11 @@ class StorageAccountsOperations:
|
|
969
920
|
and blobRestoreStatus. Known values are: "geoReplicationStats" and "blobRestoreStatus". Default
|
970
921
|
value is None.
|
971
922
|
:type expand: str or ~azure.mgmt.storage.v2019_06_01.models.StorageAccountExpand
|
972
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
973
923
|
:return: StorageAccount or the result of cls(response)
|
974
924
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccount
|
975
925
|
:raises ~azure.core.exceptions.HttpResponseError:
|
976
926
|
"""
|
977
|
-
error_map = {
|
927
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
978
928
|
401: ClientAuthenticationError,
|
979
929
|
404: ResourceNotFoundError,
|
980
930
|
409: ResourceExistsError,
|
@@ -988,22 +938,21 @@ class StorageAccountsOperations:
|
|
988
938
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-06-01"))
|
989
939
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
990
940
|
|
991
|
-
|
941
|
+
_request = build_get_properties_request(
|
992
942
|
resource_group_name=resource_group_name,
|
993
943
|
account_name=account_name,
|
994
944
|
subscription_id=self._config.subscription_id,
|
995
945
|
expand=expand,
|
996
946
|
api_version=api_version,
|
997
|
-
template_url=self.get_properties.metadata["url"],
|
998
947
|
headers=_headers,
|
999
948
|
params=_params,
|
1000
949
|
)
|
1001
|
-
|
1002
|
-
|
950
|
+
_request = _convert_request(_request)
|
951
|
+
_request.url = self._client.format_url(_request.url)
|
1003
952
|
|
1004
953
|
_stream = False
|
1005
954
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1006
|
-
|
955
|
+
_request, stream=_stream, **kwargs
|
1007
956
|
)
|
1008
957
|
|
1009
958
|
response = pipeline_response.http_response
|
@@ -1015,13 +964,9 @@ class StorageAccountsOperations:
|
|
1015
964
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
1016
965
|
|
1017
966
|
if cls:
|
1018
|
-
return cls(pipeline_response, deserialized, {})
|
1019
|
-
|
1020
|
-
return deserialized
|
967
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1021
968
|
|
1022
|
-
|
1023
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
1024
|
-
}
|
969
|
+
return deserialized # type: ignore
|
1025
970
|
|
1026
971
|
@overload
|
1027
972
|
def update(
|
@@ -1054,7 +999,6 @@ class StorageAccountsOperations:
|
|
1054
999
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1055
1000
|
Default value is "application/json".
|
1056
1001
|
:paramtype content_type: str
|
1057
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1058
1002
|
:return: StorageAccount or the result of cls(response)
|
1059
1003
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccount
|
1060
1004
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1065,7 +1009,7 @@ class StorageAccountsOperations:
|
|
1065
1009
|
self,
|
1066
1010
|
resource_group_name: str,
|
1067
1011
|
account_name: str,
|
1068
|
-
parameters: IO,
|
1012
|
+
parameters: IO[bytes],
|
1069
1013
|
*,
|
1070
1014
|
content_type: str = "application/json",
|
1071
1015
|
**kwargs: Any
|
@@ -1087,11 +1031,10 @@ class StorageAccountsOperations:
|
|
1087
1031
|
lower-case letters only. Required.
|
1088
1032
|
:type account_name: str
|
1089
1033
|
:param parameters: The parameters to provide for the updated account. Required.
|
1090
|
-
:type parameters: IO
|
1034
|
+
:type parameters: IO[bytes]
|
1091
1035
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1092
1036
|
Default value is "application/json".
|
1093
1037
|
:paramtype content_type: str
|
1094
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1095
1038
|
:return: StorageAccount or the result of cls(response)
|
1096
1039
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccount
|
1097
1040
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1102,7 +1045,7 @@ class StorageAccountsOperations:
|
|
1102
1045
|
self,
|
1103
1046
|
resource_group_name: str,
|
1104
1047
|
account_name: str,
|
1105
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
1048
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
1106
1049
|
**kwargs: Any
|
1107
1050
|
) -> _models.StorageAccount:
|
1108
1051
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -1122,17 +1065,14 @@ class StorageAccountsOperations:
|
|
1122
1065
|
lower-case letters only. Required.
|
1123
1066
|
:type account_name: str
|
1124
1067
|
:param parameters: The parameters to provide for the updated account. Is either a
|
1125
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
1126
|
-
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountUpdateParameters or
|
1127
|
-
|
1128
|
-
Default value is None.
|
1129
|
-
:paramtype content_type: str
|
1130
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1068
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
1069
|
+
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountUpdateParameters or
|
1070
|
+
IO[bytes]
|
1131
1071
|
:return: StorageAccount or the result of cls(response)
|
1132
1072
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccount
|
1133
1073
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1134
1074
|
"""
|
1135
|
-
error_map = {
|
1075
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1136
1076
|
401: ClientAuthenticationError,
|
1137
1077
|
404: ResourceNotFoundError,
|
1138
1078
|
409: ResourceExistsError,
|
@@ -1155,7 +1095,7 @@ class StorageAccountsOperations:
|
|
1155
1095
|
else:
|
1156
1096
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
1157
1097
|
|
1158
|
-
|
1098
|
+
_request = build_update_request(
|
1159
1099
|
resource_group_name=resource_group_name,
|
1160
1100
|
account_name=account_name,
|
1161
1101
|
subscription_id=self._config.subscription_id,
|
@@ -1163,16 +1103,15 @@ class StorageAccountsOperations:
|
|
1163
1103
|
content_type=content_type,
|
1164
1104
|
json=_json,
|
1165
1105
|
content=_content,
|
1166
|
-
template_url=self.update.metadata["url"],
|
1167
1106
|
headers=_headers,
|
1168
1107
|
params=_params,
|
1169
1108
|
)
|
1170
|
-
|
1171
|
-
|
1109
|
+
_request = _convert_request(_request)
|
1110
|
+
_request.url = self._client.format_url(_request.url)
|
1172
1111
|
|
1173
1112
|
_stream = False
|
1174
1113
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1175
|
-
|
1114
|
+
_request, stream=_stream, **kwargs
|
1176
1115
|
)
|
1177
1116
|
|
1178
1117
|
response = pipeline_response.http_response
|
@@ -1184,20 +1123,15 @@ class StorageAccountsOperations:
|
|
1184
1123
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
1185
1124
|
|
1186
1125
|
if cls:
|
1187
|
-
return cls(pipeline_response, deserialized, {})
|
1188
|
-
|
1189
|
-
return deserialized
|
1126
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1190
1127
|
|
1191
|
-
|
1192
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
1193
|
-
}
|
1128
|
+
return deserialized # type: ignore
|
1194
1129
|
|
1195
1130
|
@distributed_trace
|
1196
1131
|
def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1197
1132
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
1198
1133
|
returned; use the ListKeys operation for this.
|
1199
1134
|
|
1200
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1201
1135
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1202
1136
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2019_06_01.models.StorageAccount]
|
1203
1137
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1208,7 +1142,7 @@ class StorageAccountsOperations:
|
|
1208
1142
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-06-01"))
|
1209
1143
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1210
1144
|
|
1211
|
-
error_map = {
|
1145
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1212
1146
|
401: ClientAuthenticationError,
|
1213
1147
|
404: ResourceNotFoundError,
|
1214
1148
|
409: ResourceExistsError,
|
@@ -1219,15 +1153,14 @@ class StorageAccountsOperations:
|
|
1219
1153
|
def prepare_request(next_link=None):
|
1220
1154
|
if not next_link:
|
1221
1155
|
|
1222
|
-
|
1156
|
+
_request = build_list_request(
|
1223
1157
|
subscription_id=self._config.subscription_id,
|
1224
1158
|
api_version=api_version,
|
1225
|
-
template_url=self.list.metadata["url"],
|
1226
1159
|
headers=_headers,
|
1227
1160
|
params=_params,
|
1228
1161
|
)
|
1229
|
-
|
1230
|
-
|
1162
|
+
_request = _convert_request(_request)
|
1163
|
+
_request.url = self._client.format_url(_request.url)
|
1231
1164
|
|
1232
1165
|
else:
|
1233
1166
|
# make call to next link with the client's api-version
|
@@ -1238,14 +1171,14 @@ class StorageAccountsOperations:
|
|
1238
1171
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1239
1172
|
}
|
1240
1173
|
)
|
1241
|
-
_next_request_params["api-version"] = self.
|
1242
|
-
|
1174
|
+
_next_request_params["api-version"] = self._api_version
|
1175
|
+
_request = HttpRequest(
|
1243
1176
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1244
1177
|
)
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1248
|
-
return
|
1178
|
+
_request = _convert_request(_request)
|
1179
|
+
_request.url = self._client.format_url(_request.url)
|
1180
|
+
_request.method = "GET"
|
1181
|
+
return _request
|
1249
1182
|
|
1250
1183
|
def extract_data(pipeline_response):
|
1251
1184
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1255,11 +1188,11 @@ class StorageAccountsOperations:
|
|
1255
1188
|
return deserialized.next_link or None, iter(list_of_elem)
|
1256
1189
|
|
1257
1190
|
def get_next(next_link=None):
|
1258
|
-
|
1191
|
+
_request = prepare_request(next_link)
|
1259
1192
|
|
1260
1193
|
_stream = False
|
1261
1194
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1262
|
-
|
1195
|
+
_request, stream=_stream, **kwargs
|
1263
1196
|
)
|
1264
1197
|
response = pipeline_response.http_response
|
1265
1198
|
|
@@ -1271,8 +1204,6 @@ class StorageAccountsOperations:
|
|
1271
1204
|
|
1272
1205
|
return ItemPaged(get_next, extract_data)
|
1273
1206
|
|
1274
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
1275
|
-
|
1276
1207
|
@distributed_trace
|
1277
1208
|
def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1278
1209
|
"""Lists all the storage accounts available under the given resource group. Note that storage keys
|
@@ -1281,7 +1212,6 @@ class StorageAccountsOperations:
|
|
1281
1212
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1282
1213
|
name is case insensitive. Required.
|
1283
1214
|
:type resource_group_name: str
|
1284
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1285
1215
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1286
1216
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2019_06_01.models.StorageAccount]
|
1287
1217
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1292,7 +1222,7 @@ class StorageAccountsOperations:
|
|
1292
1222
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-06-01"))
|
1293
1223
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1294
1224
|
|
1295
|
-
error_map = {
|
1225
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1296
1226
|
401: ClientAuthenticationError,
|
1297
1227
|
404: ResourceNotFoundError,
|
1298
1228
|
409: ResourceExistsError,
|
@@ -1303,16 +1233,15 @@ class StorageAccountsOperations:
|
|
1303
1233
|
def prepare_request(next_link=None):
|
1304
1234
|
if not next_link:
|
1305
1235
|
|
1306
|
-
|
1236
|
+
_request = build_list_by_resource_group_request(
|
1307
1237
|
resource_group_name=resource_group_name,
|
1308
1238
|
subscription_id=self._config.subscription_id,
|
1309
1239
|
api_version=api_version,
|
1310
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
1311
1240
|
headers=_headers,
|
1312
1241
|
params=_params,
|
1313
1242
|
)
|
1314
|
-
|
1315
|
-
|
1243
|
+
_request = _convert_request(_request)
|
1244
|
+
_request.url = self._client.format_url(_request.url)
|
1316
1245
|
|
1317
1246
|
else:
|
1318
1247
|
# make call to next link with the client's api-version
|
@@ -1323,14 +1252,14 @@ class StorageAccountsOperations:
|
|
1323
1252
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1324
1253
|
}
|
1325
1254
|
)
|
1326
|
-
_next_request_params["api-version"] = self.
|
1327
|
-
|
1255
|
+
_next_request_params["api-version"] = self._api_version
|
1256
|
+
_request = HttpRequest(
|
1328
1257
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1329
1258
|
)
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
return
|
1259
|
+
_request = _convert_request(_request)
|
1260
|
+
_request.url = self._client.format_url(_request.url)
|
1261
|
+
_request.method = "GET"
|
1262
|
+
return _request
|
1334
1263
|
|
1335
1264
|
def extract_data(pipeline_response):
|
1336
1265
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1340,11 +1269,11 @@ class StorageAccountsOperations:
|
|
1340
1269
|
return None, iter(list_of_elem)
|
1341
1270
|
|
1342
1271
|
def get_next(next_link=None):
|
1343
|
-
|
1272
|
+
_request = prepare_request(next_link)
|
1344
1273
|
|
1345
1274
|
_stream = False
|
1346
1275
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1347
|
-
|
1276
|
+
_request, stream=_stream, **kwargs
|
1348
1277
|
)
|
1349
1278
|
response = pipeline_response.http_response
|
1350
1279
|
|
@@ -1356,10 +1285,6 @@ class StorageAccountsOperations:
|
|
1356
1285
|
|
1357
1286
|
return ItemPaged(get_next, extract_data)
|
1358
1287
|
|
1359
|
-
list_by_resource_group.metadata = {
|
1360
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
1361
|
-
}
|
1362
|
-
|
1363
1288
|
@distributed_trace
|
1364
1289
|
def list_keys(
|
1365
1290
|
self, resource_group_name: str, account_name: str, expand: Literal["kerb"] = "kerb", **kwargs: Any
|
@@ -1377,12 +1302,11 @@ class StorageAccountsOperations:
|
|
1377
1302
|
:param expand: Specifies type of the key to be listed. Possible value is kerb. Known values are
|
1378
1303
|
"kerb" and None. Default value is "kerb".
|
1379
1304
|
:type expand: str
|
1380
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1381
1305
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1382
1306
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountListKeysResult
|
1383
1307
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1384
1308
|
"""
|
1385
|
-
error_map = {
|
1309
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1386
1310
|
401: ClientAuthenticationError,
|
1387
1311
|
404: ResourceNotFoundError,
|
1388
1312
|
409: ResourceExistsError,
|
@@ -1396,22 +1320,21 @@ class StorageAccountsOperations:
|
|
1396
1320
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-06-01"))
|
1397
1321
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
1398
1322
|
|
1399
|
-
|
1323
|
+
_request = build_list_keys_request(
|
1400
1324
|
resource_group_name=resource_group_name,
|
1401
1325
|
account_name=account_name,
|
1402
1326
|
subscription_id=self._config.subscription_id,
|
1403
1327
|
expand=expand,
|
1404
1328
|
api_version=api_version,
|
1405
|
-
template_url=self.list_keys.metadata["url"],
|
1406
1329
|
headers=_headers,
|
1407
1330
|
params=_params,
|
1408
1331
|
)
|
1409
|
-
|
1410
|
-
|
1332
|
+
_request = _convert_request(_request)
|
1333
|
+
_request.url = self._client.format_url(_request.url)
|
1411
1334
|
|
1412
1335
|
_stream = False
|
1413
1336
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1414
|
-
|
1337
|
+
_request, stream=_stream, **kwargs
|
1415
1338
|
)
|
1416
1339
|
|
1417
1340
|
response = pipeline_response.http_response
|
@@ -1423,13 +1346,9 @@ class StorageAccountsOperations:
|
|
1423
1346
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1424
1347
|
|
1425
1348
|
if cls:
|
1426
|
-
return cls(pipeline_response, deserialized, {})
|
1427
|
-
|
1428
|
-
return deserialized
|
1349
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1429
1350
|
|
1430
|
-
|
1431
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
1432
|
-
}
|
1351
|
+
return deserialized # type: ignore
|
1433
1352
|
|
1434
1353
|
@overload
|
1435
1354
|
def regenerate_key(
|
@@ -1457,7 +1376,6 @@ class StorageAccountsOperations:
|
|
1457
1376
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1458
1377
|
Default value is "application/json".
|
1459
1378
|
:paramtype content_type: str
|
1460
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1461
1379
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1462
1380
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountListKeysResult
|
1463
1381
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1468,7 +1386,7 @@ class StorageAccountsOperations:
|
|
1468
1386
|
self,
|
1469
1387
|
resource_group_name: str,
|
1470
1388
|
account_name: str,
|
1471
|
-
regenerate_key: IO,
|
1389
|
+
regenerate_key: IO[bytes],
|
1472
1390
|
*,
|
1473
1391
|
content_type: str = "application/json",
|
1474
1392
|
**kwargs: Any
|
@@ -1484,11 +1402,10 @@ class StorageAccountsOperations:
|
|
1484
1402
|
:type account_name: str
|
1485
1403
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1486
1404
|
kerb1, kerb2. Required.
|
1487
|
-
:type regenerate_key: IO
|
1405
|
+
:type regenerate_key: IO[bytes]
|
1488
1406
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1489
1407
|
Default value is "application/json".
|
1490
1408
|
:paramtype content_type: str
|
1491
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1492
1409
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1493
1410
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountListKeysResult
|
1494
1411
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1499,7 +1416,7 @@ class StorageAccountsOperations:
|
|
1499
1416
|
self,
|
1500
1417
|
resource_group_name: str,
|
1501
1418
|
account_name: str,
|
1502
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
1419
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1503
1420
|
**kwargs: Any
|
1504
1421
|
) -> _models.StorageAccountListKeysResult:
|
1505
1422
|
"""Regenerates one of the access keys or Kerberos keys for the specified storage account.
|
@@ -1512,18 +1429,15 @@ class StorageAccountsOperations:
|
|
1512
1429
|
lower-case letters only. Required.
|
1513
1430
|
:type account_name: str
|
1514
1431
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1515
|
-
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO type.
|
1432
|
+
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
|
1433
|
+
Required.
|
1516
1434
|
:type regenerate_key:
|
1517
|
-
~azure.mgmt.storage.v2019_06_01.models.StorageAccountRegenerateKeyParameters or IO
|
1518
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1519
|
-
Default value is None.
|
1520
|
-
:paramtype content_type: str
|
1521
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1435
|
+
~azure.mgmt.storage.v2019_06_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
|
1522
1436
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1523
1437
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccountListKeysResult
|
1524
1438
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1525
1439
|
"""
|
1526
|
-
error_map = {
|
1440
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1527
1441
|
401: ClientAuthenticationError,
|
1528
1442
|
404: ResourceNotFoundError,
|
1529
1443
|
409: ResourceExistsError,
|
@@ -1546,7 +1460,7 @@ class StorageAccountsOperations:
|
|
1546
1460
|
else:
|
1547
1461
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1548
1462
|
|
1549
|
-
|
1463
|
+
_request = build_regenerate_key_request(
|
1550
1464
|
resource_group_name=resource_group_name,
|
1551
1465
|
account_name=account_name,
|
1552
1466
|
subscription_id=self._config.subscription_id,
|
@@ -1554,16 +1468,15 @@ class StorageAccountsOperations:
|
|
1554
1468
|
content_type=content_type,
|
1555
1469
|
json=_json,
|
1556
1470
|
content=_content,
|
1557
|
-
template_url=self.regenerate_key.metadata["url"],
|
1558
1471
|
headers=_headers,
|
1559
1472
|
params=_params,
|
1560
1473
|
)
|
1561
|
-
|
1562
|
-
|
1474
|
+
_request = _convert_request(_request)
|
1475
|
+
_request.url = self._client.format_url(_request.url)
|
1563
1476
|
|
1564
1477
|
_stream = False
|
1565
1478
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1566
|
-
|
1479
|
+
_request, stream=_stream, **kwargs
|
1567
1480
|
)
|
1568
1481
|
|
1569
1482
|
response = pipeline_response.http_response
|
@@ -1575,13 +1488,9 @@ class StorageAccountsOperations:
|
|
1575
1488
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1576
1489
|
|
1577
1490
|
if cls:
|
1578
|
-
return cls(pipeline_response, deserialized, {})
|
1579
|
-
|
1580
|
-
return deserialized
|
1491
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1581
1492
|
|
1582
|
-
|
1583
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1584
|
-
}
|
1493
|
+
return deserialized # type: ignore
|
1585
1494
|
|
1586
1495
|
@overload
|
1587
1496
|
def list_account_sas(
|
@@ -1608,7 +1517,6 @@ class StorageAccountsOperations:
|
|
1608
1517
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1609
1518
|
Default value is "application/json".
|
1610
1519
|
:paramtype content_type: str
|
1611
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1612
1520
|
:return: ListAccountSasResponse or the result of cls(response)
|
1613
1521
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.ListAccountSasResponse
|
1614
1522
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1619,7 +1527,7 @@ class StorageAccountsOperations:
|
|
1619
1527
|
self,
|
1620
1528
|
resource_group_name: str,
|
1621
1529
|
account_name: str,
|
1622
|
-
parameters: IO,
|
1530
|
+
parameters: IO[bytes],
|
1623
1531
|
*,
|
1624
1532
|
content_type: str = "application/json",
|
1625
1533
|
**kwargs: Any
|
@@ -1635,11 +1543,10 @@ class StorageAccountsOperations:
|
|
1635
1543
|
:type account_name: str
|
1636
1544
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1637
1545
|
Required.
|
1638
|
-
:type parameters: IO
|
1546
|
+
:type parameters: IO[bytes]
|
1639
1547
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1640
1548
|
Default value is "application/json".
|
1641
1549
|
:paramtype content_type: str
|
1642
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1643
1550
|
:return: ListAccountSasResponse or the result of cls(response)
|
1644
1551
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.ListAccountSasResponse
|
1645
1552
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1650,7 +1557,7 @@ class StorageAccountsOperations:
|
|
1650
1557
|
self,
|
1651
1558
|
resource_group_name: str,
|
1652
1559
|
account_name: str,
|
1653
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1560
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1654
1561
|
**kwargs: Any
|
1655
1562
|
) -> _models.ListAccountSasResponse:
|
1656
1563
|
"""List SAS credentials of a storage account.
|
@@ -1663,17 +1570,13 @@ class StorageAccountsOperations:
|
|
1663
1570
|
lower-case letters only. Required.
|
1664
1571
|
:type account_name: str
|
1665
1572
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1666
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1667
|
-
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.AccountSasParameters or IO
|
1668
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1669
|
-
Default value is None.
|
1670
|
-
:paramtype content_type: str
|
1671
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1573
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1574
|
+
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.AccountSasParameters or IO[bytes]
|
1672
1575
|
:return: ListAccountSasResponse or the result of cls(response)
|
1673
1576
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.ListAccountSasResponse
|
1674
1577
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1675
1578
|
"""
|
1676
|
-
error_map = {
|
1579
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1677
1580
|
401: ClientAuthenticationError,
|
1678
1581
|
404: ResourceNotFoundError,
|
1679
1582
|
409: ResourceExistsError,
|
@@ -1696,7 +1599,7 @@ class StorageAccountsOperations:
|
|
1696
1599
|
else:
|
1697
1600
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1698
1601
|
|
1699
|
-
|
1602
|
+
_request = build_list_account_sas_request(
|
1700
1603
|
resource_group_name=resource_group_name,
|
1701
1604
|
account_name=account_name,
|
1702
1605
|
subscription_id=self._config.subscription_id,
|
@@ -1704,16 +1607,15 @@ class StorageAccountsOperations:
|
|
1704
1607
|
content_type=content_type,
|
1705
1608
|
json=_json,
|
1706
1609
|
content=_content,
|
1707
|
-
template_url=self.list_account_sas.metadata["url"],
|
1708
1610
|
headers=_headers,
|
1709
1611
|
params=_params,
|
1710
1612
|
)
|
1711
|
-
|
1712
|
-
|
1613
|
+
_request = _convert_request(_request)
|
1614
|
+
_request.url = self._client.format_url(_request.url)
|
1713
1615
|
|
1714
1616
|
_stream = False
|
1715
1617
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1716
|
-
|
1618
|
+
_request, stream=_stream, **kwargs
|
1717
1619
|
)
|
1718
1620
|
|
1719
1621
|
response = pipeline_response.http_response
|
@@ -1725,13 +1627,9 @@ class StorageAccountsOperations:
|
|
1725
1627
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1726
1628
|
|
1727
1629
|
if cls:
|
1728
|
-
return cls(pipeline_response, deserialized, {})
|
1729
|
-
|
1730
|
-
return deserialized
|
1630
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1731
1631
|
|
1732
|
-
|
1733
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1734
|
-
}
|
1632
|
+
return deserialized # type: ignore
|
1735
1633
|
|
1736
1634
|
@overload
|
1737
1635
|
def list_service_sas(
|
@@ -1757,7 +1655,6 @@ class StorageAccountsOperations:
|
|
1757
1655
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1758
1656
|
Default value is "application/json".
|
1759
1657
|
:paramtype content_type: str
|
1760
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1761
1658
|
:return: ListServiceSasResponse or the result of cls(response)
|
1762
1659
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.ListServiceSasResponse
|
1763
1660
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1768,7 +1665,7 @@ class StorageAccountsOperations:
|
|
1768
1665
|
self,
|
1769
1666
|
resource_group_name: str,
|
1770
1667
|
account_name: str,
|
1771
|
-
parameters: IO,
|
1668
|
+
parameters: IO[bytes],
|
1772
1669
|
*,
|
1773
1670
|
content_type: str = "application/json",
|
1774
1671
|
**kwargs: Any
|
@@ -1783,11 +1680,10 @@ class StorageAccountsOperations:
|
|
1783
1680
|
lower-case letters only. Required.
|
1784
1681
|
:type account_name: str
|
1785
1682
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1786
|
-
:type parameters: IO
|
1683
|
+
:type parameters: IO[bytes]
|
1787
1684
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary 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.v2019_06_01.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: Union[_models.ServiceSasParameters, IO],
|
1697
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1802
1698
|
**kwargs: Any
|
1803
1699
|
) -> _models.ListServiceSasResponse:
|
1804
1700
|
"""List service SAS credentials of a specific resource.
|
@@ -1811,17 +1707,13 @@ class StorageAccountsOperations:
|
|
1811
1707
|
lower-case letters only. Required.
|
1812
1708
|
:type account_name: str
|
1813
1709
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1814
|
-
ServiceSasParameters type or a IO type. Required.
|
1815
|
-
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.ServiceSasParameters or IO
|
1816
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1817
|
-
Default value is None.
|
1818
|
-
:paramtype content_type: str
|
1819
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1710
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1711
|
+
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.ServiceSasParameters or IO[bytes]
|
1820
1712
|
:return: ListServiceSasResponse or the result of cls(response)
|
1821
1713
|
:rtype: ~azure.mgmt.storage.v2019_06_01.models.ListServiceSasResponse
|
1822
1714
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1823
1715
|
"""
|
1824
|
-
error_map = {
|
1716
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1825
1717
|
401: ClientAuthenticationError,
|
1826
1718
|
404: ResourceNotFoundError,
|
1827
1719
|
409: ResourceExistsError,
|
@@ -1844,7 +1736,7 @@ class StorageAccountsOperations:
|
|
1844
1736
|
else:
|
1845
1737
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1846
1738
|
|
1847
|
-
|
1739
|
+
_request = build_list_service_sas_request(
|
1848
1740
|
resource_group_name=resource_group_name,
|
1849
1741
|
account_name=account_name,
|
1850
1742
|
subscription_id=self._config.subscription_id,
|
@@ -1852,16 +1744,15 @@ class StorageAccountsOperations:
|
|
1852
1744
|
content_type=content_type,
|
1853
1745
|
json=_json,
|
1854
1746
|
content=_content,
|
1855
|
-
template_url=self.list_service_sas.metadata["url"],
|
1856
1747
|
headers=_headers,
|
1857
1748
|
params=_params,
|
1858
1749
|
)
|
1859
|
-
|
1860
|
-
|
1750
|
+
_request = _convert_request(_request)
|
1751
|
+
_request.url = self._client.format_url(_request.url)
|
1861
1752
|
|
1862
1753
|
_stream = False
|
1863
1754
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1864
|
-
|
1755
|
+
_request, stream=_stream, **kwargs
|
1865
1756
|
)
|
1866
1757
|
|
1867
1758
|
response = pipeline_response.http_response
|
@@ -1873,18 +1764,14 @@ class StorageAccountsOperations:
|
|
1873
1764
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1874
1765
|
|
1875
1766
|
if cls:
|
1876
|
-
return cls(pipeline_response, deserialized, {})
|
1877
|
-
|
1878
|
-
return deserialized
|
1767
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1879
1768
|
|
1880
|
-
|
1881
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1882
|
-
}
|
1769
|
+
return deserialized # type: ignore
|
1883
1770
|
|
1884
1771
|
def _failover_initial( # pylint: disable=inconsistent-return-statements
|
1885
1772
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1886
1773
|
) -> None:
|
1887
|
-
error_map = {
|
1774
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1888
1775
|
401: ClientAuthenticationError,
|
1889
1776
|
404: ResourceNotFoundError,
|
1890
1777
|
409: ResourceExistsError,
|
@@ -1898,21 +1785,20 @@ class StorageAccountsOperations:
|
|
1898
1785
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-06-01"))
|
1899
1786
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1900
1787
|
|
1901
|
-
|
1788
|
+
_request = build_failover_request(
|
1902
1789
|
resource_group_name=resource_group_name,
|
1903
1790
|
account_name=account_name,
|
1904
1791
|
subscription_id=self._config.subscription_id,
|
1905
1792
|
api_version=api_version,
|
1906
|
-
template_url=self._failover_initial.metadata["url"],
|
1907
1793
|
headers=_headers,
|
1908
1794
|
params=_params,
|
1909
1795
|
)
|
1910
|
-
|
1911
|
-
|
1796
|
+
_request = _convert_request(_request)
|
1797
|
+
_request.url = self._client.format_url(_request.url)
|
1912
1798
|
|
1913
1799
|
_stream = False
|
1914
1800
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1915
|
-
|
1801
|
+
_request, stream=_stream, **kwargs
|
1916
1802
|
)
|
1917
1803
|
|
1918
1804
|
response = pipeline_response.http_response
|
@@ -1922,11 +1808,7 @@ class StorageAccountsOperations:
|
|
1922
1808
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1923
1809
|
|
1924
1810
|
if cls:
|
1925
|
-
return cls(pipeline_response, None, {})
|
1926
|
-
|
1927
|
-
_failover_initial.metadata = {
|
1928
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1929
|
-
}
|
1811
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1930
1812
|
|
1931
1813
|
@distributed_trace
|
1932
1814
|
def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> LROPoller[None]:
|
@@ -1941,14 +1823,6 @@ class StorageAccountsOperations:
|
|
1941
1823
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1942
1824
|
lower-case letters only. Required.
|
1943
1825
|
:type account_name: str
|
1944
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1945
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1946
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
1947
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
1948
|
-
strategy.
|
1949
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
1950
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1951
|
-
Retry-After header is present.
|
1952
1826
|
:return: An instance of LROPoller that returns either None or the result of cls(response)
|
1953
1827
|
:rtype: ~azure.core.polling.LROPoller[None]
|
1954
1828
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1975,7 +1849,7 @@ class StorageAccountsOperations:
|
|
1975
1849
|
|
1976
1850
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
1977
1851
|
if cls:
|
1978
|
-
return cls(pipeline_response, None, {})
|
1852
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1979
1853
|
|
1980
1854
|
if polling is True:
|
1981
1855
|
polling_method: PollingMethod = cast(
|
@@ -1986,26 +1860,22 @@ class StorageAccountsOperations:
|
|
1986
1860
|
else:
|
1987
1861
|
polling_method = polling
|
1988
1862
|
if cont_token:
|
1989
|
-
return LROPoller.from_continuation_token(
|
1863
|
+
return LROPoller[None].from_continuation_token(
|
1990
1864
|
polling_method=polling_method,
|
1991
1865
|
continuation_token=cont_token,
|
1992
1866
|
client=self._client,
|
1993
1867
|
deserialization_callback=get_long_running_output,
|
1994
1868
|
)
|
1995
|
-
return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1996
|
-
|
1997
|
-
begin_failover.metadata = {
|
1998
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1999
|
-
}
|
1869
|
+
return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
2000
1870
|
|
2001
1871
|
def _restore_blob_ranges_initial(
|
2002
1872
|
self,
|
2003
1873
|
resource_group_name: str,
|
2004
1874
|
account_name: str,
|
2005
|
-
parameters: Union[_models.BlobRestoreParameters, IO],
|
1875
|
+
parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
|
2006
1876
|
**kwargs: Any
|
2007
1877
|
) -> _models.BlobRestoreStatus:
|
2008
|
-
error_map = {
|
1878
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2009
1879
|
401: ClientAuthenticationError,
|
2010
1880
|
404: ResourceNotFoundError,
|
2011
1881
|
409: ResourceExistsError,
|
@@ -2028,7 +1898,7 @@ class StorageAccountsOperations:
|
|
2028
1898
|
else:
|
2029
1899
|
_json = self._serialize.body(parameters, "BlobRestoreParameters")
|
2030
1900
|
|
2031
|
-
|
1901
|
+
_request = build_restore_blob_ranges_request(
|
2032
1902
|
resource_group_name=resource_group_name,
|
2033
1903
|
account_name=account_name,
|
2034
1904
|
subscription_id=self._config.subscription_id,
|
@@ -2036,16 +1906,15 @@ class StorageAccountsOperations:
|
|
2036
1906
|
content_type=content_type,
|
2037
1907
|
json=_json,
|
2038
1908
|
content=_content,
|
2039
|
-
template_url=self._restore_blob_ranges_initial.metadata["url"],
|
2040
1909
|
headers=_headers,
|
2041
1910
|
params=_params,
|
2042
1911
|
)
|
2043
|
-
|
2044
|
-
|
1912
|
+
_request = _convert_request(_request)
|
1913
|
+
_request.url = self._client.format_url(_request.url)
|
2045
1914
|
|
2046
1915
|
_stream = False
|
2047
1916
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2048
|
-
|
1917
|
+
_request, stream=_stream, **kwargs
|
2049
1918
|
)
|
2050
1919
|
|
2051
1920
|
response = pipeline_response.http_response
|
@@ -2065,10 +1934,6 @@ class StorageAccountsOperations:
|
|
2065
1934
|
|
2066
1935
|
return deserialized # type: ignore
|
2067
1936
|
|
2068
|
-
_restore_blob_ranges_initial.metadata = {
|
2069
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
|
2070
|
-
}
|
2071
|
-
|
2072
1937
|
@overload
|
2073
1938
|
def begin_restore_blob_ranges(
|
2074
1939
|
self,
|
@@ -2093,14 +1958,6 @@ class StorageAccountsOperations:
|
|
2093
1958
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2094
1959
|
Default value is "application/json".
|
2095
1960
|
:paramtype content_type: str
|
2096
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2097
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
2098
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
2099
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
2100
|
-
strategy.
|
2101
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
2102
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
2103
|
-
Retry-After header is present.
|
2104
1961
|
:return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
|
2105
1962
|
cls(response)
|
2106
1963
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2019_06_01.models.BlobRestoreStatus]
|
@@ -2112,7 +1969,7 @@ class StorageAccountsOperations:
|
|
2112
1969
|
self,
|
2113
1970
|
resource_group_name: str,
|
2114
1971
|
account_name: str,
|
2115
|
-
parameters: IO,
|
1972
|
+
parameters: IO[bytes],
|
2116
1973
|
*,
|
2117
1974
|
content_type: str = "application/json",
|
2118
1975
|
**kwargs: Any
|
@@ -2127,18 +1984,10 @@ class StorageAccountsOperations:
|
|
2127
1984
|
lower-case letters only. Required.
|
2128
1985
|
:type account_name: str
|
2129
1986
|
:param parameters: The parameters to provide for restore blob ranges. Required.
|
2130
|
-
:type parameters: IO
|
1987
|
+
:type parameters: IO[bytes]
|
2131
1988
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2132
1989
|
Default value is "application/json".
|
2133
1990
|
: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
1991
|
:return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
|
2143
1992
|
cls(response)
|
2144
1993
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2019_06_01.models.BlobRestoreStatus]
|
@@ -2150,7 +1999,7 @@ class StorageAccountsOperations:
|
|
2150
1999
|
self,
|
2151
2000
|
resource_group_name: str,
|
2152
2001
|
account_name: str,
|
2153
|
-
parameters: Union[_models.BlobRestoreParameters, IO],
|
2002
|
+
parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
|
2154
2003
|
**kwargs: Any
|
2155
2004
|
) -> LROPoller[_models.BlobRestoreStatus]:
|
2156
2005
|
"""Restore blobs in the specified blob ranges.
|
@@ -2163,19 +2012,8 @@ class StorageAccountsOperations:
|
|
2163
2012
|
lower-case letters only. Required.
|
2164
2013
|
:type account_name: str
|
2165
2014
|
:param parameters: The parameters to provide for restore blob ranges. Is either a
|
2166
|
-
BlobRestoreParameters type or a IO type. Required.
|
2167
|
-
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.BlobRestoreParameters or IO
|
2168
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2169
|
-
Default value is None.
|
2170
|
-
:paramtype content_type: str
|
2171
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2172
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
2173
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
2174
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
2175
|
-
strategy.
|
2176
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
2177
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
2178
|
-
Retry-After header is present.
|
2015
|
+
BlobRestoreParameters type or a IO[bytes] type. Required.
|
2016
|
+
:type parameters: ~azure.mgmt.storage.v2019_06_01.models.BlobRestoreParameters or IO[bytes]
|
2179
2017
|
:return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
|
2180
2018
|
cls(response)
|
2181
2019
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2019_06_01.models.BlobRestoreStatus]
|
@@ -2207,7 +2045,7 @@ class StorageAccountsOperations:
|
|
2207
2045
|
def get_long_running_output(pipeline_response):
|
2208
2046
|
deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
|
2209
2047
|
if cls:
|
2210
|
-
return cls(pipeline_response, deserialized, {})
|
2048
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
2211
2049
|
return deserialized
|
2212
2050
|
|
2213
2051
|
if polling is True:
|
@@ -2219,17 +2057,15 @@ class StorageAccountsOperations:
|
|
2219
2057
|
else:
|
2220
2058
|
polling_method = polling
|
2221
2059
|
if cont_token:
|
2222
|
-
return LROPoller.from_continuation_token(
|
2060
|
+
return LROPoller[_models.BlobRestoreStatus].from_continuation_token(
|
2223
2061
|
polling_method=polling_method,
|
2224
2062
|
continuation_token=cont_token,
|
2225
2063
|
client=self._client,
|
2226
2064
|
deserialization_callback=get_long_running_output,
|
2227
2065
|
)
|
2228
|
-
return LROPoller(
|
2229
|
-
|
2230
|
-
|
2231
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
|
2232
|
-
}
|
2066
|
+
return LROPoller[_models.BlobRestoreStatus](
|
2067
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
2068
|
+
)
|
2233
2069
|
|
2234
2070
|
@distributed_trace
|
2235
2071
|
def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
|
@@ -2244,12 +2080,11 @@ class StorageAccountsOperations:
|
|
2244
2080
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
2245
2081
|
lower-case letters only. Required.
|
2246
2082
|
:type account_name: str
|
2247
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2248
2083
|
:return: None or the result of cls(response)
|
2249
2084
|
:rtype: None
|
2250
2085
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2251
2086
|
"""
|
2252
|
-
error_map = {
|
2087
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2253
2088
|
401: ClientAuthenticationError,
|
2254
2089
|
404: ResourceNotFoundError,
|
2255
2090
|
409: ResourceExistsError,
|
@@ -2263,21 +2098,20 @@ class StorageAccountsOperations:
|
|
2263
2098
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-06-01"))
|
2264
2099
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
2265
2100
|
|
2266
|
-
|
2101
|
+
_request = build_revoke_user_delegation_keys_request(
|
2267
2102
|
resource_group_name=resource_group_name,
|
2268
2103
|
account_name=account_name,
|
2269
2104
|
subscription_id=self._config.subscription_id,
|
2270
2105
|
api_version=api_version,
|
2271
|
-
template_url=self.revoke_user_delegation_keys.metadata["url"],
|
2272
2106
|
headers=_headers,
|
2273
2107
|
params=_params,
|
2274
2108
|
)
|
2275
|
-
|
2276
|
-
|
2109
|
+
_request = _convert_request(_request)
|
2110
|
+
_request.url = self._client.format_url(_request.url)
|
2277
2111
|
|
2278
2112
|
_stream = False
|
2279
2113
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2280
|
-
|
2114
|
+
_request, stream=_stream, **kwargs
|
2281
2115
|
)
|
2282
2116
|
|
2283
2117
|
response = pipeline_response.http_response
|
@@ -2287,8 +2121,4 @@ class StorageAccountsOperations:
|
|
2287
2121
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
2288
2122
|
|
2289
2123
|
if cls:
|
2290
|
-
return cls(pipeline_response, None, {})
|
2291
|
-
|
2292
|
-
revoke_user_delegation_keys.metadata = {
|
2293
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
|
2294
|
-
}
|
2124
|
+
return cls(pipeline_response, None, {}) # type: ignore
|