azure-mgmt-storage 21.1.0__py3-none-any.whl → 21.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azure/mgmt/storage/_configuration.py +2 -3
- azure/mgmt/storage/_serialization.py +41 -49
- azure/mgmt/storage/_storage_management_client.py +142 -2
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_configuration.py +2 -3
- azure/mgmt/storage/aio/_storage_management_client.py +142 -2
- azure/mgmt/storage/models.py +1 -1
- azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
- azure/mgmt/storage/v2015_06_15/_version.py +1 -1
- azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
- azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2016_01_01/_version.py +1 -1
- azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
- azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2016_12_01/_version.py +1 -1
- azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
- azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_06_01/_version.py +1 -1
- azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_10_01/_version.py +1 -1
- azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_02_01/_version.py +1 -1
- azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
- azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
- azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
- azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_07_01/_version.py +1 -1
- azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
- azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_11_01/_version.py +1 -1
- azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
- azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
- azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
- azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
- azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_04_01/_version.py +1 -1
- azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
- azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
- azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
- azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_06_01/_version.py +1 -1
- azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
- azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_01_01/_version.py +1 -1
- azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_02_01/_version.py +1 -1
- azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
- azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_04_01/_version.py +1 -1
- azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
- azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_06_01/_version.py +1 -1
- azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_08_01/_version.py +1 -1
- azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
- azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_09_01/_version.py +1 -1
- azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_05_01/_version.py +1 -1
- azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_09_01/_version.py +1 -1
- azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2023_01_01/_version.py +1 -1
- azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
- azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
- azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
- azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
- azure/mgmt/storage/v2023_05_01/_version.py +9 -0
- azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
- azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
- azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
- azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
- azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
- azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
- azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
- azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
- azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
- azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
- azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
- azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
- azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
- azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
1
|
+
# pylint: disable=too-many-lines,too-many-statements
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# --------------------------------------------------------------------------
|
9
9
|
from io import IOBase
|
10
10
|
import sys
|
11
|
-
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload
|
11
|
+
from typing import Any, AsyncIterable, Callable, Dict, IO, Literal, Optional, Type, TypeVar, Union, cast, overload
|
12
12
|
import urllib.parse
|
13
13
|
|
14
14
|
from azure.core.async_paging import AsyncItemPaged, AsyncList
|
@@ -48,10 +48,10 @@ from ...operations._storage_accounts_operations import (
|
|
48
48
|
build_update_request,
|
49
49
|
)
|
50
50
|
|
51
|
-
if sys.version_info >= (3,
|
52
|
-
from
|
51
|
+
if sys.version_info >= (3, 9):
|
52
|
+
from collections.abc import MutableMapping
|
53
53
|
else:
|
54
|
-
from
|
54
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
55
55
|
T = TypeVar("T")
|
56
56
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
57
57
|
|
@@ -94,7 +94,6 @@ class StorageAccountsOperations:
|
|
94
94
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
95
95
|
Default value is "application/json".
|
96
96
|
:paramtype content_type: str
|
97
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
98
97
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
99
98
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.CheckNameAvailabilityResult
|
100
99
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -102,18 +101,17 @@ class StorageAccountsOperations:
|
|
102
101
|
|
103
102
|
@overload
|
104
103
|
async def check_name_availability(
|
105
|
-
self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
|
104
|
+
self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
|
106
105
|
) -> _models.CheckNameAvailabilityResult:
|
107
106
|
"""Checks that the storage account name is valid and is not already in use.
|
108
107
|
|
109
108
|
:param account_name: The name of the storage account within the specified resource group.
|
110
109
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
111
110
|
lower-case letters only. Required.
|
112
|
-
:type account_name: IO
|
111
|
+
:type account_name: IO[bytes]
|
113
112
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
114
113
|
Default value is "application/json".
|
115
114
|
:paramtype content_type: str
|
116
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
117
115
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
118
116
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.CheckNameAvailabilityResult
|
119
117
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -121,25 +119,22 @@ class StorageAccountsOperations:
|
|
121
119
|
|
122
120
|
@distributed_trace_async
|
123
121
|
async def check_name_availability(
|
124
|
-
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
|
122
|
+
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
|
125
123
|
) -> _models.CheckNameAvailabilityResult:
|
126
124
|
"""Checks that the storage account name is valid and is not already in use.
|
127
125
|
|
128
126
|
:param account_name: The name of the storage account within the specified resource group.
|
129
127
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
130
|
-
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
131
|
-
type. Required.
|
128
|
+
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
129
|
+
IO[bytes] type. Required.
|
132
130
|
:type account_name:
|
133
|
-
~azure.mgmt.storage.v2018_11_01.models.StorageAccountCheckNameAvailabilityParameters or
|
134
|
-
|
135
|
-
Default value is None.
|
136
|
-
:paramtype content_type: str
|
137
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
131
|
+
~azure.mgmt.storage.v2018_11_01.models.StorageAccountCheckNameAvailabilityParameters or
|
132
|
+
IO[bytes]
|
138
133
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
139
134
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.CheckNameAvailabilityResult
|
140
135
|
:raises ~azure.core.exceptions.HttpResponseError:
|
141
136
|
"""
|
142
|
-
error_map = {
|
137
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
143
138
|
401: ClientAuthenticationError,
|
144
139
|
404: ResourceNotFoundError,
|
145
140
|
409: ResourceExistsError,
|
@@ -162,22 +157,21 @@ class StorageAccountsOperations:
|
|
162
157
|
else:
|
163
158
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
164
159
|
|
165
|
-
|
160
|
+
_request = build_check_name_availability_request(
|
166
161
|
subscription_id=self._config.subscription_id,
|
167
162
|
api_version=api_version,
|
168
163
|
content_type=content_type,
|
169
164
|
json=_json,
|
170
165
|
content=_content,
|
171
|
-
template_url=self.check_name_availability.metadata["url"],
|
172
166
|
headers=_headers,
|
173
167
|
params=_params,
|
174
168
|
)
|
175
|
-
|
176
|
-
|
169
|
+
_request = _convert_request(_request)
|
170
|
+
_request.url = self._client.format_url(_request.url)
|
177
171
|
|
178
172
|
_stream = False
|
179
173
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
180
|
-
|
174
|
+
_request, stream=_stream, **kwargs
|
181
175
|
)
|
182
176
|
|
183
177
|
response = pipeline_response.http_response
|
@@ -189,22 +183,18 @@ class StorageAccountsOperations:
|
|
189
183
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
190
184
|
|
191
185
|
if cls:
|
192
|
-
return cls(pipeline_response, deserialized, {})
|
193
|
-
|
194
|
-
return deserialized
|
186
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
195
187
|
|
196
|
-
|
197
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
198
|
-
}
|
188
|
+
return deserialized # type: ignore
|
199
189
|
|
200
190
|
async def _create_initial(
|
201
191
|
self,
|
202
192
|
resource_group_name: str,
|
203
193
|
account_name: str,
|
204
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
194
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
205
195
|
**kwargs: Any
|
206
196
|
) -> Optional[_models.StorageAccount]:
|
207
|
-
error_map = {
|
197
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
208
198
|
401: ClientAuthenticationError,
|
209
199
|
404: ResourceNotFoundError,
|
210
200
|
409: ResourceExistsError,
|
@@ -227,7 +217,7 @@ class StorageAccountsOperations:
|
|
227
217
|
else:
|
228
218
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
229
219
|
|
230
|
-
|
220
|
+
_request = build_create_request(
|
231
221
|
resource_group_name=resource_group_name,
|
232
222
|
account_name=account_name,
|
233
223
|
subscription_id=self._config.subscription_id,
|
@@ -235,16 +225,15 @@ class StorageAccountsOperations:
|
|
235
225
|
content_type=content_type,
|
236
226
|
json=_json,
|
237
227
|
content=_content,
|
238
|
-
template_url=self._create_initial.metadata["url"],
|
239
228
|
headers=_headers,
|
240
229
|
params=_params,
|
241
230
|
)
|
242
|
-
|
243
|
-
|
231
|
+
_request = _convert_request(_request)
|
232
|
+
_request.url = self._client.format_url(_request.url)
|
244
233
|
|
245
234
|
_stream = False
|
246
235
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
247
|
-
|
236
|
+
_request, stream=_stream, **kwargs
|
248
237
|
)
|
249
238
|
|
250
239
|
response = pipeline_response.http_response
|
@@ -258,13 +247,9 @@ class StorageAccountsOperations:
|
|
258
247
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
259
248
|
|
260
249
|
if cls:
|
261
|
-
return cls(pipeline_response, deserialized, {})
|
262
|
-
|
263
|
-
return deserialized
|
250
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
264
251
|
|
265
|
-
|
266
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
267
|
-
}
|
252
|
+
return deserialized # type: ignore
|
268
253
|
|
269
254
|
@overload
|
270
255
|
async def begin_create(
|
@@ -293,14 +278,6 @@ class StorageAccountsOperations:
|
|
293
278
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
294
279
|
Default value is "application/json".
|
295
280
|
:paramtype content_type: str
|
296
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
297
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
298
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
299
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
300
|
-
polling strategy.
|
301
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
302
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
303
|
-
Retry-After header is present.
|
304
281
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
305
282
|
cls(response)
|
306
283
|
:rtype:
|
@@ -313,7 +290,7 @@ class StorageAccountsOperations:
|
|
313
290
|
self,
|
314
291
|
resource_group_name: str,
|
315
292
|
account_name: str,
|
316
|
-
parameters: IO,
|
293
|
+
parameters: IO[bytes],
|
317
294
|
*,
|
318
295
|
content_type: str = "application/json",
|
319
296
|
**kwargs: Any
|
@@ -331,18 +308,10 @@ class StorageAccountsOperations:
|
|
331
308
|
lower-case letters only. Required.
|
332
309
|
:type account_name: str
|
333
310
|
:param parameters: The parameters to provide for the created account. Required.
|
334
|
-
:type parameters: IO
|
311
|
+
:type parameters: IO[bytes]
|
335
312
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
336
313
|
Default value is "application/json".
|
337
314
|
:paramtype content_type: str
|
338
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
339
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
340
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
341
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
342
|
-
polling strategy.
|
343
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
344
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
345
|
-
Retry-After header is present.
|
346
315
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
347
316
|
cls(response)
|
348
317
|
:rtype:
|
@@ -355,7 +324,7 @@ class StorageAccountsOperations:
|
|
355
324
|
self,
|
356
325
|
resource_group_name: str,
|
357
326
|
account_name: str,
|
358
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
327
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
359
328
|
**kwargs: Any
|
360
329
|
) -> AsyncLROPoller[_models.StorageAccount]:
|
361
330
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -371,19 +340,9 @@ class StorageAccountsOperations:
|
|
371
340
|
lower-case letters only. Required.
|
372
341
|
:type account_name: str
|
373
342
|
:param parameters: The parameters to provide for the created account. Is either a
|
374
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
375
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountCreateParameters or
|
376
|
-
|
377
|
-
Default value is None.
|
378
|
-
:paramtype content_type: str
|
379
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
380
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
381
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
382
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
383
|
-
polling strategy.
|
384
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
385
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
386
|
-
Retry-After header is present.
|
343
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
344
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountCreateParameters or
|
345
|
+
IO[bytes]
|
387
346
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
388
347
|
cls(response)
|
389
348
|
:rtype:
|
@@ -416,7 +375,7 @@ class StorageAccountsOperations:
|
|
416
375
|
def get_long_running_output(pipeline_response):
|
417
376
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
418
377
|
if cls:
|
419
|
-
return cls(pipeline_response, deserialized, {})
|
378
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
420
379
|
return deserialized
|
421
380
|
|
422
381
|
if polling is True:
|
@@ -426,17 +385,15 @@ class StorageAccountsOperations:
|
|
426
385
|
else:
|
427
386
|
polling_method = polling
|
428
387
|
if cont_token:
|
429
|
-
return AsyncLROPoller.from_continuation_token(
|
388
|
+
return AsyncLROPoller[_models.StorageAccount].from_continuation_token(
|
430
389
|
polling_method=polling_method,
|
431
390
|
continuation_token=cont_token,
|
432
391
|
client=self._client,
|
433
392
|
deserialization_callback=get_long_running_output,
|
434
393
|
)
|
435
|
-
return AsyncLROPoller(
|
436
|
-
|
437
|
-
|
438
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
439
|
-
}
|
394
|
+
return AsyncLROPoller[_models.StorageAccount](
|
395
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
396
|
+
)
|
440
397
|
|
441
398
|
@distributed_trace_async
|
442
399
|
async def delete( # pylint: disable=inconsistent-return-statements
|
@@ -451,12 +408,11 @@ class StorageAccountsOperations:
|
|
451
408
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
452
409
|
lower-case letters only. Required.
|
453
410
|
:type account_name: str
|
454
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
455
411
|
:return: None or the result of cls(response)
|
456
412
|
:rtype: None
|
457
413
|
:raises ~azure.core.exceptions.HttpResponseError:
|
458
414
|
"""
|
459
|
-
error_map = {
|
415
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
460
416
|
401: ClientAuthenticationError,
|
461
417
|
404: ResourceNotFoundError,
|
462
418
|
409: ResourceExistsError,
|
@@ -470,21 +426,20 @@ class StorageAccountsOperations:
|
|
470
426
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
471
427
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
472
428
|
|
473
|
-
|
429
|
+
_request = build_delete_request(
|
474
430
|
resource_group_name=resource_group_name,
|
475
431
|
account_name=account_name,
|
476
432
|
subscription_id=self._config.subscription_id,
|
477
433
|
api_version=api_version,
|
478
|
-
template_url=self.delete.metadata["url"],
|
479
434
|
headers=_headers,
|
480
435
|
params=_params,
|
481
436
|
)
|
482
|
-
|
483
|
-
|
437
|
+
_request = _convert_request(_request)
|
438
|
+
_request.url = self._client.format_url(_request.url)
|
484
439
|
|
485
440
|
_stream = False
|
486
441
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
487
|
-
|
442
|
+
_request, stream=_stream, **kwargs
|
488
443
|
)
|
489
444
|
|
490
445
|
response = pipeline_response.http_response
|
@@ -494,11 +449,7 @@ class StorageAccountsOperations:
|
|
494
449
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
495
450
|
|
496
451
|
if cls:
|
497
|
-
return cls(pipeline_response, None, {})
|
498
|
-
|
499
|
-
delete.metadata = {
|
500
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
501
|
-
}
|
452
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
502
453
|
|
503
454
|
@distributed_trace_async
|
504
455
|
async def get_properties(
|
@@ -523,12 +474,11 @@ class StorageAccountsOperations:
|
|
523
474
|
data is not included when fetching properties. Currently we only support geoReplicationStats.
|
524
475
|
Known values are "geoReplicationStats" and None. Default value is "geoReplicationStats".
|
525
476
|
:type expand: str
|
526
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
527
477
|
:return: StorageAccount or the result of cls(response)
|
528
478
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccount
|
529
479
|
:raises ~azure.core.exceptions.HttpResponseError:
|
530
480
|
"""
|
531
|
-
error_map = {
|
481
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
532
482
|
401: ClientAuthenticationError,
|
533
483
|
404: ResourceNotFoundError,
|
534
484
|
409: ResourceExistsError,
|
@@ -542,22 +492,21 @@ class StorageAccountsOperations:
|
|
542
492
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
543
493
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
544
494
|
|
545
|
-
|
495
|
+
_request = build_get_properties_request(
|
546
496
|
resource_group_name=resource_group_name,
|
547
497
|
account_name=account_name,
|
548
498
|
subscription_id=self._config.subscription_id,
|
549
499
|
expand=expand,
|
550
500
|
api_version=api_version,
|
551
|
-
template_url=self.get_properties.metadata["url"],
|
552
501
|
headers=_headers,
|
553
502
|
params=_params,
|
554
503
|
)
|
555
|
-
|
556
|
-
|
504
|
+
_request = _convert_request(_request)
|
505
|
+
_request.url = self._client.format_url(_request.url)
|
557
506
|
|
558
507
|
_stream = False
|
559
508
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
560
|
-
|
509
|
+
_request, stream=_stream, **kwargs
|
561
510
|
)
|
562
511
|
|
563
512
|
response = pipeline_response.http_response
|
@@ -569,13 +518,9 @@ class StorageAccountsOperations:
|
|
569
518
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
570
519
|
|
571
520
|
if cls:
|
572
|
-
return cls(pipeline_response, deserialized, {})
|
573
|
-
|
574
|
-
return deserialized
|
521
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
575
522
|
|
576
|
-
|
577
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
578
|
-
}
|
523
|
+
return deserialized # type: ignore
|
579
524
|
|
580
525
|
@overload
|
581
526
|
async def update(
|
@@ -608,7 +553,6 @@ class StorageAccountsOperations:
|
|
608
553
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
609
554
|
Default value is "application/json".
|
610
555
|
:paramtype content_type: str
|
611
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
612
556
|
:return: StorageAccount or the result of cls(response)
|
613
557
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccount
|
614
558
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -619,7 +563,7 @@ class StorageAccountsOperations:
|
|
619
563
|
self,
|
620
564
|
resource_group_name: str,
|
621
565
|
account_name: str,
|
622
|
-
parameters: IO,
|
566
|
+
parameters: IO[bytes],
|
623
567
|
*,
|
624
568
|
content_type: str = "application/json",
|
625
569
|
**kwargs: Any
|
@@ -641,11 +585,10 @@ class StorageAccountsOperations:
|
|
641
585
|
lower-case letters only. Required.
|
642
586
|
:type account_name: str
|
643
587
|
:param parameters: The parameters to provide for the updated account. Required.
|
644
|
-
:type parameters: IO
|
588
|
+
:type parameters: IO[bytes]
|
645
589
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
646
590
|
Default value is "application/json".
|
647
591
|
:paramtype content_type: str
|
648
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
649
592
|
:return: StorageAccount or the result of cls(response)
|
650
593
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccount
|
651
594
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -656,7 +599,7 @@ class StorageAccountsOperations:
|
|
656
599
|
self,
|
657
600
|
resource_group_name: str,
|
658
601
|
account_name: str,
|
659
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
602
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
660
603
|
**kwargs: Any
|
661
604
|
) -> _models.StorageAccount:
|
662
605
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -676,17 +619,14 @@ class StorageAccountsOperations:
|
|
676
619
|
lower-case letters only. Required.
|
677
620
|
:type account_name: str
|
678
621
|
:param parameters: The parameters to provide for the updated account. Is either a
|
679
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
680
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountUpdateParameters or
|
681
|
-
|
682
|
-
Default value is None.
|
683
|
-
:paramtype content_type: str
|
684
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
622
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
623
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountUpdateParameters or
|
624
|
+
IO[bytes]
|
685
625
|
:return: StorageAccount or the result of cls(response)
|
686
626
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccount
|
687
627
|
:raises ~azure.core.exceptions.HttpResponseError:
|
688
628
|
"""
|
689
|
-
error_map = {
|
629
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
690
630
|
401: ClientAuthenticationError,
|
691
631
|
404: ResourceNotFoundError,
|
692
632
|
409: ResourceExistsError,
|
@@ -709,7 +649,7 @@ class StorageAccountsOperations:
|
|
709
649
|
else:
|
710
650
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
711
651
|
|
712
|
-
|
652
|
+
_request = build_update_request(
|
713
653
|
resource_group_name=resource_group_name,
|
714
654
|
account_name=account_name,
|
715
655
|
subscription_id=self._config.subscription_id,
|
@@ -717,16 +657,15 @@ class StorageAccountsOperations:
|
|
717
657
|
content_type=content_type,
|
718
658
|
json=_json,
|
719
659
|
content=_content,
|
720
|
-
template_url=self.update.metadata["url"],
|
721
660
|
headers=_headers,
|
722
661
|
params=_params,
|
723
662
|
)
|
724
|
-
|
725
|
-
|
663
|
+
_request = _convert_request(_request)
|
664
|
+
_request.url = self._client.format_url(_request.url)
|
726
665
|
|
727
666
|
_stream = False
|
728
667
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
729
|
-
|
668
|
+
_request, stream=_stream, **kwargs
|
730
669
|
)
|
731
670
|
|
732
671
|
response = pipeline_response.http_response
|
@@ -738,20 +677,15 @@ class StorageAccountsOperations:
|
|
738
677
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
739
678
|
|
740
679
|
if cls:
|
741
|
-
return cls(pipeline_response, deserialized, {})
|
680
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
742
681
|
|
743
|
-
return deserialized
|
744
|
-
|
745
|
-
update.metadata = {
|
746
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
747
|
-
}
|
682
|
+
return deserialized # type: ignore
|
748
683
|
|
749
684
|
@distributed_trace
|
750
685
|
def list(self, **kwargs: Any) -> AsyncIterable["_models.StorageAccount"]:
|
751
686
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
752
687
|
returned; use the ListKeys operation for this.
|
753
688
|
|
754
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
755
689
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
756
690
|
:rtype:
|
757
691
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2018_11_01.models.StorageAccount]
|
@@ -763,7 +697,7 @@ class StorageAccountsOperations:
|
|
763
697
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
764
698
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
765
699
|
|
766
|
-
error_map = {
|
700
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
767
701
|
401: ClientAuthenticationError,
|
768
702
|
404: ResourceNotFoundError,
|
769
703
|
409: ResourceExistsError,
|
@@ -774,15 +708,14 @@ class StorageAccountsOperations:
|
|
774
708
|
def prepare_request(next_link=None):
|
775
709
|
if not next_link:
|
776
710
|
|
777
|
-
|
711
|
+
_request = build_list_request(
|
778
712
|
subscription_id=self._config.subscription_id,
|
779
713
|
api_version=api_version,
|
780
|
-
template_url=self.list.metadata["url"],
|
781
714
|
headers=_headers,
|
782
715
|
params=_params,
|
783
716
|
)
|
784
|
-
|
785
|
-
|
717
|
+
_request = _convert_request(_request)
|
718
|
+
_request.url = self._client.format_url(_request.url)
|
786
719
|
|
787
720
|
else:
|
788
721
|
# make call to next link with the client's api-version
|
@@ -793,14 +726,14 @@ class StorageAccountsOperations:
|
|
793
726
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
794
727
|
}
|
795
728
|
)
|
796
|
-
_next_request_params["api-version"] = self.
|
797
|
-
|
729
|
+
_next_request_params["api-version"] = self._api_version
|
730
|
+
_request = HttpRequest(
|
798
731
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
799
732
|
)
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
return
|
733
|
+
_request = _convert_request(_request)
|
734
|
+
_request.url = self._client.format_url(_request.url)
|
735
|
+
_request.method = "GET"
|
736
|
+
return _request
|
804
737
|
|
805
738
|
async def extract_data(pipeline_response):
|
806
739
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -810,11 +743,11 @@ class StorageAccountsOperations:
|
|
810
743
|
return None, AsyncList(list_of_elem)
|
811
744
|
|
812
745
|
async def get_next(next_link=None):
|
813
|
-
|
746
|
+
_request = prepare_request(next_link)
|
814
747
|
|
815
748
|
_stream = False
|
816
749
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
817
|
-
|
750
|
+
_request, stream=_stream, **kwargs
|
818
751
|
)
|
819
752
|
response = pipeline_response.http_response
|
820
753
|
|
@@ -826,8 +759,6 @@ class StorageAccountsOperations:
|
|
826
759
|
|
827
760
|
return AsyncItemPaged(get_next, extract_data)
|
828
761
|
|
829
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
830
|
-
|
831
762
|
@distributed_trace
|
832
763
|
def list_by_resource_group(
|
833
764
|
self, resource_group_name: str, **kwargs: Any
|
@@ -838,7 +769,6 @@ class StorageAccountsOperations:
|
|
838
769
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
839
770
|
name is case insensitive. Required.
|
840
771
|
:type resource_group_name: str
|
841
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
842
772
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
843
773
|
:rtype:
|
844
774
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2018_11_01.models.StorageAccount]
|
@@ -850,7 +780,7 @@ class StorageAccountsOperations:
|
|
850
780
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
851
781
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
852
782
|
|
853
|
-
error_map = {
|
783
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
854
784
|
401: ClientAuthenticationError,
|
855
785
|
404: ResourceNotFoundError,
|
856
786
|
409: ResourceExistsError,
|
@@ -861,16 +791,15 @@ class StorageAccountsOperations:
|
|
861
791
|
def prepare_request(next_link=None):
|
862
792
|
if not next_link:
|
863
793
|
|
864
|
-
|
794
|
+
_request = build_list_by_resource_group_request(
|
865
795
|
resource_group_name=resource_group_name,
|
866
796
|
subscription_id=self._config.subscription_id,
|
867
797
|
api_version=api_version,
|
868
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
869
798
|
headers=_headers,
|
870
799
|
params=_params,
|
871
800
|
)
|
872
|
-
|
873
|
-
|
801
|
+
_request = _convert_request(_request)
|
802
|
+
_request.url = self._client.format_url(_request.url)
|
874
803
|
|
875
804
|
else:
|
876
805
|
# make call to next link with the client's api-version
|
@@ -881,14 +810,14 @@ class StorageAccountsOperations:
|
|
881
810
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
882
811
|
}
|
883
812
|
)
|
884
|
-
_next_request_params["api-version"] = self.
|
885
|
-
|
813
|
+
_next_request_params["api-version"] = self._api_version
|
814
|
+
_request = HttpRequest(
|
886
815
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
887
816
|
)
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
return
|
817
|
+
_request = _convert_request(_request)
|
818
|
+
_request.url = self._client.format_url(_request.url)
|
819
|
+
_request.method = "GET"
|
820
|
+
return _request
|
892
821
|
|
893
822
|
async def extract_data(pipeline_response):
|
894
823
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -898,11 +827,11 @@ class StorageAccountsOperations:
|
|
898
827
|
return None, AsyncList(list_of_elem)
|
899
828
|
|
900
829
|
async def get_next(next_link=None):
|
901
|
-
|
830
|
+
_request = prepare_request(next_link)
|
902
831
|
|
903
832
|
_stream = False
|
904
833
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
905
|
-
|
834
|
+
_request, stream=_stream, **kwargs
|
906
835
|
)
|
907
836
|
response = pipeline_response.http_response
|
908
837
|
|
@@ -914,10 +843,6 @@ class StorageAccountsOperations:
|
|
914
843
|
|
915
844
|
return AsyncItemPaged(get_next, extract_data)
|
916
845
|
|
917
|
-
list_by_resource_group.metadata = {
|
918
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
919
|
-
}
|
920
|
-
|
921
846
|
@distributed_trace_async
|
922
847
|
async def list_keys(
|
923
848
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
@@ -931,12 +856,11 @@ class StorageAccountsOperations:
|
|
931
856
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
932
857
|
lower-case letters only. Required.
|
933
858
|
:type account_name: str
|
934
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
935
859
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
936
860
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountListKeysResult
|
937
861
|
:raises ~azure.core.exceptions.HttpResponseError:
|
938
862
|
"""
|
939
|
-
error_map = {
|
863
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
940
864
|
401: ClientAuthenticationError,
|
941
865
|
404: ResourceNotFoundError,
|
942
866
|
409: ResourceExistsError,
|
@@ -950,21 +874,20 @@ class StorageAccountsOperations:
|
|
950
874
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
951
875
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
952
876
|
|
953
|
-
|
877
|
+
_request = build_list_keys_request(
|
954
878
|
resource_group_name=resource_group_name,
|
955
879
|
account_name=account_name,
|
956
880
|
subscription_id=self._config.subscription_id,
|
957
881
|
api_version=api_version,
|
958
|
-
template_url=self.list_keys.metadata["url"],
|
959
882
|
headers=_headers,
|
960
883
|
params=_params,
|
961
884
|
)
|
962
|
-
|
963
|
-
|
885
|
+
_request = _convert_request(_request)
|
886
|
+
_request.url = self._client.format_url(_request.url)
|
964
887
|
|
965
888
|
_stream = False
|
966
889
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
967
|
-
|
890
|
+
_request, stream=_stream, **kwargs
|
968
891
|
)
|
969
892
|
|
970
893
|
response = pipeline_response.http_response
|
@@ -976,13 +899,9 @@ class StorageAccountsOperations:
|
|
976
899
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
977
900
|
|
978
901
|
if cls:
|
979
|
-
return cls(pipeline_response, deserialized, {})
|
980
|
-
|
981
|
-
return deserialized
|
902
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
982
903
|
|
983
|
-
|
984
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
985
|
-
}
|
904
|
+
return deserialized # type: ignore
|
986
905
|
|
987
906
|
@overload
|
988
907
|
async def regenerate_key(
|
@@ -1010,7 +929,6 @@ class StorageAccountsOperations:
|
|
1010
929
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1011
930
|
Default value is "application/json".
|
1012
931
|
:paramtype content_type: str
|
1013
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1014
932
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1015
933
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountListKeysResult
|
1016
934
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1021,7 +939,7 @@ class StorageAccountsOperations:
|
|
1021
939
|
self,
|
1022
940
|
resource_group_name: str,
|
1023
941
|
account_name: str,
|
1024
|
-
regenerate_key: IO,
|
942
|
+
regenerate_key: IO[bytes],
|
1025
943
|
*,
|
1026
944
|
content_type: str = "application/json",
|
1027
945
|
**kwargs: Any
|
@@ -1037,11 +955,10 @@ class StorageAccountsOperations:
|
|
1037
955
|
:type account_name: str
|
1038
956
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1039
957
|
Required.
|
1040
|
-
:type regenerate_key: IO
|
958
|
+
:type regenerate_key: IO[bytes]
|
1041
959
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1042
960
|
Default value is "application/json".
|
1043
961
|
:paramtype content_type: str
|
1044
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1045
962
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1046
963
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountListKeysResult
|
1047
964
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1052,7 +969,7 @@ class StorageAccountsOperations:
|
|
1052
969
|
self,
|
1053
970
|
resource_group_name: str,
|
1054
971
|
account_name: str,
|
1055
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
972
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1056
973
|
**kwargs: Any
|
1057
974
|
) -> _models.StorageAccountListKeysResult:
|
1058
975
|
"""Regenerates one of the access keys for the specified storage account.
|
@@ -1065,18 +982,14 @@ class StorageAccountsOperations:
|
|
1065
982
|
lower-case letters only. Required.
|
1066
983
|
:type account_name: str
|
1067
984
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1068
|
-
Is either a StorageAccountRegenerateKeyParameters type or a IO type. Required.
|
985
|
+
Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type. Required.
|
1069
986
|
:type regenerate_key:
|
1070
|
-
~azure.mgmt.storage.v2018_11_01.models.StorageAccountRegenerateKeyParameters or IO
|
1071
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1072
|
-
Default value is None.
|
1073
|
-
:paramtype content_type: str
|
1074
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
987
|
+
~azure.mgmt.storage.v2018_11_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
|
1075
988
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1076
989
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountListKeysResult
|
1077
990
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1078
991
|
"""
|
1079
|
-
error_map = {
|
992
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1080
993
|
401: ClientAuthenticationError,
|
1081
994
|
404: ResourceNotFoundError,
|
1082
995
|
409: ResourceExistsError,
|
@@ -1099,7 +1012,7 @@ class StorageAccountsOperations:
|
|
1099
1012
|
else:
|
1100
1013
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1101
1014
|
|
1102
|
-
|
1015
|
+
_request = build_regenerate_key_request(
|
1103
1016
|
resource_group_name=resource_group_name,
|
1104
1017
|
account_name=account_name,
|
1105
1018
|
subscription_id=self._config.subscription_id,
|
@@ -1107,16 +1020,15 @@ class StorageAccountsOperations:
|
|
1107
1020
|
content_type=content_type,
|
1108
1021
|
json=_json,
|
1109
1022
|
content=_content,
|
1110
|
-
template_url=self.regenerate_key.metadata["url"],
|
1111
1023
|
headers=_headers,
|
1112
1024
|
params=_params,
|
1113
1025
|
)
|
1114
|
-
|
1115
|
-
|
1026
|
+
_request = _convert_request(_request)
|
1027
|
+
_request.url = self._client.format_url(_request.url)
|
1116
1028
|
|
1117
1029
|
_stream = False
|
1118
1030
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1119
|
-
|
1031
|
+
_request, stream=_stream, **kwargs
|
1120
1032
|
)
|
1121
1033
|
|
1122
1034
|
response = pipeline_response.http_response
|
@@ -1128,13 +1040,9 @@ class StorageAccountsOperations:
|
|
1128
1040
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1129
1041
|
|
1130
1042
|
if cls:
|
1131
|
-
return cls(pipeline_response, deserialized, {})
|
1043
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1132
1044
|
|
1133
|
-
return deserialized
|
1134
|
-
|
1135
|
-
regenerate_key.metadata = {
|
1136
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1137
|
-
}
|
1045
|
+
return deserialized # type: ignore
|
1138
1046
|
|
1139
1047
|
@overload
|
1140
1048
|
async def list_account_sas(
|
@@ -1161,7 +1069,6 @@ class StorageAccountsOperations:
|
|
1161
1069
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1162
1070
|
Default value is "application/json".
|
1163
1071
|
:paramtype content_type: str
|
1164
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1165
1072
|
:return: ListAccountSasResponse or the result of cls(response)
|
1166
1073
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ListAccountSasResponse
|
1167
1074
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1172,7 +1079,7 @@ class StorageAccountsOperations:
|
|
1172
1079
|
self,
|
1173
1080
|
resource_group_name: str,
|
1174
1081
|
account_name: str,
|
1175
|
-
parameters: IO,
|
1082
|
+
parameters: IO[bytes],
|
1176
1083
|
*,
|
1177
1084
|
content_type: str = "application/json",
|
1178
1085
|
**kwargs: Any
|
@@ -1188,11 +1095,10 @@ class StorageAccountsOperations:
|
|
1188
1095
|
:type account_name: str
|
1189
1096
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1190
1097
|
Required.
|
1191
|
-
:type parameters: IO
|
1098
|
+
:type parameters: IO[bytes]
|
1192
1099
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1193
1100
|
Default value is "application/json".
|
1194
1101
|
:paramtype content_type: str
|
1195
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1196
1102
|
:return: ListAccountSasResponse or the result of cls(response)
|
1197
1103
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ListAccountSasResponse
|
1198
1104
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1203,7 +1109,7 @@ class StorageAccountsOperations:
|
|
1203
1109
|
self,
|
1204
1110
|
resource_group_name: str,
|
1205
1111
|
account_name: str,
|
1206
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1112
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1207
1113
|
**kwargs: Any
|
1208
1114
|
) -> _models.ListAccountSasResponse:
|
1209
1115
|
"""List SAS credentials of a storage account.
|
@@ -1216,17 +1122,13 @@ class StorageAccountsOperations:
|
|
1216
1122
|
lower-case letters only. Required.
|
1217
1123
|
:type account_name: str
|
1218
1124
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1219
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1220
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.AccountSasParameters or IO
|
1221
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1222
|
-
Default value is None.
|
1223
|
-
:paramtype content_type: str
|
1224
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1125
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1126
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.AccountSasParameters or IO[bytes]
|
1225
1127
|
:return: ListAccountSasResponse or the result of cls(response)
|
1226
1128
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ListAccountSasResponse
|
1227
1129
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1228
1130
|
"""
|
1229
|
-
error_map = {
|
1131
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1230
1132
|
401: ClientAuthenticationError,
|
1231
1133
|
404: ResourceNotFoundError,
|
1232
1134
|
409: ResourceExistsError,
|
@@ -1249,7 +1151,7 @@ class StorageAccountsOperations:
|
|
1249
1151
|
else:
|
1250
1152
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1251
1153
|
|
1252
|
-
|
1154
|
+
_request = build_list_account_sas_request(
|
1253
1155
|
resource_group_name=resource_group_name,
|
1254
1156
|
account_name=account_name,
|
1255
1157
|
subscription_id=self._config.subscription_id,
|
@@ -1257,16 +1159,15 @@ class StorageAccountsOperations:
|
|
1257
1159
|
content_type=content_type,
|
1258
1160
|
json=_json,
|
1259
1161
|
content=_content,
|
1260
|
-
template_url=self.list_account_sas.metadata["url"],
|
1261
1162
|
headers=_headers,
|
1262
1163
|
params=_params,
|
1263
1164
|
)
|
1264
|
-
|
1265
|
-
|
1165
|
+
_request = _convert_request(_request)
|
1166
|
+
_request.url = self._client.format_url(_request.url)
|
1266
1167
|
|
1267
1168
|
_stream = False
|
1268
1169
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1269
|
-
|
1170
|
+
_request, stream=_stream, **kwargs
|
1270
1171
|
)
|
1271
1172
|
|
1272
1173
|
response = pipeline_response.http_response
|
@@ -1278,13 +1179,9 @@ class StorageAccountsOperations:
|
|
1278
1179
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1279
1180
|
|
1280
1181
|
if cls:
|
1281
|
-
return cls(pipeline_response, deserialized, {})
|
1282
|
-
|
1283
|
-
return deserialized
|
1182
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1284
1183
|
|
1285
|
-
|
1286
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1287
|
-
}
|
1184
|
+
return deserialized # type: ignore
|
1288
1185
|
|
1289
1186
|
@overload
|
1290
1187
|
async def list_service_sas(
|
@@ -1310,7 +1207,6 @@ class StorageAccountsOperations:
|
|
1310
1207
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1311
1208
|
Default value is "application/json".
|
1312
1209
|
:paramtype content_type: str
|
1313
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1314
1210
|
:return: ListServiceSasResponse or the result of cls(response)
|
1315
1211
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ListServiceSasResponse
|
1316
1212
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1321,7 +1217,7 @@ class StorageAccountsOperations:
|
|
1321
1217
|
self,
|
1322
1218
|
resource_group_name: str,
|
1323
1219
|
account_name: str,
|
1324
|
-
parameters: IO,
|
1220
|
+
parameters: IO[bytes],
|
1325
1221
|
*,
|
1326
1222
|
content_type: str = "application/json",
|
1327
1223
|
**kwargs: Any
|
@@ -1336,11 +1232,10 @@ class StorageAccountsOperations:
|
|
1336
1232
|
lower-case letters only. Required.
|
1337
1233
|
:type account_name: str
|
1338
1234
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1339
|
-
:type parameters: IO
|
1235
|
+
:type parameters: IO[bytes]
|
1340
1236
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1341
1237
|
Default value is "application/json".
|
1342
1238
|
:paramtype content_type: str
|
1343
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1344
1239
|
:return: ListServiceSasResponse or the result of cls(response)
|
1345
1240
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ListServiceSasResponse
|
1346
1241
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1351,7 +1246,7 @@ class StorageAccountsOperations:
|
|
1351
1246
|
self,
|
1352
1247
|
resource_group_name: str,
|
1353
1248
|
account_name: str,
|
1354
|
-
parameters: Union[_models.ServiceSasParameters, IO],
|
1249
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1355
1250
|
**kwargs: Any
|
1356
1251
|
) -> _models.ListServiceSasResponse:
|
1357
1252
|
"""List service SAS credentials of a specific resource.
|
@@ -1364,17 +1259,13 @@ class StorageAccountsOperations:
|
|
1364
1259
|
lower-case letters only. Required.
|
1365
1260
|
:type account_name: str
|
1366
1261
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1367
|
-
ServiceSasParameters type or a IO type. Required.
|
1368
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.ServiceSasParameters or IO
|
1369
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1370
|
-
Default value is None.
|
1371
|
-
:paramtype content_type: str
|
1372
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1262
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1263
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.ServiceSasParameters or IO[bytes]
|
1373
1264
|
:return: ListServiceSasResponse or the result of cls(response)
|
1374
1265
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ListServiceSasResponse
|
1375
1266
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1376
1267
|
"""
|
1377
|
-
error_map = {
|
1268
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1378
1269
|
401: ClientAuthenticationError,
|
1379
1270
|
404: ResourceNotFoundError,
|
1380
1271
|
409: ResourceExistsError,
|
@@ -1397,7 +1288,7 @@ class StorageAccountsOperations:
|
|
1397
1288
|
else:
|
1398
1289
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1399
1290
|
|
1400
|
-
|
1291
|
+
_request = build_list_service_sas_request(
|
1401
1292
|
resource_group_name=resource_group_name,
|
1402
1293
|
account_name=account_name,
|
1403
1294
|
subscription_id=self._config.subscription_id,
|
@@ -1405,16 +1296,15 @@ class StorageAccountsOperations:
|
|
1405
1296
|
content_type=content_type,
|
1406
1297
|
json=_json,
|
1407
1298
|
content=_content,
|
1408
|
-
template_url=self.list_service_sas.metadata["url"],
|
1409
1299
|
headers=_headers,
|
1410
1300
|
params=_params,
|
1411
1301
|
)
|
1412
|
-
|
1413
|
-
|
1302
|
+
_request = _convert_request(_request)
|
1303
|
+
_request.url = self._client.format_url(_request.url)
|
1414
1304
|
|
1415
1305
|
_stream = False
|
1416
1306
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1417
|
-
|
1307
|
+
_request, stream=_stream, **kwargs
|
1418
1308
|
)
|
1419
1309
|
|
1420
1310
|
response = pipeline_response.http_response
|
@@ -1426,18 +1316,14 @@ class StorageAccountsOperations:
|
|
1426
1316
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1427
1317
|
|
1428
1318
|
if cls:
|
1429
|
-
return cls(pipeline_response, deserialized, {})
|
1430
|
-
|
1431
|
-
return deserialized
|
1319
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1432
1320
|
|
1433
|
-
|
1434
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1435
|
-
}
|
1321
|
+
return deserialized # type: ignore
|
1436
1322
|
|
1437
1323
|
async def _failover_initial( # pylint: disable=inconsistent-return-statements
|
1438
1324
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1439
1325
|
) -> None:
|
1440
|
-
error_map = {
|
1326
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1441
1327
|
401: ClientAuthenticationError,
|
1442
1328
|
404: ResourceNotFoundError,
|
1443
1329
|
409: ResourceExistsError,
|
@@ -1451,21 +1337,20 @@ class StorageAccountsOperations:
|
|
1451
1337
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1452
1338
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1453
1339
|
|
1454
|
-
|
1340
|
+
_request = build_failover_request(
|
1455
1341
|
resource_group_name=resource_group_name,
|
1456
1342
|
account_name=account_name,
|
1457
1343
|
subscription_id=self._config.subscription_id,
|
1458
1344
|
api_version=api_version,
|
1459
|
-
template_url=self._failover_initial.metadata["url"],
|
1460
1345
|
headers=_headers,
|
1461
1346
|
params=_params,
|
1462
1347
|
)
|
1463
|
-
|
1464
|
-
|
1348
|
+
_request = _convert_request(_request)
|
1349
|
+
_request.url = self._client.format_url(_request.url)
|
1465
1350
|
|
1466
1351
|
_stream = False
|
1467
1352
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1468
|
-
|
1353
|
+
_request, stream=_stream, **kwargs
|
1469
1354
|
)
|
1470
1355
|
|
1471
1356
|
response = pipeline_response.http_response
|
@@ -1475,11 +1360,7 @@ class StorageAccountsOperations:
|
|
1475
1360
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1476
1361
|
|
1477
1362
|
if cls:
|
1478
|
-
return cls(pipeline_response, None, {})
|
1479
|
-
|
1480
|
-
_failover_initial.metadata = {
|
1481
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1482
|
-
}
|
1363
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1483
1364
|
|
1484
1365
|
@distributed_trace_async
|
1485
1366
|
async def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> AsyncLROPoller[None]:
|
@@ -1494,14 +1375,6 @@ class StorageAccountsOperations:
|
|
1494
1375
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1495
1376
|
lower-case letters only. Required.
|
1496
1377
|
:type account_name: str
|
1497
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1498
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1499
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1500
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1501
|
-
polling strategy.
|
1502
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1503
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1504
|
-
Retry-After header is present.
|
1505
1378
|
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
|
1506
1379
|
:rtype: ~azure.core.polling.AsyncLROPoller[None]
|
1507
1380
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1528,7 +1401,7 @@ class StorageAccountsOperations:
|
|
1528
1401
|
|
1529
1402
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
1530
1403
|
if cls:
|
1531
|
-
return cls(pipeline_response, None, {})
|
1404
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1532
1405
|
|
1533
1406
|
if polling is True:
|
1534
1407
|
polling_method: AsyncPollingMethod = cast(
|
@@ -1539,17 +1412,13 @@ class StorageAccountsOperations:
|
|
1539
1412
|
else:
|
1540
1413
|
polling_method = polling
|
1541
1414
|
if cont_token:
|
1542
|
-
return AsyncLROPoller.from_continuation_token(
|
1415
|
+
return AsyncLROPoller[None].from_continuation_token(
|
1543
1416
|
polling_method=polling_method,
|
1544
1417
|
continuation_token=cont_token,
|
1545
1418
|
client=self._client,
|
1546
1419
|
deserialization_callback=get_long_running_output,
|
1547
1420
|
)
|
1548
|
-
return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1549
|
-
|
1550
|
-
begin_failover.metadata = {
|
1551
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1552
|
-
}
|
1421
|
+
return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1553
1422
|
|
1554
1423
|
@distributed_trace_async
|
1555
1424
|
async def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
|
@@ -1564,12 +1433,11 @@ class StorageAccountsOperations:
|
|
1564
1433
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1565
1434
|
lower-case letters only. Required.
|
1566
1435
|
:type account_name: str
|
1567
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1568
1436
|
:return: None or the result of cls(response)
|
1569
1437
|
:rtype: None
|
1570
1438
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1571
1439
|
"""
|
1572
|
-
error_map = {
|
1440
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1573
1441
|
401: ClientAuthenticationError,
|
1574
1442
|
404: ResourceNotFoundError,
|
1575
1443
|
409: ResourceExistsError,
|
@@ -1583,21 +1451,20 @@ class StorageAccountsOperations:
|
|
1583
1451
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1584
1452
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1585
1453
|
|
1586
|
-
|
1454
|
+
_request = build_revoke_user_delegation_keys_request(
|
1587
1455
|
resource_group_name=resource_group_name,
|
1588
1456
|
account_name=account_name,
|
1589
1457
|
subscription_id=self._config.subscription_id,
|
1590
1458
|
api_version=api_version,
|
1591
|
-
template_url=self.revoke_user_delegation_keys.metadata["url"],
|
1592
1459
|
headers=_headers,
|
1593
1460
|
params=_params,
|
1594
1461
|
)
|
1595
|
-
|
1596
|
-
|
1462
|
+
_request = _convert_request(_request)
|
1463
|
+
_request.url = self._client.format_url(_request.url)
|
1597
1464
|
|
1598
1465
|
_stream = False
|
1599
1466
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1600
|
-
|
1467
|
+
_request, stream=_stream, **kwargs
|
1601
1468
|
)
|
1602
1469
|
|
1603
1470
|
response = pipeline_response.http_response
|
@@ -1607,8 +1474,4 @@ class StorageAccountsOperations:
|
|
1607
1474
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1608
1475
|
|
1609
1476
|
if cls:
|
1610
|
-
return cls(pipeline_response, None, {})
|
1611
|
-
|
1612
|
-
revoke_user_delegation_keys.metadata = {
|
1613
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
|
1614
|
-
}
|
1477
|
+
return cls(pipeline_response, None, {}) # type: ignore
|