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
|
|
@@ -441,7 +441,7 @@ def build_failover_request(
|
|
441
441
|
return HttpRequest(method="POST", url=_url, params=_params, **kwargs)
|
442
442
|
|
443
443
|
|
444
|
-
def build_revoke_user_delegation_keys_request(
|
444
|
+
def build_revoke_user_delegation_keys_request( # pylint: disable=name-too-long
|
445
445
|
resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
|
446
446
|
) -> HttpRequest:
|
447
447
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
@@ -506,7 +506,6 @@ class StorageAccountsOperations:
|
|
506
506
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
507
507
|
Default value is "application/json".
|
508
508
|
:paramtype content_type: str
|
509
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
510
509
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
511
510
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.CheckNameAvailabilityResult
|
512
511
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -514,18 +513,17 @@ class StorageAccountsOperations:
|
|
514
513
|
|
515
514
|
@overload
|
516
515
|
def check_name_availability(
|
517
|
-
self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
|
516
|
+
self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
|
518
517
|
) -> _models.CheckNameAvailabilityResult:
|
519
518
|
"""Checks that the storage account name is valid and is not already in use.
|
520
519
|
|
521
520
|
:param account_name: The name of the storage account within the specified resource group.
|
522
521
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
523
522
|
lower-case letters only. Required.
|
524
|
-
:type account_name: IO
|
523
|
+
:type account_name: IO[bytes]
|
525
524
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
526
525
|
Default value is "application/json".
|
527
526
|
:paramtype content_type: str
|
528
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
529
527
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
530
528
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.CheckNameAvailabilityResult
|
531
529
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -533,25 +531,22 @@ class StorageAccountsOperations:
|
|
533
531
|
|
534
532
|
@distributed_trace
|
535
533
|
def check_name_availability(
|
536
|
-
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
|
534
|
+
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
|
537
535
|
) -> _models.CheckNameAvailabilityResult:
|
538
536
|
"""Checks that the storage account name is valid and is not already in use.
|
539
537
|
|
540
538
|
:param account_name: The name of the storage account within the specified resource group.
|
541
539
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
542
|
-
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
543
|
-
type. Required.
|
540
|
+
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
541
|
+
IO[bytes] type. Required.
|
544
542
|
:type account_name:
|
545
|
-
~azure.mgmt.storage.v2019_04_01.models.StorageAccountCheckNameAvailabilityParameters or
|
546
|
-
|
547
|
-
Default value is None.
|
548
|
-
:paramtype content_type: str
|
549
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
543
|
+
~azure.mgmt.storage.v2019_04_01.models.StorageAccountCheckNameAvailabilityParameters or
|
544
|
+
IO[bytes]
|
550
545
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
551
546
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.CheckNameAvailabilityResult
|
552
547
|
:raises ~azure.core.exceptions.HttpResponseError:
|
553
548
|
"""
|
554
|
-
error_map = {
|
549
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
555
550
|
401: ClientAuthenticationError,
|
556
551
|
404: ResourceNotFoundError,
|
557
552
|
409: ResourceExistsError,
|
@@ -574,22 +569,21 @@ class StorageAccountsOperations:
|
|
574
569
|
else:
|
575
570
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
576
571
|
|
577
|
-
|
572
|
+
_request = build_check_name_availability_request(
|
578
573
|
subscription_id=self._config.subscription_id,
|
579
574
|
api_version=api_version,
|
580
575
|
content_type=content_type,
|
581
576
|
json=_json,
|
582
577
|
content=_content,
|
583
|
-
template_url=self.check_name_availability.metadata["url"],
|
584
578
|
headers=_headers,
|
585
579
|
params=_params,
|
586
580
|
)
|
587
|
-
|
588
|
-
|
581
|
+
_request = _convert_request(_request)
|
582
|
+
_request.url = self._client.format_url(_request.url)
|
589
583
|
|
590
584
|
_stream = False
|
591
585
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
592
|
-
|
586
|
+
_request, stream=_stream, **kwargs
|
593
587
|
)
|
594
588
|
|
595
589
|
response = pipeline_response.http_response
|
@@ -601,22 +595,18 @@ class StorageAccountsOperations:
|
|
601
595
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
602
596
|
|
603
597
|
if cls:
|
604
|
-
return cls(pipeline_response, deserialized, {})
|
605
|
-
|
606
|
-
return deserialized
|
598
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
607
599
|
|
608
|
-
|
609
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
610
|
-
}
|
600
|
+
return deserialized # type: ignore
|
611
601
|
|
612
602
|
def _create_initial(
|
613
603
|
self,
|
614
604
|
resource_group_name: str,
|
615
605
|
account_name: str,
|
616
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
606
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
617
607
|
**kwargs: Any
|
618
608
|
) -> Optional[_models.StorageAccount]:
|
619
|
-
error_map = {
|
609
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
620
610
|
401: ClientAuthenticationError,
|
621
611
|
404: ResourceNotFoundError,
|
622
612
|
409: ResourceExistsError,
|
@@ -639,7 +629,7 @@ class StorageAccountsOperations:
|
|
639
629
|
else:
|
640
630
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
641
631
|
|
642
|
-
|
632
|
+
_request = build_create_request(
|
643
633
|
resource_group_name=resource_group_name,
|
644
634
|
account_name=account_name,
|
645
635
|
subscription_id=self._config.subscription_id,
|
@@ -647,16 +637,15 @@ class StorageAccountsOperations:
|
|
647
637
|
content_type=content_type,
|
648
638
|
json=_json,
|
649
639
|
content=_content,
|
650
|
-
template_url=self._create_initial.metadata["url"],
|
651
640
|
headers=_headers,
|
652
641
|
params=_params,
|
653
642
|
)
|
654
|
-
|
655
|
-
|
643
|
+
_request = _convert_request(_request)
|
644
|
+
_request.url = self._client.format_url(_request.url)
|
656
645
|
|
657
646
|
_stream = False
|
658
647
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
659
|
-
|
648
|
+
_request, stream=_stream, **kwargs
|
660
649
|
)
|
661
650
|
|
662
651
|
response = pipeline_response.http_response
|
@@ -670,13 +659,9 @@ class StorageAccountsOperations:
|
|
670
659
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
671
660
|
|
672
661
|
if cls:
|
673
|
-
return cls(pipeline_response, deserialized, {})
|
662
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
674
663
|
|
675
|
-
return deserialized
|
676
|
-
|
677
|
-
_create_initial.metadata = {
|
678
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
679
|
-
}
|
664
|
+
return deserialized # type: ignore
|
680
665
|
|
681
666
|
@overload
|
682
667
|
def begin_create(
|
@@ -705,14 +690,6 @@ class StorageAccountsOperations:
|
|
705
690
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
706
691
|
Default value is "application/json".
|
707
692
|
:paramtype content_type: str
|
708
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
709
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
710
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
711
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
712
|
-
strategy.
|
713
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
714
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
715
|
-
Retry-After header is present.
|
716
693
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
717
694
|
cls(response)
|
718
695
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2019_04_01.models.StorageAccount]
|
@@ -724,7 +701,7 @@ class StorageAccountsOperations:
|
|
724
701
|
self,
|
725
702
|
resource_group_name: str,
|
726
703
|
account_name: str,
|
727
|
-
parameters: IO,
|
704
|
+
parameters: IO[bytes],
|
728
705
|
*,
|
729
706
|
content_type: str = "application/json",
|
730
707
|
**kwargs: Any
|
@@ -742,18 +719,10 @@ class StorageAccountsOperations:
|
|
742
719
|
lower-case letters only. Required.
|
743
720
|
:type account_name: str
|
744
721
|
:param parameters: The parameters to provide for the created account. Required.
|
745
|
-
:type parameters: IO
|
722
|
+
:type parameters: IO[bytes]
|
746
723
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
747
724
|
Default value is "application/json".
|
748
725
|
:paramtype content_type: str
|
749
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
750
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
751
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
752
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
753
|
-
strategy.
|
754
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
755
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
756
|
-
Retry-After header is present.
|
757
726
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
758
727
|
cls(response)
|
759
728
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2019_04_01.models.StorageAccount]
|
@@ -765,7 +734,7 @@ class StorageAccountsOperations:
|
|
765
734
|
self,
|
766
735
|
resource_group_name: str,
|
767
736
|
account_name: str,
|
768
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
737
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
769
738
|
**kwargs: Any
|
770
739
|
) -> LROPoller[_models.StorageAccount]:
|
771
740
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -781,19 +750,9 @@ class StorageAccountsOperations:
|
|
781
750
|
lower-case letters only. Required.
|
782
751
|
:type account_name: str
|
783
752
|
:param parameters: The parameters to provide for the created account. Is either a
|
784
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
785
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountCreateParameters or
|
786
|
-
|
787
|
-
Default value is None.
|
788
|
-
:paramtype content_type: str
|
789
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
790
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
791
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
792
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
793
|
-
strategy.
|
794
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
795
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
796
|
-
Retry-After header is present.
|
753
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
754
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountCreateParameters or
|
755
|
+
IO[bytes]
|
797
756
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
798
757
|
cls(response)
|
799
758
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2019_04_01.models.StorageAccount]
|
@@ -825,7 +784,7 @@ class StorageAccountsOperations:
|
|
825
784
|
def get_long_running_output(pipeline_response):
|
826
785
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
827
786
|
if cls:
|
828
|
-
return cls(pipeline_response, deserialized, {})
|
787
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
829
788
|
return deserialized
|
830
789
|
|
831
790
|
if polling is True:
|
@@ -835,17 +794,15 @@ class StorageAccountsOperations:
|
|
835
794
|
else:
|
836
795
|
polling_method = polling
|
837
796
|
if cont_token:
|
838
|
-
return LROPoller.from_continuation_token(
|
797
|
+
return LROPoller[_models.StorageAccount].from_continuation_token(
|
839
798
|
polling_method=polling_method,
|
840
799
|
continuation_token=cont_token,
|
841
800
|
client=self._client,
|
842
801
|
deserialization_callback=get_long_running_output,
|
843
802
|
)
|
844
|
-
return LROPoller(
|
845
|
-
|
846
|
-
|
847
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
848
|
-
}
|
803
|
+
return LROPoller[_models.StorageAccount](
|
804
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
805
|
+
)
|
849
806
|
|
850
807
|
@distributed_trace
|
851
808
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -860,12 +817,11 @@ class StorageAccountsOperations:
|
|
860
817
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
861
818
|
lower-case letters only. Required.
|
862
819
|
:type account_name: str
|
863
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
864
820
|
:return: None or the result of cls(response)
|
865
821
|
:rtype: None
|
866
822
|
:raises ~azure.core.exceptions.HttpResponseError:
|
867
823
|
"""
|
868
|
-
error_map = {
|
824
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
869
825
|
401: ClientAuthenticationError,
|
870
826
|
404: ResourceNotFoundError,
|
871
827
|
409: ResourceExistsError,
|
@@ -879,21 +835,20 @@ class StorageAccountsOperations:
|
|
879
835
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
880
836
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
881
837
|
|
882
|
-
|
838
|
+
_request = build_delete_request(
|
883
839
|
resource_group_name=resource_group_name,
|
884
840
|
account_name=account_name,
|
885
841
|
subscription_id=self._config.subscription_id,
|
886
842
|
api_version=api_version,
|
887
|
-
template_url=self.delete.metadata["url"],
|
888
843
|
headers=_headers,
|
889
844
|
params=_params,
|
890
845
|
)
|
891
|
-
|
892
|
-
|
846
|
+
_request = _convert_request(_request)
|
847
|
+
_request.url = self._client.format_url(_request.url)
|
893
848
|
|
894
849
|
_stream = False
|
895
850
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
896
|
-
|
851
|
+
_request, stream=_stream, **kwargs
|
897
852
|
)
|
898
853
|
|
899
854
|
response = pipeline_response.http_response
|
@@ -903,11 +858,7 @@ class StorageAccountsOperations:
|
|
903
858
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
904
859
|
|
905
860
|
if cls:
|
906
|
-
return cls(pipeline_response, None, {})
|
907
|
-
|
908
|
-
delete.metadata = {
|
909
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
910
|
-
}
|
861
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
911
862
|
|
912
863
|
@distributed_trace
|
913
864
|
def get_properties(
|
@@ -932,12 +883,11 @@ class StorageAccountsOperations:
|
|
932
883
|
data is not included when fetching properties. Currently we only support geoReplicationStats.
|
933
884
|
Known values are "geoReplicationStats" and None. Default value is "geoReplicationStats".
|
934
885
|
:type expand: str
|
935
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
936
886
|
:return: StorageAccount or the result of cls(response)
|
937
887
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccount
|
938
888
|
:raises ~azure.core.exceptions.HttpResponseError:
|
939
889
|
"""
|
940
|
-
error_map = {
|
890
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
941
891
|
401: ClientAuthenticationError,
|
942
892
|
404: ResourceNotFoundError,
|
943
893
|
409: ResourceExistsError,
|
@@ -951,22 +901,21 @@ class StorageAccountsOperations:
|
|
951
901
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
952
902
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
953
903
|
|
954
|
-
|
904
|
+
_request = build_get_properties_request(
|
955
905
|
resource_group_name=resource_group_name,
|
956
906
|
account_name=account_name,
|
957
907
|
subscription_id=self._config.subscription_id,
|
958
908
|
expand=expand,
|
959
909
|
api_version=api_version,
|
960
|
-
template_url=self.get_properties.metadata["url"],
|
961
910
|
headers=_headers,
|
962
911
|
params=_params,
|
963
912
|
)
|
964
|
-
|
965
|
-
|
913
|
+
_request = _convert_request(_request)
|
914
|
+
_request.url = self._client.format_url(_request.url)
|
966
915
|
|
967
916
|
_stream = False
|
968
917
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
969
|
-
|
918
|
+
_request, stream=_stream, **kwargs
|
970
919
|
)
|
971
920
|
|
972
921
|
response = pipeline_response.http_response
|
@@ -978,13 +927,9 @@ class StorageAccountsOperations:
|
|
978
927
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
979
928
|
|
980
929
|
if cls:
|
981
|
-
return cls(pipeline_response, deserialized, {})
|
982
|
-
|
983
|
-
return deserialized
|
930
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
984
931
|
|
985
|
-
|
986
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
987
|
-
}
|
932
|
+
return deserialized # type: ignore
|
988
933
|
|
989
934
|
@overload
|
990
935
|
def update(
|
@@ -1017,7 +962,6 @@ class StorageAccountsOperations:
|
|
1017
962
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1018
963
|
Default value is "application/json".
|
1019
964
|
:paramtype content_type: str
|
1020
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1021
965
|
:return: StorageAccount or the result of cls(response)
|
1022
966
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccount
|
1023
967
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1028,7 +972,7 @@ class StorageAccountsOperations:
|
|
1028
972
|
self,
|
1029
973
|
resource_group_name: str,
|
1030
974
|
account_name: str,
|
1031
|
-
parameters: IO,
|
975
|
+
parameters: IO[bytes],
|
1032
976
|
*,
|
1033
977
|
content_type: str = "application/json",
|
1034
978
|
**kwargs: Any
|
@@ -1050,11 +994,10 @@ class StorageAccountsOperations:
|
|
1050
994
|
lower-case letters only. Required.
|
1051
995
|
:type account_name: str
|
1052
996
|
:param parameters: The parameters to provide for the updated account. Required.
|
1053
|
-
:type parameters: IO
|
997
|
+
:type parameters: IO[bytes]
|
1054
998
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1055
999
|
Default value is "application/json".
|
1056
1000
|
:paramtype content_type: str
|
1057
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1058
1001
|
:return: StorageAccount or the result of cls(response)
|
1059
1002
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccount
|
1060
1003
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1065,7 +1008,7 @@ class StorageAccountsOperations:
|
|
1065
1008
|
self,
|
1066
1009
|
resource_group_name: str,
|
1067
1010
|
account_name: str,
|
1068
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
1011
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
1069
1012
|
**kwargs: Any
|
1070
1013
|
) -> _models.StorageAccount:
|
1071
1014
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -1085,17 +1028,14 @@ class StorageAccountsOperations:
|
|
1085
1028
|
lower-case letters only. Required.
|
1086
1029
|
:type account_name: str
|
1087
1030
|
:param parameters: The parameters to provide for the updated account. Is either a
|
1088
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
1089
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountUpdateParameters or
|
1090
|
-
|
1091
|
-
Default value is None.
|
1092
|
-
:paramtype content_type: str
|
1093
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1031
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
1032
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountUpdateParameters or
|
1033
|
+
IO[bytes]
|
1094
1034
|
:return: StorageAccount or the result of cls(response)
|
1095
1035
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccount
|
1096
1036
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1097
1037
|
"""
|
1098
|
-
error_map = {
|
1038
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1099
1039
|
401: ClientAuthenticationError,
|
1100
1040
|
404: ResourceNotFoundError,
|
1101
1041
|
409: ResourceExistsError,
|
@@ -1118,7 +1058,7 @@ class StorageAccountsOperations:
|
|
1118
1058
|
else:
|
1119
1059
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
1120
1060
|
|
1121
|
-
|
1061
|
+
_request = build_update_request(
|
1122
1062
|
resource_group_name=resource_group_name,
|
1123
1063
|
account_name=account_name,
|
1124
1064
|
subscription_id=self._config.subscription_id,
|
@@ -1126,16 +1066,15 @@ class StorageAccountsOperations:
|
|
1126
1066
|
content_type=content_type,
|
1127
1067
|
json=_json,
|
1128
1068
|
content=_content,
|
1129
|
-
template_url=self.update.metadata["url"],
|
1130
1069
|
headers=_headers,
|
1131
1070
|
params=_params,
|
1132
1071
|
)
|
1133
|
-
|
1134
|
-
|
1072
|
+
_request = _convert_request(_request)
|
1073
|
+
_request.url = self._client.format_url(_request.url)
|
1135
1074
|
|
1136
1075
|
_stream = False
|
1137
1076
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1138
|
-
|
1077
|
+
_request, stream=_stream, **kwargs
|
1139
1078
|
)
|
1140
1079
|
|
1141
1080
|
response = pipeline_response.http_response
|
@@ -1147,20 +1086,15 @@ class StorageAccountsOperations:
|
|
1147
1086
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
1148
1087
|
|
1149
1088
|
if cls:
|
1150
|
-
return cls(pipeline_response, deserialized, {})
|
1089
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1151
1090
|
|
1152
|
-
return deserialized
|
1153
|
-
|
1154
|
-
update.metadata = {
|
1155
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
1156
|
-
}
|
1091
|
+
return deserialized # type: ignore
|
1157
1092
|
|
1158
1093
|
@distributed_trace
|
1159
1094
|
def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1160
1095
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
1161
1096
|
returned; use the ListKeys operation for this.
|
1162
1097
|
|
1163
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1164
1098
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1165
1099
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2019_04_01.models.StorageAccount]
|
1166
1100
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1171,7 +1105,7 @@ class StorageAccountsOperations:
|
|
1171
1105
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1172
1106
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1173
1107
|
|
1174
|
-
error_map = {
|
1108
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1175
1109
|
401: ClientAuthenticationError,
|
1176
1110
|
404: ResourceNotFoundError,
|
1177
1111
|
409: ResourceExistsError,
|
@@ -1182,15 +1116,14 @@ class StorageAccountsOperations:
|
|
1182
1116
|
def prepare_request(next_link=None):
|
1183
1117
|
if not next_link:
|
1184
1118
|
|
1185
|
-
|
1119
|
+
_request = build_list_request(
|
1186
1120
|
subscription_id=self._config.subscription_id,
|
1187
1121
|
api_version=api_version,
|
1188
|
-
template_url=self.list.metadata["url"],
|
1189
1122
|
headers=_headers,
|
1190
1123
|
params=_params,
|
1191
1124
|
)
|
1192
|
-
|
1193
|
-
|
1125
|
+
_request = _convert_request(_request)
|
1126
|
+
_request.url = self._client.format_url(_request.url)
|
1194
1127
|
|
1195
1128
|
else:
|
1196
1129
|
# make call to next link with the client's api-version
|
@@ -1201,14 +1134,14 @@ class StorageAccountsOperations:
|
|
1201
1134
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1202
1135
|
}
|
1203
1136
|
)
|
1204
|
-
_next_request_params["api-version"] = self.
|
1205
|
-
|
1137
|
+
_next_request_params["api-version"] = self._api_version
|
1138
|
+
_request = HttpRequest(
|
1206
1139
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1207
1140
|
)
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
return
|
1141
|
+
_request = _convert_request(_request)
|
1142
|
+
_request.url = self._client.format_url(_request.url)
|
1143
|
+
_request.method = "GET"
|
1144
|
+
return _request
|
1212
1145
|
|
1213
1146
|
def extract_data(pipeline_response):
|
1214
1147
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1218,11 +1151,11 @@ class StorageAccountsOperations:
|
|
1218
1151
|
return deserialized.next_link or None, iter(list_of_elem)
|
1219
1152
|
|
1220
1153
|
def get_next(next_link=None):
|
1221
|
-
|
1154
|
+
_request = prepare_request(next_link)
|
1222
1155
|
|
1223
1156
|
_stream = False
|
1224
1157
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1225
|
-
|
1158
|
+
_request, stream=_stream, **kwargs
|
1226
1159
|
)
|
1227
1160
|
response = pipeline_response.http_response
|
1228
1161
|
|
@@ -1234,8 +1167,6 @@ class StorageAccountsOperations:
|
|
1234
1167
|
|
1235
1168
|
return ItemPaged(get_next, extract_data)
|
1236
1169
|
|
1237
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
1238
|
-
|
1239
1170
|
@distributed_trace
|
1240
1171
|
def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1241
1172
|
"""Lists all the storage accounts available under the given resource group. Note that storage keys
|
@@ -1244,7 +1175,6 @@ class StorageAccountsOperations:
|
|
1244
1175
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1245
1176
|
name is case insensitive. Required.
|
1246
1177
|
:type resource_group_name: str
|
1247
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1248
1178
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1249
1179
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2019_04_01.models.StorageAccount]
|
1250
1180
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1255,7 +1185,7 @@ class StorageAccountsOperations:
|
|
1255
1185
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1256
1186
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1257
1187
|
|
1258
|
-
error_map = {
|
1188
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1259
1189
|
401: ClientAuthenticationError,
|
1260
1190
|
404: ResourceNotFoundError,
|
1261
1191
|
409: ResourceExistsError,
|
@@ -1266,16 +1196,15 @@ class StorageAccountsOperations:
|
|
1266
1196
|
def prepare_request(next_link=None):
|
1267
1197
|
if not next_link:
|
1268
1198
|
|
1269
|
-
|
1199
|
+
_request = build_list_by_resource_group_request(
|
1270
1200
|
resource_group_name=resource_group_name,
|
1271
1201
|
subscription_id=self._config.subscription_id,
|
1272
1202
|
api_version=api_version,
|
1273
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
1274
1203
|
headers=_headers,
|
1275
1204
|
params=_params,
|
1276
1205
|
)
|
1277
|
-
|
1278
|
-
|
1206
|
+
_request = _convert_request(_request)
|
1207
|
+
_request.url = self._client.format_url(_request.url)
|
1279
1208
|
|
1280
1209
|
else:
|
1281
1210
|
# make call to next link with the client's api-version
|
@@ -1286,14 +1215,14 @@ class StorageAccountsOperations:
|
|
1286
1215
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1287
1216
|
}
|
1288
1217
|
)
|
1289
|
-
_next_request_params["api-version"] = self.
|
1290
|
-
|
1218
|
+
_next_request_params["api-version"] = self._api_version
|
1219
|
+
_request = HttpRequest(
|
1291
1220
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1292
1221
|
)
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
return
|
1222
|
+
_request = _convert_request(_request)
|
1223
|
+
_request.url = self._client.format_url(_request.url)
|
1224
|
+
_request.method = "GET"
|
1225
|
+
return _request
|
1297
1226
|
|
1298
1227
|
def extract_data(pipeline_response):
|
1299
1228
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1303,11 +1232,11 @@ class StorageAccountsOperations:
|
|
1303
1232
|
return None, iter(list_of_elem)
|
1304
1233
|
|
1305
1234
|
def get_next(next_link=None):
|
1306
|
-
|
1235
|
+
_request = prepare_request(next_link)
|
1307
1236
|
|
1308
1237
|
_stream = False
|
1309
1238
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1310
|
-
|
1239
|
+
_request, stream=_stream, **kwargs
|
1311
1240
|
)
|
1312
1241
|
response = pipeline_response.http_response
|
1313
1242
|
|
@@ -1319,10 +1248,6 @@ class StorageAccountsOperations:
|
|
1319
1248
|
|
1320
1249
|
return ItemPaged(get_next, extract_data)
|
1321
1250
|
|
1322
|
-
list_by_resource_group.metadata = {
|
1323
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
1324
|
-
}
|
1325
|
-
|
1326
1251
|
@distributed_trace
|
1327
1252
|
def list_keys(
|
1328
1253
|
self, resource_group_name: str, account_name: str, expand: Literal["kerb"] = "kerb", **kwargs: Any
|
@@ -1340,12 +1265,11 @@ class StorageAccountsOperations:
|
|
1340
1265
|
:param expand: Specifies type of the key to be listed. Possible value is kerb. Known values are
|
1341
1266
|
"kerb" and None. Default value is "kerb".
|
1342
1267
|
:type expand: str
|
1343
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1344
1268
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1345
1269
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountListKeysResult
|
1346
1270
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1347
1271
|
"""
|
1348
|
-
error_map = {
|
1272
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1349
1273
|
401: ClientAuthenticationError,
|
1350
1274
|
404: ResourceNotFoundError,
|
1351
1275
|
409: ResourceExistsError,
|
@@ -1359,22 +1283,21 @@ class StorageAccountsOperations:
|
|
1359
1283
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1360
1284
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
1361
1285
|
|
1362
|
-
|
1286
|
+
_request = build_list_keys_request(
|
1363
1287
|
resource_group_name=resource_group_name,
|
1364
1288
|
account_name=account_name,
|
1365
1289
|
subscription_id=self._config.subscription_id,
|
1366
1290
|
expand=expand,
|
1367
1291
|
api_version=api_version,
|
1368
|
-
template_url=self.list_keys.metadata["url"],
|
1369
1292
|
headers=_headers,
|
1370
1293
|
params=_params,
|
1371
1294
|
)
|
1372
|
-
|
1373
|
-
|
1295
|
+
_request = _convert_request(_request)
|
1296
|
+
_request.url = self._client.format_url(_request.url)
|
1374
1297
|
|
1375
1298
|
_stream = False
|
1376
1299
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1377
|
-
|
1300
|
+
_request, stream=_stream, **kwargs
|
1378
1301
|
)
|
1379
1302
|
|
1380
1303
|
response = pipeline_response.http_response
|
@@ -1386,13 +1309,9 @@ class StorageAccountsOperations:
|
|
1386
1309
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1387
1310
|
|
1388
1311
|
if cls:
|
1389
|
-
return cls(pipeline_response, deserialized, {})
|
1312
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1390
1313
|
|
1391
|
-
return deserialized
|
1392
|
-
|
1393
|
-
list_keys.metadata = {
|
1394
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
1395
|
-
}
|
1314
|
+
return deserialized # type: ignore
|
1396
1315
|
|
1397
1316
|
@overload
|
1398
1317
|
def regenerate_key(
|
@@ -1420,7 +1339,6 @@ class StorageAccountsOperations:
|
|
1420
1339
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1421
1340
|
Default value is "application/json".
|
1422
1341
|
:paramtype content_type: str
|
1423
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1424
1342
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1425
1343
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountListKeysResult
|
1426
1344
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1431,7 +1349,7 @@ class StorageAccountsOperations:
|
|
1431
1349
|
self,
|
1432
1350
|
resource_group_name: str,
|
1433
1351
|
account_name: str,
|
1434
|
-
regenerate_key: IO,
|
1352
|
+
regenerate_key: IO[bytes],
|
1435
1353
|
*,
|
1436
1354
|
content_type: str = "application/json",
|
1437
1355
|
**kwargs: Any
|
@@ -1447,11 +1365,10 @@ class StorageAccountsOperations:
|
|
1447
1365
|
:type account_name: str
|
1448
1366
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1449
1367
|
kerb1, kerb2. Required.
|
1450
|
-
:type regenerate_key: IO
|
1368
|
+
:type regenerate_key: IO[bytes]
|
1451
1369
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1452
1370
|
Default value is "application/json".
|
1453
1371
|
:paramtype content_type: str
|
1454
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1455
1372
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1456
1373
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountListKeysResult
|
1457
1374
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1462,7 +1379,7 @@ class StorageAccountsOperations:
|
|
1462
1379
|
self,
|
1463
1380
|
resource_group_name: str,
|
1464
1381
|
account_name: str,
|
1465
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
1382
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1466
1383
|
**kwargs: Any
|
1467
1384
|
) -> _models.StorageAccountListKeysResult:
|
1468
1385
|
"""Regenerates one of the access keys or Kerberos keys for the specified storage account.
|
@@ -1475,18 +1392,15 @@ class StorageAccountsOperations:
|
|
1475
1392
|
lower-case letters only. Required.
|
1476
1393
|
:type account_name: str
|
1477
1394
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1478
|
-
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO type.
|
1395
|
+
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
|
1396
|
+
Required.
|
1479
1397
|
:type regenerate_key:
|
1480
|
-
~azure.mgmt.storage.v2019_04_01.models.StorageAccountRegenerateKeyParameters or IO
|
1481
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1482
|
-
Default value is None.
|
1483
|
-
:paramtype content_type: str
|
1484
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1398
|
+
~azure.mgmt.storage.v2019_04_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
|
1485
1399
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1486
1400
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountListKeysResult
|
1487
1401
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1488
1402
|
"""
|
1489
|
-
error_map = {
|
1403
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1490
1404
|
401: ClientAuthenticationError,
|
1491
1405
|
404: ResourceNotFoundError,
|
1492
1406
|
409: ResourceExistsError,
|
@@ -1509,7 +1423,7 @@ class StorageAccountsOperations:
|
|
1509
1423
|
else:
|
1510
1424
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1511
1425
|
|
1512
|
-
|
1426
|
+
_request = build_regenerate_key_request(
|
1513
1427
|
resource_group_name=resource_group_name,
|
1514
1428
|
account_name=account_name,
|
1515
1429
|
subscription_id=self._config.subscription_id,
|
@@ -1517,16 +1431,15 @@ class StorageAccountsOperations:
|
|
1517
1431
|
content_type=content_type,
|
1518
1432
|
json=_json,
|
1519
1433
|
content=_content,
|
1520
|
-
template_url=self.regenerate_key.metadata["url"],
|
1521
1434
|
headers=_headers,
|
1522
1435
|
params=_params,
|
1523
1436
|
)
|
1524
|
-
|
1525
|
-
|
1437
|
+
_request = _convert_request(_request)
|
1438
|
+
_request.url = self._client.format_url(_request.url)
|
1526
1439
|
|
1527
1440
|
_stream = False
|
1528
1441
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1529
|
-
|
1442
|
+
_request, stream=_stream, **kwargs
|
1530
1443
|
)
|
1531
1444
|
|
1532
1445
|
response = pipeline_response.http_response
|
@@ -1538,13 +1451,9 @@ class StorageAccountsOperations:
|
|
1538
1451
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1539
1452
|
|
1540
1453
|
if cls:
|
1541
|
-
return cls(pipeline_response, deserialized, {})
|
1454
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1542
1455
|
|
1543
|
-
return deserialized
|
1544
|
-
|
1545
|
-
regenerate_key.metadata = {
|
1546
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1547
|
-
}
|
1456
|
+
return deserialized # type: ignore
|
1548
1457
|
|
1549
1458
|
@overload
|
1550
1459
|
def list_account_sas(
|
@@ -1571,7 +1480,6 @@ class StorageAccountsOperations:
|
|
1571
1480
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1572
1481
|
Default value is "application/json".
|
1573
1482
|
:paramtype content_type: str
|
1574
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1575
1483
|
:return: ListAccountSasResponse or the result of cls(response)
|
1576
1484
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ListAccountSasResponse
|
1577
1485
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1582,7 +1490,7 @@ class StorageAccountsOperations:
|
|
1582
1490
|
self,
|
1583
1491
|
resource_group_name: str,
|
1584
1492
|
account_name: str,
|
1585
|
-
parameters: IO,
|
1493
|
+
parameters: IO[bytes],
|
1586
1494
|
*,
|
1587
1495
|
content_type: str = "application/json",
|
1588
1496
|
**kwargs: Any
|
@@ -1598,11 +1506,10 @@ class StorageAccountsOperations:
|
|
1598
1506
|
:type account_name: str
|
1599
1507
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1600
1508
|
Required.
|
1601
|
-
:type parameters: IO
|
1509
|
+
:type parameters: IO[bytes]
|
1602
1510
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1603
1511
|
Default value is "application/json".
|
1604
1512
|
:paramtype content_type: str
|
1605
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1606
1513
|
:return: ListAccountSasResponse or the result of cls(response)
|
1607
1514
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ListAccountSasResponse
|
1608
1515
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1613,7 +1520,7 @@ class StorageAccountsOperations:
|
|
1613
1520
|
self,
|
1614
1521
|
resource_group_name: str,
|
1615
1522
|
account_name: str,
|
1616
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1523
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1617
1524
|
**kwargs: Any
|
1618
1525
|
) -> _models.ListAccountSasResponse:
|
1619
1526
|
"""List SAS credentials of a storage account.
|
@@ -1626,17 +1533,13 @@ class StorageAccountsOperations:
|
|
1626
1533
|
lower-case letters only. Required.
|
1627
1534
|
:type account_name: str
|
1628
1535
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1629
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1630
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.AccountSasParameters or IO
|
1631
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1632
|
-
Default value is None.
|
1633
|
-
:paramtype content_type: str
|
1634
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1536
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1537
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.AccountSasParameters or IO[bytes]
|
1635
1538
|
:return: ListAccountSasResponse or the result of cls(response)
|
1636
1539
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ListAccountSasResponse
|
1637
1540
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1638
1541
|
"""
|
1639
|
-
error_map = {
|
1542
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1640
1543
|
401: ClientAuthenticationError,
|
1641
1544
|
404: ResourceNotFoundError,
|
1642
1545
|
409: ResourceExistsError,
|
@@ -1659,7 +1562,7 @@ class StorageAccountsOperations:
|
|
1659
1562
|
else:
|
1660
1563
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1661
1564
|
|
1662
|
-
|
1565
|
+
_request = build_list_account_sas_request(
|
1663
1566
|
resource_group_name=resource_group_name,
|
1664
1567
|
account_name=account_name,
|
1665
1568
|
subscription_id=self._config.subscription_id,
|
@@ -1667,16 +1570,15 @@ class StorageAccountsOperations:
|
|
1667
1570
|
content_type=content_type,
|
1668
1571
|
json=_json,
|
1669
1572
|
content=_content,
|
1670
|
-
template_url=self.list_account_sas.metadata["url"],
|
1671
1573
|
headers=_headers,
|
1672
1574
|
params=_params,
|
1673
1575
|
)
|
1674
|
-
|
1675
|
-
|
1576
|
+
_request = _convert_request(_request)
|
1577
|
+
_request.url = self._client.format_url(_request.url)
|
1676
1578
|
|
1677
1579
|
_stream = False
|
1678
1580
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1679
|
-
|
1581
|
+
_request, stream=_stream, **kwargs
|
1680
1582
|
)
|
1681
1583
|
|
1682
1584
|
response = pipeline_response.http_response
|
@@ -1688,13 +1590,9 @@ class StorageAccountsOperations:
|
|
1688
1590
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1689
1591
|
|
1690
1592
|
if cls:
|
1691
|
-
return cls(pipeline_response, deserialized, {})
|
1593
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1692
1594
|
|
1693
|
-
return deserialized
|
1694
|
-
|
1695
|
-
list_account_sas.metadata = {
|
1696
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1697
|
-
}
|
1595
|
+
return deserialized # type: ignore
|
1698
1596
|
|
1699
1597
|
@overload
|
1700
1598
|
def list_service_sas(
|
@@ -1720,7 +1618,6 @@ class StorageAccountsOperations:
|
|
1720
1618
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1721
1619
|
Default value is "application/json".
|
1722
1620
|
:paramtype content_type: str
|
1723
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1724
1621
|
:return: ListServiceSasResponse or the result of cls(response)
|
1725
1622
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ListServiceSasResponse
|
1726
1623
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1731,7 +1628,7 @@ class StorageAccountsOperations:
|
|
1731
1628
|
self,
|
1732
1629
|
resource_group_name: str,
|
1733
1630
|
account_name: str,
|
1734
|
-
parameters: IO,
|
1631
|
+
parameters: IO[bytes],
|
1735
1632
|
*,
|
1736
1633
|
content_type: str = "application/json",
|
1737
1634
|
**kwargs: Any
|
@@ -1746,11 +1643,10 @@ class StorageAccountsOperations:
|
|
1746
1643
|
lower-case letters only. Required.
|
1747
1644
|
:type account_name: str
|
1748
1645
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1749
|
-
:type parameters: IO
|
1646
|
+
:type parameters: IO[bytes]
|
1750
1647
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1751
1648
|
Default value is "application/json".
|
1752
1649
|
:paramtype content_type: str
|
1753
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1754
1650
|
:return: ListServiceSasResponse or the result of cls(response)
|
1755
1651
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ListServiceSasResponse
|
1756
1652
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1761,7 +1657,7 @@ class StorageAccountsOperations:
|
|
1761
1657
|
self,
|
1762
1658
|
resource_group_name: str,
|
1763
1659
|
account_name: str,
|
1764
|
-
parameters: Union[_models.ServiceSasParameters, IO],
|
1660
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1765
1661
|
**kwargs: Any
|
1766
1662
|
) -> _models.ListServiceSasResponse:
|
1767
1663
|
"""List service SAS credentials of a specific resource.
|
@@ -1774,17 +1670,13 @@ class StorageAccountsOperations:
|
|
1774
1670
|
lower-case letters only. Required.
|
1775
1671
|
:type account_name: str
|
1776
1672
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1777
|
-
ServiceSasParameters type or a IO type. Required.
|
1778
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ServiceSasParameters or IO
|
1779
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1780
|
-
Default value is None.
|
1781
|
-
:paramtype content_type: str
|
1782
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1673
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1674
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ServiceSasParameters or IO[bytes]
|
1783
1675
|
:return: ListServiceSasResponse or the result of cls(response)
|
1784
1676
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ListServiceSasResponse
|
1785
1677
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1786
1678
|
"""
|
1787
|
-
error_map = {
|
1679
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1788
1680
|
401: ClientAuthenticationError,
|
1789
1681
|
404: ResourceNotFoundError,
|
1790
1682
|
409: ResourceExistsError,
|
@@ -1807,7 +1699,7 @@ class StorageAccountsOperations:
|
|
1807
1699
|
else:
|
1808
1700
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1809
1701
|
|
1810
|
-
|
1702
|
+
_request = build_list_service_sas_request(
|
1811
1703
|
resource_group_name=resource_group_name,
|
1812
1704
|
account_name=account_name,
|
1813
1705
|
subscription_id=self._config.subscription_id,
|
@@ -1815,16 +1707,15 @@ class StorageAccountsOperations:
|
|
1815
1707
|
content_type=content_type,
|
1816
1708
|
json=_json,
|
1817
1709
|
content=_content,
|
1818
|
-
template_url=self.list_service_sas.metadata["url"],
|
1819
1710
|
headers=_headers,
|
1820
1711
|
params=_params,
|
1821
1712
|
)
|
1822
|
-
|
1823
|
-
|
1713
|
+
_request = _convert_request(_request)
|
1714
|
+
_request.url = self._client.format_url(_request.url)
|
1824
1715
|
|
1825
1716
|
_stream = False
|
1826
1717
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1827
|
-
|
1718
|
+
_request, stream=_stream, **kwargs
|
1828
1719
|
)
|
1829
1720
|
|
1830
1721
|
response = pipeline_response.http_response
|
@@ -1836,18 +1727,14 @@ class StorageAccountsOperations:
|
|
1836
1727
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1837
1728
|
|
1838
1729
|
if cls:
|
1839
|
-
return cls(pipeline_response, deserialized, {})
|
1840
|
-
|
1841
|
-
return deserialized
|
1730
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1842
1731
|
|
1843
|
-
|
1844
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1845
|
-
}
|
1732
|
+
return deserialized # type: ignore
|
1846
1733
|
|
1847
1734
|
def _failover_initial( # pylint: disable=inconsistent-return-statements
|
1848
1735
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1849
1736
|
) -> None:
|
1850
|
-
error_map = {
|
1737
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1851
1738
|
401: ClientAuthenticationError,
|
1852
1739
|
404: ResourceNotFoundError,
|
1853
1740
|
409: ResourceExistsError,
|
@@ -1861,21 +1748,20 @@ class StorageAccountsOperations:
|
|
1861
1748
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1862
1749
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1863
1750
|
|
1864
|
-
|
1751
|
+
_request = build_failover_request(
|
1865
1752
|
resource_group_name=resource_group_name,
|
1866
1753
|
account_name=account_name,
|
1867
1754
|
subscription_id=self._config.subscription_id,
|
1868
1755
|
api_version=api_version,
|
1869
|
-
template_url=self._failover_initial.metadata["url"],
|
1870
1756
|
headers=_headers,
|
1871
1757
|
params=_params,
|
1872
1758
|
)
|
1873
|
-
|
1874
|
-
|
1759
|
+
_request = _convert_request(_request)
|
1760
|
+
_request.url = self._client.format_url(_request.url)
|
1875
1761
|
|
1876
1762
|
_stream = False
|
1877
1763
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1878
|
-
|
1764
|
+
_request, stream=_stream, **kwargs
|
1879
1765
|
)
|
1880
1766
|
|
1881
1767
|
response = pipeline_response.http_response
|
@@ -1885,11 +1771,7 @@ class StorageAccountsOperations:
|
|
1885
1771
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1886
1772
|
|
1887
1773
|
if cls:
|
1888
|
-
return cls(pipeline_response, None, {})
|
1889
|
-
|
1890
|
-
_failover_initial.metadata = {
|
1891
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1892
|
-
}
|
1774
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1893
1775
|
|
1894
1776
|
@distributed_trace
|
1895
1777
|
def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> LROPoller[None]:
|
@@ -1904,14 +1786,6 @@ class StorageAccountsOperations:
|
|
1904
1786
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1905
1787
|
lower-case letters only. Required.
|
1906
1788
|
:type account_name: str
|
1907
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1908
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1909
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
1910
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
1911
|
-
strategy.
|
1912
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
1913
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1914
|
-
Retry-After header is present.
|
1915
1789
|
:return: An instance of LROPoller that returns either None or the result of cls(response)
|
1916
1790
|
:rtype: ~azure.core.polling.LROPoller[None]
|
1917
1791
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1938,7 +1812,7 @@ class StorageAccountsOperations:
|
|
1938
1812
|
|
1939
1813
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
1940
1814
|
if cls:
|
1941
|
-
return cls(pipeline_response, None, {})
|
1815
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1942
1816
|
|
1943
1817
|
if polling is True:
|
1944
1818
|
polling_method: PollingMethod = cast(
|
@@ -1949,17 +1823,13 @@ class StorageAccountsOperations:
|
|
1949
1823
|
else:
|
1950
1824
|
polling_method = polling
|
1951
1825
|
if cont_token:
|
1952
|
-
return LROPoller.from_continuation_token(
|
1826
|
+
return LROPoller[None].from_continuation_token(
|
1953
1827
|
polling_method=polling_method,
|
1954
1828
|
continuation_token=cont_token,
|
1955
1829
|
client=self._client,
|
1956
1830
|
deserialization_callback=get_long_running_output,
|
1957
1831
|
)
|
1958
|
-
return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1959
|
-
|
1960
|
-
begin_failover.metadata = {
|
1961
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1962
|
-
}
|
1832
|
+
return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1963
1833
|
|
1964
1834
|
@distributed_trace
|
1965
1835
|
def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
|
@@ -1974,12 +1844,11 @@ class StorageAccountsOperations:
|
|
1974
1844
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1975
1845
|
lower-case letters only. Required.
|
1976
1846
|
:type account_name: str
|
1977
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1978
1847
|
:return: None or the result of cls(response)
|
1979
1848
|
:rtype: None
|
1980
1849
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1981
1850
|
"""
|
1982
|
-
error_map = {
|
1851
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1983
1852
|
401: ClientAuthenticationError,
|
1984
1853
|
404: ResourceNotFoundError,
|
1985
1854
|
409: ResourceExistsError,
|
@@ -1993,21 +1862,20 @@ class StorageAccountsOperations:
|
|
1993
1862
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1994
1863
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1995
1864
|
|
1996
|
-
|
1865
|
+
_request = build_revoke_user_delegation_keys_request(
|
1997
1866
|
resource_group_name=resource_group_name,
|
1998
1867
|
account_name=account_name,
|
1999
1868
|
subscription_id=self._config.subscription_id,
|
2000
1869
|
api_version=api_version,
|
2001
|
-
template_url=self.revoke_user_delegation_keys.metadata["url"],
|
2002
1870
|
headers=_headers,
|
2003
1871
|
params=_params,
|
2004
1872
|
)
|
2005
|
-
|
2006
|
-
|
1873
|
+
_request = _convert_request(_request)
|
1874
|
+
_request.url = self._client.format_url(_request.url)
|
2007
1875
|
|
2008
1876
|
_stream = False
|
2009
1877
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2010
|
-
|
1878
|
+
_request, stream=_stream, **kwargs
|
2011
1879
|
)
|
2012
1880
|
|
2013
1881
|
response = pipeline_response.http_response
|
@@ -2017,8 +1885,4 @@ class StorageAccountsOperations:
|
|
2017
1885
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
2018
1886
|
|
2019
1887
|
if cls:
|
2020
|
-
return cls(pipeline_response, None, {})
|
2021
|
-
|
2022
|
-
revoke_user_delegation_keys.metadata = {
|
2023
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
|
2024
|
-
}
|
1888
|
+
return cls(pipeline_response, None, {}) # type: ignore
|