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