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.
|
@@ -7,7 +7,8 @@
|
|
7
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
8
|
# --------------------------------------------------------------------------
|
9
9
|
from io import IOBase
|
10
|
-
|
10
|
+
import sys
|
11
|
+
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, Type, TypeVar, Union, cast, overload
|
11
12
|
import urllib.parse
|
12
13
|
|
13
14
|
from azure.core.async_paging import AsyncItemPaged, AsyncList
|
@@ -48,6 +49,10 @@ from ...operations._storage_accounts_operations import (
|
|
48
49
|
build_update_request,
|
49
50
|
)
|
50
51
|
|
52
|
+
if sys.version_info >= (3, 9):
|
53
|
+
from collections.abc import MutableMapping
|
54
|
+
else:
|
55
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
51
56
|
T = TypeVar("T")
|
52
57
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
53
58
|
|
@@ -90,7 +95,6 @@ class StorageAccountsOperations:
|
|
90
95
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
91
96
|
Default value is "application/json".
|
92
97
|
:paramtype content_type: str
|
93
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
94
98
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
95
99
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.CheckNameAvailabilityResult
|
96
100
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -98,18 +102,17 @@ class StorageAccountsOperations:
|
|
98
102
|
|
99
103
|
@overload
|
100
104
|
async def check_name_availability(
|
101
|
-
self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
|
105
|
+
self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
|
102
106
|
) -> _models.CheckNameAvailabilityResult:
|
103
107
|
"""Checks that the storage account name is valid and is not already in use.
|
104
108
|
|
105
109
|
:param account_name: The name of the storage account within the specified resource group.
|
106
110
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
107
111
|
lower-case letters only. Required.
|
108
|
-
:type account_name: IO
|
112
|
+
:type account_name: IO[bytes]
|
109
113
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
110
114
|
Default value is "application/json".
|
111
115
|
:paramtype content_type: str
|
112
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
113
116
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
114
117
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.CheckNameAvailabilityResult
|
115
118
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -117,26 +120,22 @@ class StorageAccountsOperations:
|
|
117
120
|
|
118
121
|
@distributed_trace_async
|
119
122
|
async def check_name_availability(
|
120
|
-
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
|
123
|
+
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
|
121
124
|
) -> _models.CheckNameAvailabilityResult:
|
122
125
|
"""Checks that the storage account name is valid and is not already in use.
|
123
126
|
|
124
127
|
:param account_name: The name of the storage account within the specified resource group.
|
125
128
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
126
|
-
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
127
|
-
type. Required.
|
129
|
+
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
130
|
+
IO[bytes] type. Required.
|
128
131
|
:type account_name:
|
129
132
|
~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountCheckNameAvailabilityParameters or
|
130
|
-
IO
|
131
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
132
|
-
Default value is None.
|
133
|
-
:paramtype content_type: str
|
134
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
133
|
+
IO[bytes]
|
135
134
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
136
135
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.CheckNameAvailabilityResult
|
137
136
|
:raises ~azure.core.exceptions.HttpResponseError:
|
138
137
|
"""
|
139
|
-
error_map = {
|
138
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
140
139
|
401: ClientAuthenticationError,
|
141
140
|
404: ResourceNotFoundError,
|
142
141
|
409: ResourceExistsError,
|
@@ -161,22 +160,21 @@ class StorageAccountsOperations:
|
|
161
160
|
else:
|
162
161
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
163
162
|
|
164
|
-
|
163
|
+
_request = build_check_name_availability_request(
|
165
164
|
subscription_id=self._config.subscription_id,
|
166
165
|
api_version=api_version,
|
167
166
|
content_type=content_type,
|
168
167
|
json=_json,
|
169
168
|
content=_content,
|
170
|
-
template_url=self.check_name_availability.metadata["url"],
|
171
169
|
headers=_headers,
|
172
170
|
params=_params,
|
173
171
|
)
|
174
|
-
|
175
|
-
|
172
|
+
_request = _convert_request(_request)
|
173
|
+
_request.url = self._client.format_url(_request.url)
|
176
174
|
|
177
175
|
_stream = False
|
178
176
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
179
|
-
|
177
|
+
_request, stream=_stream, **kwargs
|
180
178
|
)
|
181
179
|
|
182
180
|
response = pipeline_response.http_response
|
@@ -188,22 +186,18 @@ class StorageAccountsOperations:
|
|
188
186
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
189
187
|
|
190
188
|
if cls:
|
191
|
-
return cls(pipeline_response, deserialized, {})
|
192
|
-
|
193
|
-
return deserialized
|
189
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
194
190
|
|
195
|
-
|
196
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
197
|
-
}
|
191
|
+
return deserialized # type: ignore
|
198
192
|
|
199
193
|
async def _create_initial(
|
200
194
|
self,
|
201
195
|
resource_group_name: str,
|
202
196
|
account_name: str,
|
203
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
197
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
204
198
|
**kwargs: Any
|
205
199
|
) -> Optional[_models.StorageAccount]:
|
206
|
-
error_map = {
|
200
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
207
201
|
401: ClientAuthenticationError,
|
208
202
|
404: ResourceNotFoundError,
|
209
203
|
409: ResourceExistsError,
|
@@ -228,7 +222,7 @@ class StorageAccountsOperations:
|
|
228
222
|
else:
|
229
223
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
230
224
|
|
231
|
-
|
225
|
+
_request = build_create_request(
|
232
226
|
resource_group_name=resource_group_name,
|
233
227
|
account_name=account_name,
|
234
228
|
subscription_id=self._config.subscription_id,
|
@@ -236,16 +230,15 @@ class StorageAccountsOperations:
|
|
236
230
|
content_type=content_type,
|
237
231
|
json=_json,
|
238
232
|
content=_content,
|
239
|
-
template_url=self._create_initial.metadata["url"],
|
240
233
|
headers=_headers,
|
241
234
|
params=_params,
|
242
235
|
)
|
243
|
-
|
244
|
-
|
236
|
+
_request = _convert_request(_request)
|
237
|
+
_request.url = self._client.format_url(_request.url)
|
245
238
|
|
246
239
|
_stream = False
|
247
240
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
248
|
-
|
241
|
+
_request, stream=_stream, **kwargs
|
249
242
|
)
|
250
243
|
|
251
244
|
response = pipeline_response.http_response
|
@@ -259,13 +252,9 @@ class StorageAccountsOperations:
|
|
259
252
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
260
253
|
|
261
254
|
if cls:
|
262
|
-
return cls(pipeline_response, deserialized, {})
|
263
|
-
|
264
|
-
return deserialized
|
255
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
265
256
|
|
266
|
-
|
267
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
268
|
-
}
|
257
|
+
return deserialized # type: ignore
|
269
258
|
|
270
259
|
@overload
|
271
260
|
async def begin_create(
|
@@ -294,14 +283,6 @@ class StorageAccountsOperations:
|
|
294
283
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
295
284
|
Default value is "application/json".
|
296
285
|
:paramtype content_type: str
|
297
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
298
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
299
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
300
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
301
|
-
polling strategy.
|
302
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
303
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
304
|
-
Retry-After header is present.
|
305
286
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
306
287
|
cls(response)
|
307
288
|
:rtype:
|
@@ -314,7 +295,7 @@ class StorageAccountsOperations:
|
|
314
295
|
self,
|
315
296
|
resource_group_name: str,
|
316
297
|
account_name: str,
|
317
|
-
parameters: IO,
|
298
|
+
parameters: IO[bytes],
|
318
299
|
*,
|
319
300
|
content_type: str = "application/json",
|
320
301
|
**kwargs: Any
|
@@ -332,18 +313,10 @@ class StorageAccountsOperations:
|
|
332
313
|
lower-case letters only. Required.
|
333
314
|
:type account_name: str
|
334
315
|
:param parameters: The parameters to provide for the created account. Required.
|
335
|
-
:type parameters: IO
|
316
|
+
:type parameters: IO[bytes]
|
336
317
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
337
318
|
Default value is "application/json".
|
338
319
|
:paramtype content_type: str
|
339
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
340
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
341
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
342
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
343
|
-
polling strategy.
|
344
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
345
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
346
|
-
Retry-After header is present.
|
347
320
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
348
321
|
cls(response)
|
349
322
|
:rtype:
|
@@ -356,7 +329,7 @@ class StorageAccountsOperations:
|
|
356
329
|
self,
|
357
330
|
resource_group_name: str,
|
358
331
|
account_name: str,
|
359
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
332
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
360
333
|
**kwargs: Any
|
361
334
|
) -> AsyncLROPoller[_models.StorageAccount]:
|
362
335
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -372,20 +345,9 @@ class StorageAccountsOperations:
|
|
372
345
|
lower-case letters only. Required.
|
373
346
|
:type account_name: str
|
374
347
|
:param parameters: The parameters to provide for the created account. Is either a
|
375
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
348
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
376
349
|
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountCreateParameters
|
377
|
-
or IO
|
378
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
379
|
-
Default value is None.
|
380
|
-
:paramtype content_type: str
|
381
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
382
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
383
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
384
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
385
|
-
polling strategy.
|
386
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
387
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
388
|
-
Retry-After header is present.
|
350
|
+
or IO[bytes]
|
389
351
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
390
352
|
cls(response)
|
391
353
|
:rtype:
|
@@ -420,7 +382,7 @@ class StorageAccountsOperations:
|
|
420
382
|
def get_long_running_output(pipeline_response):
|
421
383
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
422
384
|
if cls:
|
423
|
-
return cls(pipeline_response, deserialized, {})
|
385
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
424
386
|
return deserialized
|
425
387
|
|
426
388
|
if polling is True:
|
@@ -430,17 +392,15 @@ class StorageAccountsOperations:
|
|
430
392
|
else:
|
431
393
|
polling_method = polling
|
432
394
|
if cont_token:
|
433
|
-
return AsyncLROPoller.from_continuation_token(
|
395
|
+
return AsyncLROPoller[_models.StorageAccount].from_continuation_token(
|
434
396
|
polling_method=polling_method,
|
435
397
|
continuation_token=cont_token,
|
436
398
|
client=self._client,
|
437
399
|
deserialization_callback=get_long_running_output,
|
438
400
|
)
|
439
|
-
return AsyncLROPoller(
|
440
|
-
|
441
|
-
|
442
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
443
|
-
}
|
401
|
+
return AsyncLROPoller[_models.StorageAccount](
|
402
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
403
|
+
)
|
444
404
|
|
445
405
|
@distributed_trace_async
|
446
406
|
async def delete( # pylint: disable=inconsistent-return-statements
|
@@ -455,12 +415,11 @@ class StorageAccountsOperations:
|
|
455
415
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
456
416
|
lower-case letters only. Required.
|
457
417
|
:type account_name: str
|
458
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
459
418
|
:return: None or the result of cls(response)
|
460
419
|
:rtype: None
|
461
420
|
:raises ~azure.core.exceptions.HttpResponseError:
|
462
421
|
"""
|
463
|
-
error_map = {
|
422
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
464
423
|
401: ClientAuthenticationError,
|
465
424
|
404: ResourceNotFoundError,
|
466
425
|
409: ResourceExistsError,
|
@@ -476,21 +435,20 @@ class StorageAccountsOperations:
|
|
476
435
|
)
|
477
436
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
478
437
|
|
479
|
-
|
438
|
+
_request = build_delete_request(
|
480
439
|
resource_group_name=resource_group_name,
|
481
440
|
account_name=account_name,
|
482
441
|
subscription_id=self._config.subscription_id,
|
483
442
|
api_version=api_version,
|
484
|
-
template_url=self.delete.metadata["url"],
|
485
443
|
headers=_headers,
|
486
444
|
params=_params,
|
487
445
|
)
|
488
|
-
|
489
|
-
|
446
|
+
_request = _convert_request(_request)
|
447
|
+
_request.url = self._client.format_url(_request.url)
|
490
448
|
|
491
449
|
_stream = False
|
492
450
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
493
|
-
|
451
|
+
_request, stream=_stream, **kwargs
|
494
452
|
)
|
495
453
|
|
496
454
|
response = pipeline_response.http_response
|
@@ -500,11 +458,7 @@ class StorageAccountsOperations:
|
|
500
458
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
501
459
|
|
502
460
|
if cls:
|
503
|
-
return cls(pipeline_response, None, {})
|
504
|
-
|
505
|
-
delete.metadata = {
|
506
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
507
|
-
}
|
461
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
508
462
|
|
509
463
|
@distributed_trace_async
|
510
464
|
async def get_properties(
|
@@ -521,12 +475,11 @@ class StorageAccountsOperations:
|
|
521
475
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
522
476
|
lower-case letters only. Required.
|
523
477
|
:type account_name: str
|
524
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
525
478
|
:return: StorageAccount or the result of cls(response)
|
526
479
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount
|
527
480
|
:raises ~azure.core.exceptions.HttpResponseError:
|
528
481
|
"""
|
529
|
-
error_map = {
|
482
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
530
483
|
401: ClientAuthenticationError,
|
531
484
|
404: ResourceNotFoundError,
|
532
485
|
409: ResourceExistsError,
|
@@ -542,21 +495,20 @@ class StorageAccountsOperations:
|
|
542
495
|
)
|
543
496
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
544
497
|
|
545
|
-
|
498
|
+
_request = build_get_properties_request(
|
546
499
|
resource_group_name=resource_group_name,
|
547
500
|
account_name=account_name,
|
548
501
|
subscription_id=self._config.subscription_id,
|
549
502
|
api_version=api_version,
|
550
|
-
template_url=self.get_properties.metadata["url"],
|
551
503
|
headers=_headers,
|
552
504
|
params=_params,
|
553
505
|
)
|
554
|
-
|
555
|
-
|
506
|
+
_request = _convert_request(_request)
|
507
|
+
_request.url = self._client.format_url(_request.url)
|
556
508
|
|
557
509
|
_stream = False
|
558
510
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
559
|
-
|
511
|
+
_request, stream=_stream, **kwargs
|
560
512
|
)
|
561
513
|
|
562
514
|
response = pipeline_response.http_response
|
@@ -568,13 +520,9 @@ class StorageAccountsOperations:
|
|
568
520
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
569
521
|
|
570
522
|
if cls:
|
571
|
-
return cls(pipeline_response, deserialized, {})
|
572
|
-
|
573
|
-
return deserialized
|
523
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
574
524
|
|
575
|
-
|
576
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
577
|
-
}
|
525
|
+
return deserialized # type: ignore
|
578
526
|
|
579
527
|
@overload
|
580
528
|
async def update(
|
@@ -607,7 +555,6 @@ class StorageAccountsOperations:
|
|
607
555
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
608
556
|
Default value is "application/json".
|
609
557
|
:paramtype content_type: str
|
610
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
611
558
|
:return: StorageAccount or the result of cls(response)
|
612
559
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount
|
613
560
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -618,7 +565,7 @@ class StorageAccountsOperations:
|
|
618
565
|
self,
|
619
566
|
resource_group_name: str,
|
620
567
|
account_name: str,
|
621
|
-
parameters: IO,
|
568
|
+
parameters: IO[bytes],
|
622
569
|
*,
|
623
570
|
content_type: str = "application/json",
|
624
571
|
**kwargs: Any
|
@@ -640,11 +587,10 @@ class StorageAccountsOperations:
|
|
640
587
|
lower-case letters only. Required.
|
641
588
|
:type account_name: str
|
642
589
|
:param parameters: The parameters to provide for the updated account. Required.
|
643
|
-
:type parameters: IO
|
590
|
+
:type parameters: IO[bytes]
|
644
591
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
645
592
|
Default value is "application/json".
|
646
593
|
:paramtype content_type: str
|
647
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
648
594
|
:return: StorageAccount or the result of cls(response)
|
649
595
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount
|
650
596
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -655,7 +601,7 @@ class StorageAccountsOperations:
|
|
655
601
|
self,
|
656
602
|
resource_group_name: str,
|
657
603
|
account_name: str,
|
658
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
604
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
659
605
|
**kwargs: Any
|
660
606
|
) -> _models.StorageAccount:
|
661
607
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -675,18 +621,14 @@ class StorageAccountsOperations:
|
|
675
621
|
lower-case letters only. Required.
|
676
622
|
:type account_name: str
|
677
623
|
:param parameters: The parameters to provide for the updated account. Is either a
|
678
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
624
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
679
625
|
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountUpdateParameters
|
680
|
-
or IO
|
681
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
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
|
626
|
+
or IO[bytes]
|
685
627
|
:return: StorageAccount or the result of cls(response)
|
686
628
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount
|
687
629
|
:raises ~azure.core.exceptions.HttpResponseError:
|
688
630
|
"""
|
689
|
-
error_map = {
|
631
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
690
632
|
401: ClientAuthenticationError,
|
691
633
|
404: ResourceNotFoundError,
|
692
634
|
409: ResourceExistsError,
|
@@ -711,7 +653,7 @@ class StorageAccountsOperations:
|
|
711
653
|
else:
|
712
654
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
713
655
|
|
714
|
-
|
656
|
+
_request = build_update_request(
|
715
657
|
resource_group_name=resource_group_name,
|
716
658
|
account_name=account_name,
|
717
659
|
subscription_id=self._config.subscription_id,
|
@@ -719,16 +661,15 @@ class StorageAccountsOperations:
|
|
719
661
|
content_type=content_type,
|
720
662
|
json=_json,
|
721
663
|
content=_content,
|
722
|
-
template_url=self.update.metadata["url"],
|
723
664
|
headers=_headers,
|
724
665
|
params=_params,
|
725
666
|
)
|
726
|
-
|
727
|
-
|
667
|
+
_request = _convert_request(_request)
|
668
|
+
_request.url = self._client.format_url(_request.url)
|
728
669
|
|
729
670
|
_stream = False
|
730
671
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
731
|
-
|
672
|
+
_request, stream=_stream, **kwargs
|
732
673
|
)
|
733
674
|
|
734
675
|
response = pipeline_response.http_response
|
@@ -740,20 +681,15 @@ class StorageAccountsOperations:
|
|
740
681
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
741
682
|
|
742
683
|
if cls:
|
743
|
-
return cls(pipeline_response, deserialized, {})
|
684
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
744
685
|
|
745
|
-
return deserialized
|
746
|
-
|
747
|
-
update.metadata = {
|
748
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
749
|
-
}
|
686
|
+
return deserialized # type: ignore
|
750
687
|
|
751
688
|
@distributed_trace
|
752
689
|
def list(self, **kwargs: Any) -> AsyncIterable["_models.StorageAccount"]:
|
753
690
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
754
691
|
returned; use the ListKeys operation for this.
|
755
692
|
|
756
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
757
693
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
758
694
|
:rtype:
|
759
695
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount]
|
@@ -767,7 +703,7 @@ class StorageAccountsOperations:
|
|
767
703
|
)
|
768
704
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
769
705
|
|
770
|
-
error_map = {
|
706
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
771
707
|
401: ClientAuthenticationError,
|
772
708
|
404: ResourceNotFoundError,
|
773
709
|
409: ResourceExistsError,
|
@@ -778,15 +714,14 @@ class StorageAccountsOperations:
|
|
778
714
|
def prepare_request(next_link=None):
|
779
715
|
if not next_link:
|
780
716
|
|
781
|
-
|
717
|
+
_request = build_list_request(
|
782
718
|
subscription_id=self._config.subscription_id,
|
783
719
|
api_version=api_version,
|
784
|
-
template_url=self.list.metadata["url"],
|
785
720
|
headers=_headers,
|
786
721
|
params=_params,
|
787
722
|
)
|
788
|
-
|
789
|
-
|
723
|
+
_request = _convert_request(_request)
|
724
|
+
_request.url = self._client.format_url(_request.url)
|
790
725
|
|
791
726
|
else:
|
792
727
|
# make call to next link with the client's api-version
|
@@ -797,14 +732,14 @@ class StorageAccountsOperations:
|
|
797
732
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
798
733
|
}
|
799
734
|
)
|
800
|
-
_next_request_params["api-version"] = self.
|
801
|
-
|
735
|
+
_next_request_params["api-version"] = self._api_version
|
736
|
+
_request = HttpRequest(
|
802
737
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
803
738
|
)
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
return
|
739
|
+
_request = _convert_request(_request)
|
740
|
+
_request.url = self._client.format_url(_request.url)
|
741
|
+
_request.method = "GET"
|
742
|
+
return _request
|
808
743
|
|
809
744
|
async def extract_data(pipeline_response):
|
810
745
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -814,11 +749,11 @@ class StorageAccountsOperations:
|
|
814
749
|
return None, AsyncList(list_of_elem)
|
815
750
|
|
816
751
|
async def get_next(next_link=None):
|
817
|
-
|
752
|
+
_request = prepare_request(next_link)
|
818
753
|
|
819
754
|
_stream = False
|
820
755
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
821
|
-
|
756
|
+
_request, stream=_stream, **kwargs
|
822
757
|
)
|
823
758
|
response = pipeline_response.http_response
|
824
759
|
|
@@ -830,8 +765,6 @@ class StorageAccountsOperations:
|
|
830
765
|
|
831
766
|
return AsyncItemPaged(get_next, extract_data)
|
832
767
|
|
833
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
834
|
-
|
835
768
|
@distributed_trace
|
836
769
|
def list_by_resource_group(
|
837
770
|
self, resource_group_name: str, **kwargs: Any
|
@@ -842,7 +775,6 @@ class StorageAccountsOperations:
|
|
842
775
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
843
776
|
name is case insensitive. Required.
|
844
777
|
:type resource_group_name: str
|
845
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
846
778
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
847
779
|
:rtype:
|
848
780
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount]
|
@@ -856,7 +788,7 @@ class StorageAccountsOperations:
|
|
856
788
|
)
|
857
789
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
858
790
|
|
859
|
-
error_map = {
|
791
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
860
792
|
401: ClientAuthenticationError,
|
861
793
|
404: ResourceNotFoundError,
|
862
794
|
409: ResourceExistsError,
|
@@ -867,16 +799,15 @@ class StorageAccountsOperations:
|
|
867
799
|
def prepare_request(next_link=None):
|
868
800
|
if not next_link:
|
869
801
|
|
870
|
-
|
802
|
+
_request = build_list_by_resource_group_request(
|
871
803
|
resource_group_name=resource_group_name,
|
872
804
|
subscription_id=self._config.subscription_id,
|
873
805
|
api_version=api_version,
|
874
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
875
806
|
headers=_headers,
|
876
807
|
params=_params,
|
877
808
|
)
|
878
|
-
|
879
|
-
|
809
|
+
_request = _convert_request(_request)
|
810
|
+
_request.url = self._client.format_url(_request.url)
|
880
811
|
|
881
812
|
else:
|
882
813
|
# make call to next link with the client's api-version
|
@@ -887,14 +818,14 @@ class StorageAccountsOperations:
|
|
887
818
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
888
819
|
}
|
889
820
|
)
|
890
|
-
_next_request_params["api-version"] = self.
|
891
|
-
|
821
|
+
_next_request_params["api-version"] = self._api_version
|
822
|
+
_request = HttpRequest(
|
892
823
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
893
824
|
)
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
return
|
825
|
+
_request = _convert_request(_request)
|
826
|
+
_request.url = self._client.format_url(_request.url)
|
827
|
+
_request.method = "GET"
|
828
|
+
return _request
|
898
829
|
|
899
830
|
async def extract_data(pipeline_response):
|
900
831
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -904,11 +835,11 @@ class StorageAccountsOperations:
|
|
904
835
|
return None, AsyncList(list_of_elem)
|
905
836
|
|
906
837
|
async def get_next(next_link=None):
|
907
|
-
|
838
|
+
_request = prepare_request(next_link)
|
908
839
|
|
909
840
|
_stream = False
|
910
841
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
911
|
-
|
842
|
+
_request, stream=_stream, **kwargs
|
912
843
|
)
|
913
844
|
response = pipeline_response.http_response
|
914
845
|
|
@@ -920,10 +851,6 @@ class StorageAccountsOperations:
|
|
920
851
|
|
921
852
|
return AsyncItemPaged(get_next, extract_data)
|
922
853
|
|
923
|
-
list_by_resource_group.metadata = {
|
924
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
925
|
-
}
|
926
|
-
|
927
854
|
@distributed_trace_async
|
928
855
|
async def list_keys(
|
929
856
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
@@ -937,12 +864,11 @@ class StorageAccountsOperations:
|
|
937
864
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
938
865
|
lower-case letters only. Required.
|
939
866
|
:type account_name: str
|
940
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
941
867
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
942
868
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountListKeysResult
|
943
869
|
:raises ~azure.core.exceptions.HttpResponseError:
|
944
870
|
"""
|
945
|
-
error_map = {
|
871
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
946
872
|
401: ClientAuthenticationError,
|
947
873
|
404: ResourceNotFoundError,
|
948
874
|
409: ResourceExistsError,
|
@@ -958,21 +884,20 @@ class StorageAccountsOperations:
|
|
958
884
|
)
|
959
885
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
960
886
|
|
961
|
-
|
887
|
+
_request = build_list_keys_request(
|
962
888
|
resource_group_name=resource_group_name,
|
963
889
|
account_name=account_name,
|
964
890
|
subscription_id=self._config.subscription_id,
|
965
891
|
api_version=api_version,
|
966
|
-
template_url=self.list_keys.metadata["url"],
|
967
892
|
headers=_headers,
|
968
893
|
params=_params,
|
969
894
|
)
|
970
|
-
|
971
|
-
|
895
|
+
_request = _convert_request(_request)
|
896
|
+
_request.url = self._client.format_url(_request.url)
|
972
897
|
|
973
898
|
_stream = False
|
974
899
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
975
|
-
|
900
|
+
_request, stream=_stream, **kwargs
|
976
901
|
)
|
977
902
|
|
978
903
|
response = pipeline_response.http_response
|
@@ -984,13 +909,9 @@ class StorageAccountsOperations:
|
|
984
909
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
985
910
|
|
986
911
|
if cls:
|
987
|
-
return cls(pipeline_response, deserialized, {})
|
912
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
988
913
|
|
989
|
-
return deserialized
|
990
|
-
|
991
|
-
list_keys.metadata = {
|
992
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
993
|
-
}
|
914
|
+
return deserialized # type: ignore
|
994
915
|
|
995
916
|
@overload
|
996
917
|
async def regenerate_key(
|
@@ -1018,7 +939,6 @@ class StorageAccountsOperations:
|
|
1018
939
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1019
940
|
Default value is "application/json".
|
1020
941
|
:paramtype content_type: str
|
1021
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1022
942
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1023
943
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountListKeysResult
|
1024
944
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1029,7 +949,7 @@ class StorageAccountsOperations:
|
|
1029
949
|
self,
|
1030
950
|
resource_group_name: str,
|
1031
951
|
account_name: str,
|
1032
|
-
regenerate_key: IO,
|
952
|
+
regenerate_key: IO[bytes],
|
1033
953
|
*,
|
1034
954
|
content_type: str = "application/json",
|
1035
955
|
**kwargs: Any
|
@@ -1045,11 +965,10 @@ class StorageAccountsOperations:
|
|
1045
965
|
:type account_name: str
|
1046
966
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1047
967
|
Required.
|
1048
|
-
:type regenerate_key: IO
|
968
|
+
:type regenerate_key: IO[bytes]
|
1049
969
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1050
970
|
Default value is "application/json".
|
1051
971
|
:paramtype content_type: str
|
1052
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1053
972
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1054
973
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountListKeysResult
|
1055
974
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1060,7 +979,7 @@ class StorageAccountsOperations:
|
|
1060
979
|
self,
|
1061
980
|
resource_group_name: str,
|
1062
981
|
account_name: str,
|
1063
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
982
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1064
983
|
**kwargs: Any
|
1065
984
|
) -> _models.StorageAccountListKeysResult:
|
1066
985
|
"""Regenerates one of the access keys for the specified storage account.
|
@@ -1073,18 +992,15 @@ class StorageAccountsOperations:
|
|
1073
992
|
lower-case letters only. Required.
|
1074
993
|
:type account_name: str
|
1075
994
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1076
|
-
Is either a StorageAccountRegenerateKeyParameters type or a IO type. Required.
|
995
|
+
Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type. Required.
|
1077
996
|
:type regenerate_key:
|
1078
|
-
~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountRegenerateKeyParameters or
|
1079
|
-
|
1080
|
-
Default value is None.
|
1081
|
-
:paramtype content_type: str
|
1082
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
997
|
+
~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountRegenerateKeyParameters or
|
998
|
+
IO[bytes]
|
1083
999
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1084
1000
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountListKeysResult
|
1085
1001
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1086
1002
|
"""
|
1087
|
-
error_map = {
|
1003
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1088
1004
|
401: ClientAuthenticationError,
|
1089
1005
|
404: ResourceNotFoundError,
|
1090
1006
|
409: ResourceExistsError,
|
@@ -1109,7 +1025,7 @@ class StorageAccountsOperations:
|
|
1109
1025
|
else:
|
1110
1026
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1111
1027
|
|
1112
|
-
|
1028
|
+
_request = build_regenerate_key_request(
|
1113
1029
|
resource_group_name=resource_group_name,
|
1114
1030
|
account_name=account_name,
|
1115
1031
|
subscription_id=self._config.subscription_id,
|
@@ -1117,16 +1033,15 @@ class StorageAccountsOperations:
|
|
1117
1033
|
content_type=content_type,
|
1118
1034
|
json=_json,
|
1119
1035
|
content=_content,
|
1120
|
-
template_url=self.regenerate_key.metadata["url"],
|
1121
1036
|
headers=_headers,
|
1122
1037
|
params=_params,
|
1123
1038
|
)
|
1124
|
-
|
1125
|
-
|
1039
|
+
_request = _convert_request(_request)
|
1040
|
+
_request.url = self._client.format_url(_request.url)
|
1126
1041
|
|
1127
1042
|
_stream = False
|
1128
1043
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1129
|
-
|
1044
|
+
_request, stream=_stream, **kwargs
|
1130
1045
|
)
|
1131
1046
|
|
1132
1047
|
response = pipeline_response.http_response
|
@@ -1138,13 +1053,9 @@ class StorageAccountsOperations:
|
|
1138
1053
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1139
1054
|
|
1140
1055
|
if cls:
|
1141
|
-
return cls(pipeline_response, deserialized, {})
|
1142
|
-
|
1143
|
-
return deserialized
|
1056
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1144
1057
|
|
1145
|
-
|
1146
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1147
|
-
}
|
1058
|
+
return deserialized # type: ignore
|
1148
1059
|
|
1149
1060
|
@overload
|
1150
1061
|
async def list_account_sas(
|
@@ -1171,7 +1082,6 @@ class StorageAccountsOperations:
|
|
1171
1082
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1172
1083
|
Default value is "application/json".
|
1173
1084
|
:paramtype content_type: str
|
1174
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1175
1085
|
:return: ListAccountSasResponse or the result of cls(response)
|
1176
1086
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListAccountSasResponse
|
1177
1087
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1182,7 +1092,7 @@ class StorageAccountsOperations:
|
|
1182
1092
|
self,
|
1183
1093
|
resource_group_name: str,
|
1184
1094
|
account_name: str,
|
1185
|
-
parameters: IO,
|
1095
|
+
parameters: IO[bytes],
|
1186
1096
|
*,
|
1187
1097
|
content_type: str = "application/json",
|
1188
1098
|
**kwargs: Any
|
@@ -1198,11 +1108,10 @@ class StorageAccountsOperations:
|
|
1198
1108
|
:type account_name: str
|
1199
1109
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1200
1110
|
Required.
|
1201
|
-
:type parameters: IO
|
1111
|
+
:type parameters: IO[bytes]
|
1202
1112
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1203
1113
|
Default value is "application/json".
|
1204
1114
|
:paramtype content_type: str
|
1205
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1206
1115
|
:return: ListAccountSasResponse or the result of cls(response)
|
1207
1116
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListAccountSasResponse
|
1208
1117
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1213,7 +1122,7 @@ class StorageAccountsOperations:
|
|
1213
1122
|
self,
|
1214
1123
|
resource_group_name: str,
|
1215
1124
|
account_name: str,
|
1216
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1125
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1217
1126
|
**kwargs: Any
|
1218
1127
|
) -> _models.ListAccountSasResponse:
|
1219
1128
|
"""List SAS credentials of a storage account.
|
@@ -1226,17 +1135,14 @@ class StorageAccountsOperations:
|
|
1226
1135
|
lower-case letters only. Required.
|
1227
1136
|
:type account_name: str
|
1228
1137
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1229
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1230
|
-
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.AccountSasParameters or
|
1231
|
-
|
1232
|
-
Default value is None.
|
1233
|
-
:paramtype content_type: str
|
1234
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1138
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1139
|
+
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.AccountSasParameters or
|
1140
|
+
IO[bytes]
|
1235
1141
|
:return: ListAccountSasResponse or the result of cls(response)
|
1236
1142
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListAccountSasResponse
|
1237
1143
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1238
1144
|
"""
|
1239
|
-
error_map = {
|
1145
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1240
1146
|
401: ClientAuthenticationError,
|
1241
1147
|
404: ResourceNotFoundError,
|
1242
1148
|
409: ResourceExistsError,
|
@@ -1261,7 +1167,7 @@ class StorageAccountsOperations:
|
|
1261
1167
|
else:
|
1262
1168
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1263
1169
|
|
1264
|
-
|
1170
|
+
_request = build_list_account_sas_request(
|
1265
1171
|
resource_group_name=resource_group_name,
|
1266
1172
|
account_name=account_name,
|
1267
1173
|
subscription_id=self._config.subscription_id,
|
@@ -1269,16 +1175,15 @@ class StorageAccountsOperations:
|
|
1269
1175
|
content_type=content_type,
|
1270
1176
|
json=_json,
|
1271
1177
|
content=_content,
|
1272
|
-
template_url=self.list_account_sas.metadata["url"],
|
1273
1178
|
headers=_headers,
|
1274
1179
|
params=_params,
|
1275
1180
|
)
|
1276
|
-
|
1277
|
-
|
1181
|
+
_request = _convert_request(_request)
|
1182
|
+
_request.url = self._client.format_url(_request.url)
|
1278
1183
|
|
1279
1184
|
_stream = False
|
1280
1185
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1281
|
-
|
1186
|
+
_request, stream=_stream, **kwargs
|
1282
1187
|
)
|
1283
1188
|
|
1284
1189
|
response = pipeline_response.http_response
|
@@ -1290,13 +1195,9 @@ class StorageAccountsOperations:
|
|
1290
1195
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1291
1196
|
|
1292
1197
|
if cls:
|
1293
|
-
return cls(pipeline_response, deserialized, {})
|
1294
|
-
|
1295
|
-
return deserialized
|
1198
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1296
1199
|
|
1297
|
-
|
1298
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1299
|
-
}
|
1200
|
+
return deserialized # type: ignore
|
1300
1201
|
|
1301
1202
|
@overload
|
1302
1203
|
async def list_service_sas(
|
@@ -1322,7 +1223,6 @@ class StorageAccountsOperations:
|
|
1322
1223
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1323
1224
|
Default value is "application/json".
|
1324
1225
|
:paramtype content_type: str
|
1325
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1326
1226
|
:return: ListServiceSasResponse or the result of cls(response)
|
1327
1227
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListServiceSasResponse
|
1328
1228
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1333,7 +1233,7 @@ class StorageAccountsOperations:
|
|
1333
1233
|
self,
|
1334
1234
|
resource_group_name: str,
|
1335
1235
|
account_name: str,
|
1336
|
-
parameters: IO,
|
1236
|
+
parameters: IO[bytes],
|
1337
1237
|
*,
|
1338
1238
|
content_type: str = "application/json",
|
1339
1239
|
**kwargs: Any
|
@@ -1348,11 +1248,10 @@ class StorageAccountsOperations:
|
|
1348
1248
|
lower-case letters only. Required.
|
1349
1249
|
:type account_name: str
|
1350
1250
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1351
|
-
:type parameters: IO
|
1251
|
+
:type parameters: IO[bytes]
|
1352
1252
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1353
1253
|
Default value is "application/json".
|
1354
1254
|
:paramtype content_type: str
|
1355
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1356
1255
|
:return: ListServiceSasResponse or the result of cls(response)
|
1357
1256
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListServiceSasResponse
|
1358
1257
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1363,7 +1262,7 @@ class StorageAccountsOperations:
|
|
1363
1262
|
self,
|
1364
1263
|
resource_group_name: str,
|
1365
1264
|
account_name: str,
|
1366
|
-
parameters: Union[_models.ServiceSasParameters, IO],
|
1265
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1367
1266
|
**kwargs: Any
|
1368
1267
|
) -> _models.ListServiceSasResponse:
|
1369
1268
|
"""List service SAS credentials of a specific resource.
|
@@ -1376,17 +1275,14 @@ class StorageAccountsOperations:
|
|
1376
1275
|
lower-case letters only. Required.
|
1377
1276
|
:type account_name: str
|
1378
1277
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1379
|
-
ServiceSasParameters type or a IO type. Required.
|
1380
|
-
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ServiceSasParameters or
|
1381
|
-
|
1382
|
-
Default value is None.
|
1383
|
-
:paramtype content_type: str
|
1384
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1278
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1279
|
+
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ServiceSasParameters or
|
1280
|
+
IO[bytes]
|
1385
1281
|
:return: ListServiceSasResponse or the result of cls(response)
|
1386
1282
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListServiceSasResponse
|
1387
1283
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1388
1284
|
"""
|
1389
|
-
error_map = {
|
1285
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1390
1286
|
401: ClientAuthenticationError,
|
1391
1287
|
404: ResourceNotFoundError,
|
1392
1288
|
409: ResourceExistsError,
|
@@ -1411,7 +1307,7 @@ class StorageAccountsOperations:
|
|
1411
1307
|
else:
|
1412
1308
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1413
1309
|
|
1414
|
-
|
1310
|
+
_request = build_list_service_sas_request(
|
1415
1311
|
resource_group_name=resource_group_name,
|
1416
1312
|
account_name=account_name,
|
1417
1313
|
subscription_id=self._config.subscription_id,
|
@@ -1419,16 +1315,15 @@ class StorageAccountsOperations:
|
|
1419
1315
|
content_type=content_type,
|
1420
1316
|
json=_json,
|
1421
1317
|
content=_content,
|
1422
|
-
template_url=self.list_service_sas.metadata["url"],
|
1423
1318
|
headers=_headers,
|
1424
1319
|
params=_params,
|
1425
1320
|
)
|
1426
|
-
|
1427
|
-
|
1321
|
+
_request = _convert_request(_request)
|
1322
|
+
_request.url = self._client.format_url(_request.url)
|
1428
1323
|
|
1429
1324
|
_stream = False
|
1430
1325
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1431
|
-
|
1326
|
+
_request, stream=_stream, **kwargs
|
1432
1327
|
)
|
1433
1328
|
|
1434
1329
|
response = pipeline_response.http_response
|
@@ -1440,13 +1335,9 @@ class StorageAccountsOperations:
|
|
1440
1335
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1441
1336
|
|
1442
1337
|
if cls:
|
1443
|
-
return cls(pipeline_response, deserialized, {})
|
1338
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1444
1339
|
|
1445
|
-
return deserialized
|
1446
|
-
|
1447
|
-
list_service_sas.metadata = {
|
1448
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1449
|
-
}
|
1340
|
+
return deserialized # type: ignore
|
1450
1341
|
|
1451
1342
|
@distributed_trace_async
|
1452
1343
|
async def get_management_policies(
|
@@ -1469,12 +1360,11 @@ class StorageAccountsOperations:
|
|
1469
1360
|
always be 'default'. "default" Required.
|
1470
1361
|
:type management_policy_name: str or
|
1471
1362
|
~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName
|
1472
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1473
1363
|
:return: StorageAccountManagementPolicies or the result of cls(response)
|
1474
1364
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountManagementPolicies
|
1475
1365
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1476
1366
|
"""
|
1477
|
-
error_map = {
|
1367
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1478
1368
|
401: ClientAuthenticationError,
|
1479
1369
|
404: ResourceNotFoundError,
|
1480
1370
|
409: ResourceExistsError,
|
@@ -1490,22 +1380,21 @@ class StorageAccountsOperations:
|
|
1490
1380
|
)
|
1491
1381
|
cls: ClsType[_models.StorageAccountManagementPolicies] = kwargs.pop("cls", None)
|
1492
1382
|
|
1493
|
-
|
1383
|
+
_request = build_get_management_policies_request(
|
1494
1384
|
resource_group_name=resource_group_name,
|
1495
1385
|
account_name=account_name,
|
1496
1386
|
management_policy_name=management_policy_name,
|
1497
1387
|
subscription_id=self._config.subscription_id,
|
1498
1388
|
api_version=api_version,
|
1499
|
-
template_url=self.get_management_policies.metadata["url"],
|
1500
1389
|
headers=_headers,
|
1501
1390
|
params=_params,
|
1502
1391
|
)
|
1503
|
-
|
1504
|
-
|
1392
|
+
_request = _convert_request(_request)
|
1393
|
+
_request.url = self._client.format_url(_request.url)
|
1505
1394
|
|
1506
1395
|
_stream = False
|
1507
1396
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1508
|
-
|
1397
|
+
_request, stream=_stream, **kwargs
|
1509
1398
|
)
|
1510
1399
|
|
1511
1400
|
response = pipeline_response.http_response
|
@@ -1517,13 +1406,9 @@ class StorageAccountsOperations:
|
|
1517
1406
|
deserialized = self._deserialize("StorageAccountManagementPolicies", pipeline_response)
|
1518
1407
|
|
1519
1408
|
if cls:
|
1520
|
-
return cls(pipeline_response, deserialized, {})
|
1521
|
-
|
1522
|
-
return deserialized
|
1409
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1523
1410
|
|
1524
|
-
|
1525
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}"
|
1526
|
-
}
|
1411
|
+
return deserialized # type: ignore
|
1527
1412
|
|
1528
1413
|
@overload
|
1529
1414
|
async def create_or_update_management_policies(
|
@@ -1555,7 +1440,6 @@ class StorageAccountsOperations:
|
|
1555
1440
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1556
1441
|
Default value is "application/json".
|
1557
1442
|
:paramtype content_type: str
|
1558
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1559
1443
|
:return: StorageAccountManagementPolicies or the result of cls(response)
|
1560
1444
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountManagementPolicies
|
1561
1445
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1567,7 +1451,7 @@ class StorageAccountsOperations:
|
|
1567
1451
|
resource_group_name: str,
|
1568
1452
|
account_name: str,
|
1569
1453
|
management_policy_name: Union[str, _models.ManagementPolicyName],
|
1570
|
-
properties: IO,
|
1454
|
+
properties: IO[bytes],
|
1571
1455
|
*,
|
1572
1456
|
content_type: str = "application/json",
|
1573
1457
|
**kwargs: Any
|
@@ -1586,11 +1470,10 @@ class StorageAccountsOperations:
|
|
1586
1470
|
:type management_policy_name: str or
|
1587
1471
|
~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName
|
1588
1472
|
:param properties: The data policy rules to set to a storage account. Required.
|
1589
|
-
:type properties: IO
|
1473
|
+
:type properties: IO[bytes]
|
1590
1474
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1591
1475
|
Default value is "application/json".
|
1592
1476
|
:paramtype content_type: str
|
1593
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1594
1477
|
:return: StorageAccountManagementPolicies or the result of cls(response)
|
1595
1478
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountManagementPolicies
|
1596
1479
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1602,7 +1485,7 @@ class StorageAccountsOperations:
|
|
1602
1485
|
resource_group_name: str,
|
1603
1486
|
account_name: str,
|
1604
1487
|
management_policy_name: Union[str, _models.ManagementPolicyName],
|
1605
|
-
properties: Union[_models.ManagementPoliciesRulesSetParameter, IO],
|
1488
|
+
properties: Union[_models.ManagementPoliciesRulesSetParameter, IO[bytes]],
|
1606
1489
|
**kwargs: Any
|
1607
1490
|
) -> _models.StorageAccountManagementPolicies:
|
1608
1491
|
"""Sets the data policy rules associated with the specified storage account.
|
@@ -1619,18 +1502,14 @@ class StorageAccountsOperations:
|
|
1619
1502
|
:type management_policy_name: str or
|
1620
1503
|
~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName
|
1621
1504
|
:param properties: The data policy rules to set to a storage account. Is either a
|
1622
|
-
ManagementPoliciesRulesSetParameter type or a IO type. Required.
|
1505
|
+
ManagementPoliciesRulesSetParameter type or a IO[bytes] type. Required.
|
1623
1506
|
:type properties:
|
1624
|
-
~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPoliciesRulesSetParameter or IO
|
1625
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1626
|
-
Default value is None.
|
1627
|
-
:paramtype content_type: str
|
1628
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1507
|
+
~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPoliciesRulesSetParameter or IO[bytes]
|
1629
1508
|
:return: StorageAccountManagementPolicies or the result of cls(response)
|
1630
1509
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountManagementPolicies
|
1631
1510
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1632
1511
|
"""
|
1633
|
-
error_map = {
|
1512
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1634
1513
|
401: ClientAuthenticationError,
|
1635
1514
|
404: ResourceNotFoundError,
|
1636
1515
|
409: ResourceExistsError,
|
@@ -1655,7 +1534,7 @@ class StorageAccountsOperations:
|
|
1655
1534
|
else:
|
1656
1535
|
_json = self._serialize.body(properties, "ManagementPoliciesRulesSetParameter")
|
1657
1536
|
|
1658
|
-
|
1537
|
+
_request = build_create_or_update_management_policies_request(
|
1659
1538
|
resource_group_name=resource_group_name,
|
1660
1539
|
account_name=account_name,
|
1661
1540
|
management_policy_name=management_policy_name,
|
@@ -1664,16 +1543,15 @@ class StorageAccountsOperations:
|
|
1664
1543
|
content_type=content_type,
|
1665
1544
|
json=_json,
|
1666
1545
|
content=_content,
|
1667
|
-
template_url=self.create_or_update_management_policies.metadata["url"],
|
1668
1546
|
headers=_headers,
|
1669
1547
|
params=_params,
|
1670
1548
|
)
|
1671
|
-
|
1672
|
-
|
1549
|
+
_request = _convert_request(_request)
|
1550
|
+
_request.url = self._client.format_url(_request.url)
|
1673
1551
|
|
1674
1552
|
_stream = False
|
1675
1553
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1676
|
-
|
1554
|
+
_request, stream=_stream, **kwargs
|
1677
1555
|
)
|
1678
1556
|
|
1679
1557
|
response = pipeline_response.http_response
|
@@ -1685,13 +1563,9 @@ class StorageAccountsOperations:
|
|
1685
1563
|
deserialized = self._deserialize("StorageAccountManagementPolicies", pipeline_response)
|
1686
1564
|
|
1687
1565
|
if cls:
|
1688
|
-
return cls(pipeline_response, deserialized, {})
|
1566
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1689
1567
|
|
1690
|
-
return deserialized
|
1691
|
-
|
1692
|
-
create_or_update_management_policies.metadata = {
|
1693
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}"
|
1694
|
-
}
|
1568
|
+
return deserialized # type: ignore
|
1695
1569
|
|
1696
1570
|
@distributed_trace_async
|
1697
1571
|
async def delete_management_policies( # pylint: disable=inconsistent-return-statements
|
@@ -1714,12 +1588,11 @@ class StorageAccountsOperations:
|
|
1714
1588
|
always be 'default'. "default" Required.
|
1715
1589
|
:type management_policy_name: str or
|
1716
1590
|
~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName
|
1717
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1718
1591
|
:return: None or the result of cls(response)
|
1719
1592
|
:rtype: None
|
1720
1593
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1721
1594
|
"""
|
1722
|
-
error_map = {
|
1595
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1723
1596
|
401: ClientAuthenticationError,
|
1724
1597
|
404: ResourceNotFoundError,
|
1725
1598
|
409: ResourceExistsError,
|
@@ -1735,22 +1608,21 @@ class StorageAccountsOperations:
|
|
1735
1608
|
)
|
1736
1609
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1737
1610
|
|
1738
|
-
|
1611
|
+
_request = build_delete_management_policies_request(
|
1739
1612
|
resource_group_name=resource_group_name,
|
1740
1613
|
account_name=account_name,
|
1741
1614
|
management_policy_name=management_policy_name,
|
1742
1615
|
subscription_id=self._config.subscription_id,
|
1743
1616
|
api_version=api_version,
|
1744
|
-
template_url=self.delete_management_policies.metadata["url"],
|
1745
1617
|
headers=_headers,
|
1746
1618
|
params=_params,
|
1747
1619
|
)
|
1748
|
-
|
1749
|
-
|
1620
|
+
_request = _convert_request(_request)
|
1621
|
+
_request.url = self._client.format_url(_request.url)
|
1750
1622
|
|
1751
1623
|
_stream = False
|
1752
1624
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1753
|
-
|
1625
|
+
_request, stream=_stream, **kwargs
|
1754
1626
|
)
|
1755
1627
|
|
1756
1628
|
response = pipeline_response.http_response
|
@@ -1760,8 +1632,4 @@ class StorageAccountsOperations:
|
|
1760
1632
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1761
1633
|
|
1762
1634
|
if cls:
|
1763
|
-
return cls(pipeline_response, None, {})
|
1764
|
-
|
1765
|
-
delete_management_policies.metadata = {
|
1766
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}"
|
1767
|
-
}
|
1635
|
+
return cls(pipeline_response, None, {}) # type: ignore
|