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, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload
|
11
|
+
from typing import Any, Callable, Dict, IO, Iterable, Literal, Optional, Type, TypeVar, Union, cast, overload
|
11
12
|
import urllib.parse
|
12
13
|
|
13
14
|
from azure.core.exceptions import (
|
@@ -30,12 +31,12 @@ from azure.mgmt.core.polling.arm_polling import ARMPolling
|
|
30
31
|
|
31
32
|
from .. import models as _models
|
32
33
|
from ..._serialization import Serializer
|
33
|
-
from .._vendor import _convert_request
|
34
|
+
from .._vendor import _convert_request
|
34
35
|
|
35
|
-
if sys.version_info >= (3,
|
36
|
-
from
|
36
|
+
if sys.version_info >= (3, 9):
|
37
|
+
from collections.abc import MutableMapping
|
37
38
|
else:
|
38
|
-
from
|
39
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
39
40
|
T = TypeVar("T")
|
40
41
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
|
41
42
|
|
@@ -47,9 +48,7 @@ def build_check_name_availability_request(subscription_id: str, **kwargs: Any) -
|
|
47
48
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
48
49
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
49
50
|
|
50
|
-
api_version:
|
51
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
52
|
-
)
|
51
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
53
52
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
54
53
|
accept = _headers.pop("Accept", "application/json")
|
55
54
|
|
@@ -61,7 +60,7 @@ def build_check_name_availability_request(subscription_id: str, **kwargs: Any) -
|
|
61
60
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
62
61
|
}
|
63
62
|
|
64
|
-
_url: str =
|
63
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
65
64
|
|
66
65
|
# Construct parameters
|
67
66
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -80,9 +79,7 @@ def build_create_request(
|
|
80
79
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
81
80
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
82
81
|
|
83
|
-
api_version:
|
84
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
85
|
-
)
|
82
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
86
83
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
87
84
|
accept = _headers.pop("Accept", "application/json")
|
88
85
|
|
@@ -99,7 +96,7 @@ def build_create_request(
|
|
99
96
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
100
97
|
}
|
101
98
|
|
102
|
-
_url: str =
|
99
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
103
100
|
|
104
101
|
# Construct parameters
|
105
102
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -117,9 +114,7 @@ def build_delete_request(
|
|
117
114
|
) -> HttpRequest:
|
118
115
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
119
116
|
|
120
|
-
api_version:
|
121
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
122
|
-
)
|
117
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
123
118
|
# Construct URL
|
124
119
|
_url = kwargs.pop(
|
125
120
|
"template_url",
|
@@ -133,7 +128,7 @@ def build_delete_request(
|
|
133
128
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
134
129
|
}
|
135
130
|
|
136
|
-
_url: str =
|
131
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
137
132
|
|
138
133
|
# Construct parameters
|
139
134
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -152,9 +147,7 @@ def build_get_properties_request(
|
|
152
147
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
153
148
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
154
149
|
|
155
|
-
api_version:
|
156
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
157
|
-
)
|
150
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
158
151
|
accept = _headers.pop("Accept", "application/json")
|
159
152
|
|
160
153
|
# Construct URL
|
@@ -170,7 +163,7 @@ def build_get_properties_request(
|
|
170
163
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
171
164
|
}
|
172
165
|
|
173
|
-
_url: str =
|
166
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
174
167
|
|
175
168
|
# Construct parameters
|
176
169
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -189,9 +182,7 @@ def build_update_request(
|
|
189
182
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
190
183
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
191
184
|
|
192
|
-
api_version:
|
193
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
194
|
-
)
|
185
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
195
186
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
196
187
|
accept = _headers.pop("Accept", "application/json")
|
197
188
|
|
@@ -208,7 +199,7 @@ def build_update_request(
|
|
208
199
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
209
200
|
}
|
210
201
|
|
211
|
-
_url: str =
|
202
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
212
203
|
|
213
204
|
# Construct parameters
|
214
205
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -225,9 +216,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
|
|
225
216
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
226
217
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
227
218
|
|
228
|
-
api_version:
|
229
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
230
|
-
)
|
219
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
231
220
|
accept = _headers.pop("Accept", "application/json")
|
232
221
|
|
233
222
|
# Construct URL
|
@@ -236,7 +225,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
|
|
236
225
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
237
226
|
}
|
238
227
|
|
239
|
-
_url: str =
|
228
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
240
229
|
|
241
230
|
# Construct parameters
|
242
231
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -251,9 +240,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_
|
|
251
240
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
252
241
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
253
242
|
|
254
|
-
api_version:
|
255
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
256
|
-
)
|
243
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
257
244
|
accept = _headers.pop("Accept", "application/json")
|
258
245
|
|
259
246
|
# Construct URL
|
@@ -268,7 +255,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_
|
|
268
255
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
269
256
|
}
|
270
257
|
|
271
|
-
_url: str =
|
258
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
272
259
|
|
273
260
|
# Construct parameters
|
274
261
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -290,9 +277,7 @@ def build_list_keys_request(
|
|
290
277
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
291
278
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
292
279
|
|
293
|
-
api_version:
|
294
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
295
|
-
)
|
280
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
296
281
|
accept = _headers.pop("Accept", "application/json")
|
297
282
|
|
298
283
|
# Construct URL
|
@@ -308,7 +293,7 @@ def build_list_keys_request(
|
|
308
293
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
309
294
|
}
|
310
295
|
|
311
|
-
_url: str =
|
296
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
312
297
|
|
313
298
|
# Construct parameters
|
314
299
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -327,9 +312,7 @@ def build_regenerate_key_request(
|
|
327
312
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
328
313
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
329
314
|
|
330
|
-
api_version:
|
331
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
332
|
-
)
|
315
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
333
316
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
334
317
|
accept = _headers.pop("Accept", "application/json")
|
335
318
|
|
@@ -346,7 +329,7 @@ def build_regenerate_key_request(
|
|
346
329
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
347
330
|
}
|
348
331
|
|
349
|
-
_url: str =
|
332
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
350
333
|
|
351
334
|
# Construct parameters
|
352
335
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -365,9 +348,7 @@ def build_list_account_sas_request(
|
|
365
348
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
366
349
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
367
350
|
|
368
|
-
api_version:
|
369
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
370
|
-
)
|
351
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
371
352
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
372
353
|
accept = _headers.pop("Accept", "application/json")
|
373
354
|
|
@@ -384,7 +365,7 @@ def build_list_account_sas_request(
|
|
384
365
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
385
366
|
}
|
386
367
|
|
387
|
-
_url: str =
|
368
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
388
369
|
|
389
370
|
# Construct parameters
|
390
371
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -403,9 +384,7 @@ def build_list_service_sas_request(
|
|
403
384
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
404
385
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
405
386
|
|
406
|
-
api_version:
|
407
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
408
|
-
)
|
387
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
409
388
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
410
389
|
accept = _headers.pop("Accept", "application/json")
|
411
390
|
|
@@ -422,7 +401,7 @@ def build_list_service_sas_request(
|
|
422
401
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
423
402
|
}
|
424
403
|
|
425
|
-
_url: str =
|
404
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
426
405
|
|
427
406
|
# Construct parameters
|
428
407
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -440,9 +419,7 @@ def build_failover_request(
|
|
440
419
|
) -> HttpRequest:
|
441
420
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
442
421
|
|
443
|
-
api_version:
|
444
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
445
|
-
)
|
422
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
446
423
|
# Construct URL
|
447
424
|
_url = kwargs.pop(
|
448
425
|
"template_url",
|
@@ -456,7 +433,7 @@ def build_failover_request(
|
|
456
433
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
457
434
|
}
|
458
435
|
|
459
|
-
_url: str =
|
436
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
460
437
|
|
461
438
|
# Construct parameters
|
462
439
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -470,9 +447,7 @@ def build_restore_blob_ranges_request(
|
|
470
447
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
471
448
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
472
449
|
|
473
|
-
api_version:
|
474
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
475
|
-
)
|
450
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
476
451
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
477
452
|
accept = _headers.pop("Accept", "application/json")
|
478
453
|
|
@@ -489,7 +464,7 @@ def build_restore_blob_ranges_request(
|
|
489
464
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
490
465
|
}
|
491
466
|
|
492
|
-
_url: str =
|
467
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
493
468
|
|
494
469
|
# Construct parameters
|
495
470
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -502,14 +477,12 @@ def build_restore_blob_ranges_request(
|
|
502
477
|
return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
|
503
478
|
|
504
479
|
|
505
|
-
def build_revoke_user_delegation_keys_request(
|
480
|
+
def build_revoke_user_delegation_keys_request( # pylint: disable=name-too-long
|
506
481
|
resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
|
507
482
|
) -> HttpRequest:
|
508
483
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
509
484
|
|
510
|
-
api_version:
|
511
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
512
|
-
)
|
485
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
513
486
|
# Construct URL
|
514
487
|
_url = kwargs.pop(
|
515
488
|
"template_url",
|
@@ -523,7 +496,7 @@ def build_revoke_user_delegation_keys_request(
|
|
523
496
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
524
497
|
}
|
525
498
|
|
526
|
-
_url: str =
|
499
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
527
500
|
|
528
501
|
# Construct parameters
|
529
502
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -549,6 +522,7 @@ class StorageAccountsOperations:
|
|
549
522
|
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
550
523
|
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
551
524
|
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
525
|
+
self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
|
552
526
|
|
553
527
|
@overload
|
554
528
|
def check_name_availability(
|
@@ -568,7 +542,6 @@ class StorageAccountsOperations:
|
|
568
542
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
569
543
|
Default value is "application/json".
|
570
544
|
:paramtype content_type: str
|
571
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
572
545
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
573
546
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.CheckNameAvailabilityResult
|
574
547
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -576,18 +549,17 @@ class StorageAccountsOperations:
|
|
576
549
|
|
577
550
|
@overload
|
578
551
|
def check_name_availability(
|
579
|
-
self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
|
552
|
+
self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
|
580
553
|
) -> _models.CheckNameAvailabilityResult:
|
581
554
|
"""Checks that the storage account name is valid and is not already in use.
|
582
555
|
|
583
556
|
:param account_name: The name of the storage account within the specified resource group.
|
584
557
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
585
558
|
lower-case letters only. Required.
|
586
|
-
:type account_name: IO
|
559
|
+
:type account_name: IO[bytes]
|
587
560
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
588
561
|
Default value is "application/json".
|
589
562
|
:paramtype content_type: str
|
590
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
591
563
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
592
564
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.CheckNameAvailabilityResult
|
593
565
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -595,26 +567,22 @@ class StorageAccountsOperations:
|
|
595
567
|
|
596
568
|
@distributed_trace
|
597
569
|
def check_name_availability(
|
598
|
-
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
|
570
|
+
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
|
599
571
|
) -> _models.CheckNameAvailabilityResult:
|
600
572
|
"""Checks that the storage account name is valid and is not already in use.
|
601
573
|
|
602
574
|
:param account_name: The name of the storage account within the specified resource group.
|
603
575
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
604
|
-
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
605
|
-
type. Required.
|
576
|
+
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
577
|
+
IO[bytes] type. Required.
|
606
578
|
:type account_name:
|
607
579
|
~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountCheckNameAvailabilityParameters or
|
608
|
-
IO
|
609
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
610
|
-
Default value is None.
|
611
|
-
:paramtype content_type: str
|
612
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
580
|
+
IO[bytes]
|
613
581
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
614
582
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.CheckNameAvailabilityResult
|
615
583
|
:raises ~azure.core.exceptions.HttpResponseError:
|
616
584
|
"""
|
617
|
-
error_map = {
|
585
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
618
586
|
401: ClientAuthenticationError,
|
619
587
|
404: ResourceNotFoundError,
|
620
588
|
409: ResourceExistsError,
|
@@ -625,8 +593,8 @@ class StorageAccountsOperations:
|
|
625
593
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
626
594
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
627
595
|
|
628
|
-
api_version:
|
629
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
596
|
+
api_version: str = kwargs.pop(
|
597
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
630
598
|
)
|
631
599
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
632
600
|
cls: ClsType[_models.CheckNameAvailabilityResult] = kwargs.pop("cls", None)
|
@@ -634,26 +602,26 @@ class StorageAccountsOperations:
|
|
634
602
|
content_type = content_type or "application/json"
|
635
603
|
_json = None
|
636
604
|
_content = None
|
637
|
-
if isinstance(account_name, (
|
605
|
+
if isinstance(account_name, (IOBase, bytes)):
|
638
606
|
_content = account_name
|
639
607
|
else:
|
640
608
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
641
609
|
|
642
|
-
|
610
|
+
_request = build_check_name_availability_request(
|
643
611
|
subscription_id=self._config.subscription_id,
|
644
612
|
api_version=api_version,
|
645
613
|
content_type=content_type,
|
646
614
|
json=_json,
|
647
615
|
content=_content,
|
648
|
-
template_url=self.check_name_availability.metadata["url"],
|
649
616
|
headers=_headers,
|
650
617
|
params=_params,
|
651
618
|
)
|
652
|
-
|
653
|
-
|
619
|
+
_request = _convert_request(_request)
|
620
|
+
_request.url = self._client.format_url(_request.url)
|
654
621
|
|
622
|
+
_stream = False
|
655
623
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
656
|
-
|
624
|
+
_request, stream=_stream, **kwargs
|
657
625
|
)
|
658
626
|
|
659
627
|
response = pipeline_response.http_response
|
@@ -665,22 +633,18 @@ class StorageAccountsOperations:
|
|
665
633
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
666
634
|
|
667
635
|
if cls:
|
668
|
-
return cls(pipeline_response, deserialized, {})
|
669
|
-
|
670
|
-
return deserialized
|
636
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
671
637
|
|
672
|
-
|
673
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
674
|
-
}
|
638
|
+
return deserialized # type: ignore
|
675
639
|
|
676
640
|
def _create_initial(
|
677
641
|
self,
|
678
642
|
resource_group_name: str,
|
679
643
|
account_name: str,
|
680
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
644
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
681
645
|
**kwargs: Any
|
682
646
|
) -> Optional[_models.StorageAccount]:
|
683
|
-
error_map = {
|
647
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
684
648
|
401: ClientAuthenticationError,
|
685
649
|
404: ResourceNotFoundError,
|
686
650
|
409: ResourceExistsError,
|
@@ -691,8 +655,8 @@ class StorageAccountsOperations:
|
|
691
655
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
692
656
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
693
657
|
|
694
|
-
api_version:
|
695
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
658
|
+
api_version: str = kwargs.pop(
|
659
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
696
660
|
)
|
697
661
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
698
662
|
cls: ClsType[Optional[_models.StorageAccount]] = kwargs.pop("cls", None)
|
@@ -700,12 +664,12 @@ class StorageAccountsOperations:
|
|
700
664
|
content_type = content_type or "application/json"
|
701
665
|
_json = None
|
702
666
|
_content = None
|
703
|
-
if isinstance(parameters, (
|
667
|
+
if isinstance(parameters, (IOBase, bytes)):
|
704
668
|
_content = parameters
|
705
669
|
else:
|
706
670
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
707
671
|
|
708
|
-
|
672
|
+
_request = build_create_request(
|
709
673
|
resource_group_name=resource_group_name,
|
710
674
|
account_name=account_name,
|
711
675
|
subscription_id=self._config.subscription_id,
|
@@ -713,15 +677,15 @@ class StorageAccountsOperations:
|
|
713
677
|
content_type=content_type,
|
714
678
|
json=_json,
|
715
679
|
content=_content,
|
716
|
-
template_url=self._create_initial.metadata["url"],
|
717
680
|
headers=_headers,
|
718
681
|
params=_params,
|
719
682
|
)
|
720
|
-
|
721
|
-
|
683
|
+
_request = _convert_request(_request)
|
684
|
+
_request.url = self._client.format_url(_request.url)
|
722
685
|
|
686
|
+
_stream = False
|
723
687
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
724
|
-
|
688
|
+
_request, stream=_stream, **kwargs
|
725
689
|
)
|
726
690
|
|
727
691
|
response = pipeline_response.http_response
|
@@ -735,13 +699,9 @@ class StorageAccountsOperations:
|
|
735
699
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
736
700
|
|
737
701
|
if cls:
|
738
|
-
return cls(pipeline_response, deserialized, {})
|
739
|
-
|
740
|
-
return deserialized
|
702
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
741
703
|
|
742
|
-
|
743
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
744
|
-
}
|
704
|
+
return deserialized # type: ignore
|
745
705
|
|
746
706
|
@overload
|
747
707
|
def begin_create(
|
@@ -770,14 +730,6 @@ class StorageAccountsOperations:
|
|
770
730
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
771
731
|
Default value is "application/json".
|
772
732
|
:paramtype content_type: str
|
773
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
774
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
775
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
776
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
777
|
-
strategy.
|
778
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
779
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
780
|
-
Retry-After header is present.
|
781
733
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
782
734
|
cls(response)
|
783
735
|
:rtype:
|
@@ -790,7 +742,7 @@ class StorageAccountsOperations:
|
|
790
742
|
self,
|
791
743
|
resource_group_name: str,
|
792
744
|
account_name: str,
|
793
|
-
parameters: IO,
|
745
|
+
parameters: IO[bytes],
|
794
746
|
*,
|
795
747
|
content_type: str = "application/json",
|
796
748
|
**kwargs: Any
|
@@ -808,18 +760,10 @@ class StorageAccountsOperations:
|
|
808
760
|
lower-case letters only. Required.
|
809
761
|
:type account_name: str
|
810
762
|
:param parameters: The parameters to provide for the created account. Required.
|
811
|
-
:type parameters: IO
|
763
|
+
:type parameters: IO[bytes]
|
812
764
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
813
765
|
Default value is "application/json".
|
814
766
|
:paramtype content_type: str
|
815
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
816
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
817
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
818
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
819
|
-
strategy.
|
820
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
821
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
822
|
-
Retry-After header is present.
|
823
767
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
824
768
|
cls(response)
|
825
769
|
:rtype:
|
@@ -832,7 +776,7 @@ class StorageAccountsOperations:
|
|
832
776
|
self,
|
833
777
|
resource_group_name: str,
|
834
778
|
account_name: str,
|
835
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
779
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
836
780
|
**kwargs: Any
|
837
781
|
) -> LROPoller[_models.StorageAccount]:
|
838
782
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -848,20 +792,9 @@ class StorageAccountsOperations:
|
|
848
792
|
lower-case letters only. Required.
|
849
793
|
:type account_name: str
|
850
794
|
:param parameters: The parameters to provide for the created account. Is either a
|
851
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
795
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
852
796
|
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountCreateParameters
|
853
|
-
or IO
|
854
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
855
|
-
Default value is None.
|
856
|
-
:paramtype content_type: str
|
857
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
858
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
859
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
860
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
861
|
-
strategy.
|
862
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
863
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
864
|
-
Retry-After header is present.
|
797
|
+
or IO[bytes]
|
865
798
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
866
799
|
cls(response)
|
867
800
|
:rtype:
|
@@ -871,8 +804,8 @@ class StorageAccountsOperations:
|
|
871
804
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
872
805
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
873
806
|
|
874
|
-
api_version:
|
875
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
807
|
+
api_version: str = kwargs.pop(
|
808
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
876
809
|
)
|
877
810
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
878
811
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
@@ -896,7 +829,7 @@ class StorageAccountsOperations:
|
|
896
829
|
def get_long_running_output(pipeline_response):
|
897
830
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
898
831
|
if cls:
|
899
|
-
return cls(pipeline_response, deserialized, {})
|
832
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
900
833
|
return deserialized
|
901
834
|
|
902
835
|
if polling is True:
|
@@ -906,17 +839,15 @@ class StorageAccountsOperations:
|
|
906
839
|
else:
|
907
840
|
polling_method = polling
|
908
841
|
if cont_token:
|
909
|
-
return LROPoller.from_continuation_token(
|
842
|
+
return LROPoller[_models.StorageAccount].from_continuation_token(
|
910
843
|
polling_method=polling_method,
|
911
844
|
continuation_token=cont_token,
|
912
845
|
client=self._client,
|
913
846
|
deserialization_callback=get_long_running_output,
|
914
847
|
)
|
915
|
-
return LROPoller(
|
916
|
-
|
917
|
-
|
918
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
919
|
-
}
|
848
|
+
return LROPoller[_models.StorageAccount](
|
849
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
850
|
+
)
|
920
851
|
|
921
852
|
@distributed_trace
|
922
853
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -931,12 +862,11 @@ class StorageAccountsOperations:
|
|
931
862
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
932
863
|
lower-case letters only. Required.
|
933
864
|
:type account_name: str
|
934
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
935
865
|
:return: None or the result of cls(response)
|
936
866
|
:rtype: None
|
937
867
|
:raises ~azure.core.exceptions.HttpResponseError:
|
938
868
|
"""
|
939
|
-
error_map = {
|
869
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
940
870
|
401: ClientAuthenticationError,
|
941
871
|
404: ResourceNotFoundError,
|
942
872
|
409: ResourceExistsError,
|
@@ -947,25 +877,25 @@ class StorageAccountsOperations:
|
|
947
877
|
_headers = kwargs.pop("headers", {}) or {}
|
948
878
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
949
879
|
|
950
|
-
api_version:
|
951
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
880
|
+
api_version: str = kwargs.pop(
|
881
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
952
882
|
)
|
953
883
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
954
884
|
|
955
|
-
|
885
|
+
_request = build_delete_request(
|
956
886
|
resource_group_name=resource_group_name,
|
957
887
|
account_name=account_name,
|
958
888
|
subscription_id=self._config.subscription_id,
|
959
889
|
api_version=api_version,
|
960
|
-
template_url=self.delete.metadata["url"],
|
961
890
|
headers=_headers,
|
962
891
|
params=_params,
|
963
892
|
)
|
964
|
-
|
965
|
-
|
893
|
+
_request = _convert_request(_request)
|
894
|
+
_request.url = self._client.format_url(_request.url)
|
966
895
|
|
896
|
+
_stream = False
|
967
897
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
968
|
-
|
898
|
+
_request, stream=_stream, **kwargs
|
969
899
|
)
|
970
900
|
|
971
901
|
response = pipeline_response.http_response
|
@@ -975,11 +905,7 @@ class StorageAccountsOperations:
|
|
975
905
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
976
906
|
|
977
907
|
if cls:
|
978
|
-
return cls(pipeline_response, None, {})
|
979
|
-
|
980
|
-
delete.metadata = {
|
981
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
982
|
-
}
|
908
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
983
909
|
|
984
910
|
@distributed_trace
|
985
911
|
def get_properties(
|
@@ -1005,12 +931,11 @@ class StorageAccountsOperations:
|
|
1005
931
|
and blobRestoreStatus. Known values are: "geoReplicationStats" and "blobRestoreStatus". Default
|
1006
932
|
value is None.
|
1007
933
|
:type expand: str or ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountExpand
|
1008
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1009
934
|
:return: StorageAccount or the result of cls(response)
|
1010
935
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
|
1011
936
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1012
937
|
"""
|
1013
|
-
error_map = {
|
938
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1014
939
|
401: ClientAuthenticationError,
|
1015
940
|
404: ResourceNotFoundError,
|
1016
941
|
409: ResourceExistsError,
|
@@ -1021,26 +946,26 @@ class StorageAccountsOperations:
|
|
1021
946
|
_headers = kwargs.pop("headers", {}) or {}
|
1022
947
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1023
948
|
|
1024
|
-
api_version:
|
1025
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
949
|
+
api_version: str = kwargs.pop(
|
950
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1026
951
|
)
|
1027
952
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
1028
953
|
|
1029
|
-
|
954
|
+
_request = build_get_properties_request(
|
1030
955
|
resource_group_name=resource_group_name,
|
1031
956
|
account_name=account_name,
|
1032
957
|
subscription_id=self._config.subscription_id,
|
1033
958
|
expand=expand,
|
1034
959
|
api_version=api_version,
|
1035
|
-
template_url=self.get_properties.metadata["url"],
|
1036
960
|
headers=_headers,
|
1037
961
|
params=_params,
|
1038
962
|
)
|
1039
|
-
|
1040
|
-
|
963
|
+
_request = _convert_request(_request)
|
964
|
+
_request.url = self._client.format_url(_request.url)
|
1041
965
|
|
966
|
+
_stream = False
|
1042
967
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1043
|
-
|
968
|
+
_request, stream=_stream, **kwargs
|
1044
969
|
)
|
1045
970
|
|
1046
971
|
response = pipeline_response.http_response
|
@@ -1052,13 +977,9 @@ class StorageAccountsOperations:
|
|
1052
977
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
1053
978
|
|
1054
979
|
if cls:
|
1055
|
-
return cls(pipeline_response, deserialized, {})
|
1056
|
-
|
1057
|
-
return deserialized
|
980
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1058
981
|
|
1059
|
-
|
1060
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
1061
|
-
}
|
982
|
+
return deserialized # type: ignore
|
1062
983
|
|
1063
984
|
@overload
|
1064
985
|
def update(
|
@@ -1091,7 +1012,6 @@ class StorageAccountsOperations:
|
|
1091
1012
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1092
1013
|
Default value is "application/json".
|
1093
1014
|
:paramtype content_type: str
|
1094
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1095
1015
|
:return: StorageAccount or the result of cls(response)
|
1096
1016
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
|
1097
1017
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1102,7 +1022,7 @@ class StorageAccountsOperations:
|
|
1102
1022
|
self,
|
1103
1023
|
resource_group_name: str,
|
1104
1024
|
account_name: str,
|
1105
|
-
parameters: IO,
|
1025
|
+
parameters: IO[bytes],
|
1106
1026
|
*,
|
1107
1027
|
content_type: str = "application/json",
|
1108
1028
|
**kwargs: Any
|
@@ -1124,11 +1044,10 @@ class StorageAccountsOperations:
|
|
1124
1044
|
lower-case letters only. Required.
|
1125
1045
|
:type account_name: str
|
1126
1046
|
:param parameters: The parameters to provide for the updated account. Required.
|
1127
|
-
:type parameters: IO
|
1047
|
+
:type parameters: IO[bytes]
|
1128
1048
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1129
1049
|
Default value is "application/json".
|
1130
1050
|
:paramtype content_type: str
|
1131
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1132
1051
|
:return: StorageAccount or the result of cls(response)
|
1133
1052
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
|
1134
1053
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1139,7 +1058,7 @@ class StorageAccountsOperations:
|
|
1139
1058
|
self,
|
1140
1059
|
resource_group_name: str,
|
1141
1060
|
account_name: str,
|
1142
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
1061
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
1143
1062
|
**kwargs: Any
|
1144
1063
|
) -> _models.StorageAccount:
|
1145
1064
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -1159,18 +1078,14 @@ class StorageAccountsOperations:
|
|
1159
1078
|
lower-case letters only. Required.
|
1160
1079
|
:type account_name: str
|
1161
1080
|
:param parameters: The parameters to provide for the updated account. Is either a
|
1162
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
1081
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
1163
1082
|
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountUpdateParameters
|
1164
|
-
or IO
|
1165
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1166
|
-
Default value is None.
|
1167
|
-
:paramtype content_type: str
|
1168
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1083
|
+
or IO[bytes]
|
1169
1084
|
:return: StorageAccount or the result of cls(response)
|
1170
1085
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
|
1171
1086
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1172
1087
|
"""
|
1173
|
-
error_map = {
|
1088
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1174
1089
|
401: ClientAuthenticationError,
|
1175
1090
|
404: ResourceNotFoundError,
|
1176
1091
|
409: ResourceExistsError,
|
@@ -1181,8 +1096,8 @@ class StorageAccountsOperations:
|
|
1181
1096
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1182
1097
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1183
1098
|
|
1184
|
-
api_version:
|
1185
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1099
|
+
api_version: str = kwargs.pop(
|
1100
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1186
1101
|
)
|
1187
1102
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1188
1103
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
@@ -1190,12 +1105,12 @@ class StorageAccountsOperations:
|
|
1190
1105
|
content_type = content_type or "application/json"
|
1191
1106
|
_json = None
|
1192
1107
|
_content = None
|
1193
|
-
if isinstance(parameters, (
|
1108
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1194
1109
|
_content = parameters
|
1195
1110
|
else:
|
1196
1111
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
1197
1112
|
|
1198
|
-
|
1113
|
+
_request = build_update_request(
|
1199
1114
|
resource_group_name=resource_group_name,
|
1200
1115
|
account_name=account_name,
|
1201
1116
|
subscription_id=self._config.subscription_id,
|
@@ -1203,15 +1118,15 @@ class StorageAccountsOperations:
|
|
1203
1118
|
content_type=content_type,
|
1204
1119
|
json=_json,
|
1205
1120
|
content=_content,
|
1206
|
-
template_url=self.update.metadata["url"],
|
1207
1121
|
headers=_headers,
|
1208
1122
|
params=_params,
|
1209
1123
|
)
|
1210
|
-
|
1211
|
-
|
1124
|
+
_request = _convert_request(_request)
|
1125
|
+
_request.url = self._client.format_url(_request.url)
|
1212
1126
|
|
1127
|
+
_stream = False
|
1213
1128
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1214
|
-
|
1129
|
+
_request, stream=_stream, **kwargs
|
1215
1130
|
)
|
1216
1131
|
|
1217
1132
|
response = pipeline_response.http_response
|
@@ -1223,20 +1138,15 @@ class StorageAccountsOperations:
|
|
1223
1138
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
1224
1139
|
|
1225
1140
|
if cls:
|
1226
|
-
return cls(pipeline_response, deserialized, {})
|
1227
|
-
|
1228
|
-
return deserialized
|
1141
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1229
1142
|
|
1230
|
-
|
1231
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
1232
|
-
}
|
1143
|
+
return deserialized # type: ignore
|
1233
1144
|
|
1234
1145
|
@distributed_trace
|
1235
1146
|
def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1236
1147
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
1237
1148
|
returned; use the ListKeys operation for this.
|
1238
1149
|
|
1239
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1240
1150
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1241
1151
|
:rtype:
|
1242
1152
|
~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount]
|
@@ -1245,12 +1155,12 @@ class StorageAccountsOperations:
|
|
1245
1155
|
_headers = kwargs.pop("headers", {}) or {}
|
1246
1156
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1247
1157
|
|
1248
|
-
api_version:
|
1249
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1158
|
+
api_version: str = kwargs.pop(
|
1159
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1250
1160
|
)
|
1251
1161
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1252
1162
|
|
1253
|
-
error_map = {
|
1163
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1254
1164
|
401: ClientAuthenticationError,
|
1255
1165
|
404: ResourceNotFoundError,
|
1256
1166
|
409: ResourceExistsError,
|
@@ -1261,15 +1171,14 @@ class StorageAccountsOperations:
|
|
1261
1171
|
def prepare_request(next_link=None):
|
1262
1172
|
if not next_link:
|
1263
1173
|
|
1264
|
-
|
1174
|
+
_request = build_list_request(
|
1265
1175
|
subscription_id=self._config.subscription_id,
|
1266
1176
|
api_version=api_version,
|
1267
|
-
template_url=self.list.metadata["url"],
|
1268
1177
|
headers=_headers,
|
1269
1178
|
params=_params,
|
1270
1179
|
)
|
1271
|
-
|
1272
|
-
|
1180
|
+
_request = _convert_request(_request)
|
1181
|
+
_request.url = self._client.format_url(_request.url)
|
1273
1182
|
|
1274
1183
|
else:
|
1275
1184
|
# make call to next link with the client's api-version
|
@@ -1280,14 +1189,14 @@ class StorageAccountsOperations:
|
|
1280
1189
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1281
1190
|
}
|
1282
1191
|
)
|
1283
|
-
_next_request_params["api-version"] = self.
|
1284
|
-
|
1192
|
+
_next_request_params["api-version"] = self._api_version
|
1193
|
+
_request = HttpRequest(
|
1285
1194
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1286
1195
|
)
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
return
|
1196
|
+
_request = _convert_request(_request)
|
1197
|
+
_request.url = self._client.format_url(_request.url)
|
1198
|
+
_request.method = "GET"
|
1199
|
+
return _request
|
1291
1200
|
|
1292
1201
|
def extract_data(pipeline_response):
|
1293
1202
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1297,10 +1206,11 @@ class StorageAccountsOperations:
|
|
1297
1206
|
return deserialized.next_link or None, iter(list_of_elem)
|
1298
1207
|
|
1299
1208
|
def get_next(next_link=None):
|
1300
|
-
|
1209
|
+
_request = prepare_request(next_link)
|
1301
1210
|
|
1211
|
+
_stream = False
|
1302
1212
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1303
|
-
|
1213
|
+
_request, stream=_stream, **kwargs
|
1304
1214
|
)
|
1305
1215
|
response = pipeline_response.http_response
|
1306
1216
|
|
@@ -1312,8 +1222,6 @@ class StorageAccountsOperations:
|
|
1312
1222
|
|
1313
1223
|
return ItemPaged(get_next, extract_data)
|
1314
1224
|
|
1315
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
1316
|
-
|
1317
1225
|
@distributed_trace
|
1318
1226
|
def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1319
1227
|
"""Lists all the storage accounts available under the given resource group. Note that storage keys
|
@@ -1322,7 +1230,6 @@ class StorageAccountsOperations:
|
|
1322
1230
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1323
1231
|
name is case insensitive. Required.
|
1324
1232
|
:type resource_group_name: str
|
1325
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1326
1233
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1327
1234
|
:rtype:
|
1328
1235
|
~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount]
|
@@ -1331,12 +1238,12 @@ class StorageAccountsOperations:
|
|
1331
1238
|
_headers = kwargs.pop("headers", {}) or {}
|
1332
1239
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1333
1240
|
|
1334
|
-
api_version:
|
1335
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1241
|
+
api_version: str = kwargs.pop(
|
1242
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1336
1243
|
)
|
1337
1244
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1338
1245
|
|
1339
|
-
error_map = {
|
1246
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1340
1247
|
401: ClientAuthenticationError,
|
1341
1248
|
404: ResourceNotFoundError,
|
1342
1249
|
409: ResourceExistsError,
|
@@ -1347,16 +1254,15 @@ class StorageAccountsOperations:
|
|
1347
1254
|
def prepare_request(next_link=None):
|
1348
1255
|
if not next_link:
|
1349
1256
|
|
1350
|
-
|
1257
|
+
_request = build_list_by_resource_group_request(
|
1351
1258
|
resource_group_name=resource_group_name,
|
1352
1259
|
subscription_id=self._config.subscription_id,
|
1353
1260
|
api_version=api_version,
|
1354
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
1355
1261
|
headers=_headers,
|
1356
1262
|
params=_params,
|
1357
1263
|
)
|
1358
|
-
|
1359
|
-
|
1264
|
+
_request = _convert_request(_request)
|
1265
|
+
_request.url = self._client.format_url(_request.url)
|
1360
1266
|
|
1361
1267
|
else:
|
1362
1268
|
# make call to next link with the client's api-version
|
@@ -1367,14 +1273,14 @@ class StorageAccountsOperations:
|
|
1367
1273
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1368
1274
|
}
|
1369
1275
|
)
|
1370
|
-
_next_request_params["api-version"] = self.
|
1371
|
-
|
1276
|
+
_next_request_params["api-version"] = self._api_version
|
1277
|
+
_request = HttpRequest(
|
1372
1278
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1373
1279
|
)
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
return
|
1280
|
+
_request = _convert_request(_request)
|
1281
|
+
_request.url = self._client.format_url(_request.url)
|
1282
|
+
_request.method = "GET"
|
1283
|
+
return _request
|
1378
1284
|
|
1379
1285
|
def extract_data(pipeline_response):
|
1380
1286
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1384,10 +1290,11 @@ class StorageAccountsOperations:
|
|
1384
1290
|
return deserialized.next_link or None, iter(list_of_elem)
|
1385
1291
|
|
1386
1292
|
def get_next(next_link=None):
|
1387
|
-
|
1293
|
+
_request = prepare_request(next_link)
|
1388
1294
|
|
1295
|
+
_stream = False
|
1389
1296
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1390
|
-
|
1297
|
+
_request, stream=_stream, **kwargs
|
1391
1298
|
)
|
1392
1299
|
response = pipeline_response.http_response
|
1393
1300
|
|
@@ -1399,10 +1306,6 @@ class StorageAccountsOperations:
|
|
1399
1306
|
|
1400
1307
|
return ItemPaged(get_next, extract_data)
|
1401
1308
|
|
1402
|
-
list_by_resource_group.metadata = {
|
1403
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
1404
|
-
}
|
1405
|
-
|
1406
1309
|
@distributed_trace
|
1407
1310
|
def list_keys(
|
1408
1311
|
self, resource_group_name: str, account_name: str, expand: Literal["kerb"] = "kerb", **kwargs: Any
|
@@ -1420,12 +1323,11 @@ class StorageAccountsOperations:
|
|
1420
1323
|
:param expand: Specifies type of the key to be listed. Possible value is kerb. Known values are
|
1421
1324
|
"kerb" and None. Default value is "kerb".
|
1422
1325
|
:type expand: str
|
1423
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1424
1326
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1425
1327
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
|
1426
1328
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1427
1329
|
"""
|
1428
|
-
error_map = {
|
1330
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1429
1331
|
401: ClientAuthenticationError,
|
1430
1332
|
404: ResourceNotFoundError,
|
1431
1333
|
409: ResourceExistsError,
|
@@ -1436,26 +1338,26 @@ class StorageAccountsOperations:
|
|
1436
1338
|
_headers = kwargs.pop("headers", {}) or {}
|
1437
1339
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1438
1340
|
|
1439
|
-
api_version:
|
1440
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1341
|
+
api_version: str = kwargs.pop(
|
1342
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1441
1343
|
)
|
1442
1344
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
1443
1345
|
|
1444
|
-
|
1346
|
+
_request = build_list_keys_request(
|
1445
1347
|
resource_group_name=resource_group_name,
|
1446
1348
|
account_name=account_name,
|
1447
1349
|
subscription_id=self._config.subscription_id,
|
1448
1350
|
expand=expand,
|
1449
1351
|
api_version=api_version,
|
1450
|
-
template_url=self.list_keys.metadata["url"],
|
1451
1352
|
headers=_headers,
|
1452
1353
|
params=_params,
|
1453
1354
|
)
|
1454
|
-
|
1455
|
-
|
1355
|
+
_request = _convert_request(_request)
|
1356
|
+
_request.url = self._client.format_url(_request.url)
|
1456
1357
|
|
1358
|
+
_stream = False
|
1457
1359
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1458
|
-
|
1360
|
+
_request, stream=_stream, **kwargs
|
1459
1361
|
)
|
1460
1362
|
|
1461
1363
|
response = pipeline_response.http_response
|
@@ -1467,13 +1369,9 @@ class StorageAccountsOperations:
|
|
1467
1369
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1468
1370
|
|
1469
1371
|
if cls:
|
1470
|
-
return cls(pipeline_response, deserialized, {})
|
1471
|
-
|
1472
|
-
return deserialized
|
1372
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1473
1373
|
|
1474
|
-
|
1475
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
1476
|
-
}
|
1374
|
+
return deserialized # type: ignore
|
1477
1375
|
|
1478
1376
|
@overload
|
1479
1377
|
def regenerate_key(
|
@@ -1501,7 +1399,6 @@ class StorageAccountsOperations:
|
|
1501
1399
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1502
1400
|
Default value is "application/json".
|
1503
1401
|
:paramtype content_type: str
|
1504
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1505
1402
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1506
1403
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
|
1507
1404
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1512,7 +1409,7 @@ class StorageAccountsOperations:
|
|
1512
1409
|
self,
|
1513
1410
|
resource_group_name: str,
|
1514
1411
|
account_name: str,
|
1515
|
-
regenerate_key: IO,
|
1412
|
+
regenerate_key: IO[bytes],
|
1516
1413
|
*,
|
1517
1414
|
content_type: str = "application/json",
|
1518
1415
|
**kwargs: Any
|
@@ -1528,11 +1425,10 @@ class StorageAccountsOperations:
|
|
1528
1425
|
:type account_name: str
|
1529
1426
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1530
1427
|
kerb1, kerb2. Required.
|
1531
|
-
:type regenerate_key: IO
|
1428
|
+
:type regenerate_key: IO[bytes]
|
1532
1429
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1533
1430
|
Default value is "application/json".
|
1534
1431
|
:paramtype content_type: str
|
1535
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1536
1432
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1537
1433
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
|
1538
1434
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1543,7 +1439,7 @@ class StorageAccountsOperations:
|
|
1543
1439
|
self,
|
1544
1440
|
resource_group_name: str,
|
1545
1441
|
account_name: str,
|
1546
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
1442
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1547
1443
|
**kwargs: Any
|
1548
1444
|
) -> _models.StorageAccountListKeysResult:
|
1549
1445
|
"""Regenerates one of the access keys or Kerberos keys for the specified storage account.
|
@@ -1556,18 +1452,16 @@ class StorageAccountsOperations:
|
|
1556
1452
|
lower-case letters only. Required.
|
1557
1453
|
:type account_name: str
|
1558
1454
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1559
|
-
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO type.
|
1455
|
+
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
|
1456
|
+
Required.
|
1560
1457
|
:type regenerate_key:
|
1561
|
-
~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountRegenerateKeyParameters or
|
1562
|
-
|
1563
|
-
Default value is None.
|
1564
|
-
:paramtype content_type: str
|
1565
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1458
|
+
~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountRegenerateKeyParameters or
|
1459
|
+
IO[bytes]
|
1566
1460
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1567
1461
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
|
1568
1462
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1569
1463
|
"""
|
1570
|
-
error_map = {
|
1464
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1571
1465
|
401: ClientAuthenticationError,
|
1572
1466
|
404: ResourceNotFoundError,
|
1573
1467
|
409: ResourceExistsError,
|
@@ -1578,8 +1472,8 @@ class StorageAccountsOperations:
|
|
1578
1472
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1579
1473
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1580
1474
|
|
1581
|
-
api_version:
|
1582
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1475
|
+
api_version: str = kwargs.pop(
|
1476
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1583
1477
|
)
|
1584
1478
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1585
1479
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
@@ -1587,12 +1481,12 @@ class StorageAccountsOperations:
|
|
1587
1481
|
content_type = content_type or "application/json"
|
1588
1482
|
_json = None
|
1589
1483
|
_content = None
|
1590
|
-
if isinstance(regenerate_key, (
|
1484
|
+
if isinstance(regenerate_key, (IOBase, bytes)):
|
1591
1485
|
_content = regenerate_key
|
1592
1486
|
else:
|
1593
1487
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1594
1488
|
|
1595
|
-
|
1489
|
+
_request = build_regenerate_key_request(
|
1596
1490
|
resource_group_name=resource_group_name,
|
1597
1491
|
account_name=account_name,
|
1598
1492
|
subscription_id=self._config.subscription_id,
|
@@ -1600,15 +1494,15 @@ class StorageAccountsOperations:
|
|
1600
1494
|
content_type=content_type,
|
1601
1495
|
json=_json,
|
1602
1496
|
content=_content,
|
1603
|
-
template_url=self.regenerate_key.metadata["url"],
|
1604
1497
|
headers=_headers,
|
1605
1498
|
params=_params,
|
1606
1499
|
)
|
1607
|
-
|
1608
|
-
|
1500
|
+
_request = _convert_request(_request)
|
1501
|
+
_request.url = self._client.format_url(_request.url)
|
1609
1502
|
|
1503
|
+
_stream = False
|
1610
1504
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1611
|
-
|
1505
|
+
_request, stream=_stream, **kwargs
|
1612
1506
|
)
|
1613
1507
|
|
1614
1508
|
response = pipeline_response.http_response
|
@@ -1620,13 +1514,9 @@ class StorageAccountsOperations:
|
|
1620
1514
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1621
1515
|
|
1622
1516
|
if cls:
|
1623
|
-
return cls(pipeline_response, deserialized, {})
|
1624
|
-
|
1625
|
-
return deserialized
|
1517
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1626
1518
|
|
1627
|
-
|
1628
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1629
|
-
}
|
1519
|
+
return deserialized # type: ignore
|
1630
1520
|
|
1631
1521
|
@overload
|
1632
1522
|
def list_account_sas(
|
@@ -1653,7 +1543,6 @@ class StorageAccountsOperations:
|
|
1653
1543
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1654
1544
|
Default value is "application/json".
|
1655
1545
|
:paramtype content_type: str
|
1656
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1657
1546
|
:return: ListAccountSasResponse or the result of cls(response)
|
1658
1547
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListAccountSasResponse
|
1659
1548
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1664,7 +1553,7 @@ class StorageAccountsOperations:
|
|
1664
1553
|
self,
|
1665
1554
|
resource_group_name: str,
|
1666
1555
|
account_name: str,
|
1667
|
-
parameters: IO,
|
1556
|
+
parameters: IO[bytes],
|
1668
1557
|
*,
|
1669
1558
|
content_type: str = "application/json",
|
1670
1559
|
**kwargs: Any
|
@@ -1680,11 +1569,10 @@ class StorageAccountsOperations:
|
|
1680
1569
|
:type account_name: str
|
1681
1570
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1682
1571
|
Required.
|
1683
|
-
:type parameters: IO
|
1572
|
+
:type parameters: IO[bytes]
|
1684
1573
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1685
1574
|
Default value is "application/json".
|
1686
1575
|
:paramtype content_type: str
|
1687
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1688
1576
|
:return: ListAccountSasResponse or the result of cls(response)
|
1689
1577
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListAccountSasResponse
|
1690
1578
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1695,7 +1583,7 @@ class StorageAccountsOperations:
|
|
1695
1583
|
self,
|
1696
1584
|
resource_group_name: str,
|
1697
1585
|
account_name: str,
|
1698
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1586
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1699
1587
|
**kwargs: Any
|
1700
1588
|
) -> _models.ListAccountSasResponse:
|
1701
1589
|
"""List SAS credentials of a storage account.
|
@@ -1708,17 +1596,14 @@ class StorageAccountsOperations:
|
|
1708
1596
|
lower-case letters only. Required.
|
1709
1597
|
:type account_name: str
|
1710
1598
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1711
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1712
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.AccountSasParameters or
|
1713
|
-
|
1714
|
-
Default value is None.
|
1715
|
-
:paramtype content_type: str
|
1716
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1599
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1600
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.AccountSasParameters or
|
1601
|
+
IO[bytes]
|
1717
1602
|
:return: ListAccountSasResponse or the result of cls(response)
|
1718
1603
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListAccountSasResponse
|
1719
1604
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1720
1605
|
"""
|
1721
|
-
error_map = {
|
1606
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1722
1607
|
401: ClientAuthenticationError,
|
1723
1608
|
404: ResourceNotFoundError,
|
1724
1609
|
409: ResourceExistsError,
|
@@ -1729,8 +1614,8 @@ class StorageAccountsOperations:
|
|
1729
1614
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1730
1615
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1731
1616
|
|
1732
|
-
api_version:
|
1733
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1617
|
+
api_version: str = kwargs.pop(
|
1618
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1734
1619
|
)
|
1735
1620
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1736
1621
|
cls: ClsType[_models.ListAccountSasResponse] = kwargs.pop("cls", None)
|
@@ -1738,12 +1623,12 @@ class StorageAccountsOperations:
|
|
1738
1623
|
content_type = content_type or "application/json"
|
1739
1624
|
_json = None
|
1740
1625
|
_content = None
|
1741
|
-
if isinstance(parameters, (
|
1626
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1742
1627
|
_content = parameters
|
1743
1628
|
else:
|
1744
1629
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1745
1630
|
|
1746
|
-
|
1631
|
+
_request = build_list_account_sas_request(
|
1747
1632
|
resource_group_name=resource_group_name,
|
1748
1633
|
account_name=account_name,
|
1749
1634
|
subscription_id=self._config.subscription_id,
|
@@ -1751,15 +1636,15 @@ class StorageAccountsOperations:
|
|
1751
1636
|
content_type=content_type,
|
1752
1637
|
json=_json,
|
1753
1638
|
content=_content,
|
1754
|
-
template_url=self.list_account_sas.metadata["url"],
|
1755
1639
|
headers=_headers,
|
1756
1640
|
params=_params,
|
1757
1641
|
)
|
1758
|
-
|
1759
|
-
|
1642
|
+
_request = _convert_request(_request)
|
1643
|
+
_request.url = self._client.format_url(_request.url)
|
1760
1644
|
|
1645
|
+
_stream = False
|
1761
1646
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1762
|
-
|
1647
|
+
_request, stream=_stream, **kwargs
|
1763
1648
|
)
|
1764
1649
|
|
1765
1650
|
response = pipeline_response.http_response
|
@@ -1771,13 +1656,9 @@ class StorageAccountsOperations:
|
|
1771
1656
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1772
1657
|
|
1773
1658
|
if cls:
|
1774
|
-
return cls(pipeline_response, deserialized, {})
|
1775
|
-
|
1776
|
-
return deserialized
|
1659
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1777
1660
|
|
1778
|
-
|
1779
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1780
|
-
}
|
1661
|
+
return deserialized # type: ignore
|
1781
1662
|
|
1782
1663
|
@overload
|
1783
1664
|
def list_service_sas(
|
@@ -1803,7 +1684,6 @@ class StorageAccountsOperations:
|
|
1803
1684
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1804
1685
|
Default value is "application/json".
|
1805
1686
|
:paramtype content_type: str
|
1806
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1807
1687
|
:return: ListServiceSasResponse or the result of cls(response)
|
1808
1688
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListServiceSasResponse
|
1809
1689
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1814,7 +1694,7 @@ class StorageAccountsOperations:
|
|
1814
1694
|
self,
|
1815
1695
|
resource_group_name: str,
|
1816
1696
|
account_name: str,
|
1817
|
-
parameters: IO,
|
1697
|
+
parameters: IO[bytes],
|
1818
1698
|
*,
|
1819
1699
|
content_type: str = "application/json",
|
1820
1700
|
**kwargs: Any
|
@@ -1829,11 +1709,10 @@ class StorageAccountsOperations:
|
|
1829
1709
|
lower-case letters only. Required.
|
1830
1710
|
:type account_name: str
|
1831
1711
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1832
|
-
:type parameters: IO
|
1712
|
+
:type parameters: IO[bytes]
|
1833
1713
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1834
1714
|
Default value is "application/json".
|
1835
1715
|
:paramtype content_type: str
|
1836
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1837
1716
|
:return: ListServiceSasResponse or the result of cls(response)
|
1838
1717
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListServiceSasResponse
|
1839
1718
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1844,7 +1723,7 @@ class StorageAccountsOperations:
|
|
1844
1723
|
self,
|
1845
1724
|
resource_group_name: str,
|
1846
1725
|
account_name: str,
|
1847
|
-
parameters: Union[_models.ServiceSasParameters, IO],
|
1726
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1848
1727
|
**kwargs: Any
|
1849
1728
|
) -> _models.ListServiceSasResponse:
|
1850
1729
|
"""List service SAS credentials of a specific resource.
|
@@ -1857,17 +1736,14 @@ class StorageAccountsOperations:
|
|
1857
1736
|
lower-case letters only. Required.
|
1858
1737
|
:type account_name: str
|
1859
1738
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1860
|
-
ServiceSasParameters type or a IO type. Required.
|
1861
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ServiceSasParameters or
|
1862
|
-
|
1863
|
-
Default value is None.
|
1864
|
-
:paramtype content_type: str
|
1865
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1739
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1740
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ServiceSasParameters or
|
1741
|
+
IO[bytes]
|
1866
1742
|
:return: ListServiceSasResponse or the result of cls(response)
|
1867
1743
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListServiceSasResponse
|
1868
1744
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1869
1745
|
"""
|
1870
|
-
error_map = {
|
1746
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1871
1747
|
401: ClientAuthenticationError,
|
1872
1748
|
404: ResourceNotFoundError,
|
1873
1749
|
409: ResourceExistsError,
|
@@ -1878,8 +1754,8 @@ class StorageAccountsOperations:
|
|
1878
1754
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1879
1755
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1880
1756
|
|
1881
|
-
api_version:
|
1882
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1757
|
+
api_version: str = kwargs.pop(
|
1758
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1883
1759
|
)
|
1884
1760
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1885
1761
|
cls: ClsType[_models.ListServiceSasResponse] = kwargs.pop("cls", None)
|
@@ -1887,12 +1763,12 @@ class StorageAccountsOperations:
|
|
1887
1763
|
content_type = content_type or "application/json"
|
1888
1764
|
_json = None
|
1889
1765
|
_content = None
|
1890
|
-
if isinstance(parameters, (
|
1766
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1891
1767
|
_content = parameters
|
1892
1768
|
else:
|
1893
1769
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1894
1770
|
|
1895
|
-
|
1771
|
+
_request = build_list_service_sas_request(
|
1896
1772
|
resource_group_name=resource_group_name,
|
1897
1773
|
account_name=account_name,
|
1898
1774
|
subscription_id=self._config.subscription_id,
|
@@ -1900,15 +1776,15 @@ class StorageAccountsOperations:
|
|
1900
1776
|
content_type=content_type,
|
1901
1777
|
json=_json,
|
1902
1778
|
content=_content,
|
1903
|
-
template_url=self.list_service_sas.metadata["url"],
|
1904
1779
|
headers=_headers,
|
1905
1780
|
params=_params,
|
1906
1781
|
)
|
1907
|
-
|
1908
|
-
|
1782
|
+
_request = _convert_request(_request)
|
1783
|
+
_request.url = self._client.format_url(_request.url)
|
1909
1784
|
|
1785
|
+
_stream = False
|
1910
1786
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1911
|
-
|
1787
|
+
_request, stream=_stream, **kwargs
|
1912
1788
|
)
|
1913
1789
|
|
1914
1790
|
response = pipeline_response.http_response
|
@@ -1920,18 +1796,14 @@ class StorageAccountsOperations:
|
|
1920
1796
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1921
1797
|
|
1922
1798
|
if cls:
|
1923
|
-
return cls(pipeline_response, deserialized, {})
|
1924
|
-
|
1925
|
-
return deserialized
|
1799
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1926
1800
|
|
1927
|
-
|
1928
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1929
|
-
}
|
1801
|
+
return deserialized # type: ignore
|
1930
1802
|
|
1931
1803
|
def _failover_initial( # pylint: disable=inconsistent-return-statements
|
1932
1804
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1933
1805
|
) -> None:
|
1934
|
-
error_map = {
|
1806
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1935
1807
|
401: ClientAuthenticationError,
|
1936
1808
|
404: ResourceNotFoundError,
|
1937
1809
|
409: ResourceExistsError,
|
@@ -1942,25 +1814,25 @@ class StorageAccountsOperations:
|
|
1942
1814
|
_headers = kwargs.pop("headers", {}) or {}
|
1943
1815
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1944
1816
|
|
1945
|
-
api_version:
|
1946
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1817
|
+
api_version: str = kwargs.pop(
|
1818
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1947
1819
|
)
|
1948
1820
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1949
1821
|
|
1950
|
-
|
1822
|
+
_request = build_failover_request(
|
1951
1823
|
resource_group_name=resource_group_name,
|
1952
1824
|
account_name=account_name,
|
1953
1825
|
subscription_id=self._config.subscription_id,
|
1954
1826
|
api_version=api_version,
|
1955
|
-
template_url=self._failover_initial.metadata["url"],
|
1956
1827
|
headers=_headers,
|
1957
1828
|
params=_params,
|
1958
1829
|
)
|
1959
|
-
|
1960
|
-
|
1830
|
+
_request = _convert_request(_request)
|
1831
|
+
_request.url = self._client.format_url(_request.url)
|
1961
1832
|
|
1833
|
+
_stream = False
|
1962
1834
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1963
|
-
|
1835
|
+
_request, stream=_stream, **kwargs
|
1964
1836
|
)
|
1965
1837
|
|
1966
1838
|
response = pipeline_response.http_response
|
@@ -1970,11 +1842,7 @@ class StorageAccountsOperations:
|
|
1970
1842
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1971
1843
|
|
1972
1844
|
if cls:
|
1973
|
-
return cls(pipeline_response, None, {})
|
1974
|
-
|
1975
|
-
_failover_initial.metadata = {
|
1976
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1977
|
-
}
|
1845
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1978
1846
|
|
1979
1847
|
@distributed_trace
|
1980
1848
|
def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> LROPoller[None]:
|
@@ -1989,14 +1857,6 @@ class StorageAccountsOperations:
|
|
1989
1857
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1990
1858
|
lower-case letters only. Required.
|
1991
1859
|
:type account_name: str
|
1992
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1993
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1994
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
1995
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
1996
|
-
strategy.
|
1997
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
1998
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1999
|
-
Retry-After header is present.
|
2000
1860
|
:return: An instance of LROPoller that returns either None or the result of cls(response)
|
2001
1861
|
:rtype: ~azure.core.polling.LROPoller[None]
|
2002
1862
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2004,8 +1864,8 @@ class StorageAccountsOperations:
|
|
2004
1864
|
_headers = kwargs.pop("headers", {}) or {}
|
2005
1865
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2006
1866
|
|
2007
|
-
api_version:
|
2008
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1867
|
+
api_version: str = kwargs.pop(
|
1868
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
2009
1869
|
)
|
2010
1870
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
2011
1871
|
polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
|
@@ -2025,7 +1885,7 @@ class StorageAccountsOperations:
|
|
2025
1885
|
|
2026
1886
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
2027
1887
|
if cls:
|
2028
|
-
return cls(pipeline_response, None, {})
|
1888
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
2029
1889
|
|
2030
1890
|
if polling is True:
|
2031
1891
|
polling_method: PollingMethod = cast(
|
@@ -2036,26 +1896,22 @@ class StorageAccountsOperations:
|
|
2036
1896
|
else:
|
2037
1897
|
polling_method = polling
|
2038
1898
|
if cont_token:
|
2039
|
-
return LROPoller.from_continuation_token(
|
1899
|
+
return LROPoller[None].from_continuation_token(
|
2040
1900
|
polling_method=polling_method,
|
2041
1901
|
continuation_token=cont_token,
|
2042
1902
|
client=self._client,
|
2043
1903
|
deserialization_callback=get_long_running_output,
|
2044
1904
|
)
|
2045
|
-
return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
2046
|
-
|
2047
|
-
begin_failover.metadata = {
|
2048
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
2049
|
-
}
|
1905
|
+
return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
2050
1906
|
|
2051
1907
|
def _restore_blob_ranges_initial(
|
2052
1908
|
self,
|
2053
1909
|
resource_group_name: str,
|
2054
1910
|
account_name: str,
|
2055
|
-
parameters: Union[_models.BlobRestoreParameters, IO],
|
1911
|
+
parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
|
2056
1912
|
**kwargs: Any
|
2057
1913
|
) -> _models.BlobRestoreStatus:
|
2058
|
-
error_map = {
|
1914
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2059
1915
|
401: ClientAuthenticationError,
|
2060
1916
|
404: ResourceNotFoundError,
|
2061
1917
|
409: ResourceExistsError,
|
@@ -2066,8 +1922,8 @@ class StorageAccountsOperations:
|
|
2066
1922
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
2067
1923
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2068
1924
|
|
2069
|
-
api_version:
|
2070
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1925
|
+
api_version: str = kwargs.pop(
|
1926
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
2071
1927
|
)
|
2072
1928
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
2073
1929
|
cls: ClsType[_models.BlobRestoreStatus] = kwargs.pop("cls", None)
|
@@ -2075,12 +1931,12 @@ class StorageAccountsOperations:
|
|
2075
1931
|
content_type = content_type or "application/json"
|
2076
1932
|
_json = None
|
2077
1933
|
_content = None
|
2078
|
-
if isinstance(parameters, (
|
1934
|
+
if isinstance(parameters, (IOBase, bytes)):
|
2079
1935
|
_content = parameters
|
2080
1936
|
else:
|
2081
1937
|
_json = self._serialize.body(parameters, "BlobRestoreParameters")
|
2082
1938
|
|
2083
|
-
|
1939
|
+
_request = build_restore_blob_ranges_request(
|
2084
1940
|
resource_group_name=resource_group_name,
|
2085
1941
|
account_name=account_name,
|
2086
1942
|
subscription_id=self._config.subscription_id,
|
@@ -2088,15 +1944,15 @@ class StorageAccountsOperations:
|
|
2088
1944
|
content_type=content_type,
|
2089
1945
|
json=_json,
|
2090
1946
|
content=_content,
|
2091
|
-
template_url=self._restore_blob_ranges_initial.metadata["url"],
|
2092
1947
|
headers=_headers,
|
2093
1948
|
params=_params,
|
2094
1949
|
)
|
2095
|
-
|
2096
|
-
|
1950
|
+
_request = _convert_request(_request)
|
1951
|
+
_request.url = self._client.format_url(_request.url)
|
2097
1952
|
|
1953
|
+
_stream = False
|
2098
1954
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2099
|
-
|
1955
|
+
_request, stream=_stream, **kwargs
|
2100
1956
|
)
|
2101
1957
|
|
2102
1958
|
response = pipeline_response.http_response
|
@@ -2116,10 +1972,6 @@ class StorageAccountsOperations:
|
|
2116
1972
|
|
2117
1973
|
return deserialized # type: ignore
|
2118
1974
|
|
2119
|
-
_restore_blob_ranges_initial.metadata = {
|
2120
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
|
2121
|
-
}
|
2122
|
-
|
2123
1975
|
@overload
|
2124
1976
|
def begin_restore_blob_ranges(
|
2125
1977
|
self,
|
@@ -2144,14 +1996,6 @@ class StorageAccountsOperations:
|
|
2144
1996
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2145
1997
|
Default value is "application/json".
|
2146
1998
|
:paramtype content_type: str
|
2147
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2148
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
2149
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
2150
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
2151
|
-
strategy.
|
2152
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
2153
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
2154
|
-
Retry-After header is present.
|
2155
1999
|
:return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
|
2156
2000
|
cls(response)
|
2157
2001
|
:rtype:
|
@@ -2164,7 +2008,7 @@ class StorageAccountsOperations:
|
|
2164
2008
|
self,
|
2165
2009
|
resource_group_name: str,
|
2166
2010
|
account_name: str,
|
2167
|
-
parameters: IO,
|
2011
|
+
parameters: IO[bytes],
|
2168
2012
|
*,
|
2169
2013
|
content_type: str = "application/json",
|
2170
2014
|
**kwargs: Any
|
@@ -2179,18 +2023,10 @@ class StorageAccountsOperations:
|
|
2179
2023
|
lower-case letters only. Required.
|
2180
2024
|
:type account_name: str
|
2181
2025
|
:param parameters: The parameters to provide for restore blob ranges. Required.
|
2182
|
-
:type parameters: IO
|
2026
|
+
:type parameters: IO[bytes]
|
2183
2027
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2184
2028
|
Default value is "application/json".
|
2185
2029
|
:paramtype content_type: str
|
2186
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2187
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
2188
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
2189
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
2190
|
-
strategy.
|
2191
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
2192
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
2193
|
-
Retry-After header is present.
|
2194
2030
|
:return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
|
2195
2031
|
cls(response)
|
2196
2032
|
:rtype:
|
@@ -2203,7 +2039,7 @@ class StorageAccountsOperations:
|
|
2203
2039
|
self,
|
2204
2040
|
resource_group_name: str,
|
2205
2041
|
account_name: str,
|
2206
|
-
parameters: Union[_models.BlobRestoreParameters, IO],
|
2042
|
+
parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
|
2207
2043
|
**kwargs: Any
|
2208
2044
|
) -> LROPoller[_models.BlobRestoreStatus]:
|
2209
2045
|
"""Restore blobs in the specified blob ranges.
|
@@ -2216,19 +2052,9 @@ class StorageAccountsOperations:
|
|
2216
2052
|
lower-case letters only. Required.
|
2217
2053
|
:type account_name: str
|
2218
2054
|
:param parameters: The parameters to provide for restore blob ranges. Is either a
|
2219
|
-
BlobRestoreParameters type or a IO type. Required.
|
2220
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobRestoreParameters or
|
2221
|
-
|
2222
|
-
Default value is None.
|
2223
|
-
:paramtype content_type: str
|
2224
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2225
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
2226
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
2227
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
2228
|
-
strategy.
|
2229
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
2230
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
2231
|
-
Retry-After header is present.
|
2055
|
+
BlobRestoreParameters type or a IO[bytes] type. Required.
|
2056
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobRestoreParameters or
|
2057
|
+
IO[bytes]
|
2232
2058
|
:return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
|
2233
2059
|
cls(response)
|
2234
2060
|
:rtype:
|
@@ -2238,8 +2064,8 @@ class StorageAccountsOperations:
|
|
2238
2064
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
2239
2065
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2240
2066
|
|
2241
|
-
api_version:
|
2242
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
2067
|
+
api_version: str = kwargs.pop(
|
2068
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
2243
2069
|
)
|
2244
2070
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
2245
2071
|
cls: ClsType[_models.BlobRestoreStatus] = kwargs.pop("cls", None)
|
@@ -2263,7 +2089,7 @@ class StorageAccountsOperations:
|
|
2263
2089
|
def get_long_running_output(pipeline_response):
|
2264
2090
|
deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
|
2265
2091
|
if cls:
|
2266
|
-
return cls(pipeline_response, deserialized, {})
|
2092
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
2267
2093
|
return deserialized
|
2268
2094
|
|
2269
2095
|
if polling is True:
|
@@ -2275,17 +2101,15 @@ class StorageAccountsOperations:
|
|
2275
2101
|
else:
|
2276
2102
|
polling_method = polling
|
2277
2103
|
if cont_token:
|
2278
|
-
return LROPoller.from_continuation_token(
|
2104
|
+
return LROPoller[_models.BlobRestoreStatus].from_continuation_token(
|
2279
2105
|
polling_method=polling_method,
|
2280
2106
|
continuation_token=cont_token,
|
2281
2107
|
client=self._client,
|
2282
2108
|
deserialization_callback=get_long_running_output,
|
2283
2109
|
)
|
2284
|
-
return LROPoller(
|
2285
|
-
|
2286
|
-
|
2287
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
|
2288
|
-
}
|
2110
|
+
return LROPoller[_models.BlobRestoreStatus](
|
2111
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
2112
|
+
)
|
2289
2113
|
|
2290
2114
|
@distributed_trace
|
2291
2115
|
def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
|
@@ -2300,12 +2124,11 @@ class StorageAccountsOperations:
|
|
2300
2124
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
2301
2125
|
lower-case letters only. Required.
|
2302
2126
|
:type account_name: str
|
2303
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2304
2127
|
:return: None or the result of cls(response)
|
2305
2128
|
:rtype: None
|
2306
2129
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2307
2130
|
"""
|
2308
|
-
error_map = {
|
2131
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2309
2132
|
401: ClientAuthenticationError,
|
2310
2133
|
404: ResourceNotFoundError,
|
2311
2134
|
409: ResourceExistsError,
|
@@ -2316,25 +2139,25 @@ class StorageAccountsOperations:
|
|
2316
2139
|
_headers = kwargs.pop("headers", {}) or {}
|
2317
2140
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2318
2141
|
|
2319
|
-
api_version:
|
2320
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
2142
|
+
api_version: str = kwargs.pop(
|
2143
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
2321
2144
|
)
|
2322
2145
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
2323
2146
|
|
2324
|
-
|
2147
|
+
_request = build_revoke_user_delegation_keys_request(
|
2325
2148
|
resource_group_name=resource_group_name,
|
2326
2149
|
account_name=account_name,
|
2327
2150
|
subscription_id=self._config.subscription_id,
|
2328
2151
|
api_version=api_version,
|
2329
|
-
template_url=self.revoke_user_delegation_keys.metadata["url"],
|
2330
2152
|
headers=_headers,
|
2331
2153
|
params=_params,
|
2332
2154
|
)
|
2333
|
-
|
2334
|
-
|
2155
|
+
_request = _convert_request(_request)
|
2156
|
+
_request.url = self._client.format_url(_request.url)
|
2335
2157
|
|
2158
|
+
_stream = False
|
2336
2159
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2337
|
-
|
2160
|
+
_request, stream=_stream, **kwargs
|
2338
2161
|
)
|
2339
2162
|
|
2340
2163
|
response = pipeline_response.http_response
|
@@ -2344,8 +2167,4 @@ class StorageAccountsOperations:
|
|
2344
2167
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
2345
2168
|
|
2346
2169
|
if cls:
|
2347
|
-
return cls(pipeline_response, None, {})
|
2348
|
-
|
2349
|
-
revoke_user_delegation_keys.metadata = {
|
2350
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
|
2351
|
-
}
|
2170
|
+
return cls(pipeline_response, None, {}) # type: ignore
|