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
|
|
@@ -472,7 +472,6 @@ class StorageAccountsOperations:
|
|
472
472
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
473
473
|
Default value is "application/json".
|
474
474
|
:paramtype content_type: str
|
475
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
476
475
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
477
476
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.CheckNameAvailabilityResult
|
478
477
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -480,18 +479,17 @@ class StorageAccountsOperations:
|
|
480
479
|
|
481
480
|
@overload
|
482
481
|
def check_name_availability(
|
483
|
-
self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
|
482
|
+
self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
|
484
483
|
) -> _models.CheckNameAvailabilityResult:
|
485
484
|
"""Checks that the storage account name is valid and is not already in use.
|
486
485
|
|
487
486
|
:param account_name: The name of the storage account within the specified resource group.
|
488
487
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
489
488
|
lower-case letters only. Required.
|
490
|
-
:type account_name: IO
|
489
|
+
:type account_name: IO[bytes]
|
491
490
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
492
491
|
Default value is "application/json".
|
493
492
|
:paramtype content_type: str
|
494
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
495
493
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
496
494
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.CheckNameAvailabilityResult
|
497
495
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -499,25 +497,22 @@ class StorageAccountsOperations:
|
|
499
497
|
|
500
498
|
@distributed_trace
|
501
499
|
def check_name_availability(
|
502
|
-
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
|
500
|
+
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
|
503
501
|
) -> _models.CheckNameAvailabilityResult:
|
504
502
|
"""Checks that the storage account name is valid and is not already in use.
|
505
503
|
|
506
504
|
:param account_name: The name of the storage account within the specified resource group.
|
507
505
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
508
|
-
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
509
|
-
type. Required.
|
506
|
+
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
507
|
+
IO[bytes] type. Required.
|
510
508
|
:type account_name:
|
511
|
-
~azure.mgmt.storage.v2018_07_01.models.StorageAccountCheckNameAvailabilityParameters or
|
512
|
-
|
513
|
-
Default value is None.
|
514
|
-
:paramtype content_type: str
|
515
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
509
|
+
~azure.mgmt.storage.v2018_07_01.models.StorageAccountCheckNameAvailabilityParameters or
|
510
|
+
IO[bytes]
|
516
511
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
517
512
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.CheckNameAvailabilityResult
|
518
513
|
:raises ~azure.core.exceptions.HttpResponseError:
|
519
514
|
"""
|
520
|
-
error_map = {
|
515
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
521
516
|
401: ClientAuthenticationError,
|
522
517
|
404: ResourceNotFoundError,
|
523
518
|
409: ResourceExistsError,
|
@@ -540,22 +535,21 @@ class StorageAccountsOperations:
|
|
540
535
|
else:
|
541
536
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
542
537
|
|
543
|
-
|
538
|
+
_request = build_check_name_availability_request(
|
544
539
|
subscription_id=self._config.subscription_id,
|
545
540
|
api_version=api_version,
|
546
541
|
content_type=content_type,
|
547
542
|
json=_json,
|
548
543
|
content=_content,
|
549
|
-
template_url=self.check_name_availability.metadata["url"],
|
550
544
|
headers=_headers,
|
551
545
|
params=_params,
|
552
546
|
)
|
553
|
-
|
554
|
-
|
547
|
+
_request = _convert_request(_request)
|
548
|
+
_request.url = self._client.format_url(_request.url)
|
555
549
|
|
556
550
|
_stream = False
|
557
551
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
558
|
-
|
552
|
+
_request, stream=_stream, **kwargs
|
559
553
|
)
|
560
554
|
|
561
555
|
response = pipeline_response.http_response
|
@@ -567,22 +561,18 @@ class StorageAccountsOperations:
|
|
567
561
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
568
562
|
|
569
563
|
if cls:
|
570
|
-
return cls(pipeline_response, deserialized, {})
|
571
|
-
|
572
|
-
return deserialized
|
564
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
573
565
|
|
574
|
-
|
575
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
576
|
-
}
|
566
|
+
return deserialized # type: ignore
|
577
567
|
|
578
568
|
def _create_initial(
|
579
569
|
self,
|
580
570
|
resource_group_name: str,
|
581
571
|
account_name: str,
|
582
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
572
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
583
573
|
**kwargs: Any
|
584
574
|
) -> Optional[_models.StorageAccount]:
|
585
|
-
error_map = {
|
575
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
586
576
|
401: ClientAuthenticationError,
|
587
577
|
404: ResourceNotFoundError,
|
588
578
|
409: ResourceExistsError,
|
@@ -605,7 +595,7 @@ class StorageAccountsOperations:
|
|
605
595
|
else:
|
606
596
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
607
597
|
|
608
|
-
|
598
|
+
_request = build_create_request(
|
609
599
|
resource_group_name=resource_group_name,
|
610
600
|
account_name=account_name,
|
611
601
|
subscription_id=self._config.subscription_id,
|
@@ -613,16 +603,15 @@ class StorageAccountsOperations:
|
|
613
603
|
content_type=content_type,
|
614
604
|
json=_json,
|
615
605
|
content=_content,
|
616
|
-
template_url=self._create_initial.metadata["url"],
|
617
606
|
headers=_headers,
|
618
607
|
params=_params,
|
619
608
|
)
|
620
|
-
|
621
|
-
|
609
|
+
_request = _convert_request(_request)
|
610
|
+
_request.url = self._client.format_url(_request.url)
|
622
611
|
|
623
612
|
_stream = False
|
624
613
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
625
|
-
|
614
|
+
_request, stream=_stream, **kwargs
|
626
615
|
)
|
627
616
|
|
628
617
|
response = pipeline_response.http_response
|
@@ -636,13 +625,9 @@ class StorageAccountsOperations:
|
|
636
625
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
637
626
|
|
638
627
|
if cls:
|
639
|
-
return cls(pipeline_response, deserialized, {})
|
628
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
640
629
|
|
641
|
-
return deserialized
|
642
|
-
|
643
|
-
_create_initial.metadata = {
|
644
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
645
|
-
}
|
630
|
+
return deserialized # type: ignore
|
646
631
|
|
647
632
|
@overload
|
648
633
|
def begin_create(
|
@@ -671,14 +656,6 @@ class StorageAccountsOperations:
|
|
671
656
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
672
657
|
Default value is "application/json".
|
673
658
|
:paramtype content_type: str
|
674
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
675
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
676
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
677
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
678
|
-
strategy.
|
679
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
680
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
681
|
-
Retry-After header is present.
|
682
659
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
683
660
|
cls(response)
|
684
661
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2018_07_01.models.StorageAccount]
|
@@ -690,7 +667,7 @@ class StorageAccountsOperations:
|
|
690
667
|
self,
|
691
668
|
resource_group_name: str,
|
692
669
|
account_name: str,
|
693
|
-
parameters: IO,
|
670
|
+
parameters: IO[bytes],
|
694
671
|
*,
|
695
672
|
content_type: str = "application/json",
|
696
673
|
**kwargs: Any
|
@@ -708,18 +685,10 @@ class StorageAccountsOperations:
|
|
708
685
|
lower-case letters only. Required.
|
709
686
|
:type account_name: str
|
710
687
|
:param parameters: The parameters to provide for the created account. Required.
|
711
|
-
:type parameters: IO
|
688
|
+
:type parameters: IO[bytes]
|
712
689
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
713
690
|
Default value is "application/json".
|
714
691
|
:paramtype content_type: str
|
715
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
716
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
717
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
718
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
719
|
-
strategy.
|
720
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
721
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
722
|
-
Retry-After header is present.
|
723
692
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
724
693
|
cls(response)
|
725
694
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2018_07_01.models.StorageAccount]
|
@@ -731,7 +700,7 @@ class StorageAccountsOperations:
|
|
731
700
|
self,
|
732
701
|
resource_group_name: str,
|
733
702
|
account_name: str,
|
734
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
703
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
735
704
|
**kwargs: Any
|
736
705
|
) -> LROPoller[_models.StorageAccount]:
|
737
706
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -747,19 +716,9 @@ class StorageAccountsOperations:
|
|
747
716
|
lower-case letters only. Required.
|
748
717
|
:type account_name: str
|
749
718
|
:param parameters: The parameters to provide for the created account. Is either a
|
750
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
751
|
-
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountCreateParameters or
|
752
|
-
|
753
|
-
Default value is None.
|
754
|
-
:paramtype content_type: str
|
755
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
756
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
757
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
758
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
759
|
-
strategy.
|
760
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
761
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
762
|
-
Retry-After header is present.
|
719
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
720
|
+
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountCreateParameters or
|
721
|
+
IO[bytes]
|
763
722
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
764
723
|
cls(response)
|
765
724
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2018_07_01.models.StorageAccount]
|
@@ -791,7 +750,7 @@ class StorageAccountsOperations:
|
|
791
750
|
def get_long_running_output(pipeline_response):
|
792
751
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
793
752
|
if cls:
|
794
|
-
return cls(pipeline_response, deserialized, {})
|
753
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
795
754
|
return deserialized
|
796
755
|
|
797
756
|
if polling is True:
|
@@ -801,17 +760,15 @@ class StorageAccountsOperations:
|
|
801
760
|
else:
|
802
761
|
polling_method = polling
|
803
762
|
if cont_token:
|
804
|
-
return LROPoller.from_continuation_token(
|
763
|
+
return LROPoller[_models.StorageAccount].from_continuation_token(
|
805
764
|
polling_method=polling_method,
|
806
765
|
continuation_token=cont_token,
|
807
766
|
client=self._client,
|
808
767
|
deserialization_callback=get_long_running_output,
|
809
768
|
)
|
810
|
-
return LROPoller(
|
811
|
-
|
812
|
-
|
813
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
814
|
-
}
|
769
|
+
return LROPoller[_models.StorageAccount](
|
770
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
771
|
+
)
|
815
772
|
|
816
773
|
@distributed_trace
|
817
774
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -826,12 +783,11 @@ class StorageAccountsOperations:
|
|
826
783
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
827
784
|
lower-case letters only. Required.
|
828
785
|
:type account_name: str
|
829
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
830
786
|
:return: None or the result of cls(response)
|
831
787
|
:rtype: None
|
832
788
|
:raises ~azure.core.exceptions.HttpResponseError:
|
833
789
|
"""
|
834
|
-
error_map = {
|
790
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
835
791
|
401: ClientAuthenticationError,
|
836
792
|
404: ResourceNotFoundError,
|
837
793
|
409: ResourceExistsError,
|
@@ -845,21 +801,20 @@ class StorageAccountsOperations:
|
|
845
801
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
846
802
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
847
803
|
|
848
|
-
|
804
|
+
_request = build_delete_request(
|
849
805
|
resource_group_name=resource_group_name,
|
850
806
|
account_name=account_name,
|
851
807
|
subscription_id=self._config.subscription_id,
|
852
808
|
api_version=api_version,
|
853
|
-
template_url=self.delete.metadata["url"],
|
854
809
|
headers=_headers,
|
855
810
|
params=_params,
|
856
811
|
)
|
857
|
-
|
858
|
-
|
812
|
+
_request = _convert_request(_request)
|
813
|
+
_request.url = self._client.format_url(_request.url)
|
859
814
|
|
860
815
|
_stream = False
|
861
816
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
862
|
-
|
817
|
+
_request, stream=_stream, **kwargs
|
863
818
|
)
|
864
819
|
|
865
820
|
response = pipeline_response.http_response
|
@@ -869,11 +824,7 @@ class StorageAccountsOperations:
|
|
869
824
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
870
825
|
|
871
826
|
if cls:
|
872
|
-
return cls(pipeline_response, None, {})
|
873
|
-
|
874
|
-
delete.metadata = {
|
875
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
876
|
-
}
|
827
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
877
828
|
|
878
829
|
@distributed_trace
|
879
830
|
def get_properties(
|
@@ -898,12 +849,11 @@ class StorageAccountsOperations:
|
|
898
849
|
data is not included when fetching properties. Currently we only support geoReplicationStats.
|
899
850
|
Known values are "geoReplicationStats" and None. Default value is "geoReplicationStats".
|
900
851
|
:type expand: str
|
901
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
902
852
|
:return: StorageAccount or the result of cls(response)
|
903
853
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccount
|
904
854
|
:raises ~azure.core.exceptions.HttpResponseError:
|
905
855
|
"""
|
906
|
-
error_map = {
|
856
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
907
857
|
401: ClientAuthenticationError,
|
908
858
|
404: ResourceNotFoundError,
|
909
859
|
409: ResourceExistsError,
|
@@ -917,22 +867,21 @@ class StorageAccountsOperations:
|
|
917
867
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
918
868
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
919
869
|
|
920
|
-
|
870
|
+
_request = build_get_properties_request(
|
921
871
|
resource_group_name=resource_group_name,
|
922
872
|
account_name=account_name,
|
923
873
|
subscription_id=self._config.subscription_id,
|
924
874
|
expand=expand,
|
925
875
|
api_version=api_version,
|
926
|
-
template_url=self.get_properties.metadata["url"],
|
927
876
|
headers=_headers,
|
928
877
|
params=_params,
|
929
878
|
)
|
930
|
-
|
931
|
-
|
879
|
+
_request = _convert_request(_request)
|
880
|
+
_request.url = self._client.format_url(_request.url)
|
932
881
|
|
933
882
|
_stream = False
|
934
883
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
935
|
-
|
884
|
+
_request, stream=_stream, **kwargs
|
936
885
|
)
|
937
886
|
|
938
887
|
response = pipeline_response.http_response
|
@@ -944,13 +893,9 @@ class StorageAccountsOperations:
|
|
944
893
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
945
894
|
|
946
895
|
if cls:
|
947
|
-
return cls(pipeline_response, deserialized, {})
|
896
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
948
897
|
|
949
|
-
return deserialized
|
950
|
-
|
951
|
-
get_properties.metadata = {
|
952
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
953
|
-
}
|
898
|
+
return deserialized # type: ignore
|
954
899
|
|
955
900
|
@overload
|
956
901
|
def update(
|
@@ -983,7 +928,6 @@ class StorageAccountsOperations:
|
|
983
928
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
984
929
|
Default value is "application/json".
|
985
930
|
:paramtype content_type: str
|
986
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
987
931
|
:return: StorageAccount or the result of cls(response)
|
988
932
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccount
|
989
933
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -994,7 +938,7 @@ class StorageAccountsOperations:
|
|
994
938
|
self,
|
995
939
|
resource_group_name: str,
|
996
940
|
account_name: str,
|
997
|
-
parameters: IO,
|
941
|
+
parameters: IO[bytes],
|
998
942
|
*,
|
999
943
|
content_type: str = "application/json",
|
1000
944
|
**kwargs: Any
|
@@ -1016,11 +960,10 @@ class StorageAccountsOperations:
|
|
1016
960
|
lower-case letters only. Required.
|
1017
961
|
:type account_name: str
|
1018
962
|
:param parameters: The parameters to provide for the updated account. Required.
|
1019
|
-
:type parameters: IO
|
963
|
+
:type parameters: IO[bytes]
|
1020
964
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1021
965
|
Default value is "application/json".
|
1022
966
|
:paramtype content_type: str
|
1023
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1024
967
|
:return: StorageAccount or the result of cls(response)
|
1025
968
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccount
|
1026
969
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1031,7 +974,7 @@ class StorageAccountsOperations:
|
|
1031
974
|
self,
|
1032
975
|
resource_group_name: str,
|
1033
976
|
account_name: str,
|
1034
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
977
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
1035
978
|
**kwargs: Any
|
1036
979
|
) -> _models.StorageAccount:
|
1037
980
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -1051,17 +994,14 @@ class StorageAccountsOperations:
|
|
1051
994
|
lower-case letters only. Required.
|
1052
995
|
:type account_name: str
|
1053
996
|
:param parameters: The parameters to provide for the updated account. Is either a
|
1054
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
1055
|
-
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountUpdateParameters or
|
1056
|
-
|
1057
|
-
Default value is None.
|
1058
|
-
:paramtype content_type: str
|
1059
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
997
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
998
|
+
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountUpdateParameters or
|
999
|
+
IO[bytes]
|
1060
1000
|
:return: StorageAccount or the result of cls(response)
|
1061
1001
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccount
|
1062
1002
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1063
1003
|
"""
|
1064
|
-
error_map = {
|
1004
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1065
1005
|
401: ClientAuthenticationError,
|
1066
1006
|
404: ResourceNotFoundError,
|
1067
1007
|
409: ResourceExistsError,
|
@@ -1084,7 +1024,7 @@ class StorageAccountsOperations:
|
|
1084
1024
|
else:
|
1085
1025
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
1086
1026
|
|
1087
|
-
|
1027
|
+
_request = build_update_request(
|
1088
1028
|
resource_group_name=resource_group_name,
|
1089
1029
|
account_name=account_name,
|
1090
1030
|
subscription_id=self._config.subscription_id,
|
@@ -1092,16 +1032,15 @@ class StorageAccountsOperations:
|
|
1092
1032
|
content_type=content_type,
|
1093
1033
|
json=_json,
|
1094
1034
|
content=_content,
|
1095
|
-
template_url=self.update.metadata["url"],
|
1096
1035
|
headers=_headers,
|
1097
1036
|
params=_params,
|
1098
1037
|
)
|
1099
|
-
|
1100
|
-
|
1038
|
+
_request = _convert_request(_request)
|
1039
|
+
_request.url = self._client.format_url(_request.url)
|
1101
1040
|
|
1102
1041
|
_stream = False
|
1103
1042
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1104
|
-
|
1043
|
+
_request, stream=_stream, **kwargs
|
1105
1044
|
)
|
1106
1045
|
|
1107
1046
|
response = pipeline_response.http_response
|
@@ -1113,20 +1052,15 @@ class StorageAccountsOperations:
|
|
1113
1052
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
1114
1053
|
|
1115
1054
|
if cls:
|
1116
|
-
return cls(pipeline_response, deserialized, {})
|
1117
|
-
|
1118
|
-
return deserialized
|
1055
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1119
1056
|
|
1120
|
-
|
1121
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
1122
|
-
}
|
1057
|
+
return deserialized # type: ignore
|
1123
1058
|
|
1124
1059
|
@distributed_trace
|
1125
1060
|
def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1126
1061
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
1127
1062
|
returned; use the ListKeys operation for this.
|
1128
1063
|
|
1129
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1130
1064
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1131
1065
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2018_07_01.models.StorageAccount]
|
1132
1066
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1137,7 +1071,7 @@ class StorageAccountsOperations:
|
|
1137
1071
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
1138
1072
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1139
1073
|
|
1140
|
-
error_map = {
|
1074
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1141
1075
|
401: ClientAuthenticationError,
|
1142
1076
|
404: ResourceNotFoundError,
|
1143
1077
|
409: ResourceExistsError,
|
@@ -1148,15 +1082,14 @@ class StorageAccountsOperations:
|
|
1148
1082
|
def prepare_request(next_link=None):
|
1149
1083
|
if not next_link:
|
1150
1084
|
|
1151
|
-
|
1085
|
+
_request = build_list_request(
|
1152
1086
|
subscription_id=self._config.subscription_id,
|
1153
1087
|
api_version=api_version,
|
1154
|
-
template_url=self.list.metadata["url"],
|
1155
1088
|
headers=_headers,
|
1156
1089
|
params=_params,
|
1157
1090
|
)
|
1158
|
-
|
1159
|
-
|
1091
|
+
_request = _convert_request(_request)
|
1092
|
+
_request.url = self._client.format_url(_request.url)
|
1160
1093
|
|
1161
1094
|
else:
|
1162
1095
|
# make call to next link with the client's api-version
|
@@ -1167,14 +1100,14 @@ class StorageAccountsOperations:
|
|
1167
1100
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1168
1101
|
}
|
1169
1102
|
)
|
1170
|
-
_next_request_params["api-version"] = self.
|
1171
|
-
|
1103
|
+
_next_request_params["api-version"] = self._api_version
|
1104
|
+
_request = HttpRequest(
|
1172
1105
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1173
1106
|
)
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
return
|
1107
|
+
_request = _convert_request(_request)
|
1108
|
+
_request.url = self._client.format_url(_request.url)
|
1109
|
+
_request.method = "GET"
|
1110
|
+
return _request
|
1178
1111
|
|
1179
1112
|
def extract_data(pipeline_response):
|
1180
1113
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1184,11 +1117,11 @@ class StorageAccountsOperations:
|
|
1184
1117
|
return None, iter(list_of_elem)
|
1185
1118
|
|
1186
1119
|
def get_next(next_link=None):
|
1187
|
-
|
1120
|
+
_request = prepare_request(next_link)
|
1188
1121
|
|
1189
1122
|
_stream = False
|
1190
1123
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1191
|
-
|
1124
|
+
_request, stream=_stream, **kwargs
|
1192
1125
|
)
|
1193
1126
|
response = pipeline_response.http_response
|
1194
1127
|
|
@@ -1200,8 +1133,6 @@ class StorageAccountsOperations:
|
|
1200
1133
|
|
1201
1134
|
return ItemPaged(get_next, extract_data)
|
1202
1135
|
|
1203
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
1204
|
-
|
1205
1136
|
@distributed_trace
|
1206
1137
|
def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1207
1138
|
"""Lists all the storage accounts available under the given resource group. Note that storage keys
|
@@ -1210,7 +1141,6 @@ class StorageAccountsOperations:
|
|
1210
1141
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1211
1142
|
name is case insensitive. Required.
|
1212
1143
|
:type resource_group_name: str
|
1213
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1214
1144
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1215
1145
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2018_07_01.models.StorageAccount]
|
1216
1146
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1221,7 +1151,7 @@ class StorageAccountsOperations:
|
|
1221
1151
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
1222
1152
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1223
1153
|
|
1224
|
-
error_map = {
|
1154
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1225
1155
|
401: ClientAuthenticationError,
|
1226
1156
|
404: ResourceNotFoundError,
|
1227
1157
|
409: ResourceExistsError,
|
@@ -1232,16 +1162,15 @@ class StorageAccountsOperations:
|
|
1232
1162
|
def prepare_request(next_link=None):
|
1233
1163
|
if not next_link:
|
1234
1164
|
|
1235
|
-
|
1165
|
+
_request = build_list_by_resource_group_request(
|
1236
1166
|
resource_group_name=resource_group_name,
|
1237
1167
|
subscription_id=self._config.subscription_id,
|
1238
1168
|
api_version=api_version,
|
1239
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
1240
1169
|
headers=_headers,
|
1241
1170
|
params=_params,
|
1242
1171
|
)
|
1243
|
-
|
1244
|
-
|
1172
|
+
_request = _convert_request(_request)
|
1173
|
+
_request.url = self._client.format_url(_request.url)
|
1245
1174
|
|
1246
1175
|
else:
|
1247
1176
|
# make call to next link with the client's api-version
|
@@ -1252,14 +1181,14 @@ class StorageAccountsOperations:
|
|
1252
1181
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1253
1182
|
}
|
1254
1183
|
)
|
1255
|
-
_next_request_params["api-version"] = self.
|
1256
|
-
|
1184
|
+
_next_request_params["api-version"] = self._api_version
|
1185
|
+
_request = HttpRequest(
|
1257
1186
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1258
1187
|
)
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1262
|
-
return
|
1188
|
+
_request = _convert_request(_request)
|
1189
|
+
_request.url = self._client.format_url(_request.url)
|
1190
|
+
_request.method = "GET"
|
1191
|
+
return _request
|
1263
1192
|
|
1264
1193
|
def extract_data(pipeline_response):
|
1265
1194
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1269,11 +1198,11 @@ class StorageAccountsOperations:
|
|
1269
1198
|
return None, iter(list_of_elem)
|
1270
1199
|
|
1271
1200
|
def get_next(next_link=None):
|
1272
|
-
|
1201
|
+
_request = prepare_request(next_link)
|
1273
1202
|
|
1274
1203
|
_stream = False
|
1275
1204
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1276
|
-
|
1205
|
+
_request, stream=_stream, **kwargs
|
1277
1206
|
)
|
1278
1207
|
response = pipeline_response.http_response
|
1279
1208
|
|
@@ -1285,10 +1214,6 @@ class StorageAccountsOperations:
|
|
1285
1214
|
|
1286
1215
|
return ItemPaged(get_next, extract_data)
|
1287
1216
|
|
1288
|
-
list_by_resource_group.metadata = {
|
1289
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
1290
|
-
}
|
1291
|
-
|
1292
1217
|
@distributed_trace
|
1293
1218
|
def list_keys(
|
1294
1219
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
@@ -1302,12 +1227,11 @@ class StorageAccountsOperations:
|
|
1302
1227
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1303
1228
|
lower-case letters only. Required.
|
1304
1229
|
:type account_name: str
|
1305
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1306
1230
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1307
1231
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountListKeysResult
|
1308
1232
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1309
1233
|
"""
|
1310
|
-
error_map = {
|
1234
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1311
1235
|
401: ClientAuthenticationError,
|
1312
1236
|
404: ResourceNotFoundError,
|
1313
1237
|
409: ResourceExistsError,
|
@@ -1321,21 +1245,20 @@ class StorageAccountsOperations:
|
|
1321
1245
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
1322
1246
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
1323
1247
|
|
1324
|
-
|
1248
|
+
_request = build_list_keys_request(
|
1325
1249
|
resource_group_name=resource_group_name,
|
1326
1250
|
account_name=account_name,
|
1327
1251
|
subscription_id=self._config.subscription_id,
|
1328
1252
|
api_version=api_version,
|
1329
|
-
template_url=self.list_keys.metadata["url"],
|
1330
1253
|
headers=_headers,
|
1331
1254
|
params=_params,
|
1332
1255
|
)
|
1333
|
-
|
1334
|
-
|
1256
|
+
_request = _convert_request(_request)
|
1257
|
+
_request.url = self._client.format_url(_request.url)
|
1335
1258
|
|
1336
1259
|
_stream = False
|
1337
1260
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1338
|
-
|
1261
|
+
_request, stream=_stream, **kwargs
|
1339
1262
|
)
|
1340
1263
|
|
1341
1264
|
response = pipeline_response.http_response
|
@@ -1347,13 +1270,9 @@ class StorageAccountsOperations:
|
|
1347
1270
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1348
1271
|
|
1349
1272
|
if cls:
|
1350
|
-
return cls(pipeline_response, deserialized, {})
|
1273
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1351
1274
|
|
1352
|
-
return deserialized
|
1353
|
-
|
1354
|
-
list_keys.metadata = {
|
1355
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
1356
|
-
}
|
1275
|
+
return deserialized # type: ignore
|
1357
1276
|
|
1358
1277
|
@overload
|
1359
1278
|
def regenerate_key(
|
@@ -1381,7 +1300,6 @@ class StorageAccountsOperations:
|
|
1381
1300
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1382
1301
|
Default value is "application/json".
|
1383
1302
|
:paramtype content_type: str
|
1384
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1385
1303
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1386
1304
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountListKeysResult
|
1387
1305
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1392,7 +1310,7 @@ class StorageAccountsOperations:
|
|
1392
1310
|
self,
|
1393
1311
|
resource_group_name: str,
|
1394
1312
|
account_name: str,
|
1395
|
-
regenerate_key: IO,
|
1313
|
+
regenerate_key: IO[bytes],
|
1396
1314
|
*,
|
1397
1315
|
content_type: str = "application/json",
|
1398
1316
|
**kwargs: Any
|
@@ -1408,11 +1326,10 @@ class StorageAccountsOperations:
|
|
1408
1326
|
:type account_name: str
|
1409
1327
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1410
1328
|
Required.
|
1411
|
-
:type regenerate_key: IO
|
1329
|
+
:type regenerate_key: IO[bytes]
|
1412
1330
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1413
1331
|
Default value is "application/json".
|
1414
1332
|
:paramtype content_type: str
|
1415
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1416
1333
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1417
1334
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountListKeysResult
|
1418
1335
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1423,7 +1340,7 @@ class StorageAccountsOperations:
|
|
1423
1340
|
self,
|
1424
1341
|
resource_group_name: str,
|
1425
1342
|
account_name: str,
|
1426
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
1343
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1427
1344
|
**kwargs: Any
|
1428
1345
|
) -> _models.StorageAccountListKeysResult:
|
1429
1346
|
"""Regenerates one of the access keys for the specified storage account.
|
@@ -1436,18 +1353,14 @@ class StorageAccountsOperations:
|
|
1436
1353
|
lower-case letters only. Required.
|
1437
1354
|
:type account_name: str
|
1438
1355
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1439
|
-
Is either a StorageAccountRegenerateKeyParameters type or a IO type. Required.
|
1356
|
+
Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type. Required.
|
1440
1357
|
:type regenerate_key:
|
1441
|
-
~azure.mgmt.storage.v2018_07_01.models.StorageAccountRegenerateKeyParameters or IO
|
1442
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1443
|
-
Default value is None.
|
1444
|
-
:paramtype content_type: str
|
1445
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1358
|
+
~azure.mgmt.storage.v2018_07_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
|
1446
1359
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1447
1360
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountListKeysResult
|
1448
1361
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1449
1362
|
"""
|
1450
|
-
error_map = {
|
1363
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1451
1364
|
401: ClientAuthenticationError,
|
1452
1365
|
404: ResourceNotFoundError,
|
1453
1366
|
409: ResourceExistsError,
|
@@ -1470,7 +1383,7 @@ class StorageAccountsOperations:
|
|
1470
1383
|
else:
|
1471
1384
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1472
1385
|
|
1473
|
-
|
1386
|
+
_request = build_regenerate_key_request(
|
1474
1387
|
resource_group_name=resource_group_name,
|
1475
1388
|
account_name=account_name,
|
1476
1389
|
subscription_id=self._config.subscription_id,
|
@@ -1478,16 +1391,15 @@ class StorageAccountsOperations:
|
|
1478
1391
|
content_type=content_type,
|
1479
1392
|
json=_json,
|
1480
1393
|
content=_content,
|
1481
|
-
template_url=self.regenerate_key.metadata["url"],
|
1482
1394
|
headers=_headers,
|
1483
1395
|
params=_params,
|
1484
1396
|
)
|
1485
|
-
|
1486
|
-
|
1397
|
+
_request = _convert_request(_request)
|
1398
|
+
_request.url = self._client.format_url(_request.url)
|
1487
1399
|
|
1488
1400
|
_stream = False
|
1489
1401
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1490
|
-
|
1402
|
+
_request, stream=_stream, **kwargs
|
1491
1403
|
)
|
1492
1404
|
|
1493
1405
|
response = pipeline_response.http_response
|
@@ -1499,13 +1411,9 @@ class StorageAccountsOperations:
|
|
1499
1411
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1500
1412
|
|
1501
1413
|
if cls:
|
1502
|
-
return cls(pipeline_response, deserialized, {})
|
1414
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1503
1415
|
|
1504
|
-
return deserialized
|
1505
|
-
|
1506
|
-
regenerate_key.metadata = {
|
1507
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1508
|
-
}
|
1416
|
+
return deserialized # type: ignore
|
1509
1417
|
|
1510
1418
|
@overload
|
1511
1419
|
def list_account_sas(
|
@@ -1532,7 +1440,6 @@ class StorageAccountsOperations:
|
|
1532
1440
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1533
1441
|
Default value is "application/json".
|
1534
1442
|
:paramtype content_type: str
|
1535
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1536
1443
|
:return: ListAccountSasResponse or the result of cls(response)
|
1537
1444
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ListAccountSasResponse
|
1538
1445
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1543,7 +1450,7 @@ class StorageAccountsOperations:
|
|
1543
1450
|
self,
|
1544
1451
|
resource_group_name: str,
|
1545
1452
|
account_name: str,
|
1546
|
-
parameters: IO,
|
1453
|
+
parameters: IO[bytes],
|
1547
1454
|
*,
|
1548
1455
|
content_type: str = "application/json",
|
1549
1456
|
**kwargs: Any
|
@@ -1559,11 +1466,10 @@ class StorageAccountsOperations:
|
|
1559
1466
|
:type account_name: str
|
1560
1467
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1561
1468
|
Required.
|
1562
|
-
:type parameters: IO
|
1469
|
+
:type parameters: IO[bytes]
|
1563
1470
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1564
1471
|
Default value is "application/json".
|
1565
1472
|
:paramtype content_type: str
|
1566
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1567
1473
|
:return: ListAccountSasResponse or the result of cls(response)
|
1568
1474
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ListAccountSasResponse
|
1569
1475
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1574,7 +1480,7 @@ class StorageAccountsOperations:
|
|
1574
1480
|
self,
|
1575
1481
|
resource_group_name: str,
|
1576
1482
|
account_name: str,
|
1577
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1483
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1578
1484
|
**kwargs: Any
|
1579
1485
|
) -> _models.ListAccountSasResponse:
|
1580
1486
|
"""List SAS credentials of a storage account.
|
@@ -1587,17 +1493,13 @@ class StorageAccountsOperations:
|
|
1587
1493
|
lower-case letters only. Required.
|
1588
1494
|
:type account_name: str
|
1589
1495
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1590
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1591
|
-
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.AccountSasParameters or IO
|
1592
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1593
|
-
Default value is None.
|
1594
|
-
:paramtype content_type: str
|
1595
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1496
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1497
|
+
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.AccountSasParameters or IO[bytes]
|
1596
1498
|
:return: ListAccountSasResponse or the result of cls(response)
|
1597
1499
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ListAccountSasResponse
|
1598
1500
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1599
1501
|
"""
|
1600
|
-
error_map = {
|
1502
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1601
1503
|
401: ClientAuthenticationError,
|
1602
1504
|
404: ResourceNotFoundError,
|
1603
1505
|
409: ResourceExistsError,
|
@@ -1620,7 +1522,7 @@ class StorageAccountsOperations:
|
|
1620
1522
|
else:
|
1621
1523
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1622
1524
|
|
1623
|
-
|
1525
|
+
_request = build_list_account_sas_request(
|
1624
1526
|
resource_group_name=resource_group_name,
|
1625
1527
|
account_name=account_name,
|
1626
1528
|
subscription_id=self._config.subscription_id,
|
@@ -1628,16 +1530,15 @@ class StorageAccountsOperations:
|
|
1628
1530
|
content_type=content_type,
|
1629
1531
|
json=_json,
|
1630
1532
|
content=_content,
|
1631
|
-
template_url=self.list_account_sas.metadata["url"],
|
1632
1533
|
headers=_headers,
|
1633
1534
|
params=_params,
|
1634
1535
|
)
|
1635
|
-
|
1636
|
-
|
1536
|
+
_request = _convert_request(_request)
|
1537
|
+
_request.url = self._client.format_url(_request.url)
|
1637
1538
|
|
1638
1539
|
_stream = False
|
1639
1540
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1640
|
-
|
1541
|
+
_request, stream=_stream, **kwargs
|
1641
1542
|
)
|
1642
1543
|
|
1643
1544
|
response = pipeline_response.http_response
|
@@ -1649,13 +1550,9 @@ class StorageAccountsOperations:
|
|
1649
1550
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1650
1551
|
|
1651
1552
|
if cls:
|
1652
|
-
return cls(pipeline_response, deserialized, {})
|
1553
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1653
1554
|
|
1654
|
-
return deserialized
|
1655
|
-
|
1656
|
-
list_account_sas.metadata = {
|
1657
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1658
|
-
}
|
1555
|
+
return deserialized # type: ignore
|
1659
1556
|
|
1660
1557
|
@overload
|
1661
1558
|
def list_service_sas(
|
@@ -1681,7 +1578,6 @@ class StorageAccountsOperations:
|
|
1681
1578
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1682
1579
|
Default value is "application/json".
|
1683
1580
|
:paramtype content_type: str
|
1684
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1685
1581
|
:return: ListServiceSasResponse or the result of cls(response)
|
1686
1582
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ListServiceSasResponse
|
1687
1583
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1692,7 +1588,7 @@ class StorageAccountsOperations:
|
|
1692
1588
|
self,
|
1693
1589
|
resource_group_name: str,
|
1694
1590
|
account_name: str,
|
1695
|
-
parameters: IO,
|
1591
|
+
parameters: IO[bytes],
|
1696
1592
|
*,
|
1697
1593
|
content_type: str = "application/json",
|
1698
1594
|
**kwargs: Any
|
@@ -1707,11 +1603,10 @@ class StorageAccountsOperations:
|
|
1707
1603
|
lower-case letters only. Required.
|
1708
1604
|
:type account_name: str
|
1709
1605
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1710
|
-
:type parameters: IO
|
1606
|
+
:type parameters: IO[bytes]
|
1711
1607
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1712
1608
|
Default value is "application/json".
|
1713
1609
|
:paramtype content_type: str
|
1714
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1715
1610
|
:return: ListServiceSasResponse or the result of cls(response)
|
1716
1611
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ListServiceSasResponse
|
1717
1612
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1722,7 +1617,7 @@ class StorageAccountsOperations:
|
|
1722
1617
|
self,
|
1723
1618
|
resource_group_name: str,
|
1724
1619
|
account_name: str,
|
1725
|
-
parameters: Union[_models.ServiceSasParameters, IO],
|
1620
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1726
1621
|
**kwargs: Any
|
1727
1622
|
) -> _models.ListServiceSasResponse:
|
1728
1623
|
"""List service SAS credentials of a specific resource.
|
@@ -1735,17 +1630,13 @@ class StorageAccountsOperations:
|
|
1735
1630
|
lower-case letters only. Required.
|
1736
1631
|
:type account_name: str
|
1737
1632
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1738
|
-
ServiceSasParameters type or a IO type. Required.
|
1739
|
-
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.ServiceSasParameters or IO
|
1740
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1741
|
-
Default value is None.
|
1742
|
-
:paramtype content_type: str
|
1743
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1633
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1634
|
+
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.ServiceSasParameters or IO[bytes]
|
1744
1635
|
:return: ListServiceSasResponse or the result of cls(response)
|
1745
1636
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ListServiceSasResponse
|
1746
1637
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1747
1638
|
"""
|
1748
|
-
error_map = {
|
1639
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1749
1640
|
401: ClientAuthenticationError,
|
1750
1641
|
404: ResourceNotFoundError,
|
1751
1642
|
409: ResourceExistsError,
|
@@ -1768,7 +1659,7 @@ class StorageAccountsOperations:
|
|
1768
1659
|
else:
|
1769
1660
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1770
1661
|
|
1771
|
-
|
1662
|
+
_request = build_list_service_sas_request(
|
1772
1663
|
resource_group_name=resource_group_name,
|
1773
1664
|
account_name=account_name,
|
1774
1665
|
subscription_id=self._config.subscription_id,
|
@@ -1776,16 +1667,15 @@ class StorageAccountsOperations:
|
|
1776
1667
|
content_type=content_type,
|
1777
1668
|
json=_json,
|
1778
1669
|
content=_content,
|
1779
|
-
template_url=self.list_service_sas.metadata["url"],
|
1780
1670
|
headers=_headers,
|
1781
1671
|
params=_params,
|
1782
1672
|
)
|
1783
|
-
|
1784
|
-
|
1673
|
+
_request = _convert_request(_request)
|
1674
|
+
_request.url = self._client.format_url(_request.url)
|
1785
1675
|
|
1786
1676
|
_stream = False
|
1787
1677
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1788
|
-
|
1678
|
+
_request, stream=_stream, **kwargs
|
1789
1679
|
)
|
1790
1680
|
|
1791
1681
|
response = pipeline_response.http_response
|
@@ -1797,18 +1687,14 @@ class StorageAccountsOperations:
|
|
1797
1687
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1798
1688
|
|
1799
1689
|
if cls:
|
1800
|
-
return cls(pipeline_response, deserialized, {})
|
1690
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1801
1691
|
|
1802
|
-
return deserialized
|
1803
|
-
|
1804
|
-
list_service_sas.metadata = {
|
1805
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1806
|
-
}
|
1692
|
+
return deserialized # type: ignore
|
1807
1693
|
|
1808
1694
|
def _failover_initial( # pylint: disable=inconsistent-return-statements
|
1809
1695
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1810
1696
|
) -> None:
|
1811
|
-
error_map = {
|
1697
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1812
1698
|
401: ClientAuthenticationError,
|
1813
1699
|
404: ResourceNotFoundError,
|
1814
1700
|
409: ResourceExistsError,
|
@@ -1822,21 +1708,20 @@ class StorageAccountsOperations:
|
|
1822
1708
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
1823
1709
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1824
1710
|
|
1825
|
-
|
1711
|
+
_request = build_failover_request(
|
1826
1712
|
resource_group_name=resource_group_name,
|
1827
1713
|
account_name=account_name,
|
1828
1714
|
subscription_id=self._config.subscription_id,
|
1829
1715
|
api_version=api_version,
|
1830
|
-
template_url=self._failover_initial.metadata["url"],
|
1831
1716
|
headers=_headers,
|
1832
1717
|
params=_params,
|
1833
1718
|
)
|
1834
|
-
|
1835
|
-
|
1719
|
+
_request = _convert_request(_request)
|
1720
|
+
_request.url = self._client.format_url(_request.url)
|
1836
1721
|
|
1837
1722
|
_stream = False
|
1838
1723
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1839
|
-
|
1724
|
+
_request, stream=_stream, **kwargs
|
1840
1725
|
)
|
1841
1726
|
|
1842
1727
|
response = pipeline_response.http_response
|
@@ -1846,11 +1731,7 @@ class StorageAccountsOperations:
|
|
1846
1731
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1847
1732
|
|
1848
1733
|
if cls:
|
1849
|
-
return cls(pipeline_response, None, {})
|
1850
|
-
|
1851
|
-
_failover_initial.metadata = {
|
1852
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1853
|
-
}
|
1734
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1854
1735
|
|
1855
1736
|
@distributed_trace
|
1856
1737
|
def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> LROPoller[None]:
|
@@ -1865,14 +1746,6 @@ class StorageAccountsOperations:
|
|
1865
1746
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1866
1747
|
lower-case letters only. Required.
|
1867
1748
|
:type account_name: str
|
1868
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1869
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1870
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
1871
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
1872
|
-
strategy.
|
1873
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
1874
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1875
|
-
Retry-After header is present.
|
1876
1749
|
:return: An instance of LROPoller that returns either None or the result of cls(response)
|
1877
1750
|
:rtype: ~azure.core.polling.LROPoller[None]
|
1878
1751
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1899,7 +1772,7 @@ class StorageAccountsOperations:
|
|
1899
1772
|
|
1900
1773
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
1901
1774
|
if cls:
|
1902
|
-
return cls(pipeline_response, None, {})
|
1775
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1903
1776
|
|
1904
1777
|
if polling is True:
|
1905
1778
|
polling_method: PollingMethod = cast(
|
@@ -1910,14 +1783,10 @@ class StorageAccountsOperations:
|
|
1910
1783
|
else:
|
1911
1784
|
polling_method = polling
|
1912
1785
|
if cont_token:
|
1913
|
-
return LROPoller.from_continuation_token(
|
1786
|
+
return LROPoller[None].from_continuation_token(
|
1914
1787
|
polling_method=polling_method,
|
1915
1788
|
continuation_token=cont_token,
|
1916
1789
|
client=self._client,
|
1917
1790
|
deserialization_callback=get_long_running_output,
|
1918
1791
|
)
|
1919
|
-
return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1920
|
-
|
1921
|
-
begin_failover.metadata = {
|
1922
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1923
|
-
}
|
1792
|
+
return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|