azure-mgmt-storage 21.1.0b1__py3-none-any.whl → 21.2.1__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 +66 -60
- azure/mgmt/storage/_storage_management_client.py +232 -26
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_configuration.py +2 -3
- azure/mgmt/storage/aio/_storage_management_client.py +232 -26
- azure/mgmt/storage/models.py +1 -1
- azure/mgmt/storage/v2015_06_15/_configuration.py +4 -11
- azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/_storage_management.py +25 -5
- azure/mgmt/storage/v2015_06_15/_vendor.py +0 -14
- azure/mgmt/storage/v2015_06_15/_version.py +1 -1
- azure/mgmt/storage/v2015_06_15/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +27 -5
- azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +132 -213
- azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
- azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +151 -232
- azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2016_01_01/_configuration.py +4 -11
- azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/_storage_management_client.py +25 -5
- azure/mgmt/storage/v2016_01_01/_vendor.py +0 -14
- azure/mgmt/storage/v2016_01_01/_version.py +1 -1
- azure/mgmt/storage/v2016_01_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +27 -5
- azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +132 -213
- azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
- azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +151 -232
- azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2016_12_01/_configuration.py +4 -11
- azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/_storage_management.py +25 -5
- azure/mgmt/storage/v2016_12_01/_vendor.py +0 -14
- azure/mgmt/storage/v2016_12_01/_version.py +1 -1
- azure/mgmt/storage/v2016_12_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +27 -5
- azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +162 -263
- azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
- azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +185 -286
- azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2017_06_01/_configuration.py +4 -11
- azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/_storage_management.py +27 -7
- azure/mgmt/storage/v2017_06_01/_vendor.py +0 -14
- azure/mgmt/storage/v2017_06_01/_version.py +1 -1
- azure/mgmt/storage/v2017_06_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +29 -7
- azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +162 -263
- azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_06_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +185 -286
- azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2017_10_01/_configuration.py +4 -11
- azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/_storage_management.py +27 -7
- azure/mgmt/storage/v2017_10_01/_vendor.py +0 -14
- azure/mgmt/storage/v2017_10_01/_version.py +1 -1
- azure/mgmt/storage/v2017_10_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +29 -7
- azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +162 -263
- azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_10_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +185 -286
- azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2018_02_01/_configuration.py +4 -11
- azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/_storage_management_client.py +30 -8
- azure/mgmt/storage/v2018_02_01/_vendor.py +0 -14
- azure/mgmt/storage/v2018_02_01/_version.py +1 -1
- azure/mgmt/storage/v2018_02_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +32 -8
- azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +166 -264
- azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +162 -263
- azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +34 -41
- azure/mgmt/storage/v2018_02_01/models/_models_py3.py +28 -34
- azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +194 -292
- azure/mgmt/storage/v2018_02_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +185 -286
- azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +39 -46
- azure/mgmt/storage/v2018_03_01_preview/_configuration.py +4 -11
- azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +41 -8
- azure/mgmt/storage/v2018_03_01_preview/_vendor.py +0 -14
- azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +43 -8
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/__init__.py +2 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +182 -277
- azure/mgmt/storage/{v2018_07_01 → v2018_03_01_preview}/aio/operations/_management_policies_operations.py +55 -72
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +21 -23
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +21 -23
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +209 -330
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +36 -43
- azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +30 -34
- azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/operations/__init__.py +2 -0
- azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +210 -331
- azure/mgmt/storage/{v2018_07_01 → v2018_03_01_preview}/operations/_management_policies_operations.py +62 -85
- azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +22 -26
- azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +24 -28
- azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +239 -388
- azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +41 -52
- azure/mgmt/storage/v2018_07_01/_configuration.py +9 -4
- azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/_storage_management_client.py +36 -16
- azure/mgmt/storage/v2018_07_01/_vendor.py +0 -14
- azure/mgmt/storage/v2018_07_01/_version.py +1 -1
- azure/mgmt/storage/v2018_07_01/aio/_configuration.py +9 -4
- azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +38 -16
- azure/mgmt/storage/v2018_07_01/aio/operations/__init__.py +0 -2
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +166 -264
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +31 -44
- azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +31 -21
- azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +31 -21
- azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +195 -289
- azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +31 -23
- azure/mgmt/storage/v2018_07_01/models/__init__.py +0 -10
- azure/mgmt/storage/v2018_07_01/models/_models_py3.py +30 -164
- azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +1 -7
- azure/mgmt/storage/v2018_07_01/operations/__init__.py +0 -2
- azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +194 -292
- azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +36 -49
- azure/mgmt/storage/v2018_07_01/operations/_operations.py +32 -22
- azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +34 -24
- azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +220 -314
- azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +34 -26
- azure/mgmt/storage/v2018_11_01/_configuration.py +4 -11
- azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/_storage_management_client.py +34 -10
- azure/mgmt/storage/v2018_11_01/_vendor.py +0 -14
- azure/mgmt/storage/v2018_11_01/_version.py +1 -1
- azure/mgmt/storage/v2018_11_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +36 -10
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +164 -262
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +31 -44
- azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +182 -304
- azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2018_11_01/models/_models_py3.py +37 -43
- azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +192 -290
- azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +36 -49
- azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2018_11_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +210 -332
- azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2019_04_01/_configuration.py +4 -11
- azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/_storage_management_client.py +40 -12
- azure/mgmt/storage/v2019_04_01/_vendor.py +0 -14
- azure/mgmt/storage/v2019_04_01/_version.py +1 -1
- azure/mgmt/storage/v2019_04_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +42 -12
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +169 -267
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +68 -101
- azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +183 -304
- azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2019_04_01/models/_models_py3.py +42 -48
- azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +197 -295
- azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +79 -112
- azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2019_04_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +211 -332
- azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2019_06_01/_configuration.py +4 -11
- azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/_storage_management_client.py +54 -22
- azure/mgmt/storage/v2019_06_01/_vendor.py +0 -14
- azure/mgmt/storage/v2019_06_01/_version.py +1 -1
- azure/mgmt/storage/v2019_06_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +56 -22
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +169 -267
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +82 -125
- azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +40 -58
- azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +203 -357
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +40 -58
- azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2019_06_01/models/_models_py3.py +62 -68
- azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +197 -295
- azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +95 -138
- azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2019_06_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +47 -65
- azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +233 -387
- azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +47 -65
- azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2020_08_01_preview/_configuration.py +4 -11
- azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +64 -24
- azure/mgmt/storage/v2020_08_01_preview/_vendor.py +0 -14
- azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +66 -24
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +185 -280
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +58 -80
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +49 -66
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +31 -38
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +64 -90
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +45 -62
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +88 -131
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +42 -60
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +59 -80
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +21 -23
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +57 -80
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +16 -20
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +73 -106
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +44 -61
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +21 -23
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +221 -374
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +60 -84
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +44 -61
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +21 -25
- azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +64 -86
- azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +213 -334
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +67 -97
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +56 -79
- azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +36 -47
- azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +73 -107
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +52 -75
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +101 -156
- azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +49 -73
- azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +68 -97
- azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +22 -26
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +66 -97
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +19 -25
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +84 -127
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +51 -74
- azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +24 -28
- azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +251 -432
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +71 -105
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +51 -74
- azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +24 -30
- azure/mgmt/storage/v2021_01_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/_storage_management_client.py +55 -23
- azure/mgmt/storage/v2021_01_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_01_01/_version.py +1 -1
- azure/mgmt/storage/v2021_01_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +57 -23
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +169 -267
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +82 -125
- azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +40 -58
- azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +203 -357
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +40 -58
- azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_01_01/models/_models_py3.py +64 -86
- azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +197 -295
- azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +95 -138
- azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_01_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +47 -65
- azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +233 -387
- azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +47 -65
- azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_02_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/_storage_management_client.py +55 -23
- azure/mgmt/storage/v2021_02_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_02_01/_version.py +1 -1
- azure/mgmt/storage/v2021_02_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +57 -23
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +169 -267
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +82 -125
- azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +40 -58
- azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +203 -357
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +40 -58
- azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_02_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +197 -295
- azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +95 -138
- azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_02_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +47 -65
- azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +233 -387
- azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +47 -65
- azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_04_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/_storage_management_client.py +55 -23
- azure/mgmt/storage/v2021_04_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_04_01/_version.py +1 -1
- azure/mgmt/storage/v2021_04_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +57 -23
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +181 -295
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +40 -58
- azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +203 -357
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +40 -58
- azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_04_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +211 -325
- azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_04_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +47 -65
- azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +233 -387
- azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +47 -65
- azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_06_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/_storage_management_client.py +55 -23
- azure/mgmt/storage/v2021_06_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_06_01/_version.py +1 -1
- azure/mgmt/storage/v2021_06_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +57 -23
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_06_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_06_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_08_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/_storage_management_client.py +59 -25
- azure/mgmt/storage/v2021_08_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_08_01/_version.py +1 -1
- azure/mgmt/storage/v2021_08_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +61 -25
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +71 -104
- azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_08_01/models/_models_py3.py +68 -90
- azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +84 -117
- azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_08_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_09_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/_storage_management_client.py +59 -25
- azure/mgmt/storage/v2021_09_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_09_01/_version.py +1 -1
- azure/mgmt/storage/v2021_09_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +61 -25
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +71 -104
- azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +70 -103
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_09_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +84 -117
- azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_09_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +81 -114
- azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2022_05_01/_configuration.py +4 -11
- azure/mgmt/storage/v2022_05_01/_storage_management_client.py +59 -25
- azure/mgmt/storage/v2022_05_01/_vendor.py +0 -14
- azure/mgmt/storage/v2022_05_01/_version.py +1 -1
- azure/mgmt/storage/v2022_05_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +61 -25
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +71 -104
- azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +70 -103
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2022_05_01/models/_models_py3.py +69 -91
- azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +84 -117
- azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2022_05_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +81 -114
- azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2022_09_01/_configuration.py +4 -11
- azure/mgmt/storage/v2022_09_01/_storage_management_client.py +59 -25
- azure/mgmt/storage/v2022_09_01/_vendor.py +0 -14
- azure/mgmt/storage/v2022_09_01/_version.py +1 -1
- azure/mgmt/storage/v2022_09_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +61 -25
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +71 -104
- azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +70 -103
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2022_09_01/models/_models_py3.py +69 -91
- azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +84 -117
- azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2022_09_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +81 -114
- azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2023_01_01/__init__.py +26 -0
- azure/mgmt/storage/v2023_01_01/_configuration.py +65 -0
- azure/mgmt/storage/v2023_01_01/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/_storage_management_client.py +225 -0
- azure/mgmt/storage/v2023_01_01/_vendor.py +16 -0
- azure/mgmt/storage/v2023_01_01/_version.py +9 -0
- azure/mgmt/storage/v2023_01_01/aio/__init__.py +23 -0
- azure/mgmt/storage/v2023_01_01/aio/_configuration.py +65 -0
- azure/mgmt/storage/v2023_01_01/aio/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +230 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/__init__.py +57 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +1838 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +362 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +194 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +568 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +328 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +1003 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +560 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +349 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +446 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +135 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +117 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +608 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +328 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +136 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +2187 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +588 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +328 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +139 -0
- azure/mgmt/storage/v2023_01_01/models/__init__.py +461 -0
- azure/mgmt/storage/v2023_01_01/models/_models_py3.py +8338 -0
- azure/mgmt/storage/v2023_01_01/models/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +626 -0
- azure/mgmt/storage/v2023_01_01/operations/__init__.py +57 -0
- azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +2398 -0
- azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +595 -0
- azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +470 -0
- azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +250 -0
- azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +732 -0
- azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +437 -0
- azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +1310 -0
- azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +770 -0
- azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +465 -0
- azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +593 -0
- azure/mgmt/storage/v2023_01_01/operations/_operations.py +156 -0
- azure/mgmt/storage/v2023_01_01/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +591 -0
- azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +155 -0
- azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +824 -0
- azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +437 -0
- azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +162 -0
- azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +2796 -0
- azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +775 -0
- azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +437 -0
- azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +169 -0
- 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.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/METADATA +52 -13
- azure_mgmt_storage-21.2.1.dist-info/RECORD +979 -0
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/WHEEL +1 -1
- azure_mgmt_storage-21.1.0b1.dist-info/RECORD +0 -855
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.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.
|
@@ -6,8 +6,9 @@
|
|
6
6
|
# Code generated by Microsoft (R) AutoRest Code Generator.
|
7
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
8
|
# --------------------------------------------------------------------------
|
9
|
+
from io import IOBase
|
9
10
|
import sys
|
10
|
-
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload
|
11
|
+
from typing import Any, AsyncIterable, Callable, Dict, IO, Literal, Optional, Type, TypeVar, Union, cast, overload
|
11
12
|
import urllib.parse
|
12
13
|
|
13
14
|
from azure.core.async_paging import AsyncItemPaged, AsyncList
|
@@ -48,10 +49,10 @@ from ...operations._storage_accounts_operations import (
|
|
48
49
|
build_update_request,
|
49
50
|
)
|
50
51
|
|
51
|
-
if sys.version_info >= (3,
|
52
|
-
from
|
52
|
+
if sys.version_info >= (3, 9):
|
53
|
+
from collections.abc import MutableMapping
|
53
54
|
else:
|
54
|
-
from
|
55
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
55
56
|
T = TypeVar("T")
|
56
57
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
57
58
|
|
@@ -74,6 +75,7 @@ class StorageAccountsOperations:
|
|
74
75
|
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
75
76
|
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
76
77
|
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
78
|
+
self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
|
77
79
|
|
78
80
|
@overload
|
79
81
|
async def check_name_availability(
|
@@ -93,7 +95,6 @@ class StorageAccountsOperations:
|
|
93
95
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
94
96
|
Default value is "application/json".
|
95
97
|
:paramtype content_type: str
|
96
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
97
98
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
98
99
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.CheckNameAvailabilityResult
|
99
100
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -101,18 +102,17 @@ class StorageAccountsOperations:
|
|
101
102
|
|
102
103
|
@overload
|
103
104
|
async def check_name_availability(
|
104
|
-
self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
|
105
|
+
self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
|
105
106
|
) -> _models.CheckNameAvailabilityResult:
|
106
107
|
"""Checks that the storage account name is valid and is not already in use.
|
107
108
|
|
108
109
|
:param account_name: The name of the storage account within the specified resource group.
|
109
110
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
110
111
|
lower-case letters only. Required.
|
111
|
-
:type account_name: IO
|
112
|
+
:type account_name: IO[bytes]
|
112
113
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
113
114
|
Default value is "application/json".
|
114
115
|
:paramtype content_type: str
|
115
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
116
116
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
117
117
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.CheckNameAvailabilityResult
|
118
118
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -120,26 +120,22 @@ class StorageAccountsOperations:
|
|
120
120
|
|
121
121
|
@distributed_trace_async
|
122
122
|
async def check_name_availability(
|
123
|
-
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
|
123
|
+
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
|
124
124
|
) -> _models.CheckNameAvailabilityResult:
|
125
125
|
"""Checks that the storage account name is valid and is not already in use.
|
126
126
|
|
127
127
|
:param account_name: The name of the storage account within the specified resource group.
|
128
128
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
129
|
-
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
130
|
-
type. Required.
|
129
|
+
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
130
|
+
IO[bytes] type. Required.
|
131
131
|
:type account_name:
|
132
132
|
~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountCheckNameAvailabilityParameters or
|
133
|
-
IO
|
134
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
135
|
-
Default value is None.
|
136
|
-
:paramtype content_type: str
|
137
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
133
|
+
IO[bytes]
|
138
134
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
139
135
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.CheckNameAvailabilityResult
|
140
136
|
:raises ~azure.core.exceptions.HttpResponseError:
|
141
137
|
"""
|
142
|
-
error_map = {
|
138
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
143
139
|
401: ClientAuthenticationError,
|
144
140
|
404: ResourceNotFoundError,
|
145
141
|
409: ResourceExistsError,
|
@@ -150,8 +146,8 @@ class StorageAccountsOperations:
|
|
150
146
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
151
147
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
152
148
|
|
153
|
-
api_version:
|
154
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
149
|
+
api_version: str = kwargs.pop(
|
150
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
155
151
|
)
|
156
152
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
157
153
|
cls: ClsType[_models.CheckNameAvailabilityResult] = kwargs.pop("cls", None)
|
@@ -159,26 +155,26 @@ class StorageAccountsOperations:
|
|
159
155
|
content_type = content_type or "application/json"
|
160
156
|
_json = None
|
161
157
|
_content = None
|
162
|
-
if isinstance(account_name, (
|
158
|
+
if isinstance(account_name, (IOBase, bytes)):
|
163
159
|
_content = account_name
|
164
160
|
else:
|
165
161
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
166
162
|
|
167
|
-
|
163
|
+
_request = build_check_name_availability_request(
|
168
164
|
subscription_id=self._config.subscription_id,
|
169
165
|
api_version=api_version,
|
170
166
|
content_type=content_type,
|
171
167
|
json=_json,
|
172
168
|
content=_content,
|
173
|
-
template_url=self.check_name_availability.metadata["url"],
|
174
169
|
headers=_headers,
|
175
170
|
params=_params,
|
176
171
|
)
|
177
|
-
|
178
|
-
|
172
|
+
_request = _convert_request(_request)
|
173
|
+
_request.url = self._client.format_url(_request.url)
|
179
174
|
|
175
|
+
_stream = False
|
180
176
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
181
|
-
|
177
|
+
_request, stream=_stream, **kwargs
|
182
178
|
)
|
183
179
|
|
184
180
|
response = pipeline_response.http_response
|
@@ -190,22 +186,18 @@ class StorageAccountsOperations:
|
|
190
186
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
191
187
|
|
192
188
|
if cls:
|
193
|
-
return cls(pipeline_response, deserialized, {})
|
194
|
-
|
195
|
-
return deserialized
|
189
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
196
190
|
|
197
|
-
|
198
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
199
|
-
}
|
191
|
+
return deserialized # type: ignore
|
200
192
|
|
201
193
|
async def _create_initial(
|
202
194
|
self,
|
203
195
|
resource_group_name: str,
|
204
196
|
account_name: str,
|
205
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
197
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
206
198
|
**kwargs: Any
|
207
199
|
) -> Optional[_models.StorageAccount]:
|
208
|
-
error_map = {
|
200
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
209
201
|
401: ClientAuthenticationError,
|
210
202
|
404: ResourceNotFoundError,
|
211
203
|
409: ResourceExistsError,
|
@@ -216,8 +208,8 @@ class StorageAccountsOperations:
|
|
216
208
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
217
209
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
218
210
|
|
219
|
-
api_version:
|
220
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
211
|
+
api_version: str = kwargs.pop(
|
212
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
221
213
|
)
|
222
214
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
223
215
|
cls: ClsType[Optional[_models.StorageAccount]] = kwargs.pop("cls", None)
|
@@ -225,12 +217,12 @@ class StorageAccountsOperations:
|
|
225
217
|
content_type = content_type or "application/json"
|
226
218
|
_json = None
|
227
219
|
_content = None
|
228
|
-
if isinstance(parameters, (
|
220
|
+
if isinstance(parameters, (IOBase, bytes)):
|
229
221
|
_content = parameters
|
230
222
|
else:
|
231
223
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
232
224
|
|
233
|
-
|
225
|
+
_request = build_create_request(
|
234
226
|
resource_group_name=resource_group_name,
|
235
227
|
account_name=account_name,
|
236
228
|
subscription_id=self._config.subscription_id,
|
@@ -238,15 +230,15 @@ class StorageAccountsOperations:
|
|
238
230
|
content_type=content_type,
|
239
231
|
json=_json,
|
240
232
|
content=_content,
|
241
|
-
template_url=self._create_initial.metadata["url"],
|
242
233
|
headers=_headers,
|
243
234
|
params=_params,
|
244
235
|
)
|
245
|
-
|
246
|
-
|
236
|
+
_request = _convert_request(_request)
|
237
|
+
_request.url = self._client.format_url(_request.url)
|
247
238
|
|
239
|
+
_stream = False
|
248
240
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
249
|
-
|
241
|
+
_request, stream=_stream, **kwargs
|
250
242
|
)
|
251
243
|
|
252
244
|
response = pipeline_response.http_response
|
@@ -260,13 +252,9 @@ class StorageAccountsOperations:
|
|
260
252
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
261
253
|
|
262
254
|
if cls:
|
263
|
-
return cls(pipeline_response, deserialized, {})
|
264
|
-
|
265
|
-
return deserialized
|
255
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
266
256
|
|
267
|
-
|
268
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
269
|
-
}
|
257
|
+
return deserialized # type: ignore
|
270
258
|
|
271
259
|
@overload
|
272
260
|
async def begin_create(
|
@@ -295,14 +283,6 @@ class StorageAccountsOperations:
|
|
295
283
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
296
284
|
Default value is "application/json".
|
297
285
|
:paramtype content_type: str
|
298
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
299
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
300
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
301
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
302
|
-
polling strategy.
|
303
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
304
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
305
|
-
Retry-After header is present.
|
306
286
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
307
287
|
cls(response)
|
308
288
|
:rtype:
|
@@ -315,7 +295,7 @@ class StorageAccountsOperations:
|
|
315
295
|
self,
|
316
296
|
resource_group_name: str,
|
317
297
|
account_name: str,
|
318
|
-
parameters: IO,
|
298
|
+
parameters: IO[bytes],
|
319
299
|
*,
|
320
300
|
content_type: str = "application/json",
|
321
301
|
**kwargs: Any
|
@@ -333,18 +313,10 @@ class StorageAccountsOperations:
|
|
333
313
|
lower-case letters only. Required.
|
334
314
|
:type account_name: str
|
335
315
|
:param parameters: The parameters to provide for the created account. Required.
|
336
|
-
:type parameters: IO
|
316
|
+
:type parameters: IO[bytes]
|
337
317
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
338
318
|
Default value is "application/json".
|
339
319
|
:paramtype content_type: str
|
340
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
341
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
342
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
343
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
344
|
-
polling strategy.
|
345
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
346
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
347
|
-
Retry-After header is present.
|
348
320
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
349
321
|
cls(response)
|
350
322
|
:rtype:
|
@@ -357,7 +329,7 @@ class StorageAccountsOperations:
|
|
357
329
|
self,
|
358
330
|
resource_group_name: str,
|
359
331
|
account_name: str,
|
360
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
332
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
361
333
|
**kwargs: Any
|
362
334
|
) -> AsyncLROPoller[_models.StorageAccount]:
|
363
335
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -373,20 +345,9 @@ class StorageAccountsOperations:
|
|
373
345
|
lower-case letters only. Required.
|
374
346
|
:type account_name: str
|
375
347
|
:param parameters: The parameters to provide for the created account. Is either a
|
376
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
348
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
377
349
|
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountCreateParameters
|
378
|
-
or IO
|
379
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
380
|
-
Default value is None.
|
381
|
-
:paramtype content_type: str
|
382
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
383
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
384
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
385
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
386
|
-
polling strategy.
|
387
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
388
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
389
|
-
Retry-After header is present.
|
350
|
+
or IO[bytes]
|
390
351
|
:return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
|
391
352
|
cls(response)
|
392
353
|
:rtype:
|
@@ -396,8 +357,8 @@ class StorageAccountsOperations:
|
|
396
357
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
397
358
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
398
359
|
|
399
|
-
api_version:
|
400
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
360
|
+
api_version: str = kwargs.pop(
|
361
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
401
362
|
)
|
402
363
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
403
364
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
@@ -421,7 +382,7 @@ class StorageAccountsOperations:
|
|
421
382
|
def get_long_running_output(pipeline_response):
|
422
383
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
423
384
|
if cls:
|
424
|
-
return cls(pipeline_response, deserialized, {})
|
385
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
425
386
|
return deserialized
|
426
387
|
|
427
388
|
if polling is True:
|
@@ -431,17 +392,15 @@ class StorageAccountsOperations:
|
|
431
392
|
else:
|
432
393
|
polling_method = polling
|
433
394
|
if cont_token:
|
434
|
-
return AsyncLROPoller.from_continuation_token(
|
395
|
+
return AsyncLROPoller[_models.StorageAccount].from_continuation_token(
|
435
396
|
polling_method=polling_method,
|
436
397
|
continuation_token=cont_token,
|
437
398
|
client=self._client,
|
438
399
|
deserialization_callback=get_long_running_output,
|
439
400
|
)
|
440
|
-
return AsyncLROPoller(
|
441
|
-
|
442
|
-
|
443
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
444
|
-
}
|
401
|
+
return AsyncLROPoller[_models.StorageAccount](
|
402
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
403
|
+
)
|
445
404
|
|
446
405
|
@distributed_trace_async
|
447
406
|
async def delete( # pylint: disable=inconsistent-return-statements
|
@@ -456,12 +415,11 @@ class StorageAccountsOperations:
|
|
456
415
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
457
416
|
lower-case letters only. Required.
|
458
417
|
:type account_name: str
|
459
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
460
418
|
:return: None or the result of cls(response)
|
461
419
|
:rtype: None
|
462
420
|
:raises ~azure.core.exceptions.HttpResponseError:
|
463
421
|
"""
|
464
|
-
error_map = {
|
422
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
465
423
|
401: ClientAuthenticationError,
|
466
424
|
404: ResourceNotFoundError,
|
467
425
|
409: ResourceExistsError,
|
@@ -472,25 +430,25 @@ class StorageAccountsOperations:
|
|
472
430
|
_headers = kwargs.pop("headers", {}) or {}
|
473
431
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
474
432
|
|
475
|
-
api_version:
|
476
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
433
|
+
api_version: str = kwargs.pop(
|
434
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
477
435
|
)
|
478
436
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
479
437
|
|
480
|
-
|
438
|
+
_request = build_delete_request(
|
481
439
|
resource_group_name=resource_group_name,
|
482
440
|
account_name=account_name,
|
483
441
|
subscription_id=self._config.subscription_id,
|
484
442
|
api_version=api_version,
|
485
|
-
template_url=self.delete.metadata["url"],
|
486
443
|
headers=_headers,
|
487
444
|
params=_params,
|
488
445
|
)
|
489
|
-
|
490
|
-
|
446
|
+
_request = _convert_request(_request)
|
447
|
+
_request.url = self._client.format_url(_request.url)
|
491
448
|
|
449
|
+
_stream = False
|
492
450
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
493
|
-
|
451
|
+
_request, stream=_stream, **kwargs
|
494
452
|
)
|
495
453
|
|
496
454
|
response = pipeline_response.http_response
|
@@ -500,11 +458,7 @@ class StorageAccountsOperations:
|
|
500
458
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
501
459
|
|
502
460
|
if cls:
|
503
|
-
return cls(pipeline_response, None, {})
|
504
|
-
|
505
|
-
delete.metadata = {
|
506
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
507
|
-
}
|
461
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
508
462
|
|
509
463
|
@distributed_trace_async
|
510
464
|
async def get_properties(
|
@@ -530,12 +484,11 @@ class StorageAccountsOperations:
|
|
530
484
|
and blobRestoreStatus. Known values are: "geoReplicationStats" and "blobRestoreStatus". Default
|
531
485
|
value is None.
|
532
486
|
:type expand: str or ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountExpand
|
533
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
534
487
|
:return: StorageAccount or the result of cls(response)
|
535
488
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
|
536
489
|
:raises ~azure.core.exceptions.HttpResponseError:
|
537
490
|
"""
|
538
|
-
error_map = {
|
491
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
539
492
|
401: ClientAuthenticationError,
|
540
493
|
404: ResourceNotFoundError,
|
541
494
|
409: ResourceExistsError,
|
@@ -546,26 +499,26 @@ class StorageAccountsOperations:
|
|
546
499
|
_headers = kwargs.pop("headers", {}) or {}
|
547
500
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
548
501
|
|
549
|
-
api_version:
|
550
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
502
|
+
api_version: str = kwargs.pop(
|
503
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
551
504
|
)
|
552
505
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
553
506
|
|
554
|
-
|
507
|
+
_request = build_get_properties_request(
|
555
508
|
resource_group_name=resource_group_name,
|
556
509
|
account_name=account_name,
|
557
510
|
subscription_id=self._config.subscription_id,
|
558
511
|
expand=expand,
|
559
512
|
api_version=api_version,
|
560
|
-
template_url=self.get_properties.metadata["url"],
|
561
513
|
headers=_headers,
|
562
514
|
params=_params,
|
563
515
|
)
|
564
|
-
|
565
|
-
|
516
|
+
_request = _convert_request(_request)
|
517
|
+
_request.url = self._client.format_url(_request.url)
|
566
518
|
|
519
|
+
_stream = False
|
567
520
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
568
|
-
|
521
|
+
_request, stream=_stream, **kwargs
|
569
522
|
)
|
570
523
|
|
571
524
|
response = pipeline_response.http_response
|
@@ -577,13 +530,9 @@ class StorageAccountsOperations:
|
|
577
530
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
578
531
|
|
579
532
|
if cls:
|
580
|
-
return cls(pipeline_response, deserialized, {})
|
581
|
-
|
582
|
-
return deserialized
|
533
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
583
534
|
|
584
|
-
|
585
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
586
|
-
}
|
535
|
+
return deserialized # type: ignore
|
587
536
|
|
588
537
|
@overload
|
589
538
|
async def update(
|
@@ -616,7 +565,6 @@ class StorageAccountsOperations:
|
|
616
565
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
617
566
|
Default value is "application/json".
|
618
567
|
:paramtype content_type: str
|
619
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
620
568
|
:return: StorageAccount or the result of cls(response)
|
621
569
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
|
622
570
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -627,7 +575,7 @@ class StorageAccountsOperations:
|
|
627
575
|
self,
|
628
576
|
resource_group_name: str,
|
629
577
|
account_name: str,
|
630
|
-
parameters: IO,
|
578
|
+
parameters: IO[bytes],
|
631
579
|
*,
|
632
580
|
content_type: str = "application/json",
|
633
581
|
**kwargs: Any
|
@@ -649,11 +597,10 @@ class StorageAccountsOperations:
|
|
649
597
|
lower-case letters only. Required.
|
650
598
|
:type account_name: str
|
651
599
|
:param parameters: The parameters to provide for the updated account. Required.
|
652
|
-
:type parameters: IO
|
600
|
+
:type parameters: IO[bytes]
|
653
601
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
654
602
|
Default value is "application/json".
|
655
603
|
:paramtype content_type: str
|
656
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
657
604
|
:return: StorageAccount or the result of cls(response)
|
658
605
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
|
659
606
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -664,7 +611,7 @@ class StorageAccountsOperations:
|
|
664
611
|
self,
|
665
612
|
resource_group_name: str,
|
666
613
|
account_name: str,
|
667
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
614
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
668
615
|
**kwargs: Any
|
669
616
|
) -> _models.StorageAccount:
|
670
617
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -684,18 +631,14 @@ class StorageAccountsOperations:
|
|
684
631
|
lower-case letters only. Required.
|
685
632
|
:type account_name: str
|
686
633
|
:param parameters: The parameters to provide for the updated account. Is either a
|
687
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
634
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
688
635
|
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountUpdateParameters
|
689
|
-
or IO
|
690
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
691
|
-
Default value is None.
|
692
|
-
:paramtype content_type: str
|
693
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
636
|
+
or IO[bytes]
|
694
637
|
:return: StorageAccount or the result of cls(response)
|
695
638
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
|
696
639
|
:raises ~azure.core.exceptions.HttpResponseError:
|
697
640
|
"""
|
698
|
-
error_map = {
|
641
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
699
642
|
401: ClientAuthenticationError,
|
700
643
|
404: ResourceNotFoundError,
|
701
644
|
409: ResourceExistsError,
|
@@ -706,8 +649,8 @@ class StorageAccountsOperations:
|
|
706
649
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
707
650
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
708
651
|
|
709
|
-
api_version:
|
710
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
652
|
+
api_version: str = kwargs.pop(
|
653
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
711
654
|
)
|
712
655
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
713
656
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
@@ -715,12 +658,12 @@ class StorageAccountsOperations:
|
|
715
658
|
content_type = content_type or "application/json"
|
716
659
|
_json = None
|
717
660
|
_content = None
|
718
|
-
if isinstance(parameters, (
|
661
|
+
if isinstance(parameters, (IOBase, bytes)):
|
719
662
|
_content = parameters
|
720
663
|
else:
|
721
664
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
722
665
|
|
723
|
-
|
666
|
+
_request = build_update_request(
|
724
667
|
resource_group_name=resource_group_name,
|
725
668
|
account_name=account_name,
|
726
669
|
subscription_id=self._config.subscription_id,
|
@@ -728,15 +671,15 @@ class StorageAccountsOperations:
|
|
728
671
|
content_type=content_type,
|
729
672
|
json=_json,
|
730
673
|
content=_content,
|
731
|
-
template_url=self.update.metadata["url"],
|
732
674
|
headers=_headers,
|
733
675
|
params=_params,
|
734
676
|
)
|
735
|
-
|
736
|
-
|
677
|
+
_request = _convert_request(_request)
|
678
|
+
_request.url = self._client.format_url(_request.url)
|
737
679
|
|
680
|
+
_stream = False
|
738
681
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
739
|
-
|
682
|
+
_request, stream=_stream, **kwargs
|
740
683
|
)
|
741
684
|
|
742
685
|
response = pipeline_response.http_response
|
@@ -748,20 +691,15 @@ class StorageAccountsOperations:
|
|
748
691
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
749
692
|
|
750
693
|
if cls:
|
751
|
-
return cls(pipeline_response, deserialized, {})
|
752
|
-
|
753
|
-
return deserialized
|
694
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
754
695
|
|
755
|
-
|
756
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
757
|
-
}
|
696
|
+
return deserialized # type: ignore
|
758
697
|
|
759
698
|
@distributed_trace
|
760
699
|
def list(self, **kwargs: Any) -> AsyncIterable["_models.StorageAccount"]:
|
761
700
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
762
701
|
returned; use the ListKeys operation for this.
|
763
702
|
|
764
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
765
703
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
766
704
|
:rtype:
|
767
705
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount]
|
@@ -770,12 +708,12 @@ class StorageAccountsOperations:
|
|
770
708
|
_headers = kwargs.pop("headers", {}) or {}
|
771
709
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
772
710
|
|
773
|
-
api_version:
|
774
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
711
|
+
api_version: str = kwargs.pop(
|
712
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
775
713
|
)
|
776
714
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
777
715
|
|
778
|
-
error_map = {
|
716
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
779
717
|
401: ClientAuthenticationError,
|
780
718
|
404: ResourceNotFoundError,
|
781
719
|
409: ResourceExistsError,
|
@@ -786,15 +724,14 @@ class StorageAccountsOperations:
|
|
786
724
|
def prepare_request(next_link=None):
|
787
725
|
if not next_link:
|
788
726
|
|
789
|
-
|
727
|
+
_request = build_list_request(
|
790
728
|
subscription_id=self._config.subscription_id,
|
791
729
|
api_version=api_version,
|
792
|
-
template_url=self.list.metadata["url"],
|
793
730
|
headers=_headers,
|
794
731
|
params=_params,
|
795
732
|
)
|
796
|
-
|
797
|
-
|
733
|
+
_request = _convert_request(_request)
|
734
|
+
_request.url = self._client.format_url(_request.url)
|
798
735
|
|
799
736
|
else:
|
800
737
|
# make call to next link with the client's api-version
|
@@ -805,14 +742,14 @@ class StorageAccountsOperations:
|
|
805
742
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
806
743
|
}
|
807
744
|
)
|
808
|
-
_next_request_params["api-version"] = self.
|
809
|
-
|
745
|
+
_next_request_params["api-version"] = self._api_version
|
746
|
+
_request = HttpRequest(
|
810
747
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
811
748
|
)
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
return
|
749
|
+
_request = _convert_request(_request)
|
750
|
+
_request.url = self._client.format_url(_request.url)
|
751
|
+
_request.method = "GET"
|
752
|
+
return _request
|
816
753
|
|
817
754
|
async def extract_data(pipeline_response):
|
818
755
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -822,10 +759,11 @@ class StorageAccountsOperations:
|
|
822
759
|
return deserialized.next_link or None, AsyncList(list_of_elem)
|
823
760
|
|
824
761
|
async def get_next(next_link=None):
|
825
|
-
|
762
|
+
_request = prepare_request(next_link)
|
826
763
|
|
764
|
+
_stream = False
|
827
765
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
828
|
-
|
766
|
+
_request, stream=_stream, **kwargs
|
829
767
|
)
|
830
768
|
response = pipeline_response.http_response
|
831
769
|
|
@@ -837,8 +775,6 @@ class StorageAccountsOperations:
|
|
837
775
|
|
838
776
|
return AsyncItemPaged(get_next, extract_data)
|
839
777
|
|
840
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
841
|
-
|
842
778
|
@distributed_trace
|
843
779
|
def list_by_resource_group(
|
844
780
|
self, resource_group_name: str, **kwargs: Any
|
@@ -849,7 +785,6 @@ class StorageAccountsOperations:
|
|
849
785
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
850
786
|
name is case insensitive. Required.
|
851
787
|
:type resource_group_name: str
|
852
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
853
788
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
854
789
|
:rtype:
|
855
790
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount]
|
@@ -858,12 +793,12 @@ class StorageAccountsOperations:
|
|
858
793
|
_headers = kwargs.pop("headers", {}) or {}
|
859
794
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
860
795
|
|
861
|
-
api_version:
|
862
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
796
|
+
api_version: str = kwargs.pop(
|
797
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
863
798
|
)
|
864
799
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
865
800
|
|
866
|
-
error_map = {
|
801
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
867
802
|
401: ClientAuthenticationError,
|
868
803
|
404: ResourceNotFoundError,
|
869
804
|
409: ResourceExistsError,
|
@@ -874,16 +809,15 @@ class StorageAccountsOperations:
|
|
874
809
|
def prepare_request(next_link=None):
|
875
810
|
if not next_link:
|
876
811
|
|
877
|
-
|
812
|
+
_request = build_list_by_resource_group_request(
|
878
813
|
resource_group_name=resource_group_name,
|
879
814
|
subscription_id=self._config.subscription_id,
|
880
815
|
api_version=api_version,
|
881
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
882
816
|
headers=_headers,
|
883
817
|
params=_params,
|
884
818
|
)
|
885
|
-
|
886
|
-
|
819
|
+
_request = _convert_request(_request)
|
820
|
+
_request.url = self._client.format_url(_request.url)
|
887
821
|
|
888
822
|
else:
|
889
823
|
# make call to next link with the client's api-version
|
@@ -894,14 +828,14 @@ class StorageAccountsOperations:
|
|
894
828
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
895
829
|
}
|
896
830
|
)
|
897
|
-
_next_request_params["api-version"] = self.
|
898
|
-
|
831
|
+
_next_request_params["api-version"] = self._api_version
|
832
|
+
_request = HttpRequest(
|
899
833
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
900
834
|
)
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
return
|
835
|
+
_request = _convert_request(_request)
|
836
|
+
_request.url = self._client.format_url(_request.url)
|
837
|
+
_request.method = "GET"
|
838
|
+
return _request
|
905
839
|
|
906
840
|
async def extract_data(pipeline_response):
|
907
841
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -911,10 +845,11 @@ class StorageAccountsOperations:
|
|
911
845
|
return deserialized.next_link or None, AsyncList(list_of_elem)
|
912
846
|
|
913
847
|
async def get_next(next_link=None):
|
914
|
-
|
848
|
+
_request = prepare_request(next_link)
|
915
849
|
|
850
|
+
_stream = False
|
916
851
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
917
|
-
|
852
|
+
_request, stream=_stream, **kwargs
|
918
853
|
)
|
919
854
|
response = pipeline_response.http_response
|
920
855
|
|
@@ -926,10 +861,6 @@ class StorageAccountsOperations:
|
|
926
861
|
|
927
862
|
return AsyncItemPaged(get_next, extract_data)
|
928
863
|
|
929
|
-
list_by_resource_group.metadata = {
|
930
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
931
|
-
}
|
932
|
-
|
933
864
|
@distributed_trace_async
|
934
865
|
async def list_keys(
|
935
866
|
self, resource_group_name: str, account_name: str, expand: Literal["kerb"] = "kerb", **kwargs: Any
|
@@ -947,12 +878,11 @@ class StorageAccountsOperations:
|
|
947
878
|
:param expand: Specifies type of the key to be listed. Possible value is kerb. Known values are
|
948
879
|
"kerb" and None. Default value is "kerb".
|
949
880
|
:type expand: str
|
950
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
951
881
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
952
882
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
|
953
883
|
:raises ~azure.core.exceptions.HttpResponseError:
|
954
884
|
"""
|
955
|
-
error_map = {
|
885
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
956
886
|
401: ClientAuthenticationError,
|
957
887
|
404: ResourceNotFoundError,
|
958
888
|
409: ResourceExistsError,
|
@@ -963,26 +893,26 @@ class StorageAccountsOperations:
|
|
963
893
|
_headers = kwargs.pop("headers", {}) or {}
|
964
894
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
965
895
|
|
966
|
-
api_version:
|
967
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
896
|
+
api_version: str = kwargs.pop(
|
897
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
968
898
|
)
|
969
899
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
970
900
|
|
971
|
-
|
901
|
+
_request = build_list_keys_request(
|
972
902
|
resource_group_name=resource_group_name,
|
973
903
|
account_name=account_name,
|
974
904
|
subscription_id=self._config.subscription_id,
|
975
905
|
expand=expand,
|
976
906
|
api_version=api_version,
|
977
|
-
template_url=self.list_keys.metadata["url"],
|
978
907
|
headers=_headers,
|
979
908
|
params=_params,
|
980
909
|
)
|
981
|
-
|
982
|
-
|
910
|
+
_request = _convert_request(_request)
|
911
|
+
_request.url = self._client.format_url(_request.url)
|
983
912
|
|
913
|
+
_stream = False
|
984
914
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
985
|
-
|
915
|
+
_request, stream=_stream, **kwargs
|
986
916
|
)
|
987
917
|
|
988
918
|
response = pipeline_response.http_response
|
@@ -994,13 +924,9 @@ class StorageAccountsOperations:
|
|
994
924
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
995
925
|
|
996
926
|
if cls:
|
997
|
-
return cls(pipeline_response, deserialized, {})
|
998
|
-
|
999
|
-
return deserialized
|
927
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1000
928
|
|
1001
|
-
|
1002
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
1003
|
-
}
|
929
|
+
return deserialized # type: ignore
|
1004
930
|
|
1005
931
|
@overload
|
1006
932
|
async def regenerate_key(
|
@@ -1028,7 +954,6 @@ class StorageAccountsOperations:
|
|
1028
954
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1029
955
|
Default value is "application/json".
|
1030
956
|
:paramtype content_type: str
|
1031
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1032
957
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1033
958
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
|
1034
959
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1039,7 +964,7 @@ class StorageAccountsOperations:
|
|
1039
964
|
self,
|
1040
965
|
resource_group_name: str,
|
1041
966
|
account_name: str,
|
1042
|
-
regenerate_key: IO,
|
967
|
+
regenerate_key: IO[bytes],
|
1043
968
|
*,
|
1044
969
|
content_type: str = "application/json",
|
1045
970
|
**kwargs: Any
|
@@ -1055,11 +980,10 @@ class StorageAccountsOperations:
|
|
1055
980
|
:type account_name: str
|
1056
981
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1057
982
|
kerb1, kerb2. Required.
|
1058
|
-
:type regenerate_key: IO
|
983
|
+
:type regenerate_key: IO[bytes]
|
1059
984
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1060
985
|
Default value is "application/json".
|
1061
986
|
:paramtype content_type: str
|
1062
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1063
987
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1064
988
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
|
1065
989
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1070,7 +994,7 @@ class StorageAccountsOperations:
|
|
1070
994
|
self,
|
1071
995
|
resource_group_name: str,
|
1072
996
|
account_name: str,
|
1073
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
997
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1074
998
|
**kwargs: Any
|
1075
999
|
) -> _models.StorageAccountListKeysResult:
|
1076
1000
|
"""Regenerates one of the access keys or Kerberos keys for the specified storage account.
|
@@ -1083,18 +1007,16 @@ class StorageAccountsOperations:
|
|
1083
1007
|
lower-case letters only. Required.
|
1084
1008
|
:type account_name: str
|
1085
1009
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1086
|
-
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO type.
|
1010
|
+
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
|
1011
|
+
Required.
|
1087
1012
|
:type regenerate_key:
|
1088
|
-
~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountRegenerateKeyParameters or
|
1089
|
-
|
1090
|
-
Default value is None.
|
1091
|
-
:paramtype content_type: str
|
1092
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1013
|
+
~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountRegenerateKeyParameters or
|
1014
|
+
IO[bytes]
|
1093
1015
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1094
1016
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
|
1095
1017
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1096
1018
|
"""
|
1097
|
-
error_map = {
|
1019
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1098
1020
|
401: ClientAuthenticationError,
|
1099
1021
|
404: ResourceNotFoundError,
|
1100
1022
|
409: ResourceExistsError,
|
@@ -1105,8 +1027,8 @@ class StorageAccountsOperations:
|
|
1105
1027
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1106
1028
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1107
1029
|
|
1108
|
-
api_version:
|
1109
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1030
|
+
api_version: str = kwargs.pop(
|
1031
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1110
1032
|
)
|
1111
1033
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1112
1034
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
@@ -1114,12 +1036,12 @@ class StorageAccountsOperations:
|
|
1114
1036
|
content_type = content_type or "application/json"
|
1115
1037
|
_json = None
|
1116
1038
|
_content = None
|
1117
|
-
if isinstance(regenerate_key, (
|
1039
|
+
if isinstance(regenerate_key, (IOBase, bytes)):
|
1118
1040
|
_content = regenerate_key
|
1119
1041
|
else:
|
1120
1042
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1121
1043
|
|
1122
|
-
|
1044
|
+
_request = build_regenerate_key_request(
|
1123
1045
|
resource_group_name=resource_group_name,
|
1124
1046
|
account_name=account_name,
|
1125
1047
|
subscription_id=self._config.subscription_id,
|
@@ -1127,15 +1049,15 @@ class StorageAccountsOperations:
|
|
1127
1049
|
content_type=content_type,
|
1128
1050
|
json=_json,
|
1129
1051
|
content=_content,
|
1130
|
-
template_url=self.regenerate_key.metadata["url"],
|
1131
1052
|
headers=_headers,
|
1132
1053
|
params=_params,
|
1133
1054
|
)
|
1134
|
-
|
1135
|
-
|
1055
|
+
_request = _convert_request(_request)
|
1056
|
+
_request.url = self._client.format_url(_request.url)
|
1136
1057
|
|
1058
|
+
_stream = False
|
1137
1059
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1138
|
-
|
1060
|
+
_request, stream=_stream, **kwargs
|
1139
1061
|
)
|
1140
1062
|
|
1141
1063
|
response = pipeline_response.http_response
|
@@ -1147,13 +1069,9 @@ class StorageAccountsOperations:
|
|
1147
1069
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1148
1070
|
|
1149
1071
|
if cls:
|
1150
|
-
return cls(pipeline_response, deserialized, {})
|
1151
|
-
|
1152
|
-
return deserialized
|
1072
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1153
1073
|
|
1154
|
-
|
1155
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1156
|
-
}
|
1074
|
+
return deserialized # type: ignore
|
1157
1075
|
|
1158
1076
|
@overload
|
1159
1077
|
async def list_account_sas(
|
@@ -1180,7 +1098,6 @@ class StorageAccountsOperations:
|
|
1180
1098
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1181
1099
|
Default value is "application/json".
|
1182
1100
|
:paramtype content_type: str
|
1183
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1184
1101
|
:return: ListAccountSasResponse or the result of cls(response)
|
1185
1102
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListAccountSasResponse
|
1186
1103
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1191,7 +1108,7 @@ class StorageAccountsOperations:
|
|
1191
1108
|
self,
|
1192
1109
|
resource_group_name: str,
|
1193
1110
|
account_name: str,
|
1194
|
-
parameters: IO,
|
1111
|
+
parameters: IO[bytes],
|
1195
1112
|
*,
|
1196
1113
|
content_type: str = "application/json",
|
1197
1114
|
**kwargs: Any
|
@@ -1207,11 +1124,10 @@ class StorageAccountsOperations:
|
|
1207
1124
|
:type account_name: str
|
1208
1125
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1209
1126
|
Required.
|
1210
|
-
:type parameters: IO
|
1127
|
+
:type parameters: IO[bytes]
|
1211
1128
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1212
1129
|
Default value is "application/json".
|
1213
1130
|
:paramtype content_type: str
|
1214
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1215
1131
|
:return: ListAccountSasResponse or the result of cls(response)
|
1216
1132
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListAccountSasResponse
|
1217
1133
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1222,7 +1138,7 @@ class StorageAccountsOperations:
|
|
1222
1138
|
self,
|
1223
1139
|
resource_group_name: str,
|
1224
1140
|
account_name: str,
|
1225
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1141
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1226
1142
|
**kwargs: Any
|
1227
1143
|
) -> _models.ListAccountSasResponse:
|
1228
1144
|
"""List SAS credentials of a storage account.
|
@@ -1235,17 +1151,14 @@ class StorageAccountsOperations:
|
|
1235
1151
|
lower-case letters only. Required.
|
1236
1152
|
:type account_name: str
|
1237
1153
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1238
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1239
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.AccountSasParameters or
|
1240
|
-
|
1241
|
-
Default value is None.
|
1242
|
-
:paramtype content_type: str
|
1243
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1154
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1155
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.AccountSasParameters or
|
1156
|
+
IO[bytes]
|
1244
1157
|
:return: ListAccountSasResponse or the result of cls(response)
|
1245
1158
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListAccountSasResponse
|
1246
1159
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1247
1160
|
"""
|
1248
|
-
error_map = {
|
1161
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1249
1162
|
401: ClientAuthenticationError,
|
1250
1163
|
404: ResourceNotFoundError,
|
1251
1164
|
409: ResourceExistsError,
|
@@ -1256,8 +1169,8 @@ class StorageAccountsOperations:
|
|
1256
1169
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1257
1170
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1258
1171
|
|
1259
|
-
api_version:
|
1260
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1172
|
+
api_version: str = kwargs.pop(
|
1173
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1261
1174
|
)
|
1262
1175
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1263
1176
|
cls: ClsType[_models.ListAccountSasResponse] = kwargs.pop("cls", None)
|
@@ -1265,12 +1178,12 @@ class StorageAccountsOperations:
|
|
1265
1178
|
content_type = content_type or "application/json"
|
1266
1179
|
_json = None
|
1267
1180
|
_content = None
|
1268
|
-
if isinstance(parameters, (
|
1181
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1269
1182
|
_content = parameters
|
1270
1183
|
else:
|
1271
1184
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1272
1185
|
|
1273
|
-
|
1186
|
+
_request = build_list_account_sas_request(
|
1274
1187
|
resource_group_name=resource_group_name,
|
1275
1188
|
account_name=account_name,
|
1276
1189
|
subscription_id=self._config.subscription_id,
|
@@ -1278,15 +1191,15 @@ class StorageAccountsOperations:
|
|
1278
1191
|
content_type=content_type,
|
1279
1192
|
json=_json,
|
1280
1193
|
content=_content,
|
1281
|
-
template_url=self.list_account_sas.metadata["url"],
|
1282
1194
|
headers=_headers,
|
1283
1195
|
params=_params,
|
1284
1196
|
)
|
1285
|
-
|
1286
|
-
|
1197
|
+
_request = _convert_request(_request)
|
1198
|
+
_request.url = self._client.format_url(_request.url)
|
1287
1199
|
|
1200
|
+
_stream = False
|
1288
1201
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1289
|
-
|
1202
|
+
_request, stream=_stream, **kwargs
|
1290
1203
|
)
|
1291
1204
|
|
1292
1205
|
response = pipeline_response.http_response
|
@@ -1298,13 +1211,9 @@ class StorageAccountsOperations:
|
|
1298
1211
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1299
1212
|
|
1300
1213
|
if cls:
|
1301
|
-
return cls(pipeline_response, deserialized, {})
|
1302
|
-
|
1303
|
-
return deserialized
|
1214
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1304
1215
|
|
1305
|
-
|
1306
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1307
|
-
}
|
1216
|
+
return deserialized # type: ignore
|
1308
1217
|
|
1309
1218
|
@overload
|
1310
1219
|
async def list_service_sas(
|
@@ -1330,7 +1239,6 @@ class StorageAccountsOperations:
|
|
1330
1239
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1331
1240
|
Default value is "application/json".
|
1332
1241
|
:paramtype content_type: str
|
1333
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1334
1242
|
:return: ListServiceSasResponse or the result of cls(response)
|
1335
1243
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListServiceSasResponse
|
1336
1244
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1341,7 +1249,7 @@ class StorageAccountsOperations:
|
|
1341
1249
|
self,
|
1342
1250
|
resource_group_name: str,
|
1343
1251
|
account_name: str,
|
1344
|
-
parameters: IO,
|
1252
|
+
parameters: IO[bytes],
|
1345
1253
|
*,
|
1346
1254
|
content_type: str = "application/json",
|
1347
1255
|
**kwargs: Any
|
@@ -1356,11 +1264,10 @@ class StorageAccountsOperations:
|
|
1356
1264
|
lower-case letters only. Required.
|
1357
1265
|
:type account_name: str
|
1358
1266
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1359
|
-
:type parameters: IO
|
1267
|
+
:type parameters: IO[bytes]
|
1360
1268
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1361
1269
|
Default value is "application/json".
|
1362
1270
|
:paramtype content_type: str
|
1363
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1364
1271
|
:return: ListServiceSasResponse or the result of cls(response)
|
1365
1272
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListServiceSasResponse
|
1366
1273
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1371,7 +1278,7 @@ class StorageAccountsOperations:
|
|
1371
1278
|
self,
|
1372
1279
|
resource_group_name: str,
|
1373
1280
|
account_name: str,
|
1374
|
-
parameters: Union[_models.ServiceSasParameters, IO],
|
1281
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1375
1282
|
**kwargs: Any
|
1376
1283
|
) -> _models.ListServiceSasResponse:
|
1377
1284
|
"""List service SAS credentials of a specific resource.
|
@@ -1384,17 +1291,14 @@ class StorageAccountsOperations:
|
|
1384
1291
|
lower-case letters only. Required.
|
1385
1292
|
:type account_name: str
|
1386
1293
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1387
|
-
ServiceSasParameters type or a IO type. Required.
|
1388
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ServiceSasParameters or
|
1389
|
-
|
1390
|
-
Default value is None.
|
1391
|
-
:paramtype content_type: str
|
1392
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1294
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1295
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ServiceSasParameters or
|
1296
|
+
IO[bytes]
|
1393
1297
|
:return: ListServiceSasResponse or the result of cls(response)
|
1394
1298
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListServiceSasResponse
|
1395
1299
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1396
1300
|
"""
|
1397
|
-
error_map = {
|
1301
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1398
1302
|
401: ClientAuthenticationError,
|
1399
1303
|
404: ResourceNotFoundError,
|
1400
1304
|
409: ResourceExistsError,
|
@@ -1405,8 +1309,8 @@ class StorageAccountsOperations:
|
|
1405
1309
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1406
1310
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1407
1311
|
|
1408
|
-
api_version:
|
1409
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1312
|
+
api_version: str = kwargs.pop(
|
1313
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1410
1314
|
)
|
1411
1315
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1412
1316
|
cls: ClsType[_models.ListServiceSasResponse] = kwargs.pop("cls", None)
|
@@ -1414,12 +1318,12 @@ class StorageAccountsOperations:
|
|
1414
1318
|
content_type = content_type or "application/json"
|
1415
1319
|
_json = None
|
1416
1320
|
_content = None
|
1417
|
-
if isinstance(parameters, (
|
1321
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1418
1322
|
_content = parameters
|
1419
1323
|
else:
|
1420
1324
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1421
1325
|
|
1422
|
-
|
1326
|
+
_request = build_list_service_sas_request(
|
1423
1327
|
resource_group_name=resource_group_name,
|
1424
1328
|
account_name=account_name,
|
1425
1329
|
subscription_id=self._config.subscription_id,
|
@@ -1427,15 +1331,15 @@ class StorageAccountsOperations:
|
|
1427
1331
|
content_type=content_type,
|
1428
1332
|
json=_json,
|
1429
1333
|
content=_content,
|
1430
|
-
template_url=self.list_service_sas.metadata["url"],
|
1431
1334
|
headers=_headers,
|
1432
1335
|
params=_params,
|
1433
1336
|
)
|
1434
|
-
|
1435
|
-
|
1337
|
+
_request = _convert_request(_request)
|
1338
|
+
_request.url = self._client.format_url(_request.url)
|
1436
1339
|
|
1340
|
+
_stream = False
|
1437
1341
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1438
|
-
|
1342
|
+
_request, stream=_stream, **kwargs
|
1439
1343
|
)
|
1440
1344
|
|
1441
1345
|
response = pipeline_response.http_response
|
@@ -1447,18 +1351,14 @@ class StorageAccountsOperations:
|
|
1447
1351
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1448
1352
|
|
1449
1353
|
if cls:
|
1450
|
-
return cls(pipeline_response, deserialized, {})
|
1451
|
-
|
1452
|
-
return deserialized
|
1354
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1453
1355
|
|
1454
|
-
|
1455
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1456
|
-
}
|
1356
|
+
return deserialized # type: ignore
|
1457
1357
|
|
1458
1358
|
async def _failover_initial( # pylint: disable=inconsistent-return-statements
|
1459
1359
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1460
1360
|
) -> None:
|
1461
|
-
error_map = {
|
1361
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1462
1362
|
401: ClientAuthenticationError,
|
1463
1363
|
404: ResourceNotFoundError,
|
1464
1364
|
409: ResourceExistsError,
|
@@ -1469,25 +1369,25 @@ class StorageAccountsOperations:
|
|
1469
1369
|
_headers = kwargs.pop("headers", {}) or {}
|
1470
1370
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1471
1371
|
|
1472
|
-
api_version:
|
1473
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1372
|
+
api_version: str = kwargs.pop(
|
1373
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1474
1374
|
)
|
1475
1375
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1476
1376
|
|
1477
|
-
|
1377
|
+
_request = build_failover_request(
|
1478
1378
|
resource_group_name=resource_group_name,
|
1479
1379
|
account_name=account_name,
|
1480
1380
|
subscription_id=self._config.subscription_id,
|
1481
1381
|
api_version=api_version,
|
1482
|
-
template_url=self._failover_initial.metadata["url"],
|
1483
1382
|
headers=_headers,
|
1484
1383
|
params=_params,
|
1485
1384
|
)
|
1486
|
-
|
1487
|
-
|
1385
|
+
_request = _convert_request(_request)
|
1386
|
+
_request.url = self._client.format_url(_request.url)
|
1488
1387
|
|
1388
|
+
_stream = False
|
1489
1389
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1490
|
-
|
1390
|
+
_request, stream=_stream, **kwargs
|
1491
1391
|
)
|
1492
1392
|
|
1493
1393
|
response = pipeline_response.http_response
|
@@ -1497,11 +1397,7 @@ class StorageAccountsOperations:
|
|
1497
1397
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1498
1398
|
|
1499
1399
|
if cls:
|
1500
|
-
return cls(pipeline_response, None, {})
|
1501
|
-
|
1502
|
-
_failover_initial.metadata = {
|
1503
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1504
|
-
}
|
1400
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1505
1401
|
|
1506
1402
|
@distributed_trace_async
|
1507
1403
|
async def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> AsyncLROPoller[None]:
|
@@ -1516,14 +1412,6 @@ class StorageAccountsOperations:
|
|
1516
1412
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1517
1413
|
lower-case letters only. Required.
|
1518
1414
|
:type account_name: str
|
1519
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1520
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1521
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1522
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1523
|
-
polling strategy.
|
1524
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1525
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1526
|
-
Retry-After header is present.
|
1527
1415
|
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
|
1528
1416
|
:rtype: ~azure.core.polling.AsyncLROPoller[None]
|
1529
1417
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1531,8 +1419,8 @@ class StorageAccountsOperations:
|
|
1531
1419
|
_headers = kwargs.pop("headers", {}) or {}
|
1532
1420
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1533
1421
|
|
1534
|
-
api_version:
|
1535
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1422
|
+
api_version: str = kwargs.pop(
|
1423
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1536
1424
|
)
|
1537
1425
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1538
1426
|
polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True)
|
@@ -1552,7 +1440,7 @@ class StorageAccountsOperations:
|
|
1552
1440
|
|
1553
1441
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
1554
1442
|
if cls:
|
1555
|
-
return cls(pipeline_response, None, {})
|
1443
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1556
1444
|
|
1557
1445
|
if polling is True:
|
1558
1446
|
polling_method: AsyncPollingMethod = cast(
|
@@ -1563,26 +1451,22 @@ class StorageAccountsOperations:
|
|
1563
1451
|
else:
|
1564
1452
|
polling_method = polling
|
1565
1453
|
if cont_token:
|
1566
|
-
return AsyncLROPoller.from_continuation_token(
|
1454
|
+
return AsyncLROPoller[None].from_continuation_token(
|
1567
1455
|
polling_method=polling_method,
|
1568
1456
|
continuation_token=cont_token,
|
1569
1457
|
client=self._client,
|
1570
1458
|
deserialization_callback=get_long_running_output,
|
1571
1459
|
)
|
1572
|
-
return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1573
|
-
|
1574
|
-
begin_failover.metadata = {
|
1575
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1576
|
-
}
|
1460
|
+
return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1577
1461
|
|
1578
1462
|
async def _restore_blob_ranges_initial(
|
1579
1463
|
self,
|
1580
1464
|
resource_group_name: str,
|
1581
1465
|
account_name: str,
|
1582
|
-
parameters: Union[_models.BlobRestoreParameters, IO],
|
1466
|
+
parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
|
1583
1467
|
**kwargs: Any
|
1584
1468
|
) -> _models.BlobRestoreStatus:
|
1585
|
-
error_map = {
|
1469
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1586
1470
|
401: ClientAuthenticationError,
|
1587
1471
|
404: ResourceNotFoundError,
|
1588
1472
|
409: ResourceExistsError,
|
@@ -1593,8 +1477,8 @@ class StorageAccountsOperations:
|
|
1593
1477
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1594
1478
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1595
1479
|
|
1596
|
-
api_version:
|
1597
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1480
|
+
api_version: str = kwargs.pop(
|
1481
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1598
1482
|
)
|
1599
1483
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1600
1484
|
cls: ClsType[_models.BlobRestoreStatus] = kwargs.pop("cls", None)
|
@@ -1602,12 +1486,12 @@ class StorageAccountsOperations:
|
|
1602
1486
|
content_type = content_type or "application/json"
|
1603
1487
|
_json = None
|
1604
1488
|
_content = None
|
1605
|
-
if isinstance(parameters, (
|
1489
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1606
1490
|
_content = parameters
|
1607
1491
|
else:
|
1608
1492
|
_json = self._serialize.body(parameters, "BlobRestoreParameters")
|
1609
1493
|
|
1610
|
-
|
1494
|
+
_request = build_restore_blob_ranges_request(
|
1611
1495
|
resource_group_name=resource_group_name,
|
1612
1496
|
account_name=account_name,
|
1613
1497
|
subscription_id=self._config.subscription_id,
|
@@ -1615,15 +1499,15 @@ class StorageAccountsOperations:
|
|
1615
1499
|
content_type=content_type,
|
1616
1500
|
json=_json,
|
1617
1501
|
content=_content,
|
1618
|
-
template_url=self._restore_blob_ranges_initial.metadata["url"],
|
1619
1502
|
headers=_headers,
|
1620
1503
|
params=_params,
|
1621
1504
|
)
|
1622
|
-
|
1623
|
-
|
1505
|
+
_request = _convert_request(_request)
|
1506
|
+
_request.url = self._client.format_url(_request.url)
|
1624
1507
|
|
1508
|
+
_stream = False
|
1625
1509
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1626
|
-
|
1510
|
+
_request, stream=_stream, **kwargs
|
1627
1511
|
)
|
1628
1512
|
|
1629
1513
|
response = pipeline_response.http_response
|
@@ -1643,10 +1527,6 @@ class StorageAccountsOperations:
|
|
1643
1527
|
|
1644
1528
|
return deserialized # type: ignore
|
1645
1529
|
|
1646
|
-
_restore_blob_ranges_initial.metadata = {
|
1647
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
|
1648
|
-
}
|
1649
|
-
|
1650
1530
|
@overload
|
1651
1531
|
async def begin_restore_blob_ranges(
|
1652
1532
|
self,
|
@@ -1671,14 +1551,6 @@ class StorageAccountsOperations:
|
|
1671
1551
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1672
1552
|
Default value is "application/json".
|
1673
1553
|
:paramtype content_type: str
|
1674
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1675
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1676
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1677
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1678
|
-
polling strategy.
|
1679
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1680
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1681
|
-
Retry-After header is present.
|
1682
1554
|
:return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
|
1683
1555
|
cls(response)
|
1684
1556
|
:rtype:
|
@@ -1691,7 +1563,7 @@ class StorageAccountsOperations:
|
|
1691
1563
|
self,
|
1692
1564
|
resource_group_name: str,
|
1693
1565
|
account_name: str,
|
1694
|
-
parameters: IO,
|
1566
|
+
parameters: IO[bytes],
|
1695
1567
|
*,
|
1696
1568
|
content_type: str = "application/json",
|
1697
1569
|
**kwargs: Any
|
@@ -1706,18 +1578,10 @@ class StorageAccountsOperations:
|
|
1706
1578
|
lower-case letters only. Required.
|
1707
1579
|
:type account_name: str
|
1708
1580
|
:param parameters: The parameters to provide for restore blob ranges. Required.
|
1709
|
-
:type parameters: IO
|
1581
|
+
:type parameters: IO[bytes]
|
1710
1582
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1711
1583
|
Default value is "application/json".
|
1712
1584
|
:paramtype content_type: str
|
1713
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1714
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1715
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1716
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1717
|
-
polling strategy.
|
1718
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1719
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1720
|
-
Retry-After header is present.
|
1721
1585
|
:return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
|
1722
1586
|
cls(response)
|
1723
1587
|
:rtype:
|
@@ -1730,7 +1594,7 @@ class StorageAccountsOperations:
|
|
1730
1594
|
self,
|
1731
1595
|
resource_group_name: str,
|
1732
1596
|
account_name: str,
|
1733
|
-
parameters: Union[_models.BlobRestoreParameters, IO],
|
1597
|
+
parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
|
1734
1598
|
**kwargs: Any
|
1735
1599
|
) -> AsyncLROPoller[_models.BlobRestoreStatus]:
|
1736
1600
|
"""Restore blobs in the specified blob ranges.
|
@@ -1743,19 +1607,9 @@ class StorageAccountsOperations:
|
|
1743
1607
|
lower-case letters only. Required.
|
1744
1608
|
:type account_name: str
|
1745
1609
|
:param parameters: The parameters to provide for restore blob ranges. Is either a
|
1746
|
-
BlobRestoreParameters type or a IO type. Required.
|
1747
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobRestoreParameters or
|
1748
|
-
|
1749
|
-
Default value is None.
|
1750
|
-
:paramtype content_type: str
|
1751
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1752
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1753
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1754
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1755
|
-
polling strategy.
|
1756
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1757
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1758
|
-
Retry-After header is present.
|
1610
|
+
BlobRestoreParameters type or a IO[bytes] type. Required.
|
1611
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobRestoreParameters or
|
1612
|
+
IO[bytes]
|
1759
1613
|
:return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
|
1760
1614
|
cls(response)
|
1761
1615
|
:rtype:
|
@@ -1765,8 +1619,8 @@ class StorageAccountsOperations:
|
|
1765
1619
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1766
1620
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1767
1621
|
|
1768
|
-
api_version:
|
1769
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1622
|
+
api_version: str = kwargs.pop(
|
1623
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1770
1624
|
)
|
1771
1625
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1772
1626
|
cls: ClsType[_models.BlobRestoreStatus] = kwargs.pop("cls", None)
|
@@ -1790,7 +1644,7 @@ class StorageAccountsOperations:
|
|
1790
1644
|
def get_long_running_output(pipeline_response):
|
1791
1645
|
deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
|
1792
1646
|
if cls:
|
1793
|
-
return cls(pipeline_response, deserialized, {})
|
1647
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1794
1648
|
return deserialized
|
1795
1649
|
|
1796
1650
|
if polling is True:
|
@@ -1802,17 +1656,15 @@ class StorageAccountsOperations:
|
|
1802
1656
|
else:
|
1803
1657
|
polling_method = polling
|
1804
1658
|
if cont_token:
|
1805
|
-
return AsyncLROPoller.from_continuation_token(
|
1659
|
+
return AsyncLROPoller[_models.BlobRestoreStatus].from_continuation_token(
|
1806
1660
|
polling_method=polling_method,
|
1807
1661
|
continuation_token=cont_token,
|
1808
1662
|
client=self._client,
|
1809
1663
|
deserialization_callback=get_long_running_output,
|
1810
1664
|
)
|
1811
|
-
return AsyncLROPoller(
|
1812
|
-
|
1813
|
-
|
1814
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
|
1815
|
-
}
|
1665
|
+
return AsyncLROPoller[_models.BlobRestoreStatus](
|
1666
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
1667
|
+
)
|
1816
1668
|
|
1817
1669
|
@distributed_trace_async
|
1818
1670
|
async def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
|
@@ -1827,12 +1679,11 @@ class StorageAccountsOperations:
|
|
1827
1679
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1828
1680
|
lower-case letters only. Required.
|
1829
1681
|
:type account_name: str
|
1830
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1831
1682
|
:return: None or the result of cls(response)
|
1832
1683
|
:rtype: None
|
1833
1684
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1834
1685
|
"""
|
1835
|
-
error_map = {
|
1686
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1836
1687
|
401: ClientAuthenticationError,
|
1837
1688
|
404: ResourceNotFoundError,
|
1838
1689
|
409: ResourceExistsError,
|
@@ -1843,25 +1694,25 @@ class StorageAccountsOperations:
|
|
1843
1694
|
_headers = kwargs.pop("headers", {}) or {}
|
1844
1695
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1845
1696
|
|
1846
|
-
api_version:
|
1847
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1697
|
+
api_version: str = kwargs.pop(
|
1698
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1848
1699
|
)
|
1849
1700
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1850
1701
|
|
1851
|
-
|
1702
|
+
_request = build_revoke_user_delegation_keys_request(
|
1852
1703
|
resource_group_name=resource_group_name,
|
1853
1704
|
account_name=account_name,
|
1854
1705
|
subscription_id=self._config.subscription_id,
|
1855
1706
|
api_version=api_version,
|
1856
|
-
template_url=self.revoke_user_delegation_keys.metadata["url"],
|
1857
1707
|
headers=_headers,
|
1858
1708
|
params=_params,
|
1859
1709
|
)
|
1860
|
-
|
1861
|
-
|
1710
|
+
_request = _convert_request(_request)
|
1711
|
+
_request.url = self._client.format_url(_request.url)
|
1862
1712
|
|
1713
|
+
_stream = False
|
1863
1714
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1864
|
-
|
1715
|
+
_request, stream=_stream, **kwargs
|
1865
1716
|
)
|
1866
1717
|
|
1867
1718
|
response = pipeline_response.http_response
|
@@ -1871,8 +1722,4 @@ class StorageAccountsOperations:
|
|
1871
1722
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1872
1723
|
|
1873
1724
|
if cls:
|
1874
|
-
return cls(pipeline_response, None, {})
|
1875
|
-
|
1876
|
-
revoke_user_delegation_keys.metadata = {
|
1877
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
|
1878
|
-
}
|
1725
|
+
return cls(pipeline_response, None, {}) # type: ignore
|