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
|
@@ -45,6 +46,10 @@ from ...operations._storage_accounts_operations import (
|
|
45
46
|
build_update_request,
|
46
47
|
)
|
47
48
|
|
49
|
+
if sys.version_info >= (3, 9):
|
50
|
+
from collections.abc import MutableMapping
|
51
|
+
else:
|
52
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
48
53
|
T = TypeVar("T")
|
49
54
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
50
55
|
|
@@ -87,7 +92,6 @@ class StorageAccountsOperations:
|
|
87
92
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
88
93
|
Default value is "application/json".
|
89
94
|
:paramtype content_type: str
|
90
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
91
95
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
92
96
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.CheckNameAvailabilityResult
|
93
97
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -95,18 +99,17 @@ class StorageAccountsOperations:
|
|
95
99
|
|
96
100
|
@overload
|
97
101
|
async def check_name_availability(
|
98
|
-
self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
|
102
|
+
self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
|
99
103
|
) -> _models.CheckNameAvailabilityResult:
|
100
104
|
"""Checks that the storage account name is valid and is not already in use.
|
101
105
|
|
102
106
|
:param account_name: The name of the storage account within the specified resource group.
|
103
107
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
104
108
|
lower-case letters only. Required.
|
105
|
-
:type account_name: IO
|
109
|
+
:type account_name: IO[bytes]
|
106
110
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
107
111
|
Default value is "application/json".
|
108
112
|
:paramtype content_type: str
|
109
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
110
113
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
111
114
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.CheckNameAvailabilityResult
|
112
115
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -114,25 +117,22 @@ class StorageAccountsOperations:
|
|
114
117
|
|
115
118
|
@distributed_trace_async
|
116
119
|
async def check_name_availability(
|
117
|
-
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
|
120
|
+
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
|
118
121
|
) -> _models.CheckNameAvailabilityResult:
|
119
122
|
"""Checks that the storage account name is valid and is not already in use.
|
120
123
|
|
121
124
|
:param account_name: The name of the storage account within the specified resource group.
|
122
125
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
123
|
-
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
124
|
-
type. Required.
|
126
|
+
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
127
|
+
IO[bytes] type. Required.
|
125
128
|
:type account_name:
|
126
|
-
~azure.mgmt.storage.v2017_10_01.models.StorageAccountCheckNameAvailabilityParameters or
|
127
|
-
|
128
|
-
Default value is None.
|
129
|
-
:paramtype content_type: str
|
130
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
129
|
+
~azure.mgmt.storage.v2017_10_01.models.StorageAccountCheckNameAvailabilityParameters or
|
130
|
+
IO[bytes]
|
131
131
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
132
132
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.CheckNameAvailabilityResult
|
133
133
|
:raises ~azure.core.exceptions.HttpResponseError:
|
134
134
|
"""
|
135
|
-
error_map = {
|
135
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
136
136
|
401: ClientAuthenticationError,
|
137
137
|
404: ResourceNotFoundError,
|
138
138
|
409: ResourceExistsError,
|
@@ -155,22 +155,21 @@ class StorageAccountsOperations:
|
|
155
155
|
else:
|
156
156
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
157
157
|
|
158
|
-
|
158
|
+
_request = build_check_name_availability_request(
|
159
159
|
subscription_id=self._config.subscription_id,
|
160
160
|
api_version=api_version,
|
161
161
|
content_type=content_type,
|
162
162
|
json=_json,
|
163
163
|
content=_content,
|
164
|
-
template_url=self.check_name_availability.metadata["url"],
|
165
164
|
headers=_headers,
|
166
165
|
params=_params,
|
167
166
|
)
|
168
|
-
|
169
|
-
|
167
|
+
_request = _convert_request(_request)
|
168
|
+
_request.url = self._client.format_url(_request.url)
|
170
169
|
|
171
170
|
_stream = False
|
172
171
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
173
|
-
|
172
|
+
_request, stream=_stream, **kwargs
|
174
173
|
)
|
175
174
|
|
176
175
|
response = pipeline_response.http_response
|
@@ -182,22 +181,18 @@ class StorageAccountsOperations:
|
|
182
181
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
183
182
|
|
184
183
|
if cls:
|
185
|
-
return cls(pipeline_response, deserialized, {})
|
186
|
-
|
187
|
-
return deserialized
|
184
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
188
185
|
|
189
|
-
|
190
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
191
|
-
}
|
186
|
+
return deserialized # type: ignore
|
192
187
|
|
193
188
|
async def _create_initial(
|
194
189
|
self,
|
195
190
|
resource_group_name: str,
|
196
191
|
account_name: str,
|
197
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
192
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
198
193
|
**kwargs: Any
|
199
194
|
) -> Optional[_models.StorageAccount]:
|
200
|
-
error_map = {
|
195
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
201
196
|
401: ClientAuthenticationError,
|
202
197
|
404: ResourceNotFoundError,
|
203
198
|
409: ResourceExistsError,
|
@@ -220,7 +215,7 @@ class StorageAccountsOperations:
|
|
220
215
|
else:
|
221
216
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
222
217
|
|
223
|
-
|
218
|
+
_request = build_create_request(
|
224
219
|
resource_group_name=resource_group_name,
|
225
220
|
account_name=account_name,
|
226
221
|
subscription_id=self._config.subscription_id,
|
@@ -228,16 +223,15 @@ class StorageAccountsOperations:
|
|
228
223
|
content_type=content_type,
|
229
224
|
json=_json,
|
230
225
|
content=_content,
|
231
|
-
template_url=self._create_initial.metadata["url"],
|
232
226
|
headers=_headers,
|
233
227
|
params=_params,
|
234
228
|
)
|
235
|
-
|
236
|
-
|
229
|
+
_request = _convert_request(_request)
|
230
|
+
_request.url = self._client.format_url(_request.url)
|
237
231
|
|
238
232
|
_stream = False
|
239
233
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
240
|
-
|
234
|
+
_request, stream=_stream, **kwargs
|
241
235
|
)
|
242
236
|
|
243
237
|
response = pipeline_response.http_response
|
@@ -251,13 +245,9 @@ class StorageAccountsOperations:
|
|
251
245
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
252
246
|
|
253
247
|
if cls:
|
254
|
-
return cls(pipeline_response, deserialized, {})
|
255
|
-
|
256
|
-
return deserialized
|
248
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
257
249
|
|
258
|
-
|
259
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
260
|
-
}
|
250
|
+
return deserialized # type: ignore
|
261
251
|
|
262
252
|
@overload
|
263
253
|
async def begin_create(
|
@@ -286,14 +276,6 @@ class StorageAccountsOperations:
|
|
286
276
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
287
277
|
Default value is "application/json".
|
288
278
|
:paramtype content_type: str
|
289
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
290
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
291
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
292
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
293
|
-
polling strategy.
|
294
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
295
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
296
|
-
Retry-After header is present.
|
297
279
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
298
280
|
cls(response)
|
299
281
|
:rtype:
|
@@ -306,7 +288,7 @@ class StorageAccountsOperations:
|
|
306
288
|
self,
|
307
289
|
resource_group_name: str,
|
308
290
|
account_name: str,
|
309
|
-
parameters: IO,
|
291
|
+
parameters: IO[bytes],
|
310
292
|
*,
|
311
293
|
content_type: str = "application/json",
|
312
294
|
**kwargs: Any
|
@@ -324,18 +306,10 @@ class StorageAccountsOperations:
|
|
324
306
|
lower-case letters only. Required.
|
325
307
|
:type account_name: str
|
326
308
|
:param parameters: The parameters to provide for the created account. Required.
|
327
|
-
:type parameters: IO
|
309
|
+
:type parameters: IO[bytes]
|
328
310
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
329
311
|
Default value is "application/json".
|
330
312
|
:paramtype content_type: str
|
331
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
332
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
333
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
334
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
335
|
-
polling strategy.
|
336
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
337
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
338
|
-
Retry-After header is present.
|
339
313
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
340
314
|
cls(response)
|
341
315
|
:rtype:
|
@@ -348,7 +322,7 @@ class StorageAccountsOperations:
|
|
348
322
|
self,
|
349
323
|
resource_group_name: str,
|
350
324
|
account_name: str,
|
351
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
325
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
352
326
|
**kwargs: Any
|
353
327
|
) -> AsyncLROPoller[_models.StorageAccount]:
|
354
328
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -364,19 +338,9 @@ class StorageAccountsOperations:
|
|
364
338
|
lower-case letters only. Required.
|
365
339
|
:type account_name: str
|
366
340
|
:param parameters: The parameters to provide for the created account. Is either a
|
367
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
368
|
-
:type parameters: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountCreateParameters or
|
369
|
-
|
370
|
-
Default value is None.
|
371
|
-
:paramtype content_type: str
|
372
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
373
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
374
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
375
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
376
|
-
polling strategy.
|
377
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
378
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
379
|
-
Retry-After header is present.
|
341
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
342
|
+
:type parameters: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountCreateParameters or
|
343
|
+
IO[bytes]
|
380
344
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
381
345
|
cls(response)
|
382
346
|
:rtype:
|
@@ -409,7 +373,7 @@ class StorageAccountsOperations:
|
|
409
373
|
def get_long_running_output(pipeline_response):
|
410
374
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
411
375
|
if cls:
|
412
|
-
return cls(pipeline_response, deserialized, {})
|
376
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
413
377
|
return deserialized
|
414
378
|
|
415
379
|
if polling is True:
|
@@ -419,17 +383,15 @@ class StorageAccountsOperations:
|
|
419
383
|
else:
|
420
384
|
polling_method = polling
|
421
385
|
if cont_token:
|
422
|
-
return AsyncLROPoller.from_continuation_token(
|
386
|
+
return AsyncLROPoller[_models.StorageAccount].from_continuation_token(
|
423
387
|
polling_method=polling_method,
|
424
388
|
continuation_token=cont_token,
|
425
389
|
client=self._client,
|
426
390
|
deserialization_callback=get_long_running_output,
|
427
391
|
)
|
428
|
-
return AsyncLROPoller(
|
429
|
-
|
430
|
-
|
431
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
432
|
-
}
|
392
|
+
return AsyncLROPoller[_models.StorageAccount](
|
393
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
394
|
+
)
|
433
395
|
|
434
396
|
@distributed_trace_async
|
435
397
|
async def delete( # pylint: disable=inconsistent-return-statements
|
@@ -444,12 +406,11 @@ class StorageAccountsOperations:
|
|
444
406
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
445
407
|
lower-case letters only. Required.
|
446
408
|
:type account_name: str
|
447
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
448
409
|
:return: None or the result of cls(response)
|
449
410
|
:rtype: None
|
450
411
|
:raises ~azure.core.exceptions.HttpResponseError:
|
451
412
|
"""
|
452
|
-
error_map = {
|
413
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
453
414
|
401: ClientAuthenticationError,
|
454
415
|
404: ResourceNotFoundError,
|
455
416
|
409: ResourceExistsError,
|
@@ -463,21 +424,20 @@ class StorageAccountsOperations:
|
|
463
424
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2017-10-01"))
|
464
425
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
465
426
|
|
466
|
-
|
427
|
+
_request = build_delete_request(
|
467
428
|
resource_group_name=resource_group_name,
|
468
429
|
account_name=account_name,
|
469
430
|
subscription_id=self._config.subscription_id,
|
470
431
|
api_version=api_version,
|
471
|
-
template_url=self.delete.metadata["url"],
|
472
432
|
headers=_headers,
|
473
433
|
params=_params,
|
474
434
|
)
|
475
|
-
|
476
|
-
|
435
|
+
_request = _convert_request(_request)
|
436
|
+
_request.url = self._client.format_url(_request.url)
|
477
437
|
|
478
438
|
_stream = False
|
479
439
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
480
|
-
|
440
|
+
_request, stream=_stream, **kwargs
|
481
441
|
)
|
482
442
|
|
483
443
|
response = pipeline_response.http_response
|
@@ -487,11 +447,7 @@ class StorageAccountsOperations:
|
|
487
447
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
488
448
|
|
489
449
|
if cls:
|
490
|
-
return cls(pipeline_response, None, {})
|
491
|
-
|
492
|
-
delete.metadata = {
|
493
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
494
|
-
}
|
450
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
495
451
|
|
496
452
|
@distributed_trace_async
|
497
453
|
async def get_properties(
|
@@ -508,12 +464,11 @@ class StorageAccountsOperations:
|
|
508
464
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
509
465
|
lower-case letters only. Required.
|
510
466
|
:type account_name: str
|
511
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
512
467
|
:return: StorageAccount or the result of cls(response)
|
513
468
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.StorageAccount
|
514
469
|
:raises ~azure.core.exceptions.HttpResponseError:
|
515
470
|
"""
|
516
|
-
error_map = {
|
471
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
517
472
|
401: ClientAuthenticationError,
|
518
473
|
404: ResourceNotFoundError,
|
519
474
|
409: ResourceExistsError,
|
@@ -527,21 +482,20 @@ class StorageAccountsOperations:
|
|
527
482
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2017-10-01"))
|
528
483
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
529
484
|
|
530
|
-
|
485
|
+
_request = build_get_properties_request(
|
531
486
|
resource_group_name=resource_group_name,
|
532
487
|
account_name=account_name,
|
533
488
|
subscription_id=self._config.subscription_id,
|
534
489
|
api_version=api_version,
|
535
|
-
template_url=self.get_properties.metadata["url"],
|
536
490
|
headers=_headers,
|
537
491
|
params=_params,
|
538
492
|
)
|
539
|
-
|
540
|
-
|
493
|
+
_request = _convert_request(_request)
|
494
|
+
_request.url = self._client.format_url(_request.url)
|
541
495
|
|
542
496
|
_stream = False
|
543
497
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
544
|
-
|
498
|
+
_request, stream=_stream, **kwargs
|
545
499
|
)
|
546
500
|
|
547
501
|
response = pipeline_response.http_response
|
@@ -553,13 +507,9 @@ class StorageAccountsOperations:
|
|
553
507
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
554
508
|
|
555
509
|
if cls:
|
556
|
-
return cls(pipeline_response, deserialized, {})
|
557
|
-
|
558
|
-
return deserialized
|
510
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
559
511
|
|
560
|
-
|
561
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
562
|
-
}
|
512
|
+
return deserialized # type: ignore
|
563
513
|
|
564
514
|
@overload
|
565
515
|
async def update(
|
@@ -592,7 +542,6 @@ class StorageAccountsOperations:
|
|
592
542
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
593
543
|
Default value is "application/json".
|
594
544
|
:paramtype content_type: str
|
595
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
596
545
|
:return: StorageAccount or the result of cls(response)
|
597
546
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.StorageAccount
|
598
547
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -603,7 +552,7 @@ class StorageAccountsOperations:
|
|
603
552
|
self,
|
604
553
|
resource_group_name: str,
|
605
554
|
account_name: str,
|
606
|
-
parameters: IO,
|
555
|
+
parameters: IO[bytes],
|
607
556
|
*,
|
608
557
|
content_type: str = "application/json",
|
609
558
|
**kwargs: Any
|
@@ -625,11 +574,10 @@ class StorageAccountsOperations:
|
|
625
574
|
lower-case letters only. Required.
|
626
575
|
:type account_name: str
|
627
576
|
:param parameters: The parameters to provide for the updated account. Required.
|
628
|
-
:type parameters: IO
|
577
|
+
:type parameters: IO[bytes]
|
629
578
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
630
579
|
Default value is "application/json".
|
631
580
|
:paramtype content_type: str
|
632
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
633
581
|
:return: StorageAccount or the result of cls(response)
|
634
582
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.StorageAccount
|
635
583
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -640,7 +588,7 @@ class StorageAccountsOperations:
|
|
640
588
|
self,
|
641
589
|
resource_group_name: str,
|
642
590
|
account_name: str,
|
643
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
591
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
644
592
|
**kwargs: Any
|
645
593
|
) -> _models.StorageAccount:
|
646
594
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -660,17 +608,14 @@ class StorageAccountsOperations:
|
|
660
608
|
lower-case letters only. Required.
|
661
609
|
:type account_name: str
|
662
610
|
:param parameters: The parameters to provide for the updated account. Is either a
|
663
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
664
|
-
:type parameters: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountUpdateParameters or
|
665
|
-
|
666
|
-
Default value is None.
|
667
|
-
:paramtype content_type: str
|
668
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
611
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
612
|
+
:type parameters: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountUpdateParameters or
|
613
|
+
IO[bytes]
|
669
614
|
:return: StorageAccount or the result of cls(response)
|
670
615
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.StorageAccount
|
671
616
|
:raises ~azure.core.exceptions.HttpResponseError:
|
672
617
|
"""
|
673
|
-
error_map = {
|
618
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
674
619
|
401: ClientAuthenticationError,
|
675
620
|
404: ResourceNotFoundError,
|
676
621
|
409: ResourceExistsError,
|
@@ -693,7 +638,7 @@ class StorageAccountsOperations:
|
|
693
638
|
else:
|
694
639
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
695
640
|
|
696
|
-
|
641
|
+
_request = build_update_request(
|
697
642
|
resource_group_name=resource_group_name,
|
698
643
|
account_name=account_name,
|
699
644
|
subscription_id=self._config.subscription_id,
|
@@ -701,16 +646,15 @@ class StorageAccountsOperations:
|
|
701
646
|
content_type=content_type,
|
702
647
|
json=_json,
|
703
648
|
content=_content,
|
704
|
-
template_url=self.update.metadata["url"],
|
705
649
|
headers=_headers,
|
706
650
|
params=_params,
|
707
651
|
)
|
708
|
-
|
709
|
-
|
652
|
+
_request = _convert_request(_request)
|
653
|
+
_request.url = self._client.format_url(_request.url)
|
710
654
|
|
711
655
|
_stream = False
|
712
656
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
713
|
-
|
657
|
+
_request, stream=_stream, **kwargs
|
714
658
|
)
|
715
659
|
|
716
660
|
response = pipeline_response.http_response
|
@@ -722,20 +666,15 @@ class StorageAccountsOperations:
|
|
722
666
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
723
667
|
|
724
668
|
if cls:
|
725
|
-
return cls(pipeline_response, deserialized, {})
|
726
|
-
|
727
|
-
return deserialized
|
669
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
728
670
|
|
729
|
-
|
730
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
731
|
-
}
|
671
|
+
return deserialized # type: ignore
|
732
672
|
|
733
673
|
@distributed_trace
|
734
674
|
def list(self, **kwargs: Any) -> AsyncIterable["_models.StorageAccount"]:
|
735
675
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
736
676
|
returned; use the ListKeys operation for this.
|
737
677
|
|
738
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
739
678
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
740
679
|
:rtype:
|
741
680
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2017_10_01.models.StorageAccount]
|
@@ -747,7 +686,7 @@ class StorageAccountsOperations:
|
|
747
686
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2017-10-01"))
|
748
687
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
749
688
|
|
750
|
-
error_map = {
|
689
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
751
690
|
401: ClientAuthenticationError,
|
752
691
|
404: ResourceNotFoundError,
|
753
692
|
409: ResourceExistsError,
|
@@ -758,15 +697,14 @@ class StorageAccountsOperations:
|
|
758
697
|
def prepare_request(next_link=None):
|
759
698
|
if not next_link:
|
760
699
|
|
761
|
-
|
700
|
+
_request = build_list_request(
|
762
701
|
subscription_id=self._config.subscription_id,
|
763
702
|
api_version=api_version,
|
764
|
-
template_url=self.list.metadata["url"],
|
765
703
|
headers=_headers,
|
766
704
|
params=_params,
|
767
705
|
)
|
768
|
-
|
769
|
-
|
706
|
+
_request = _convert_request(_request)
|
707
|
+
_request.url = self._client.format_url(_request.url)
|
770
708
|
|
771
709
|
else:
|
772
710
|
# make call to next link with the client's api-version
|
@@ -777,14 +715,14 @@ class StorageAccountsOperations:
|
|
777
715
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
778
716
|
}
|
779
717
|
)
|
780
|
-
_next_request_params["api-version"] = self.
|
781
|
-
|
718
|
+
_next_request_params["api-version"] = self._api_version
|
719
|
+
_request = HttpRequest(
|
782
720
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
783
721
|
)
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
return
|
722
|
+
_request = _convert_request(_request)
|
723
|
+
_request.url = self._client.format_url(_request.url)
|
724
|
+
_request.method = "GET"
|
725
|
+
return _request
|
788
726
|
|
789
727
|
async def extract_data(pipeline_response):
|
790
728
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -794,11 +732,11 @@ class StorageAccountsOperations:
|
|
794
732
|
return None, AsyncList(list_of_elem)
|
795
733
|
|
796
734
|
async def get_next(next_link=None):
|
797
|
-
|
735
|
+
_request = prepare_request(next_link)
|
798
736
|
|
799
737
|
_stream = False
|
800
738
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
801
|
-
|
739
|
+
_request, stream=_stream, **kwargs
|
802
740
|
)
|
803
741
|
response = pipeline_response.http_response
|
804
742
|
|
@@ -810,8 +748,6 @@ class StorageAccountsOperations:
|
|
810
748
|
|
811
749
|
return AsyncItemPaged(get_next, extract_data)
|
812
750
|
|
813
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
814
|
-
|
815
751
|
@distributed_trace
|
816
752
|
def list_by_resource_group(
|
817
753
|
self, resource_group_name: str, **kwargs: Any
|
@@ -822,7 +758,6 @@ class StorageAccountsOperations:
|
|
822
758
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
823
759
|
name is case insensitive. Required.
|
824
760
|
:type resource_group_name: str
|
825
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
826
761
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
827
762
|
:rtype:
|
828
763
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2017_10_01.models.StorageAccount]
|
@@ -834,7 +769,7 @@ class StorageAccountsOperations:
|
|
834
769
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2017-10-01"))
|
835
770
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
836
771
|
|
837
|
-
error_map = {
|
772
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
838
773
|
401: ClientAuthenticationError,
|
839
774
|
404: ResourceNotFoundError,
|
840
775
|
409: ResourceExistsError,
|
@@ -845,16 +780,15 @@ class StorageAccountsOperations:
|
|
845
780
|
def prepare_request(next_link=None):
|
846
781
|
if not next_link:
|
847
782
|
|
848
|
-
|
783
|
+
_request = build_list_by_resource_group_request(
|
849
784
|
resource_group_name=resource_group_name,
|
850
785
|
subscription_id=self._config.subscription_id,
|
851
786
|
api_version=api_version,
|
852
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
853
787
|
headers=_headers,
|
854
788
|
params=_params,
|
855
789
|
)
|
856
|
-
|
857
|
-
|
790
|
+
_request = _convert_request(_request)
|
791
|
+
_request.url = self._client.format_url(_request.url)
|
858
792
|
|
859
793
|
else:
|
860
794
|
# make call to next link with the client's api-version
|
@@ -865,14 +799,14 @@ class StorageAccountsOperations:
|
|
865
799
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
866
800
|
}
|
867
801
|
)
|
868
|
-
_next_request_params["api-version"] = self.
|
869
|
-
|
802
|
+
_next_request_params["api-version"] = self._api_version
|
803
|
+
_request = HttpRequest(
|
870
804
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
871
805
|
)
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
return
|
806
|
+
_request = _convert_request(_request)
|
807
|
+
_request.url = self._client.format_url(_request.url)
|
808
|
+
_request.method = "GET"
|
809
|
+
return _request
|
876
810
|
|
877
811
|
async def extract_data(pipeline_response):
|
878
812
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -882,11 +816,11 @@ class StorageAccountsOperations:
|
|
882
816
|
return None, AsyncList(list_of_elem)
|
883
817
|
|
884
818
|
async def get_next(next_link=None):
|
885
|
-
|
819
|
+
_request = prepare_request(next_link)
|
886
820
|
|
887
821
|
_stream = False
|
888
822
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
889
|
-
|
823
|
+
_request, stream=_stream, **kwargs
|
890
824
|
)
|
891
825
|
response = pipeline_response.http_response
|
892
826
|
|
@@ -898,10 +832,6 @@ class StorageAccountsOperations:
|
|
898
832
|
|
899
833
|
return AsyncItemPaged(get_next, extract_data)
|
900
834
|
|
901
|
-
list_by_resource_group.metadata = {
|
902
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
903
|
-
}
|
904
|
-
|
905
835
|
@distributed_trace_async
|
906
836
|
async def list_keys(
|
907
837
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
@@ -915,12 +845,11 @@ class StorageAccountsOperations:
|
|
915
845
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
916
846
|
lower-case letters only. Required.
|
917
847
|
:type account_name: str
|
918
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
919
848
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
920
849
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountListKeysResult
|
921
850
|
:raises ~azure.core.exceptions.HttpResponseError:
|
922
851
|
"""
|
923
|
-
error_map = {
|
852
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
924
853
|
401: ClientAuthenticationError,
|
925
854
|
404: ResourceNotFoundError,
|
926
855
|
409: ResourceExistsError,
|
@@ -934,21 +863,20 @@ class StorageAccountsOperations:
|
|
934
863
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2017-10-01"))
|
935
864
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
936
865
|
|
937
|
-
|
866
|
+
_request = build_list_keys_request(
|
938
867
|
resource_group_name=resource_group_name,
|
939
868
|
account_name=account_name,
|
940
869
|
subscription_id=self._config.subscription_id,
|
941
870
|
api_version=api_version,
|
942
|
-
template_url=self.list_keys.metadata["url"],
|
943
871
|
headers=_headers,
|
944
872
|
params=_params,
|
945
873
|
)
|
946
|
-
|
947
|
-
|
874
|
+
_request = _convert_request(_request)
|
875
|
+
_request.url = self._client.format_url(_request.url)
|
948
876
|
|
949
877
|
_stream = False
|
950
878
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
951
|
-
|
879
|
+
_request, stream=_stream, **kwargs
|
952
880
|
)
|
953
881
|
|
954
882
|
response = pipeline_response.http_response
|
@@ -960,13 +888,9 @@ class StorageAccountsOperations:
|
|
960
888
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
961
889
|
|
962
890
|
if cls:
|
963
|
-
return cls(pipeline_response, deserialized, {})
|
964
|
-
|
965
|
-
return deserialized
|
891
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
966
892
|
|
967
|
-
|
968
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
969
|
-
}
|
893
|
+
return deserialized # type: ignore
|
970
894
|
|
971
895
|
@overload
|
972
896
|
async def regenerate_key(
|
@@ -994,7 +918,6 @@ class StorageAccountsOperations:
|
|
994
918
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
995
919
|
Default value is "application/json".
|
996
920
|
:paramtype content_type: str
|
997
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
998
921
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
999
922
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountListKeysResult
|
1000
923
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1005,7 +928,7 @@ class StorageAccountsOperations:
|
|
1005
928
|
self,
|
1006
929
|
resource_group_name: str,
|
1007
930
|
account_name: str,
|
1008
|
-
regenerate_key: IO,
|
931
|
+
regenerate_key: IO[bytes],
|
1009
932
|
*,
|
1010
933
|
content_type: str = "application/json",
|
1011
934
|
**kwargs: Any
|
@@ -1021,11 +944,10 @@ class StorageAccountsOperations:
|
|
1021
944
|
:type account_name: str
|
1022
945
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1023
946
|
Required.
|
1024
|
-
:type regenerate_key: IO
|
947
|
+
:type regenerate_key: IO[bytes]
|
1025
948
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1026
949
|
Default value is "application/json".
|
1027
950
|
:paramtype content_type: str
|
1028
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1029
951
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1030
952
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountListKeysResult
|
1031
953
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1036,7 +958,7 @@ class StorageAccountsOperations:
|
|
1036
958
|
self,
|
1037
959
|
resource_group_name: str,
|
1038
960
|
account_name: str,
|
1039
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
961
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1040
962
|
**kwargs: Any
|
1041
963
|
) -> _models.StorageAccountListKeysResult:
|
1042
964
|
"""Regenerates one of the access keys for the specified storage account.
|
@@ -1049,18 +971,14 @@ class StorageAccountsOperations:
|
|
1049
971
|
lower-case letters only. Required.
|
1050
972
|
:type account_name: str
|
1051
973
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1052
|
-
Is either a StorageAccountRegenerateKeyParameters type or a IO type. Required.
|
974
|
+
Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type. Required.
|
1053
975
|
:type regenerate_key:
|
1054
|
-
~azure.mgmt.storage.v2017_10_01.models.StorageAccountRegenerateKeyParameters or IO
|
1055
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1056
|
-
Default value is None.
|
1057
|
-
:paramtype content_type: str
|
1058
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
976
|
+
~azure.mgmt.storage.v2017_10_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
|
1059
977
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1060
978
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.StorageAccountListKeysResult
|
1061
979
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1062
980
|
"""
|
1063
|
-
error_map = {
|
981
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1064
982
|
401: ClientAuthenticationError,
|
1065
983
|
404: ResourceNotFoundError,
|
1066
984
|
409: ResourceExistsError,
|
@@ -1083,7 +1001,7 @@ class StorageAccountsOperations:
|
|
1083
1001
|
else:
|
1084
1002
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1085
1003
|
|
1086
|
-
|
1004
|
+
_request = build_regenerate_key_request(
|
1087
1005
|
resource_group_name=resource_group_name,
|
1088
1006
|
account_name=account_name,
|
1089
1007
|
subscription_id=self._config.subscription_id,
|
@@ -1091,16 +1009,15 @@ class StorageAccountsOperations:
|
|
1091
1009
|
content_type=content_type,
|
1092
1010
|
json=_json,
|
1093
1011
|
content=_content,
|
1094
|
-
template_url=self.regenerate_key.metadata["url"],
|
1095
1012
|
headers=_headers,
|
1096
1013
|
params=_params,
|
1097
1014
|
)
|
1098
|
-
|
1099
|
-
|
1015
|
+
_request = _convert_request(_request)
|
1016
|
+
_request.url = self._client.format_url(_request.url)
|
1100
1017
|
|
1101
1018
|
_stream = False
|
1102
1019
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1103
|
-
|
1020
|
+
_request, stream=_stream, **kwargs
|
1104
1021
|
)
|
1105
1022
|
|
1106
1023
|
response = pipeline_response.http_response
|
@@ -1112,13 +1029,9 @@ class StorageAccountsOperations:
|
|
1112
1029
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1113
1030
|
|
1114
1031
|
if cls:
|
1115
|
-
return cls(pipeline_response, deserialized, {})
|
1116
|
-
|
1117
|
-
return deserialized
|
1032
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1118
1033
|
|
1119
|
-
|
1120
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1121
|
-
}
|
1034
|
+
return deserialized # type: ignore
|
1122
1035
|
|
1123
1036
|
@overload
|
1124
1037
|
async def list_account_sas(
|
@@ -1145,7 +1058,6 @@ class StorageAccountsOperations:
|
|
1145
1058
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1146
1059
|
Default value is "application/json".
|
1147
1060
|
:paramtype content_type: str
|
1148
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1149
1061
|
:return: ListAccountSasResponse or the result of cls(response)
|
1150
1062
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.ListAccountSasResponse
|
1151
1063
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1156,7 +1068,7 @@ class StorageAccountsOperations:
|
|
1156
1068
|
self,
|
1157
1069
|
resource_group_name: str,
|
1158
1070
|
account_name: str,
|
1159
|
-
parameters: IO,
|
1071
|
+
parameters: IO[bytes],
|
1160
1072
|
*,
|
1161
1073
|
content_type: str = "application/json",
|
1162
1074
|
**kwargs: Any
|
@@ -1172,11 +1084,10 @@ class StorageAccountsOperations:
|
|
1172
1084
|
:type account_name: str
|
1173
1085
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1174
1086
|
Required.
|
1175
|
-
:type parameters: IO
|
1087
|
+
:type parameters: IO[bytes]
|
1176
1088
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1177
1089
|
Default value is "application/json".
|
1178
1090
|
:paramtype content_type: str
|
1179
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1180
1091
|
:return: ListAccountSasResponse or the result of cls(response)
|
1181
1092
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.ListAccountSasResponse
|
1182
1093
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1187,7 +1098,7 @@ class StorageAccountsOperations:
|
|
1187
1098
|
self,
|
1188
1099
|
resource_group_name: str,
|
1189
1100
|
account_name: str,
|
1190
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1101
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1191
1102
|
**kwargs: Any
|
1192
1103
|
) -> _models.ListAccountSasResponse:
|
1193
1104
|
"""List SAS credentials of a storage account.
|
@@ -1200,17 +1111,13 @@ class StorageAccountsOperations:
|
|
1200
1111
|
lower-case letters only. Required.
|
1201
1112
|
:type account_name: str
|
1202
1113
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1203
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1204
|
-
:type parameters: ~azure.mgmt.storage.v2017_10_01.models.AccountSasParameters or IO
|
1205
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1206
|
-
Default value is None.
|
1207
|
-
:paramtype content_type: str
|
1208
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1114
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1115
|
+
:type parameters: ~azure.mgmt.storage.v2017_10_01.models.AccountSasParameters or IO[bytes]
|
1209
1116
|
:return: ListAccountSasResponse or the result of cls(response)
|
1210
1117
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.ListAccountSasResponse
|
1211
1118
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1212
1119
|
"""
|
1213
|
-
error_map = {
|
1120
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1214
1121
|
401: ClientAuthenticationError,
|
1215
1122
|
404: ResourceNotFoundError,
|
1216
1123
|
409: ResourceExistsError,
|
@@ -1233,7 +1140,7 @@ class StorageAccountsOperations:
|
|
1233
1140
|
else:
|
1234
1141
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1235
1142
|
|
1236
|
-
|
1143
|
+
_request = build_list_account_sas_request(
|
1237
1144
|
resource_group_name=resource_group_name,
|
1238
1145
|
account_name=account_name,
|
1239
1146
|
subscription_id=self._config.subscription_id,
|
@@ -1241,16 +1148,15 @@ class StorageAccountsOperations:
|
|
1241
1148
|
content_type=content_type,
|
1242
1149
|
json=_json,
|
1243
1150
|
content=_content,
|
1244
|
-
template_url=self.list_account_sas.metadata["url"],
|
1245
1151
|
headers=_headers,
|
1246
1152
|
params=_params,
|
1247
1153
|
)
|
1248
|
-
|
1249
|
-
|
1154
|
+
_request = _convert_request(_request)
|
1155
|
+
_request.url = self._client.format_url(_request.url)
|
1250
1156
|
|
1251
1157
|
_stream = False
|
1252
1158
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1253
|
-
|
1159
|
+
_request, stream=_stream, **kwargs
|
1254
1160
|
)
|
1255
1161
|
|
1256
1162
|
response = pipeline_response.http_response
|
@@ -1262,13 +1168,9 @@ class StorageAccountsOperations:
|
|
1262
1168
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1263
1169
|
|
1264
1170
|
if cls:
|
1265
|
-
return cls(pipeline_response, deserialized, {})
|
1266
|
-
|
1267
|
-
return deserialized
|
1171
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1268
1172
|
|
1269
|
-
|
1270
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1271
|
-
}
|
1173
|
+
return deserialized # type: ignore
|
1272
1174
|
|
1273
1175
|
@overload
|
1274
1176
|
async def list_service_sas(
|
@@ -1294,7 +1196,6 @@ class StorageAccountsOperations:
|
|
1294
1196
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1295
1197
|
Default value is "application/json".
|
1296
1198
|
:paramtype content_type: str
|
1297
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1298
1199
|
:return: ListServiceSasResponse or the result of cls(response)
|
1299
1200
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.ListServiceSasResponse
|
1300
1201
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1305,7 +1206,7 @@ class StorageAccountsOperations:
|
|
1305
1206
|
self,
|
1306
1207
|
resource_group_name: str,
|
1307
1208
|
account_name: str,
|
1308
|
-
parameters: IO,
|
1209
|
+
parameters: IO[bytes],
|
1309
1210
|
*,
|
1310
1211
|
content_type: str = "application/json",
|
1311
1212
|
**kwargs: Any
|
@@ -1320,11 +1221,10 @@ class StorageAccountsOperations:
|
|
1320
1221
|
lower-case letters only. Required.
|
1321
1222
|
:type account_name: str
|
1322
1223
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1323
|
-
:type parameters: IO
|
1224
|
+
:type parameters: IO[bytes]
|
1324
1225
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1325
1226
|
Default value is "application/json".
|
1326
1227
|
:paramtype content_type: str
|
1327
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1328
1228
|
:return: ListServiceSasResponse or the result of cls(response)
|
1329
1229
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.ListServiceSasResponse
|
1330
1230
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1335,7 +1235,7 @@ class StorageAccountsOperations:
|
|
1335
1235
|
self,
|
1336
1236
|
resource_group_name: str,
|
1337
1237
|
account_name: str,
|
1338
|
-
parameters: Union[_models.ServiceSasParameters, IO],
|
1238
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1339
1239
|
**kwargs: Any
|
1340
1240
|
) -> _models.ListServiceSasResponse:
|
1341
1241
|
"""List service SAS credentials of a specific resource.
|
@@ -1348,17 +1248,13 @@ 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. Is either a
|
1351
|
-
ServiceSasParameters type or a IO type. Required.
|
1352
|
-
:type parameters: ~azure.mgmt.storage.v2017_10_01.models.ServiceSasParameters or IO
|
1353
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1354
|
-
Default value is None.
|
1355
|
-
:paramtype content_type: str
|
1356
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1251
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1252
|
+
:type parameters: ~azure.mgmt.storage.v2017_10_01.models.ServiceSasParameters or IO[bytes]
|
1357
1253
|
:return: ListServiceSasResponse or the result of cls(response)
|
1358
1254
|
:rtype: ~azure.mgmt.storage.v2017_10_01.models.ListServiceSasResponse
|
1359
1255
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1360
1256
|
"""
|
1361
|
-
error_map = {
|
1257
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1362
1258
|
401: ClientAuthenticationError,
|
1363
1259
|
404: ResourceNotFoundError,
|
1364
1260
|
409: ResourceExistsError,
|
@@ -1381,7 +1277,7 @@ class StorageAccountsOperations:
|
|
1381
1277
|
else:
|
1382
1278
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1383
1279
|
|
1384
|
-
|
1280
|
+
_request = build_list_service_sas_request(
|
1385
1281
|
resource_group_name=resource_group_name,
|
1386
1282
|
account_name=account_name,
|
1387
1283
|
subscription_id=self._config.subscription_id,
|
@@ -1389,16 +1285,15 @@ class StorageAccountsOperations:
|
|
1389
1285
|
content_type=content_type,
|
1390
1286
|
json=_json,
|
1391
1287
|
content=_content,
|
1392
|
-
template_url=self.list_service_sas.metadata["url"],
|
1393
1288
|
headers=_headers,
|
1394
1289
|
params=_params,
|
1395
1290
|
)
|
1396
|
-
|
1397
|
-
|
1291
|
+
_request = _convert_request(_request)
|
1292
|
+
_request.url = self._client.format_url(_request.url)
|
1398
1293
|
|
1399
1294
|
_stream = False
|
1400
1295
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1401
|
-
|
1296
|
+
_request, stream=_stream, **kwargs
|
1402
1297
|
)
|
1403
1298
|
|
1404
1299
|
response = pipeline_response.http_response
|
@@ -1410,10 +1305,6 @@ class StorageAccountsOperations:
|
|
1410
1305
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1411
1306
|
|
1412
1307
|
if cls:
|
1413
|
-
return cls(pipeline_response, deserialized, {})
|
1414
|
-
|
1415
|
-
return deserialized
|
1308
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1416
1309
|
|
1417
|
-
|
1418
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1419
|
-
}
|
1310
|
+
return deserialized # type: ignore
|