azure-mgmt-storage 21.1.0__py3-none-any.whl → 21.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azure/mgmt/storage/_configuration.py +2 -3
- azure/mgmt/storage/_serialization.py +41 -49
- azure/mgmt/storage/_storage_management_client.py +142 -2
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_configuration.py +2 -3
- azure/mgmt/storage/aio/_storage_management_client.py +142 -2
- azure/mgmt/storage/models.py +1 -1
- azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
- azure/mgmt/storage/v2015_06_15/_version.py +1 -1
- azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
- azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2016_01_01/_version.py +1 -1
- azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
- azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2016_12_01/_version.py +1 -1
- azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
- azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_06_01/_version.py +1 -1
- azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_10_01/_version.py +1 -1
- azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_02_01/_version.py +1 -1
- azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
- azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
- azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
- azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_07_01/_version.py +1 -1
- azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
- azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_11_01/_version.py +1 -1
- azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
- azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
- azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
- azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
- azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_04_01/_version.py +1 -1
- azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
- azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
- azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
- azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_06_01/_version.py +1 -1
- azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
- azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_01_01/_version.py +1 -1
- azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_02_01/_version.py +1 -1
- azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
- azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_04_01/_version.py +1 -1
- azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
- azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_06_01/_version.py +1 -1
- azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_08_01/_version.py +1 -1
- azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
- azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_09_01/_version.py +1 -1
- azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_05_01/_version.py +1 -1
- azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_09_01/_version.py +1 -1
- azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2023_01_01/_version.py +1 -1
- azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
- azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
- azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
- azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
- azure/mgmt/storage/v2023_05_01/_version.py +9 -0
- azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
- azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
- azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
- azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
- azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
- azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
- azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
- azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
- azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
- azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
- azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
- azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
- azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
- azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
1
|
+
# pylint: disable=too-many-lines,too-many-statements
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# --------------------------------------------------------------------------
|
9
9
|
from io import IOBase
|
10
10
|
import sys
|
11
|
-
from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload
|
11
|
+
from typing import Any, Callable, Dict, IO, Iterable, Literal, Optional, Type, TypeVar, Union, cast, overload
|
12
12
|
import urllib.parse
|
13
13
|
|
14
14
|
from azure.core.exceptions import (
|
@@ -33,10 +33,10 @@ from .. import models as _models
|
|
33
33
|
from ..._serialization import Serializer
|
34
34
|
from .._vendor import _convert_request
|
35
35
|
|
36
|
-
if sys.version_info >= (3,
|
37
|
-
from
|
36
|
+
if sys.version_info >= (3, 9):
|
37
|
+
from collections.abc import MutableMapping
|
38
38
|
else:
|
39
|
-
from
|
39
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
40
40
|
T = TypeVar("T")
|
41
41
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
|
42
42
|
|
@@ -434,7 +434,7 @@ def build_failover_request(
|
|
434
434
|
return HttpRequest(method="POST", url=_url, params=_params, **kwargs)
|
435
435
|
|
436
436
|
|
437
|
-
def build_revoke_user_delegation_keys_request(
|
437
|
+
def build_revoke_user_delegation_keys_request( # pylint: disable=name-too-long
|
438
438
|
resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
|
439
439
|
) -> HttpRequest:
|
440
440
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
@@ -499,7 +499,6 @@ class StorageAccountsOperations:
|
|
499
499
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
500
500
|
Default value is "application/json".
|
501
501
|
:paramtype content_type: str
|
502
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
503
502
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
504
503
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.CheckNameAvailabilityResult
|
505
504
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -507,18 +506,17 @@ class StorageAccountsOperations:
|
|
507
506
|
|
508
507
|
@overload
|
509
508
|
def check_name_availability(
|
510
|
-
self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
|
509
|
+
self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
|
511
510
|
) -> _models.CheckNameAvailabilityResult:
|
512
511
|
"""Checks that the storage account name is valid and is not already in use.
|
513
512
|
|
514
513
|
:param account_name: The name of the storage account within the specified resource group.
|
515
514
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
516
515
|
lower-case letters only. Required.
|
517
|
-
:type account_name: IO
|
516
|
+
:type account_name: IO[bytes]
|
518
517
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
519
518
|
Default value is "application/json".
|
520
519
|
:paramtype content_type: str
|
521
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
522
520
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
523
521
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.CheckNameAvailabilityResult
|
524
522
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -526,25 +524,22 @@ class StorageAccountsOperations:
|
|
526
524
|
|
527
525
|
@distributed_trace
|
528
526
|
def check_name_availability(
|
529
|
-
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
|
527
|
+
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
|
530
528
|
) -> _models.CheckNameAvailabilityResult:
|
531
529
|
"""Checks that the storage account name is valid and is not already in use.
|
532
530
|
|
533
531
|
:param account_name: The name of the storage account within the specified resource group.
|
534
532
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
535
|
-
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
536
|
-
type. Required.
|
533
|
+
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
534
|
+
IO[bytes] type. Required.
|
537
535
|
:type account_name:
|
538
|
-
~azure.mgmt.storage.v2018_11_01.models.StorageAccountCheckNameAvailabilityParameters or
|
539
|
-
|
540
|
-
Default value is None.
|
541
|
-
:paramtype content_type: str
|
542
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
536
|
+
~azure.mgmt.storage.v2018_11_01.models.StorageAccountCheckNameAvailabilityParameters or
|
537
|
+
IO[bytes]
|
543
538
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
544
539
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.CheckNameAvailabilityResult
|
545
540
|
:raises ~azure.core.exceptions.HttpResponseError:
|
546
541
|
"""
|
547
|
-
error_map = {
|
542
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
548
543
|
401: ClientAuthenticationError,
|
549
544
|
404: ResourceNotFoundError,
|
550
545
|
409: ResourceExistsError,
|
@@ -567,22 +562,21 @@ class StorageAccountsOperations:
|
|
567
562
|
else:
|
568
563
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
569
564
|
|
570
|
-
|
565
|
+
_request = build_check_name_availability_request(
|
571
566
|
subscription_id=self._config.subscription_id,
|
572
567
|
api_version=api_version,
|
573
568
|
content_type=content_type,
|
574
569
|
json=_json,
|
575
570
|
content=_content,
|
576
|
-
template_url=self.check_name_availability.metadata["url"],
|
577
571
|
headers=_headers,
|
578
572
|
params=_params,
|
579
573
|
)
|
580
|
-
|
581
|
-
|
574
|
+
_request = _convert_request(_request)
|
575
|
+
_request.url = self._client.format_url(_request.url)
|
582
576
|
|
583
577
|
_stream = False
|
584
578
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
585
|
-
|
579
|
+
_request, stream=_stream, **kwargs
|
586
580
|
)
|
587
581
|
|
588
582
|
response = pipeline_response.http_response
|
@@ -594,22 +588,18 @@ class StorageAccountsOperations:
|
|
594
588
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
595
589
|
|
596
590
|
if cls:
|
597
|
-
return cls(pipeline_response, deserialized, {})
|
598
|
-
|
599
|
-
return deserialized
|
591
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
600
592
|
|
601
|
-
|
602
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
603
|
-
}
|
593
|
+
return deserialized # type: ignore
|
604
594
|
|
605
595
|
def _create_initial(
|
606
596
|
self,
|
607
597
|
resource_group_name: str,
|
608
598
|
account_name: str,
|
609
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
599
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
610
600
|
**kwargs: Any
|
611
601
|
) -> Optional[_models.StorageAccount]:
|
612
|
-
error_map = {
|
602
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
613
603
|
401: ClientAuthenticationError,
|
614
604
|
404: ResourceNotFoundError,
|
615
605
|
409: ResourceExistsError,
|
@@ -632,7 +622,7 @@ class StorageAccountsOperations:
|
|
632
622
|
else:
|
633
623
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
634
624
|
|
635
|
-
|
625
|
+
_request = build_create_request(
|
636
626
|
resource_group_name=resource_group_name,
|
637
627
|
account_name=account_name,
|
638
628
|
subscription_id=self._config.subscription_id,
|
@@ -640,16 +630,15 @@ class StorageAccountsOperations:
|
|
640
630
|
content_type=content_type,
|
641
631
|
json=_json,
|
642
632
|
content=_content,
|
643
|
-
template_url=self._create_initial.metadata["url"],
|
644
633
|
headers=_headers,
|
645
634
|
params=_params,
|
646
635
|
)
|
647
|
-
|
648
|
-
|
636
|
+
_request = _convert_request(_request)
|
637
|
+
_request.url = self._client.format_url(_request.url)
|
649
638
|
|
650
639
|
_stream = False
|
651
640
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
652
|
-
|
641
|
+
_request, stream=_stream, **kwargs
|
653
642
|
)
|
654
643
|
|
655
644
|
response = pipeline_response.http_response
|
@@ -663,13 +652,9 @@ class StorageAccountsOperations:
|
|
663
652
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
664
653
|
|
665
654
|
if cls:
|
666
|
-
return cls(pipeline_response, deserialized, {})
|
655
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
667
656
|
|
668
|
-
return deserialized
|
669
|
-
|
670
|
-
_create_initial.metadata = {
|
671
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
672
|
-
}
|
657
|
+
return deserialized # type: ignore
|
673
658
|
|
674
659
|
@overload
|
675
660
|
def begin_create(
|
@@ -698,14 +683,6 @@ class StorageAccountsOperations:
|
|
698
683
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
699
684
|
Default value is "application/json".
|
700
685
|
:paramtype content_type: str
|
701
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
702
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
703
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
704
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
705
|
-
strategy.
|
706
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
707
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
708
|
-
Retry-After header is present.
|
709
686
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
710
687
|
cls(response)
|
711
688
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2018_11_01.models.StorageAccount]
|
@@ -717,7 +694,7 @@ class StorageAccountsOperations:
|
|
717
694
|
self,
|
718
695
|
resource_group_name: str,
|
719
696
|
account_name: str,
|
720
|
-
parameters: IO,
|
697
|
+
parameters: IO[bytes],
|
721
698
|
*,
|
722
699
|
content_type: str = "application/json",
|
723
700
|
**kwargs: Any
|
@@ -735,18 +712,10 @@ class StorageAccountsOperations:
|
|
735
712
|
lower-case letters only. Required.
|
736
713
|
:type account_name: str
|
737
714
|
:param parameters: The parameters to provide for the created account. Required.
|
738
|
-
:type parameters: IO
|
715
|
+
:type parameters: IO[bytes]
|
739
716
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
740
717
|
Default value is "application/json".
|
741
718
|
:paramtype content_type: str
|
742
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
743
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
744
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
745
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
746
|
-
strategy.
|
747
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
748
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
749
|
-
Retry-After header is present.
|
750
719
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
751
720
|
cls(response)
|
752
721
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2018_11_01.models.StorageAccount]
|
@@ -758,7 +727,7 @@ class StorageAccountsOperations:
|
|
758
727
|
self,
|
759
728
|
resource_group_name: str,
|
760
729
|
account_name: str,
|
761
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
730
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
762
731
|
**kwargs: Any
|
763
732
|
) -> LROPoller[_models.StorageAccount]:
|
764
733
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -774,19 +743,9 @@ class StorageAccountsOperations:
|
|
774
743
|
lower-case letters only. Required.
|
775
744
|
:type account_name: str
|
776
745
|
:param parameters: The parameters to provide for the created account. Is either a
|
777
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
778
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountCreateParameters or
|
779
|
-
|
780
|
-
Default value is None.
|
781
|
-
:paramtype content_type: str
|
782
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
783
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
784
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
785
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
786
|
-
strategy.
|
787
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
788
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
789
|
-
Retry-After header is present.
|
746
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
747
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountCreateParameters or
|
748
|
+
IO[bytes]
|
790
749
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
791
750
|
cls(response)
|
792
751
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2018_11_01.models.StorageAccount]
|
@@ -818,7 +777,7 @@ class StorageAccountsOperations:
|
|
818
777
|
def get_long_running_output(pipeline_response):
|
819
778
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
820
779
|
if cls:
|
821
|
-
return cls(pipeline_response, deserialized, {})
|
780
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
822
781
|
return deserialized
|
823
782
|
|
824
783
|
if polling is True:
|
@@ -828,17 +787,15 @@ class StorageAccountsOperations:
|
|
828
787
|
else:
|
829
788
|
polling_method = polling
|
830
789
|
if cont_token:
|
831
|
-
return LROPoller.from_continuation_token(
|
790
|
+
return LROPoller[_models.StorageAccount].from_continuation_token(
|
832
791
|
polling_method=polling_method,
|
833
792
|
continuation_token=cont_token,
|
834
793
|
client=self._client,
|
835
794
|
deserialization_callback=get_long_running_output,
|
836
795
|
)
|
837
|
-
return LROPoller(
|
838
|
-
|
839
|
-
|
840
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
841
|
-
}
|
796
|
+
return LROPoller[_models.StorageAccount](
|
797
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
798
|
+
)
|
842
799
|
|
843
800
|
@distributed_trace
|
844
801
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -853,12 +810,11 @@ class StorageAccountsOperations:
|
|
853
810
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
854
811
|
lower-case letters only. Required.
|
855
812
|
:type account_name: str
|
856
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
857
813
|
:return: None or the result of cls(response)
|
858
814
|
:rtype: None
|
859
815
|
:raises ~azure.core.exceptions.HttpResponseError:
|
860
816
|
"""
|
861
|
-
error_map = {
|
817
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
862
818
|
401: ClientAuthenticationError,
|
863
819
|
404: ResourceNotFoundError,
|
864
820
|
409: ResourceExistsError,
|
@@ -872,21 +828,20 @@ class StorageAccountsOperations:
|
|
872
828
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
873
829
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
874
830
|
|
875
|
-
|
831
|
+
_request = build_delete_request(
|
876
832
|
resource_group_name=resource_group_name,
|
877
833
|
account_name=account_name,
|
878
834
|
subscription_id=self._config.subscription_id,
|
879
835
|
api_version=api_version,
|
880
|
-
template_url=self.delete.metadata["url"],
|
881
836
|
headers=_headers,
|
882
837
|
params=_params,
|
883
838
|
)
|
884
|
-
|
885
|
-
|
839
|
+
_request = _convert_request(_request)
|
840
|
+
_request.url = self._client.format_url(_request.url)
|
886
841
|
|
887
842
|
_stream = False
|
888
843
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
889
|
-
|
844
|
+
_request, stream=_stream, **kwargs
|
890
845
|
)
|
891
846
|
|
892
847
|
response = pipeline_response.http_response
|
@@ -896,11 +851,7 @@ class StorageAccountsOperations:
|
|
896
851
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
897
852
|
|
898
853
|
if cls:
|
899
|
-
return cls(pipeline_response, None, {})
|
900
|
-
|
901
|
-
delete.metadata = {
|
902
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
903
|
-
}
|
854
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
904
855
|
|
905
856
|
@distributed_trace
|
906
857
|
def get_properties(
|
@@ -925,12 +876,11 @@ class StorageAccountsOperations:
|
|
925
876
|
data is not included when fetching properties. Currently we only support geoReplicationStats.
|
926
877
|
Known values are "geoReplicationStats" and None. Default value is "geoReplicationStats".
|
927
878
|
:type expand: str
|
928
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
929
879
|
:return: StorageAccount or the result of cls(response)
|
930
880
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccount
|
931
881
|
:raises ~azure.core.exceptions.HttpResponseError:
|
932
882
|
"""
|
933
|
-
error_map = {
|
883
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
934
884
|
401: ClientAuthenticationError,
|
935
885
|
404: ResourceNotFoundError,
|
936
886
|
409: ResourceExistsError,
|
@@ -944,22 +894,21 @@ class StorageAccountsOperations:
|
|
944
894
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
945
895
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
946
896
|
|
947
|
-
|
897
|
+
_request = build_get_properties_request(
|
948
898
|
resource_group_name=resource_group_name,
|
949
899
|
account_name=account_name,
|
950
900
|
subscription_id=self._config.subscription_id,
|
951
901
|
expand=expand,
|
952
902
|
api_version=api_version,
|
953
|
-
template_url=self.get_properties.metadata["url"],
|
954
903
|
headers=_headers,
|
955
904
|
params=_params,
|
956
905
|
)
|
957
|
-
|
958
|
-
|
906
|
+
_request = _convert_request(_request)
|
907
|
+
_request.url = self._client.format_url(_request.url)
|
959
908
|
|
960
909
|
_stream = False
|
961
910
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
962
|
-
|
911
|
+
_request, stream=_stream, **kwargs
|
963
912
|
)
|
964
913
|
|
965
914
|
response = pipeline_response.http_response
|
@@ -971,13 +920,9 @@ class StorageAccountsOperations:
|
|
971
920
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
972
921
|
|
973
922
|
if cls:
|
974
|
-
return cls(pipeline_response, deserialized, {})
|
923
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
975
924
|
|
976
|
-
return deserialized
|
977
|
-
|
978
|
-
get_properties.metadata = {
|
979
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
980
|
-
}
|
925
|
+
return deserialized # type: ignore
|
981
926
|
|
982
927
|
@overload
|
983
928
|
def update(
|
@@ -1010,7 +955,6 @@ class StorageAccountsOperations:
|
|
1010
955
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1011
956
|
Default value is "application/json".
|
1012
957
|
:paramtype content_type: str
|
1013
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1014
958
|
:return: StorageAccount or the result of cls(response)
|
1015
959
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccount
|
1016
960
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1021,7 +965,7 @@ class StorageAccountsOperations:
|
|
1021
965
|
self,
|
1022
966
|
resource_group_name: str,
|
1023
967
|
account_name: str,
|
1024
|
-
parameters: IO,
|
968
|
+
parameters: IO[bytes],
|
1025
969
|
*,
|
1026
970
|
content_type: str = "application/json",
|
1027
971
|
**kwargs: Any
|
@@ -1043,11 +987,10 @@ class StorageAccountsOperations:
|
|
1043
987
|
lower-case letters only. Required.
|
1044
988
|
:type account_name: str
|
1045
989
|
:param parameters: The parameters to provide for the updated account. Required.
|
1046
|
-
:type parameters: IO
|
990
|
+
:type parameters: IO[bytes]
|
1047
991
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1048
992
|
Default value is "application/json".
|
1049
993
|
:paramtype content_type: str
|
1050
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1051
994
|
:return: StorageAccount or the result of cls(response)
|
1052
995
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccount
|
1053
996
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1058,7 +1001,7 @@ class StorageAccountsOperations:
|
|
1058
1001
|
self,
|
1059
1002
|
resource_group_name: str,
|
1060
1003
|
account_name: str,
|
1061
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
1004
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
1062
1005
|
**kwargs: Any
|
1063
1006
|
) -> _models.StorageAccount:
|
1064
1007
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -1078,17 +1021,14 @@ class StorageAccountsOperations:
|
|
1078
1021
|
lower-case letters only. Required.
|
1079
1022
|
:type account_name: str
|
1080
1023
|
:param parameters: The parameters to provide for the updated account. Is either a
|
1081
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
1082
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountUpdateParameters or
|
1083
|
-
|
1084
|
-
Default value is None.
|
1085
|
-
:paramtype content_type: str
|
1086
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1024
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
1025
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountUpdateParameters or
|
1026
|
+
IO[bytes]
|
1087
1027
|
:return: StorageAccount or the result of cls(response)
|
1088
1028
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccount
|
1089
1029
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1090
1030
|
"""
|
1091
|
-
error_map = {
|
1031
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1092
1032
|
401: ClientAuthenticationError,
|
1093
1033
|
404: ResourceNotFoundError,
|
1094
1034
|
409: ResourceExistsError,
|
@@ -1111,7 +1051,7 @@ class StorageAccountsOperations:
|
|
1111
1051
|
else:
|
1112
1052
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
1113
1053
|
|
1114
|
-
|
1054
|
+
_request = build_update_request(
|
1115
1055
|
resource_group_name=resource_group_name,
|
1116
1056
|
account_name=account_name,
|
1117
1057
|
subscription_id=self._config.subscription_id,
|
@@ -1119,16 +1059,15 @@ class StorageAccountsOperations:
|
|
1119
1059
|
content_type=content_type,
|
1120
1060
|
json=_json,
|
1121
1061
|
content=_content,
|
1122
|
-
template_url=self.update.metadata["url"],
|
1123
1062
|
headers=_headers,
|
1124
1063
|
params=_params,
|
1125
1064
|
)
|
1126
|
-
|
1127
|
-
|
1065
|
+
_request = _convert_request(_request)
|
1066
|
+
_request.url = self._client.format_url(_request.url)
|
1128
1067
|
|
1129
1068
|
_stream = False
|
1130
1069
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1131
|
-
|
1070
|
+
_request, stream=_stream, **kwargs
|
1132
1071
|
)
|
1133
1072
|
|
1134
1073
|
response = pipeline_response.http_response
|
@@ -1140,20 +1079,15 @@ class StorageAccountsOperations:
|
|
1140
1079
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
1141
1080
|
|
1142
1081
|
if cls:
|
1143
|
-
return cls(pipeline_response, deserialized, {})
|
1082
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1144
1083
|
|
1145
|
-
return deserialized
|
1146
|
-
|
1147
|
-
update.metadata = {
|
1148
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
1149
|
-
}
|
1084
|
+
return deserialized # type: ignore
|
1150
1085
|
|
1151
1086
|
@distributed_trace
|
1152
1087
|
def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1153
1088
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
1154
1089
|
returned; use the ListKeys operation for this.
|
1155
1090
|
|
1156
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1157
1091
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1158
1092
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2018_11_01.models.StorageAccount]
|
1159
1093
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1164,7 +1098,7 @@ class StorageAccountsOperations:
|
|
1164
1098
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1165
1099
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1166
1100
|
|
1167
|
-
error_map = {
|
1101
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1168
1102
|
401: ClientAuthenticationError,
|
1169
1103
|
404: ResourceNotFoundError,
|
1170
1104
|
409: ResourceExistsError,
|
@@ -1175,15 +1109,14 @@ class StorageAccountsOperations:
|
|
1175
1109
|
def prepare_request(next_link=None):
|
1176
1110
|
if not next_link:
|
1177
1111
|
|
1178
|
-
|
1112
|
+
_request = build_list_request(
|
1179
1113
|
subscription_id=self._config.subscription_id,
|
1180
1114
|
api_version=api_version,
|
1181
|
-
template_url=self.list.metadata["url"],
|
1182
1115
|
headers=_headers,
|
1183
1116
|
params=_params,
|
1184
1117
|
)
|
1185
|
-
|
1186
|
-
|
1118
|
+
_request = _convert_request(_request)
|
1119
|
+
_request.url = self._client.format_url(_request.url)
|
1187
1120
|
|
1188
1121
|
else:
|
1189
1122
|
# make call to next link with the client's api-version
|
@@ -1194,14 +1127,14 @@ class StorageAccountsOperations:
|
|
1194
1127
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1195
1128
|
}
|
1196
1129
|
)
|
1197
|
-
_next_request_params["api-version"] = self.
|
1198
|
-
|
1130
|
+
_next_request_params["api-version"] = self._api_version
|
1131
|
+
_request = HttpRequest(
|
1199
1132
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1200
1133
|
)
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
return
|
1134
|
+
_request = _convert_request(_request)
|
1135
|
+
_request.url = self._client.format_url(_request.url)
|
1136
|
+
_request.method = "GET"
|
1137
|
+
return _request
|
1205
1138
|
|
1206
1139
|
def extract_data(pipeline_response):
|
1207
1140
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1211,11 +1144,11 @@ class StorageAccountsOperations:
|
|
1211
1144
|
return None, iter(list_of_elem)
|
1212
1145
|
|
1213
1146
|
def get_next(next_link=None):
|
1214
|
-
|
1147
|
+
_request = prepare_request(next_link)
|
1215
1148
|
|
1216
1149
|
_stream = False
|
1217
1150
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1218
|
-
|
1151
|
+
_request, stream=_stream, **kwargs
|
1219
1152
|
)
|
1220
1153
|
response = pipeline_response.http_response
|
1221
1154
|
|
@@ -1227,8 +1160,6 @@ class StorageAccountsOperations:
|
|
1227
1160
|
|
1228
1161
|
return ItemPaged(get_next, extract_data)
|
1229
1162
|
|
1230
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
1231
|
-
|
1232
1163
|
@distributed_trace
|
1233
1164
|
def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1234
1165
|
"""Lists all the storage accounts available under the given resource group. Note that storage keys
|
@@ -1237,7 +1168,6 @@ class StorageAccountsOperations:
|
|
1237
1168
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1238
1169
|
name is case insensitive. Required.
|
1239
1170
|
:type resource_group_name: str
|
1240
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1241
1171
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1242
1172
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2018_11_01.models.StorageAccount]
|
1243
1173
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1248,7 +1178,7 @@ class StorageAccountsOperations:
|
|
1248
1178
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1249
1179
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1250
1180
|
|
1251
|
-
error_map = {
|
1181
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1252
1182
|
401: ClientAuthenticationError,
|
1253
1183
|
404: ResourceNotFoundError,
|
1254
1184
|
409: ResourceExistsError,
|
@@ -1259,16 +1189,15 @@ class StorageAccountsOperations:
|
|
1259
1189
|
def prepare_request(next_link=None):
|
1260
1190
|
if not next_link:
|
1261
1191
|
|
1262
|
-
|
1192
|
+
_request = build_list_by_resource_group_request(
|
1263
1193
|
resource_group_name=resource_group_name,
|
1264
1194
|
subscription_id=self._config.subscription_id,
|
1265
1195
|
api_version=api_version,
|
1266
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
1267
1196
|
headers=_headers,
|
1268
1197
|
params=_params,
|
1269
1198
|
)
|
1270
|
-
|
1271
|
-
|
1199
|
+
_request = _convert_request(_request)
|
1200
|
+
_request.url = self._client.format_url(_request.url)
|
1272
1201
|
|
1273
1202
|
else:
|
1274
1203
|
# make call to next link with the client's api-version
|
@@ -1279,14 +1208,14 @@ class StorageAccountsOperations:
|
|
1279
1208
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1280
1209
|
}
|
1281
1210
|
)
|
1282
|
-
_next_request_params["api-version"] = self.
|
1283
|
-
|
1211
|
+
_next_request_params["api-version"] = self._api_version
|
1212
|
+
_request = HttpRequest(
|
1284
1213
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1285
1214
|
)
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
return
|
1215
|
+
_request = _convert_request(_request)
|
1216
|
+
_request.url = self._client.format_url(_request.url)
|
1217
|
+
_request.method = "GET"
|
1218
|
+
return _request
|
1290
1219
|
|
1291
1220
|
def extract_data(pipeline_response):
|
1292
1221
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1296,11 +1225,11 @@ class StorageAccountsOperations:
|
|
1296
1225
|
return None, iter(list_of_elem)
|
1297
1226
|
|
1298
1227
|
def get_next(next_link=None):
|
1299
|
-
|
1228
|
+
_request = prepare_request(next_link)
|
1300
1229
|
|
1301
1230
|
_stream = False
|
1302
1231
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1303
|
-
|
1232
|
+
_request, stream=_stream, **kwargs
|
1304
1233
|
)
|
1305
1234
|
response = pipeline_response.http_response
|
1306
1235
|
|
@@ -1312,10 +1241,6 @@ class StorageAccountsOperations:
|
|
1312
1241
|
|
1313
1242
|
return ItemPaged(get_next, extract_data)
|
1314
1243
|
|
1315
|
-
list_by_resource_group.metadata = {
|
1316
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
1317
|
-
}
|
1318
|
-
|
1319
1244
|
@distributed_trace
|
1320
1245
|
def list_keys(
|
1321
1246
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
@@ -1329,12 +1254,11 @@ class StorageAccountsOperations:
|
|
1329
1254
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1330
1255
|
lower-case letters only. Required.
|
1331
1256
|
:type account_name: str
|
1332
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1333
1257
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1334
1258
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountListKeysResult
|
1335
1259
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1336
1260
|
"""
|
1337
|
-
error_map = {
|
1261
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1338
1262
|
401: ClientAuthenticationError,
|
1339
1263
|
404: ResourceNotFoundError,
|
1340
1264
|
409: ResourceExistsError,
|
@@ -1348,21 +1272,20 @@ class StorageAccountsOperations:
|
|
1348
1272
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1349
1273
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
1350
1274
|
|
1351
|
-
|
1275
|
+
_request = build_list_keys_request(
|
1352
1276
|
resource_group_name=resource_group_name,
|
1353
1277
|
account_name=account_name,
|
1354
1278
|
subscription_id=self._config.subscription_id,
|
1355
1279
|
api_version=api_version,
|
1356
|
-
template_url=self.list_keys.metadata["url"],
|
1357
1280
|
headers=_headers,
|
1358
1281
|
params=_params,
|
1359
1282
|
)
|
1360
|
-
|
1361
|
-
|
1283
|
+
_request = _convert_request(_request)
|
1284
|
+
_request.url = self._client.format_url(_request.url)
|
1362
1285
|
|
1363
1286
|
_stream = False
|
1364
1287
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1365
|
-
|
1288
|
+
_request, stream=_stream, **kwargs
|
1366
1289
|
)
|
1367
1290
|
|
1368
1291
|
response = pipeline_response.http_response
|
@@ -1374,13 +1297,9 @@ class StorageAccountsOperations:
|
|
1374
1297
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1375
1298
|
|
1376
1299
|
if cls:
|
1377
|
-
return cls(pipeline_response, deserialized, {})
|
1378
|
-
|
1379
|
-
return deserialized
|
1300
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1380
1301
|
|
1381
|
-
|
1382
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
1383
|
-
}
|
1302
|
+
return deserialized # type: ignore
|
1384
1303
|
|
1385
1304
|
@overload
|
1386
1305
|
def regenerate_key(
|
@@ -1408,7 +1327,6 @@ class StorageAccountsOperations:
|
|
1408
1327
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1409
1328
|
Default value is "application/json".
|
1410
1329
|
:paramtype content_type: str
|
1411
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1412
1330
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1413
1331
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountListKeysResult
|
1414
1332
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1419,7 +1337,7 @@ class StorageAccountsOperations:
|
|
1419
1337
|
self,
|
1420
1338
|
resource_group_name: str,
|
1421
1339
|
account_name: str,
|
1422
|
-
regenerate_key: IO,
|
1340
|
+
regenerate_key: IO[bytes],
|
1423
1341
|
*,
|
1424
1342
|
content_type: str = "application/json",
|
1425
1343
|
**kwargs: Any
|
@@ -1435,11 +1353,10 @@ class StorageAccountsOperations:
|
|
1435
1353
|
:type account_name: str
|
1436
1354
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1437
1355
|
Required.
|
1438
|
-
:type regenerate_key: IO
|
1356
|
+
:type regenerate_key: IO[bytes]
|
1439
1357
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1440
1358
|
Default value is "application/json".
|
1441
1359
|
:paramtype content_type: str
|
1442
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1443
1360
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1444
1361
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountListKeysResult
|
1445
1362
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1450,7 +1367,7 @@ class StorageAccountsOperations:
|
|
1450
1367
|
self,
|
1451
1368
|
resource_group_name: str,
|
1452
1369
|
account_name: str,
|
1453
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
1370
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1454
1371
|
**kwargs: Any
|
1455
1372
|
) -> _models.StorageAccountListKeysResult:
|
1456
1373
|
"""Regenerates one of the access keys for the specified storage account.
|
@@ -1463,18 +1380,14 @@ class StorageAccountsOperations:
|
|
1463
1380
|
lower-case letters only. Required.
|
1464
1381
|
:type account_name: str
|
1465
1382
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1466
|
-
Is either a StorageAccountRegenerateKeyParameters type or a IO type. Required.
|
1383
|
+
Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type. Required.
|
1467
1384
|
:type regenerate_key:
|
1468
|
-
~azure.mgmt.storage.v2018_11_01.models.StorageAccountRegenerateKeyParameters or IO
|
1469
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1470
|
-
Default value is None.
|
1471
|
-
:paramtype content_type: str
|
1472
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1385
|
+
~azure.mgmt.storage.v2018_11_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
|
1473
1386
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1474
1387
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountListKeysResult
|
1475
1388
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1476
1389
|
"""
|
1477
|
-
error_map = {
|
1390
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1478
1391
|
401: ClientAuthenticationError,
|
1479
1392
|
404: ResourceNotFoundError,
|
1480
1393
|
409: ResourceExistsError,
|
@@ -1497,7 +1410,7 @@ class StorageAccountsOperations:
|
|
1497
1410
|
else:
|
1498
1411
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1499
1412
|
|
1500
|
-
|
1413
|
+
_request = build_regenerate_key_request(
|
1501
1414
|
resource_group_name=resource_group_name,
|
1502
1415
|
account_name=account_name,
|
1503
1416
|
subscription_id=self._config.subscription_id,
|
@@ -1505,16 +1418,15 @@ class StorageAccountsOperations:
|
|
1505
1418
|
content_type=content_type,
|
1506
1419
|
json=_json,
|
1507
1420
|
content=_content,
|
1508
|
-
template_url=self.regenerate_key.metadata["url"],
|
1509
1421
|
headers=_headers,
|
1510
1422
|
params=_params,
|
1511
1423
|
)
|
1512
|
-
|
1513
|
-
|
1424
|
+
_request = _convert_request(_request)
|
1425
|
+
_request.url = self._client.format_url(_request.url)
|
1514
1426
|
|
1515
1427
|
_stream = False
|
1516
1428
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1517
|
-
|
1429
|
+
_request, stream=_stream, **kwargs
|
1518
1430
|
)
|
1519
1431
|
|
1520
1432
|
response = pipeline_response.http_response
|
@@ -1526,13 +1438,9 @@ class StorageAccountsOperations:
|
|
1526
1438
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1527
1439
|
|
1528
1440
|
if cls:
|
1529
|
-
return cls(pipeline_response, deserialized, {})
|
1441
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1530
1442
|
|
1531
|
-
return deserialized
|
1532
|
-
|
1533
|
-
regenerate_key.metadata = {
|
1534
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1535
|
-
}
|
1443
|
+
return deserialized # type: ignore
|
1536
1444
|
|
1537
1445
|
@overload
|
1538
1446
|
def list_account_sas(
|
@@ -1559,7 +1467,6 @@ class StorageAccountsOperations:
|
|
1559
1467
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1560
1468
|
Default value is "application/json".
|
1561
1469
|
:paramtype content_type: str
|
1562
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1563
1470
|
:return: ListAccountSasResponse or the result of cls(response)
|
1564
1471
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ListAccountSasResponse
|
1565
1472
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1570,7 +1477,7 @@ class StorageAccountsOperations:
|
|
1570
1477
|
self,
|
1571
1478
|
resource_group_name: str,
|
1572
1479
|
account_name: str,
|
1573
|
-
parameters: IO,
|
1480
|
+
parameters: IO[bytes],
|
1574
1481
|
*,
|
1575
1482
|
content_type: str = "application/json",
|
1576
1483
|
**kwargs: Any
|
@@ -1586,11 +1493,10 @@ class StorageAccountsOperations:
|
|
1586
1493
|
:type account_name: str
|
1587
1494
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1588
1495
|
Required.
|
1589
|
-
:type parameters: IO
|
1496
|
+
:type parameters: IO[bytes]
|
1590
1497
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1591
1498
|
Default value is "application/json".
|
1592
1499
|
:paramtype content_type: str
|
1593
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1594
1500
|
:return: ListAccountSasResponse or the result of cls(response)
|
1595
1501
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ListAccountSasResponse
|
1596
1502
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1601,7 +1507,7 @@ class StorageAccountsOperations:
|
|
1601
1507
|
self,
|
1602
1508
|
resource_group_name: str,
|
1603
1509
|
account_name: str,
|
1604
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1510
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1605
1511
|
**kwargs: Any
|
1606
1512
|
) -> _models.ListAccountSasResponse:
|
1607
1513
|
"""List SAS credentials of a storage account.
|
@@ -1614,17 +1520,13 @@ class StorageAccountsOperations:
|
|
1614
1520
|
lower-case letters only. Required.
|
1615
1521
|
:type account_name: str
|
1616
1522
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1617
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1618
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.AccountSasParameters or IO
|
1619
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1620
|
-
Default value is None.
|
1621
|
-
:paramtype content_type: str
|
1622
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1523
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1524
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.AccountSasParameters or IO[bytes]
|
1623
1525
|
:return: ListAccountSasResponse or the result of cls(response)
|
1624
1526
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ListAccountSasResponse
|
1625
1527
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1626
1528
|
"""
|
1627
|
-
error_map = {
|
1529
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1628
1530
|
401: ClientAuthenticationError,
|
1629
1531
|
404: ResourceNotFoundError,
|
1630
1532
|
409: ResourceExistsError,
|
@@ -1647,7 +1549,7 @@ class StorageAccountsOperations:
|
|
1647
1549
|
else:
|
1648
1550
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1649
1551
|
|
1650
|
-
|
1552
|
+
_request = build_list_account_sas_request(
|
1651
1553
|
resource_group_name=resource_group_name,
|
1652
1554
|
account_name=account_name,
|
1653
1555
|
subscription_id=self._config.subscription_id,
|
@@ -1655,16 +1557,15 @@ class StorageAccountsOperations:
|
|
1655
1557
|
content_type=content_type,
|
1656
1558
|
json=_json,
|
1657
1559
|
content=_content,
|
1658
|
-
template_url=self.list_account_sas.metadata["url"],
|
1659
1560
|
headers=_headers,
|
1660
1561
|
params=_params,
|
1661
1562
|
)
|
1662
|
-
|
1663
|
-
|
1563
|
+
_request = _convert_request(_request)
|
1564
|
+
_request.url = self._client.format_url(_request.url)
|
1664
1565
|
|
1665
1566
|
_stream = False
|
1666
1567
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1667
|
-
|
1568
|
+
_request, stream=_stream, **kwargs
|
1668
1569
|
)
|
1669
1570
|
|
1670
1571
|
response = pipeline_response.http_response
|
@@ -1676,13 +1577,9 @@ class StorageAccountsOperations:
|
|
1676
1577
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1677
1578
|
|
1678
1579
|
if cls:
|
1679
|
-
return cls(pipeline_response, deserialized, {})
|
1580
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1680
1581
|
|
1681
|
-
return deserialized
|
1682
|
-
|
1683
|
-
list_account_sas.metadata = {
|
1684
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1685
|
-
}
|
1582
|
+
return deserialized # type: ignore
|
1686
1583
|
|
1687
1584
|
@overload
|
1688
1585
|
def list_service_sas(
|
@@ -1708,7 +1605,6 @@ class StorageAccountsOperations:
|
|
1708
1605
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1709
1606
|
Default value is "application/json".
|
1710
1607
|
:paramtype content_type: str
|
1711
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1712
1608
|
:return: ListServiceSasResponse or the result of cls(response)
|
1713
1609
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ListServiceSasResponse
|
1714
1610
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1719,7 +1615,7 @@ class StorageAccountsOperations:
|
|
1719
1615
|
self,
|
1720
1616
|
resource_group_name: str,
|
1721
1617
|
account_name: str,
|
1722
|
-
parameters: IO,
|
1618
|
+
parameters: IO[bytes],
|
1723
1619
|
*,
|
1724
1620
|
content_type: str = "application/json",
|
1725
1621
|
**kwargs: Any
|
@@ -1734,11 +1630,10 @@ class StorageAccountsOperations:
|
|
1734
1630
|
lower-case letters only. Required.
|
1735
1631
|
:type account_name: str
|
1736
1632
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1737
|
-
:type parameters: IO
|
1633
|
+
:type parameters: IO[bytes]
|
1738
1634
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1739
1635
|
Default value is "application/json".
|
1740
1636
|
:paramtype content_type: str
|
1741
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1742
1637
|
:return: ListServiceSasResponse or the result of cls(response)
|
1743
1638
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ListServiceSasResponse
|
1744
1639
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1749,7 +1644,7 @@ class StorageAccountsOperations:
|
|
1749
1644
|
self,
|
1750
1645
|
resource_group_name: str,
|
1751
1646
|
account_name: str,
|
1752
|
-
parameters: Union[_models.ServiceSasParameters, IO],
|
1647
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1753
1648
|
**kwargs: Any
|
1754
1649
|
) -> _models.ListServiceSasResponse:
|
1755
1650
|
"""List service SAS credentials of a specific resource.
|
@@ -1762,17 +1657,13 @@ class StorageAccountsOperations:
|
|
1762
1657
|
lower-case letters only. Required.
|
1763
1658
|
:type account_name: str
|
1764
1659
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1765
|
-
ServiceSasParameters type or a IO type. Required.
|
1766
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.ServiceSasParameters or IO
|
1767
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1768
|
-
Default value is None.
|
1769
|
-
:paramtype content_type: str
|
1770
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1660
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1661
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.ServiceSasParameters or IO[bytes]
|
1771
1662
|
:return: ListServiceSasResponse or the result of cls(response)
|
1772
1663
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ListServiceSasResponse
|
1773
1664
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1774
1665
|
"""
|
1775
|
-
error_map = {
|
1666
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1776
1667
|
401: ClientAuthenticationError,
|
1777
1668
|
404: ResourceNotFoundError,
|
1778
1669
|
409: ResourceExistsError,
|
@@ -1795,7 +1686,7 @@ class StorageAccountsOperations:
|
|
1795
1686
|
else:
|
1796
1687
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1797
1688
|
|
1798
|
-
|
1689
|
+
_request = build_list_service_sas_request(
|
1799
1690
|
resource_group_name=resource_group_name,
|
1800
1691
|
account_name=account_name,
|
1801
1692
|
subscription_id=self._config.subscription_id,
|
@@ -1803,16 +1694,15 @@ class StorageAccountsOperations:
|
|
1803
1694
|
content_type=content_type,
|
1804
1695
|
json=_json,
|
1805
1696
|
content=_content,
|
1806
|
-
template_url=self.list_service_sas.metadata["url"],
|
1807
1697
|
headers=_headers,
|
1808
1698
|
params=_params,
|
1809
1699
|
)
|
1810
|
-
|
1811
|
-
|
1700
|
+
_request = _convert_request(_request)
|
1701
|
+
_request.url = self._client.format_url(_request.url)
|
1812
1702
|
|
1813
1703
|
_stream = False
|
1814
1704
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1815
|
-
|
1705
|
+
_request, stream=_stream, **kwargs
|
1816
1706
|
)
|
1817
1707
|
|
1818
1708
|
response = pipeline_response.http_response
|
@@ -1824,18 +1714,14 @@ class StorageAccountsOperations:
|
|
1824
1714
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1825
1715
|
|
1826
1716
|
if cls:
|
1827
|
-
return cls(pipeline_response, deserialized, {})
|
1828
|
-
|
1829
|
-
return deserialized
|
1717
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1830
1718
|
|
1831
|
-
|
1832
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1833
|
-
}
|
1719
|
+
return deserialized # type: ignore
|
1834
1720
|
|
1835
1721
|
def _failover_initial( # pylint: disable=inconsistent-return-statements
|
1836
1722
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1837
1723
|
) -> None:
|
1838
|
-
error_map = {
|
1724
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1839
1725
|
401: ClientAuthenticationError,
|
1840
1726
|
404: ResourceNotFoundError,
|
1841
1727
|
409: ResourceExistsError,
|
@@ -1849,21 +1735,20 @@ class StorageAccountsOperations:
|
|
1849
1735
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1850
1736
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1851
1737
|
|
1852
|
-
|
1738
|
+
_request = build_failover_request(
|
1853
1739
|
resource_group_name=resource_group_name,
|
1854
1740
|
account_name=account_name,
|
1855
1741
|
subscription_id=self._config.subscription_id,
|
1856
1742
|
api_version=api_version,
|
1857
|
-
template_url=self._failover_initial.metadata["url"],
|
1858
1743
|
headers=_headers,
|
1859
1744
|
params=_params,
|
1860
1745
|
)
|
1861
|
-
|
1862
|
-
|
1746
|
+
_request = _convert_request(_request)
|
1747
|
+
_request.url = self._client.format_url(_request.url)
|
1863
1748
|
|
1864
1749
|
_stream = False
|
1865
1750
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1866
|
-
|
1751
|
+
_request, stream=_stream, **kwargs
|
1867
1752
|
)
|
1868
1753
|
|
1869
1754
|
response = pipeline_response.http_response
|
@@ -1873,11 +1758,7 @@ class StorageAccountsOperations:
|
|
1873
1758
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1874
1759
|
|
1875
1760
|
if cls:
|
1876
|
-
return cls(pipeline_response, None, {})
|
1877
|
-
|
1878
|
-
_failover_initial.metadata = {
|
1879
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1880
|
-
}
|
1761
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1881
1762
|
|
1882
1763
|
@distributed_trace
|
1883
1764
|
def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> LROPoller[None]:
|
@@ -1892,14 +1773,6 @@ class StorageAccountsOperations:
|
|
1892
1773
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1893
1774
|
lower-case letters only. Required.
|
1894
1775
|
:type account_name: str
|
1895
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1896
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1897
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
1898
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
1899
|
-
strategy.
|
1900
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
1901
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1902
|
-
Retry-After header is present.
|
1903
1776
|
:return: An instance of LROPoller that returns either None or the result of cls(response)
|
1904
1777
|
:rtype: ~azure.core.polling.LROPoller[None]
|
1905
1778
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1926,7 +1799,7 @@ class StorageAccountsOperations:
|
|
1926
1799
|
|
1927
1800
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
1928
1801
|
if cls:
|
1929
|
-
return cls(pipeline_response, None, {})
|
1802
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1930
1803
|
|
1931
1804
|
if polling is True:
|
1932
1805
|
polling_method: PollingMethod = cast(
|
@@ -1937,17 +1810,13 @@ class StorageAccountsOperations:
|
|
1937
1810
|
else:
|
1938
1811
|
polling_method = polling
|
1939
1812
|
if cont_token:
|
1940
|
-
return LROPoller.from_continuation_token(
|
1813
|
+
return LROPoller[None].from_continuation_token(
|
1941
1814
|
polling_method=polling_method,
|
1942
1815
|
continuation_token=cont_token,
|
1943
1816
|
client=self._client,
|
1944
1817
|
deserialization_callback=get_long_running_output,
|
1945
1818
|
)
|
1946
|
-
return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1947
|
-
|
1948
|
-
begin_failover.metadata = {
|
1949
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1950
|
-
}
|
1819
|
+
return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1951
1820
|
|
1952
1821
|
@distributed_trace
|
1953
1822
|
def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
|
@@ -1962,12 +1831,11 @@ class StorageAccountsOperations:
|
|
1962
1831
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1963
1832
|
lower-case letters only. Required.
|
1964
1833
|
:type account_name: str
|
1965
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1966
1834
|
:return: None or the result of cls(response)
|
1967
1835
|
:rtype: None
|
1968
1836
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1969
1837
|
"""
|
1970
|
-
error_map = {
|
1838
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1971
1839
|
401: ClientAuthenticationError,
|
1972
1840
|
404: ResourceNotFoundError,
|
1973
1841
|
409: ResourceExistsError,
|
@@ -1981,21 +1849,20 @@ class StorageAccountsOperations:
|
|
1981
1849
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1982
1850
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1983
1851
|
|
1984
|
-
|
1852
|
+
_request = build_revoke_user_delegation_keys_request(
|
1985
1853
|
resource_group_name=resource_group_name,
|
1986
1854
|
account_name=account_name,
|
1987
1855
|
subscription_id=self._config.subscription_id,
|
1988
1856
|
api_version=api_version,
|
1989
|
-
template_url=self.revoke_user_delegation_keys.metadata["url"],
|
1990
1857
|
headers=_headers,
|
1991
1858
|
params=_params,
|
1992
1859
|
)
|
1993
|
-
|
1994
|
-
|
1860
|
+
_request = _convert_request(_request)
|
1861
|
+
_request.url = self._client.format_url(_request.url)
|
1995
1862
|
|
1996
1863
|
_stream = False
|
1997
1864
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1998
|
-
|
1865
|
+
_request, stream=_stream, **kwargs
|
1999
1866
|
)
|
2000
1867
|
|
2001
1868
|
response = pipeline_response.http_response
|
@@ -2005,8 +1872,4 @@ class StorageAccountsOperations:
|
|
2005
1872
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
2006
1873
|
|
2007
1874
|
if cls:
|
2008
|
-
return cls(pipeline_response, None, {})
|
2009
|
-
|
2010
|
-
revoke_user_delegation_keys.metadata = {
|
2011
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
|
2012
|
-
}
|
1875
|
+
return cls(pipeline_response, None, {}) # type: ignore
|