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