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,7 +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: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
51
52
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
52
53
|
accept = _headers.pop("Accept", "application/json")
|
53
54
|
|
@@ -59,7 +60,7 @@ def build_check_name_availability_request(subscription_id: str, **kwargs: Any) -
|
|
59
60
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
60
61
|
}
|
61
62
|
|
62
|
-
_url: str =
|
63
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
63
64
|
|
64
65
|
# Construct parameters
|
65
66
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -78,7 +79,7 @@ def build_create_request(
|
|
78
79
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
79
80
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
80
81
|
|
81
|
-
api_version:
|
82
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
82
83
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
83
84
|
accept = _headers.pop("Accept", "application/json")
|
84
85
|
|
@@ -95,7 +96,7 @@ def build_create_request(
|
|
95
96
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
96
97
|
}
|
97
98
|
|
98
|
-
_url: str =
|
99
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
99
100
|
|
100
101
|
# Construct parameters
|
101
102
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -113,7 +114,7 @@ def build_delete_request(
|
|
113
114
|
) -> HttpRequest:
|
114
115
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
115
116
|
|
116
|
-
api_version:
|
117
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
117
118
|
# Construct URL
|
118
119
|
_url = kwargs.pop(
|
119
120
|
"template_url",
|
@@ -127,7 +128,7 @@ def build_delete_request(
|
|
127
128
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
128
129
|
}
|
129
130
|
|
130
|
-
_url: str =
|
131
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
131
132
|
|
132
133
|
# Construct parameters
|
133
134
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -146,7 +147,7 @@ def build_get_properties_request(
|
|
146
147
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
147
148
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
148
149
|
|
149
|
-
api_version:
|
150
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
150
151
|
accept = _headers.pop("Accept", "application/json")
|
151
152
|
|
152
153
|
# Construct URL
|
@@ -162,7 +163,7 @@ def build_get_properties_request(
|
|
162
163
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
163
164
|
}
|
164
165
|
|
165
|
-
_url: str =
|
166
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
166
167
|
|
167
168
|
# Construct parameters
|
168
169
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -181,7 +182,7 @@ def build_update_request(
|
|
181
182
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
182
183
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
183
184
|
|
184
|
-
api_version:
|
185
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
185
186
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
186
187
|
accept = _headers.pop("Accept", "application/json")
|
187
188
|
|
@@ -198,7 +199,7 @@ def build_update_request(
|
|
198
199
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
199
200
|
}
|
200
201
|
|
201
|
-
_url: str =
|
202
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
202
203
|
|
203
204
|
# Construct parameters
|
204
205
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -215,7 +216,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
|
|
215
216
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
216
217
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
217
218
|
|
218
|
-
api_version:
|
219
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
219
220
|
accept = _headers.pop("Accept", "application/json")
|
220
221
|
|
221
222
|
# Construct URL
|
@@ -224,7 +225,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
|
|
224
225
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
225
226
|
}
|
226
227
|
|
227
|
-
_url: str =
|
228
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
228
229
|
|
229
230
|
# Construct parameters
|
230
231
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -239,7 +240,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_
|
|
239
240
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
240
241
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
241
242
|
|
242
|
-
api_version:
|
243
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
243
244
|
accept = _headers.pop("Accept", "application/json")
|
244
245
|
|
245
246
|
# Construct URL
|
@@ -254,7 +255,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_
|
|
254
255
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
255
256
|
}
|
256
257
|
|
257
|
-
_url: str =
|
258
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
258
259
|
|
259
260
|
# Construct parameters
|
260
261
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -276,7 +277,7 @@ def build_list_keys_request(
|
|
276
277
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
277
278
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
278
279
|
|
279
|
-
api_version:
|
280
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
280
281
|
accept = _headers.pop("Accept", "application/json")
|
281
282
|
|
282
283
|
# Construct URL
|
@@ -292,7 +293,7 @@ def build_list_keys_request(
|
|
292
293
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
293
294
|
}
|
294
295
|
|
295
|
-
_url: str =
|
296
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
296
297
|
|
297
298
|
# Construct parameters
|
298
299
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -311,7 +312,7 @@ def build_regenerate_key_request(
|
|
311
312
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
312
313
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
313
314
|
|
314
|
-
api_version:
|
315
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
315
316
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
316
317
|
accept = _headers.pop("Accept", "application/json")
|
317
318
|
|
@@ -328,7 +329,7 @@ def build_regenerate_key_request(
|
|
328
329
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
329
330
|
}
|
330
331
|
|
331
|
-
_url: str =
|
332
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
332
333
|
|
333
334
|
# Construct parameters
|
334
335
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -347,7 +348,7 @@ def build_list_account_sas_request(
|
|
347
348
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
348
349
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
349
350
|
|
350
|
-
api_version:
|
351
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
351
352
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
352
353
|
accept = _headers.pop("Accept", "application/json")
|
353
354
|
|
@@ -364,7 +365,7 @@ def build_list_account_sas_request(
|
|
364
365
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
365
366
|
}
|
366
367
|
|
367
|
-
_url: str =
|
368
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
368
369
|
|
369
370
|
# Construct parameters
|
370
371
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -383,7 +384,7 @@ def build_list_service_sas_request(
|
|
383
384
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
384
385
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
385
386
|
|
386
|
-
api_version:
|
387
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
387
388
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
388
389
|
accept = _headers.pop("Accept", "application/json")
|
389
390
|
|
@@ -400,7 +401,7 @@ def build_list_service_sas_request(
|
|
400
401
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
401
402
|
}
|
402
403
|
|
403
|
-
_url: str =
|
404
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
404
405
|
|
405
406
|
# Construct parameters
|
406
407
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -418,7 +419,7 @@ def build_failover_request(
|
|
418
419
|
) -> HttpRequest:
|
419
420
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
420
421
|
|
421
|
-
api_version:
|
422
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
422
423
|
# Construct URL
|
423
424
|
_url = kwargs.pop(
|
424
425
|
"template_url",
|
@@ -432,7 +433,7 @@ def build_failover_request(
|
|
432
433
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
433
434
|
}
|
434
435
|
|
435
|
-
_url: str =
|
436
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
436
437
|
|
437
438
|
# Construct parameters
|
438
439
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -446,7 +447,7 @@ def build_restore_blob_ranges_request(
|
|
446
447
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
447
448
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
448
449
|
|
449
|
-
api_version:
|
450
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
450
451
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
451
452
|
accept = _headers.pop("Accept", "application/json")
|
452
453
|
|
@@ -463,7 +464,7 @@ def build_restore_blob_ranges_request(
|
|
463
464
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
464
465
|
}
|
465
466
|
|
466
|
-
_url: str =
|
467
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
467
468
|
|
468
469
|
# Construct parameters
|
469
470
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -476,12 +477,12 @@ def build_restore_blob_ranges_request(
|
|
476
477
|
return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
|
477
478
|
|
478
479
|
|
479
|
-
def build_revoke_user_delegation_keys_request(
|
480
|
+
def build_revoke_user_delegation_keys_request( # pylint: disable=name-too-long
|
480
481
|
resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
|
481
482
|
) -> HttpRequest:
|
482
483
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
483
484
|
|
484
|
-
api_version:
|
485
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
485
486
|
# Construct URL
|
486
487
|
_url = kwargs.pop(
|
487
488
|
"template_url",
|
@@ -495,7 +496,7 @@ def build_revoke_user_delegation_keys_request(
|
|
495
496
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
496
497
|
}
|
497
498
|
|
498
|
-
_url: str =
|
499
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
499
500
|
|
500
501
|
# Construct parameters
|
501
502
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -521,6 +522,7 @@ class StorageAccountsOperations:
|
|
521
522
|
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
522
523
|
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
523
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")
|
524
526
|
|
525
527
|
@overload
|
526
528
|
def check_name_availability(
|
@@ -540,7 +542,6 @@ class StorageAccountsOperations:
|
|
540
542
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
541
543
|
Default value is "application/json".
|
542
544
|
:paramtype content_type: str
|
543
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
544
545
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
545
546
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.CheckNameAvailabilityResult
|
546
547
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -548,18 +549,17 @@ class StorageAccountsOperations:
|
|
548
549
|
|
549
550
|
@overload
|
550
551
|
def check_name_availability(
|
551
|
-
self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
|
552
|
+
self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
|
552
553
|
) -> _models.CheckNameAvailabilityResult:
|
553
554
|
"""Checks that the storage account name is valid and is not already in use.
|
554
555
|
|
555
556
|
:param account_name: The name of the storage account within the specified resource group.
|
556
557
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
557
558
|
lower-case letters only. Required.
|
558
|
-
:type account_name: IO
|
559
|
+
:type account_name: IO[bytes]
|
559
560
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
560
561
|
Default value is "application/json".
|
561
562
|
:paramtype content_type: str
|
562
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
563
563
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
564
564
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.CheckNameAvailabilityResult
|
565
565
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -567,25 +567,22 @@ class StorageAccountsOperations:
|
|
567
567
|
|
568
568
|
@distributed_trace
|
569
569
|
def check_name_availability(
|
570
|
-
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
|
570
|
+
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
|
571
571
|
) -> _models.CheckNameAvailabilityResult:
|
572
572
|
"""Checks that the storage account name is valid and is not already in use.
|
573
573
|
|
574
574
|
:param account_name: The name of the storage account within the specified resource group.
|
575
575
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
576
|
-
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
577
|
-
type. Required.
|
576
|
+
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
577
|
+
IO[bytes] type. Required.
|
578
578
|
:type account_name:
|
579
|
-
~azure.mgmt.storage.v2021_04_01.models.StorageAccountCheckNameAvailabilityParameters or
|
580
|
-
|
581
|
-
Default value is None.
|
582
|
-
:paramtype content_type: str
|
583
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
579
|
+
~azure.mgmt.storage.v2021_04_01.models.StorageAccountCheckNameAvailabilityParameters or
|
580
|
+
IO[bytes]
|
584
581
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
585
582
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.CheckNameAvailabilityResult
|
586
583
|
:raises ~azure.core.exceptions.HttpResponseError:
|
587
584
|
"""
|
588
|
-
error_map = {
|
585
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
589
586
|
401: ClientAuthenticationError,
|
590
587
|
404: ResourceNotFoundError,
|
591
588
|
409: ResourceExistsError,
|
@@ -596,33 +593,33 @@ class StorageAccountsOperations:
|
|
596
593
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
597
594
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
598
595
|
|
599
|
-
api_version:
|
596
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
600
597
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
601
598
|
cls: ClsType[_models.CheckNameAvailabilityResult] = kwargs.pop("cls", None)
|
602
599
|
|
603
600
|
content_type = content_type or "application/json"
|
604
601
|
_json = None
|
605
602
|
_content = None
|
606
|
-
if isinstance(account_name, (
|
603
|
+
if isinstance(account_name, (IOBase, bytes)):
|
607
604
|
_content = account_name
|
608
605
|
else:
|
609
606
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
610
607
|
|
611
|
-
|
608
|
+
_request = build_check_name_availability_request(
|
612
609
|
subscription_id=self._config.subscription_id,
|
613
610
|
api_version=api_version,
|
614
611
|
content_type=content_type,
|
615
612
|
json=_json,
|
616
613
|
content=_content,
|
617
|
-
template_url=self.check_name_availability.metadata["url"],
|
618
614
|
headers=_headers,
|
619
615
|
params=_params,
|
620
616
|
)
|
621
|
-
|
622
|
-
|
617
|
+
_request = _convert_request(_request)
|
618
|
+
_request.url = self._client.format_url(_request.url)
|
623
619
|
|
620
|
+
_stream = False
|
624
621
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
625
|
-
|
622
|
+
_request, stream=_stream, **kwargs
|
626
623
|
)
|
627
624
|
|
628
625
|
response = pipeline_response.http_response
|
@@ -634,22 +631,18 @@ class StorageAccountsOperations:
|
|
634
631
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
635
632
|
|
636
633
|
if cls:
|
637
|
-
return cls(pipeline_response, deserialized, {})
|
638
|
-
|
639
|
-
return deserialized
|
634
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
640
635
|
|
641
|
-
|
642
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
643
|
-
}
|
636
|
+
return deserialized # type: ignore
|
644
637
|
|
645
638
|
def _create_initial(
|
646
639
|
self,
|
647
640
|
resource_group_name: str,
|
648
641
|
account_name: str,
|
649
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
642
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
650
643
|
**kwargs: Any
|
651
644
|
) -> Optional[_models.StorageAccount]:
|
652
|
-
error_map = {
|
645
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
653
646
|
401: ClientAuthenticationError,
|
654
647
|
404: ResourceNotFoundError,
|
655
648
|
409: ResourceExistsError,
|
@@ -660,19 +653,19 @@ class StorageAccountsOperations:
|
|
660
653
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
661
654
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
662
655
|
|
663
|
-
api_version:
|
656
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
664
657
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
665
658
|
cls: ClsType[Optional[_models.StorageAccount]] = kwargs.pop("cls", None)
|
666
659
|
|
667
660
|
content_type = content_type or "application/json"
|
668
661
|
_json = None
|
669
662
|
_content = None
|
670
|
-
if isinstance(parameters, (
|
663
|
+
if isinstance(parameters, (IOBase, bytes)):
|
671
664
|
_content = parameters
|
672
665
|
else:
|
673
666
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
674
667
|
|
675
|
-
|
668
|
+
_request = build_create_request(
|
676
669
|
resource_group_name=resource_group_name,
|
677
670
|
account_name=account_name,
|
678
671
|
subscription_id=self._config.subscription_id,
|
@@ -680,15 +673,15 @@ class StorageAccountsOperations:
|
|
680
673
|
content_type=content_type,
|
681
674
|
json=_json,
|
682
675
|
content=_content,
|
683
|
-
template_url=self._create_initial.metadata["url"],
|
684
676
|
headers=_headers,
|
685
677
|
params=_params,
|
686
678
|
)
|
687
|
-
|
688
|
-
|
679
|
+
_request = _convert_request(_request)
|
680
|
+
_request.url = self._client.format_url(_request.url)
|
689
681
|
|
682
|
+
_stream = False
|
690
683
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
691
|
-
|
684
|
+
_request, stream=_stream, **kwargs
|
692
685
|
)
|
693
686
|
|
694
687
|
response = pipeline_response.http_response
|
@@ -702,13 +695,9 @@ class StorageAccountsOperations:
|
|
702
695
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
703
696
|
|
704
697
|
if cls:
|
705
|
-
return cls(pipeline_response, deserialized, {})
|
706
|
-
|
707
|
-
return deserialized
|
698
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
708
699
|
|
709
|
-
|
710
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
711
|
-
}
|
700
|
+
return deserialized # type: ignore
|
712
701
|
|
713
702
|
@overload
|
714
703
|
def begin_create(
|
@@ -737,14 +726,6 @@ class StorageAccountsOperations:
|
|
737
726
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
738
727
|
Default value is "application/json".
|
739
728
|
:paramtype content_type: str
|
740
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
741
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
742
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
743
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
744
|
-
strategy.
|
745
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
746
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
747
|
-
Retry-After header is present.
|
748
729
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
749
730
|
cls(response)
|
750
731
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2021_04_01.models.StorageAccount]
|
@@ -756,7 +737,7 @@ class StorageAccountsOperations:
|
|
756
737
|
self,
|
757
738
|
resource_group_name: str,
|
758
739
|
account_name: str,
|
759
|
-
parameters: IO,
|
740
|
+
parameters: IO[bytes],
|
760
741
|
*,
|
761
742
|
content_type: str = "application/json",
|
762
743
|
**kwargs: Any
|
@@ -774,18 +755,10 @@ class StorageAccountsOperations:
|
|
774
755
|
lower-case letters only. Required.
|
775
756
|
:type account_name: str
|
776
757
|
:param parameters: The parameters to provide for the created account. Required.
|
777
|
-
:type parameters: IO
|
758
|
+
:type parameters: IO[bytes]
|
778
759
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
779
760
|
Default value is "application/json".
|
780
761
|
:paramtype content_type: str
|
781
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
782
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
783
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
784
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
785
|
-
strategy.
|
786
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
787
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
788
|
-
Retry-After header is present.
|
789
762
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
790
763
|
cls(response)
|
791
764
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2021_04_01.models.StorageAccount]
|
@@ -797,7 +770,7 @@ class StorageAccountsOperations:
|
|
797
770
|
self,
|
798
771
|
resource_group_name: str,
|
799
772
|
account_name: str,
|
800
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
773
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
801
774
|
**kwargs: Any
|
802
775
|
) -> LROPoller[_models.StorageAccount]:
|
803
776
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -813,19 +786,9 @@ class StorageAccountsOperations:
|
|
813
786
|
lower-case letters only. Required.
|
814
787
|
:type account_name: str
|
815
788
|
:param parameters: The parameters to provide for the created account. Is either a
|
816
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
817
|
-
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.StorageAccountCreateParameters or
|
818
|
-
|
819
|
-
Default value is None.
|
820
|
-
:paramtype content_type: str
|
821
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
822
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
823
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
824
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
825
|
-
strategy.
|
826
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
827
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
828
|
-
Retry-After header is present.
|
789
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
790
|
+
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.StorageAccountCreateParameters or
|
791
|
+
IO[bytes]
|
829
792
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
830
793
|
cls(response)
|
831
794
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2021_04_01.models.StorageAccount]
|
@@ -834,7 +797,7 @@ class StorageAccountsOperations:
|
|
834
797
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
835
798
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
836
799
|
|
837
|
-
api_version:
|
800
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
838
801
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
839
802
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
840
803
|
polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
|
@@ -857,7 +820,7 @@ class StorageAccountsOperations:
|
|
857
820
|
def get_long_running_output(pipeline_response):
|
858
821
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
859
822
|
if cls:
|
860
|
-
return cls(pipeline_response, deserialized, {})
|
823
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
861
824
|
return deserialized
|
862
825
|
|
863
826
|
if polling is True:
|
@@ -867,17 +830,15 @@ class StorageAccountsOperations:
|
|
867
830
|
else:
|
868
831
|
polling_method = polling
|
869
832
|
if cont_token:
|
870
|
-
return LROPoller.from_continuation_token(
|
833
|
+
return LROPoller[_models.StorageAccount].from_continuation_token(
|
871
834
|
polling_method=polling_method,
|
872
835
|
continuation_token=cont_token,
|
873
836
|
client=self._client,
|
874
837
|
deserialization_callback=get_long_running_output,
|
875
838
|
)
|
876
|
-
return LROPoller(
|
877
|
-
|
878
|
-
|
879
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
880
|
-
}
|
839
|
+
return LROPoller[_models.StorageAccount](
|
840
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
841
|
+
)
|
881
842
|
|
882
843
|
@distributed_trace
|
883
844
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -892,12 +853,11 @@ class StorageAccountsOperations:
|
|
892
853
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
893
854
|
lower-case letters only. Required.
|
894
855
|
:type account_name: str
|
895
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
896
856
|
:return: None or the result of cls(response)
|
897
857
|
:rtype: None
|
898
858
|
:raises ~azure.core.exceptions.HttpResponseError:
|
899
859
|
"""
|
900
|
-
error_map = {
|
860
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
901
861
|
401: ClientAuthenticationError,
|
902
862
|
404: ResourceNotFoundError,
|
903
863
|
409: ResourceExistsError,
|
@@ -908,23 +868,23 @@ class StorageAccountsOperations:
|
|
908
868
|
_headers = kwargs.pop("headers", {}) or {}
|
909
869
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
910
870
|
|
911
|
-
api_version:
|
871
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
912
872
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
913
873
|
|
914
|
-
|
874
|
+
_request = build_delete_request(
|
915
875
|
resource_group_name=resource_group_name,
|
916
876
|
account_name=account_name,
|
917
877
|
subscription_id=self._config.subscription_id,
|
918
878
|
api_version=api_version,
|
919
|
-
template_url=self.delete.metadata["url"],
|
920
879
|
headers=_headers,
|
921
880
|
params=_params,
|
922
881
|
)
|
923
|
-
|
924
|
-
|
882
|
+
_request = _convert_request(_request)
|
883
|
+
_request.url = self._client.format_url(_request.url)
|
925
884
|
|
885
|
+
_stream = False
|
926
886
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
927
|
-
|
887
|
+
_request, stream=_stream, **kwargs
|
928
888
|
)
|
929
889
|
|
930
890
|
response = pipeline_response.http_response
|
@@ -934,11 +894,7 @@ class StorageAccountsOperations:
|
|
934
894
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
935
895
|
|
936
896
|
if cls:
|
937
|
-
return cls(pipeline_response, None, {})
|
938
|
-
|
939
|
-
delete.metadata = {
|
940
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
941
|
-
}
|
897
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
942
898
|
|
943
899
|
@distributed_trace
|
944
900
|
def get_properties(
|
@@ -964,12 +920,11 @@ class StorageAccountsOperations:
|
|
964
920
|
and blobRestoreStatus. Known values are: "geoReplicationStats" and "blobRestoreStatus". Default
|
965
921
|
value is None.
|
966
922
|
:type expand: str or ~azure.mgmt.storage.v2021_04_01.models.StorageAccountExpand
|
967
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
968
923
|
:return: StorageAccount or the result of cls(response)
|
969
924
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.StorageAccount
|
970
925
|
:raises ~azure.core.exceptions.HttpResponseError:
|
971
926
|
"""
|
972
|
-
error_map = {
|
927
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
973
928
|
401: ClientAuthenticationError,
|
974
929
|
404: ResourceNotFoundError,
|
975
930
|
409: ResourceExistsError,
|
@@ -980,24 +935,24 @@ class StorageAccountsOperations:
|
|
980
935
|
_headers = kwargs.pop("headers", {}) or {}
|
981
936
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
982
937
|
|
983
|
-
api_version:
|
938
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
984
939
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
985
940
|
|
986
|
-
|
941
|
+
_request = build_get_properties_request(
|
987
942
|
resource_group_name=resource_group_name,
|
988
943
|
account_name=account_name,
|
989
944
|
subscription_id=self._config.subscription_id,
|
990
945
|
expand=expand,
|
991
946
|
api_version=api_version,
|
992
|
-
template_url=self.get_properties.metadata["url"],
|
993
947
|
headers=_headers,
|
994
948
|
params=_params,
|
995
949
|
)
|
996
|
-
|
997
|
-
|
950
|
+
_request = _convert_request(_request)
|
951
|
+
_request.url = self._client.format_url(_request.url)
|
998
952
|
|
953
|
+
_stream = False
|
999
954
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1000
|
-
|
955
|
+
_request, stream=_stream, **kwargs
|
1001
956
|
)
|
1002
957
|
|
1003
958
|
response = pipeline_response.http_response
|
@@ -1009,13 +964,9 @@ class StorageAccountsOperations:
|
|
1009
964
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
1010
965
|
|
1011
966
|
if cls:
|
1012
|
-
return cls(pipeline_response, deserialized, {})
|
1013
|
-
|
1014
|
-
return deserialized
|
967
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1015
968
|
|
1016
|
-
|
1017
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
1018
|
-
}
|
969
|
+
return deserialized # type: ignore
|
1019
970
|
|
1020
971
|
@overload
|
1021
972
|
def update(
|
@@ -1048,7 +999,6 @@ class StorageAccountsOperations:
|
|
1048
999
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1049
1000
|
Default value is "application/json".
|
1050
1001
|
:paramtype content_type: str
|
1051
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1052
1002
|
:return: StorageAccount or the result of cls(response)
|
1053
1003
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.StorageAccount
|
1054
1004
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1059,7 +1009,7 @@ class StorageAccountsOperations:
|
|
1059
1009
|
self,
|
1060
1010
|
resource_group_name: str,
|
1061
1011
|
account_name: str,
|
1062
|
-
parameters: IO,
|
1012
|
+
parameters: IO[bytes],
|
1063
1013
|
*,
|
1064
1014
|
content_type: str = "application/json",
|
1065
1015
|
**kwargs: Any
|
@@ -1081,11 +1031,10 @@ class StorageAccountsOperations:
|
|
1081
1031
|
lower-case letters only. Required.
|
1082
1032
|
:type account_name: str
|
1083
1033
|
:param parameters: The parameters to provide for the updated account. Required.
|
1084
|
-
:type parameters: IO
|
1034
|
+
:type parameters: IO[bytes]
|
1085
1035
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1086
1036
|
Default value is "application/json".
|
1087
1037
|
:paramtype content_type: str
|
1088
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1089
1038
|
:return: StorageAccount or the result of cls(response)
|
1090
1039
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.StorageAccount
|
1091
1040
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1096,7 +1045,7 @@ class StorageAccountsOperations:
|
|
1096
1045
|
self,
|
1097
1046
|
resource_group_name: str,
|
1098
1047
|
account_name: str,
|
1099
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
1048
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
1100
1049
|
**kwargs: Any
|
1101
1050
|
) -> _models.StorageAccount:
|
1102
1051
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -1116,17 +1065,14 @@ class StorageAccountsOperations:
|
|
1116
1065
|
lower-case letters only. Required.
|
1117
1066
|
:type account_name: str
|
1118
1067
|
:param parameters: The parameters to provide for the updated account. Is either a
|
1119
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
1120
|
-
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.StorageAccountUpdateParameters or
|
1121
|
-
|
1122
|
-
Default value is None.
|
1123
|
-
:paramtype content_type: str
|
1124
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1068
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
1069
|
+
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.StorageAccountUpdateParameters or
|
1070
|
+
IO[bytes]
|
1125
1071
|
:return: StorageAccount or the result of cls(response)
|
1126
1072
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.StorageAccount
|
1127
1073
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1128
1074
|
"""
|
1129
|
-
error_map = {
|
1075
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1130
1076
|
401: ClientAuthenticationError,
|
1131
1077
|
404: ResourceNotFoundError,
|
1132
1078
|
409: ResourceExistsError,
|
@@ -1137,19 +1083,19 @@ class StorageAccountsOperations:
|
|
1137
1083
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1138
1084
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1139
1085
|
|
1140
|
-
api_version:
|
1086
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1141
1087
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1142
1088
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
1143
1089
|
|
1144
1090
|
content_type = content_type or "application/json"
|
1145
1091
|
_json = None
|
1146
1092
|
_content = None
|
1147
|
-
if isinstance(parameters, (
|
1093
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1148
1094
|
_content = parameters
|
1149
1095
|
else:
|
1150
1096
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
1151
1097
|
|
1152
|
-
|
1098
|
+
_request = build_update_request(
|
1153
1099
|
resource_group_name=resource_group_name,
|
1154
1100
|
account_name=account_name,
|
1155
1101
|
subscription_id=self._config.subscription_id,
|
@@ -1157,15 +1103,15 @@ class StorageAccountsOperations:
|
|
1157
1103
|
content_type=content_type,
|
1158
1104
|
json=_json,
|
1159
1105
|
content=_content,
|
1160
|
-
template_url=self.update.metadata["url"],
|
1161
1106
|
headers=_headers,
|
1162
1107
|
params=_params,
|
1163
1108
|
)
|
1164
|
-
|
1165
|
-
|
1109
|
+
_request = _convert_request(_request)
|
1110
|
+
_request.url = self._client.format_url(_request.url)
|
1166
1111
|
|
1112
|
+
_stream = False
|
1167
1113
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1168
|
-
|
1114
|
+
_request, stream=_stream, **kwargs
|
1169
1115
|
)
|
1170
1116
|
|
1171
1117
|
response = pipeline_response.http_response
|
@@ -1177,20 +1123,15 @@ class StorageAccountsOperations:
|
|
1177
1123
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
1178
1124
|
|
1179
1125
|
if cls:
|
1180
|
-
return cls(pipeline_response, deserialized, {})
|
1181
|
-
|
1182
|
-
return deserialized
|
1126
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1183
1127
|
|
1184
|
-
|
1185
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
1186
|
-
}
|
1128
|
+
return deserialized # type: ignore
|
1187
1129
|
|
1188
1130
|
@distributed_trace
|
1189
1131
|
def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1190
1132
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
1191
1133
|
returned; use the ListKeys operation for this.
|
1192
1134
|
|
1193
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1194
1135
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1195
1136
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_04_01.models.StorageAccount]
|
1196
1137
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1198,10 +1139,10 @@ class StorageAccountsOperations:
|
|
1198
1139
|
_headers = kwargs.pop("headers", {}) or {}
|
1199
1140
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1200
1141
|
|
1201
|
-
api_version:
|
1142
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1202
1143
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1203
1144
|
|
1204
|
-
error_map = {
|
1145
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1205
1146
|
401: ClientAuthenticationError,
|
1206
1147
|
404: ResourceNotFoundError,
|
1207
1148
|
409: ResourceExistsError,
|
@@ -1212,15 +1153,14 @@ class StorageAccountsOperations:
|
|
1212
1153
|
def prepare_request(next_link=None):
|
1213
1154
|
if not next_link:
|
1214
1155
|
|
1215
|
-
|
1156
|
+
_request = build_list_request(
|
1216
1157
|
subscription_id=self._config.subscription_id,
|
1217
1158
|
api_version=api_version,
|
1218
|
-
template_url=self.list.metadata["url"],
|
1219
1159
|
headers=_headers,
|
1220
1160
|
params=_params,
|
1221
1161
|
)
|
1222
|
-
|
1223
|
-
|
1162
|
+
_request = _convert_request(_request)
|
1163
|
+
_request.url = self._client.format_url(_request.url)
|
1224
1164
|
|
1225
1165
|
else:
|
1226
1166
|
# make call to next link with the client's api-version
|
@@ -1231,14 +1171,14 @@ class StorageAccountsOperations:
|
|
1231
1171
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1232
1172
|
}
|
1233
1173
|
)
|
1234
|
-
_next_request_params["api-version"] = self.
|
1235
|
-
|
1174
|
+
_next_request_params["api-version"] = self._api_version
|
1175
|
+
_request = HttpRequest(
|
1236
1176
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1237
1177
|
)
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
return
|
1178
|
+
_request = _convert_request(_request)
|
1179
|
+
_request.url = self._client.format_url(_request.url)
|
1180
|
+
_request.method = "GET"
|
1181
|
+
return _request
|
1242
1182
|
|
1243
1183
|
def extract_data(pipeline_response):
|
1244
1184
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1248,10 +1188,11 @@ class StorageAccountsOperations:
|
|
1248
1188
|
return deserialized.next_link or None, iter(list_of_elem)
|
1249
1189
|
|
1250
1190
|
def get_next(next_link=None):
|
1251
|
-
|
1191
|
+
_request = prepare_request(next_link)
|
1252
1192
|
|
1193
|
+
_stream = False
|
1253
1194
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1254
|
-
|
1195
|
+
_request, stream=_stream, **kwargs
|
1255
1196
|
)
|
1256
1197
|
response = pipeline_response.http_response
|
1257
1198
|
|
@@ -1263,8 +1204,6 @@ class StorageAccountsOperations:
|
|
1263
1204
|
|
1264
1205
|
return ItemPaged(get_next, extract_data)
|
1265
1206
|
|
1266
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
1267
|
-
|
1268
1207
|
@distributed_trace
|
1269
1208
|
def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1270
1209
|
"""Lists all the storage accounts available under the given resource group. Note that storage keys
|
@@ -1273,7 +1212,6 @@ class StorageAccountsOperations:
|
|
1273
1212
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1274
1213
|
name is case insensitive. Required.
|
1275
1214
|
:type resource_group_name: str
|
1276
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1277
1215
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1278
1216
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_04_01.models.StorageAccount]
|
1279
1217
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1281,10 +1219,10 @@ class StorageAccountsOperations:
|
|
1281
1219
|
_headers = kwargs.pop("headers", {}) or {}
|
1282
1220
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1283
1221
|
|
1284
|
-
api_version:
|
1222
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1285
1223
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1286
1224
|
|
1287
|
-
error_map = {
|
1225
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1288
1226
|
401: ClientAuthenticationError,
|
1289
1227
|
404: ResourceNotFoundError,
|
1290
1228
|
409: ResourceExistsError,
|
@@ -1295,16 +1233,15 @@ class StorageAccountsOperations:
|
|
1295
1233
|
def prepare_request(next_link=None):
|
1296
1234
|
if not next_link:
|
1297
1235
|
|
1298
|
-
|
1236
|
+
_request = build_list_by_resource_group_request(
|
1299
1237
|
resource_group_name=resource_group_name,
|
1300
1238
|
subscription_id=self._config.subscription_id,
|
1301
1239
|
api_version=api_version,
|
1302
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
1303
1240
|
headers=_headers,
|
1304
1241
|
params=_params,
|
1305
1242
|
)
|
1306
|
-
|
1307
|
-
|
1243
|
+
_request = _convert_request(_request)
|
1244
|
+
_request.url = self._client.format_url(_request.url)
|
1308
1245
|
|
1309
1246
|
else:
|
1310
1247
|
# make call to next link with the client's api-version
|
@@ -1315,14 +1252,14 @@ class StorageAccountsOperations:
|
|
1315
1252
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1316
1253
|
}
|
1317
1254
|
)
|
1318
|
-
_next_request_params["api-version"] = self.
|
1319
|
-
|
1255
|
+
_next_request_params["api-version"] = self._api_version
|
1256
|
+
_request = HttpRequest(
|
1320
1257
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1321
1258
|
)
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
return
|
1259
|
+
_request = _convert_request(_request)
|
1260
|
+
_request.url = self._client.format_url(_request.url)
|
1261
|
+
_request.method = "GET"
|
1262
|
+
return _request
|
1326
1263
|
|
1327
1264
|
def extract_data(pipeline_response):
|
1328
1265
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1332,10 +1269,11 @@ class StorageAccountsOperations:
|
|
1332
1269
|
return deserialized.next_link or None, iter(list_of_elem)
|
1333
1270
|
|
1334
1271
|
def get_next(next_link=None):
|
1335
|
-
|
1272
|
+
_request = prepare_request(next_link)
|
1336
1273
|
|
1274
|
+
_stream = False
|
1337
1275
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1338
|
-
|
1276
|
+
_request, stream=_stream, **kwargs
|
1339
1277
|
)
|
1340
1278
|
response = pipeline_response.http_response
|
1341
1279
|
|
@@ -1347,10 +1285,6 @@ class StorageAccountsOperations:
|
|
1347
1285
|
|
1348
1286
|
return ItemPaged(get_next, extract_data)
|
1349
1287
|
|
1350
|
-
list_by_resource_group.metadata = {
|
1351
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
1352
|
-
}
|
1353
|
-
|
1354
1288
|
@distributed_trace
|
1355
1289
|
def list_keys(
|
1356
1290
|
self, resource_group_name: str, account_name: str, expand: Literal["kerb"] = "kerb", **kwargs: Any
|
@@ -1368,12 +1302,11 @@ class StorageAccountsOperations:
|
|
1368
1302
|
:param expand: Specifies type of the key to be listed. Possible value is kerb. Known values are
|
1369
1303
|
"kerb" and None. Default value is "kerb".
|
1370
1304
|
:type expand: str
|
1371
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1372
1305
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1373
1306
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.StorageAccountListKeysResult
|
1374
1307
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1375
1308
|
"""
|
1376
|
-
error_map = {
|
1309
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1377
1310
|
401: ClientAuthenticationError,
|
1378
1311
|
404: ResourceNotFoundError,
|
1379
1312
|
409: ResourceExistsError,
|
@@ -1384,24 +1317,24 @@ class StorageAccountsOperations:
|
|
1384
1317
|
_headers = kwargs.pop("headers", {}) or {}
|
1385
1318
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1386
1319
|
|
1387
|
-
api_version:
|
1320
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1388
1321
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
1389
1322
|
|
1390
|
-
|
1323
|
+
_request = build_list_keys_request(
|
1391
1324
|
resource_group_name=resource_group_name,
|
1392
1325
|
account_name=account_name,
|
1393
1326
|
subscription_id=self._config.subscription_id,
|
1394
1327
|
expand=expand,
|
1395
1328
|
api_version=api_version,
|
1396
|
-
template_url=self.list_keys.metadata["url"],
|
1397
1329
|
headers=_headers,
|
1398
1330
|
params=_params,
|
1399
1331
|
)
|
1400
|
-
|
1401
|
-
|
1332
|
+
_request = _convert_request(_request)
|
1333
|
+
_request.url = self._client.format_url(_request.url)
|
1402
1334
|
|
1335
|
+
_stream = False
|
1403
1336
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1404
|
-
|
1337
|
+
_request, stream=_stream, **kwargs
|
1405
1338
|
)
|
1406
1339
|
|
1407
1340
|
response = pipeline_response.http_response
|
@@ -1413,13 +1346,9 @@ class StorageAccountsOperations:
|
|
1413
1346
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1414
1347
|
|
1415
1348
|
if cls:
|
1416
|
-
return cls(pipeline_response, deserialized, {})
|
1417
|
-
|
1418
|
-
return deserialized
|
1349
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1419
1350
|
|
1420
|
-
|
1421
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
1422
|
-
}
|
1351
|
+
return deserialized # type: ignore
|
1423
1352
|
|
1424
1353
|
@overload
|
1425
1354
|
def regenerate_key(
|
@@ -1447,7 +1376,6 @@ class StorageAccountsOperations:
|
|
1447
1376
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1448
1377
|
Default value is "application/json".
|
1449
1378
|
:paramtype content_type: str
|
1450
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1451
1379
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1452
1380
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.StorageAccountListKeysResult
|
1453
1381
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1458,7 +1386,7 @@ class StorageAccountsOperations:
|
|
1458
1386
|
self,
|
1459
1387
|
resource_group_name: str,
|
1460
1388
|
account_name: str,
|
1461
|
-
regenerate_key: IO,
|
1389
|
+
regenerate_key: IO[bytes],
|
1462
1390
|
*,
|
1463
1391
|
content_type: str = "application/json",
|
1464
1392
|
**kwargs: Any
|
@@ -1474,11 +1402,10 @@ class StorageAccountsOperations:
|
|
1474
1402
|
:type account_name: str
|
1475
1403
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1476
1404
|
kerb1, kerb2. Required.
|
1477
|
-
:type regenerate_key: IO
|
1405
|
+
:type regenerate_key: IO[bytes]
|
1478
1406
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1479
1407
|
Default value is "application/json".
|
1480
1408
|
:paramtype content_type: str
|
1481
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1482
1409
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1483
1410
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.StorageAccountListKeysResult
|
1484
1411
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1489,7 +1416,7 @@ class StorageAccountsOperations:
|
|
1489
1416
|
self,
|
1490
1417
|
resource_group_name: str,
|
1491
1418
|
account_name: str,
|
1492
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
1419
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1493
1420
|
**kwargs: Any
|
1494
1421
|
) -> _models.StorageAccountListKeysResult:
|
1495
1422
|
"""Regenerates one of the access keys or Kerberos keys for the specified storage account.
|
@@ -1502,18 +1429,15 @@ class StorageAccountsOperations:
|
|
1502
1429
|
lower-case letters only. Required.
|
1503
1430
|
:type account_name: str
|
1504
1431
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1505
|
-
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO type.
|
1432
|
+
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
|
1433
|
+
Required.
|
1506
1434
|
:type regenerate_key:
|
1507
|
-
~azure.mgmt.storage.v2021_04_01.models.StorageAccountRegenerateKeyParameters or IO
|
1508
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1509
|
-
Default value is None.
|
1510
|
-
:paramtype content_type: str
|
1511
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1435
|
+
~azure.mgmt.storage.v2021_04_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
|
1512
1436
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1513
1437
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.StorageAccountListKeysResult
|
1514
1438
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1515
1439
|
"""
|
1516
|
-
error_map = {
|
1440
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1517
1441
|
401: ClientAuthenticationError,
|
1518
1442
|
404: ResourceNotFoundError,
|
1519
1443
|
409: ResourceExistsError,
|
@@ -1524,19 +1448,19 @@ class StorageAccountsOperations:
|
|
1524
1448
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1525
1449
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1526
1450
|
|
1527
|
-
api_version:
|
1451
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1528
1452
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1529
1453
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
1530
1454
|
|
1531
1455
|
content_type = content_type or "application/json"
|
1532
1456
|
_json = None
|
1533
1457
|
_content = None
|
1534
|
-
if isinstance(regenerate_key, (
|
1458
|
+
if isinstance(regenerate_key, (IOBase, bytes)):
|
1535
1459
|
_content = regenerate_key
|
1536
1460
|
else:
|
1537
1461
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1538
1462
|
|
1539
|
-
|
1463
|
+
_request = build_regenerate_key_request(
|
1540
1464
|
resource_group_name=resource_group_name,
|
1541
1465
|
account_name=account_name,
|
1542
1466
|
subscription_id=self._config.subscription_id,
|
@@ -1544,15 +1468,15 @@ class StorageAccountsOperations:
|
|
1544
1468
|
content_type=content_type,
|
1545
1469
|
json=_json,
|
1546
1470
|
content=_content,
|
1547
|
-
template_url=self.regenerate_key.metadata["url"],
|
1548
1471
|
headers=_headers,
|
1549
1472
|
params=_params,
|
1550
1473
|
)
|
1551
|
-
|
1552
|
-
|
1474
|
+
_request = _convert_request(_request)
|
1475
|
+
_request.url = self._client.format_url(_request.url)
|
1553
1476
|
|
1477
|
+
_stream = False
|
1554
1478
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1555
|
-
|
1479
|
+
_request, stream=_stream, **kwargs
|
1556
1480
|
)
|
1557
1481
|
|
1558
1482
|
response = pipeline_response.http_response
|
@@ -1564,13 +1488,9 @@ class StorageAccountsOperations:
|
|
1564
1488
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1565
1489
|
|
1566
1490
|
if cls:
|
1567
|
-
return cls(pipeline_response, deserialized, {})
|
1568
|
-
|
1569
|
-
return deserialized
|
1491
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1570
1492
|
|
1571
|
-
|
1572
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1573
|
-
}
|
1493
|
+
return deserialized # type: ignore
|
1574
1494
|
|
1575
1495
|
@overload
|
1576
1496
|
def list_account_sas(
|
@@ -1597,7 +1517,6 @@ class StorageAccountsOperations:
|
|
1597
1517
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1598
1518
|
Default value is "application/json".
|
1599
1519
|
:paramtype content_type: str
|
1600
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1601
1520
|
:return: ListAccountSasResponse or the result of cls(response)
|
1602
1521
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ListAccountSasResponse
|
1603
1522
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1608,7 +1527,7 @@ class StorageAccountsOperations:
|
|
1608
1527
|
self,
|
1609
1528
|
resource_group_name: str,
|
1610
1529
|
account_name: str,
|
1611
|
-
parameters: IO,
|
1530
|
+
parameters: IO[bytes],
|
1612
1531
|
*,
|
1613
1532
|
content_type: str = "application/json",
|
1614
1533
|
**kwargs: Any
|
@@ -1624,11 +1543,10 @@ class StorageAccountsOperations:
|
|
1624
1543
|
:type account_name: str
|
1625
1544
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1626
1545
|
Required.
|
1627
|
-
:type parameters: IO
|
1546
|
+
:type parameters: IO[bytes]
|
1628
1547
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1629
1548
|
Default value is "application/json".
|
1630
1549
|
:paramtype content_type: str
|
1631
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1632
1550
|
:return: ListAccountSasResponse or the result of cls(response)
|
1633
1551
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ListAccountSasResponse
|
1634
1552
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1639,7 +1557,7 @@ class StorageAccountsOperations:
|
|
1639
1557
|
self,
|
1640
1558
|
resource_group_name: str,
|
1641
1559
|
account_name: str,
|
1642
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1560
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1643
1561
|
**kwargs: Any
|
1644
1562
|
) -> _models.ListAccountSasResponse:
|
1645
1563
|
"""List SAS credentials of a storage account.
|
@@ -1652,17 +1570,13 @@ class StorageAccountsOperations:
|
|
1652
1570
|
lower-case letters only. Required.
|
1653
1571
|
:type account_name: str
|
1654
1572
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1655
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1656
|
-
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.AccountSasParameters or IO
|
1657
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1658
|
-
Default value is None.
|
1659
|
-
:paramtype content_type: str
|
1660
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1573
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1574
|
+
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.AccountSasParameters or IO[bytes]
|
1661
1575
|
:return: ListAccountSasResponse or the result of cls(response)
|
1662
1576
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ListAccountSasResponse
|
1663
1577
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1664
1578
|
"""
|
1665
|
-
error_map = {
|
1579
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1666
1580
|
401: ClientAuthenticationError,
|
1667
1581
|
404: ResourceNotFoundError,
|
1668
1582
|
409: ResourceExistsError,
|
@@ -1673,19 +1587,19 @@ class StorageAccountsOperations:
|
|
1673
1587
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1674
1588
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1675
1589
|
|
1676
|
-
api_version:
|
1590
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1677
1591
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1678
1592
|
cls: ClsType[_models.ListAccountSasResponse] = kwargs.pop("cls", None)
|
1679
1593
|
|
1680
1594
|
content_type = content_type or "application/json"
|
1681
1595
|
_json = None
|
1682
1596
|
_content = None
|
1683
|
-
if isinstance(parameters, (
|
1597
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1684
1598
|
_content = parameters
|
1685
1599
|
else:
|
1686
1600
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1687
1601
|
|
1688
|
-
|
1602
|
+
_request = build_list_account_sas_request(
|
1689
1603
|
resource_group_name=resource_group_name,
|
1690
1604
|
account_name=account_name,
|
1691
1605
|
subscription_id=self._config.subscription_id,
|
@@ -1693,15 +1607,15 @@ class StorageAccountsOperations:
|
|
1693
1607
|
content_type=content_type,
|
1694
1608
|
json=_json,
|
1695
1609
|
content=_content,
|
1696
|
-
template_url=self.list_account_sas.metadata["url"],
|
1697
1610
|
headers=_headers,
|
1698
1611
|
params=_params,
|
1699
1612
|
)
|
1700
|
-
|
1701
|
-
|
1613
|
+
_request = _convert_request(_request)
|
1614
|
+
_request.url = self._client.format_url(_request.url)
|
1702
1615
|
|
1616
|
+
_stream = False
|
1703
1617
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1704
|
-
|
1618
|
+
_request, stream=_stream, **kwargs
|
1705
1619
|
)
|
1706
1620
|
|
1707
1621
|
response = pipeline_response.http_response
|
@@ -1713,13 +1627,9 @@ class StorageAccountsOperations:
|
|
1713
1627
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1714
1628
|
|
1715
1629
|
if cls:
|
1716
|
-
return cls(pipeline_response, deserialized, {})
|
1717
|
-
|
1718
|
-
return deserialized
|
1630
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1719
1631
|
|
1720
|
-
|
1721
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1722
|
-
}
|
1632
|
+
return deserialized # type: ignore
|
1723
1633
|
|
1724
1634
|
@overload
|
1725
1635
|
def list_service_sas(
|
@@ -1745,7 +1655,6 @@ class StorageAccountsOperations:
|
|
1745
1655
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1746
1656
|
Default value is "application/json".
|
1747
1657
|
:paramtype content_type: str
|
1748
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1749
1658
|
:return: ListServiceSasResponse or the result of cls(response)
|
1750
1659
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ListServiceSasResponse
|
1751
1660
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1756,7 +1665,7 @@ class StorageAccountsOperations:
|
|
1756
1665
|
self,
|
1757
1666
|
resource_group_name: str,
|
1758
1667
|
account_name: str,
|
1759
|
-
parameters: IO,
|
1668
|
+
parameters: IO[bytes],
|
1760
1669
|
*,
|
1761
1670
|
content_type: str = "application/json",
|
1762
1671
|
**kwargs: Any
|
@@ -1771,11 +1680,10 @@ class StorageAccountsOperations:
|
|
1771
1680
|
lower-case letters only. Required.
|
1772
1681
|
:type account_name: str
|
1773
1682
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1774
|
-
:type parameters: IO
|
1683
|
+
:type parameters: IO[bytes]
|
1775
1684
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1776
1685
|
Default value is "application/json".
|
1777
1686
|
:paramtype content_type: str
|
1778
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1779
1687
|
:return: ListServiceSasResponse or the result of cls(response)
|
1780
1688
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ListServiceSasResponse
|
1781
1689
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1786,7 +1694,7 @@ class StorageAccountsOperations:
|
|
1786
1694
|
self,
|
1787
1695
|
resource_group_name: str,
|
1788
1696
|
account_name: str,
|
1789
|
-
parameters: Union[_models.ServiceSasParameters, IO],
|
1697
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1790
1698
|
**kwargs: Any
|
1791
1699
|
) -> _models.ListServiceSasResponse:
|
1792
1700
|
"""List service SAS credentials of a specific resource.
|
@@ -1799,17 +1707,13 @@ class StorageAccountsOperations:
|
|
1799
1707
|
lower-case letters only. Required.
|
1800
1708
|
:type account_name: str
|
1801
1709
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1802
|
-
ServiceSasParameters type or a IO type. Required.
|
1803
|
-
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.ServiceSasParameters or IO
|
1804
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1805
|
-
Default value is None.
|
1806
|
-
:paramtype content_type: str
|
1807
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1710
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1711
|
+
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.ServiceSasParameters or IO[bytes]
|
1808
1712
|
:return: ListServiceSasResponse or the result of cls(response)
|
1809
1713
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ListServiceSasResponse
|
1810
1714
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1811
1715
|
"""
|
1812
|
-
error_map = {
|
1716
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1813
1717
|
401: ClientAuthenticationError,
|
1814
1718
|
404: ResourceNotFoundError,
|
1815
1719
|
409: ResourceExistsError,
|
@@ -1820,19 +1724,19 @@ class StorageAccountsOperations:
|
|
1820
1724
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1821
1725
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1822
1726
|
|
1823
|
-
api_version:
|
1727
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1824
1728
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1825
1729
|
cls: ClsType[_models.ListServiceSasResponse] = kwargs.pop("cls", None)
|
1826
1730
|
|
1827
1731
|
content_type = content_type or "application/json"
|
1828
1732
|
_json = None
|
1829
1733
|
_content = None
|
1830
|
-
if isinstance(parameters, (
|
1734
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1831
1735
|
_content = parameters
|
1832
1736
|
else:
|
1833
1737
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1834
1738
|
|
1835
|
-
|
1739
|
+
_request = build_list_service_sas_request(
|
1836
1740
|
resource_group_name=resource_group_name,
|
1837
1741
|
account_name=account_name,
|
1838
1742
|
subscription_id=self._config.subscription_id,
|
@@ -1840,15 +1744,15 @@ class StorageAccountsOperations:
|
|
1840
1744
|
content_type=content_type,
|
1841
1745
|
json=_json,
|
1842
1746
|
content=_content,
|
1843
|
-
template_url=self.list_service_sas.metadata["url"],
|
1844
1747
|
headers=_headers,
|
1845
1748
|
params=_params,
|
1846
1749
|
)
|
1847
|
-
|
1848
|
-
|
1750
|
+
_request = _convert_request(_request)
|
1751
|
+
_request.url = self._client.format_url(_request.url)
|
1849
1752
|
|
1753
|
+
_stream = False
|
1850
1754
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1851
|
-
|
1755
|
+
_request, stream=_stream, **kwargs
|
1852
1756
|
)
|
1853
1757
|
|
1854
1758
|
response = pipeline_response.http_response
|
@@ -1860,18 +1764,14 @@ class StorageAccountsOperations:
|
|
1860
1764
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1861
1765
|
|
1862
1766
|
if cls:
|
1863
|
-
return cls(pipeline_response, deserialized, {})
|
1864
|
-
|
1865
|
-
return deserialized
|
1767
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1866
1768
|
|
1867
|
-
|
1868
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1869
|
-
}
|
1769
|
+
return deserialized # type: ignore
|
1870
1770
|
|
1871
1771
|
def _failover_initial( # pylint: disable=inconsistent-return-statements
|
1872
1772
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1873
1773
|
) -> None:
|
1874
|
-
error_map = {
|
1774
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1875
1775
|
401: ClientAuthenticationError,
|
1876
1776
|
404: ResourceNotFoundError,
|
1877
1777
|
409: ResourceExistsError,
|
@@ -1882,23 +1782,23 @@ class StorageAccountsOperations:
|
|
1882
1782
|
_headers = kwargs.pop("headers", {}) or {}
|
1883
1783
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1884
1784
|
|
1885
|
-
api_version:
|
1785
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1886
1786
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1887
1787
|
|
1888
|
-
|
1788
|
+
_request = build_failover_request(
|
1889
1789
|
resource_group_name=resource_group_name,
|
1890
1790
|
account_name=account_name,
|
1891
1791
|
subscription_id=self._config.subscription_id,
|
1892
1792
|
api_version=api_version,
|
1893
|
-
template_url=self._failover_initial.metadata["url"],
|
1894
1793
|
headers=_headers,
|
1895
1794
|
params=_params,
|
1896
1795
|
)
|
1897
|
-
|
1898
|
-
|
1796
|
+
_request = _convert_request(_request)
|
1797
|
+
_request.url = self._client.format_url(_request.url)
|
1899
1798
|
|
1799
|
+
_stream = False
|
1900
1800
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1901
|
-
|
1801
|
+
_request, stream=_stream, **kwargs
|
1902
1802
|
)
|
1903
1803
|
|
1904
1804
|
response = pipeline_response.http_response
|
@@ -1908,11 +1808,7 @@ class StorageAccountsOperations:
|
|
1908
1808
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1909
1809
|
|
1910
1810
|
if cls:
|
1911
|
-
return cls(pipeline_response, None, {})
|
1912
|
-
|
1913
|
-
_failover_initial.metadata = {
|
1914
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1915
|
-
}
|
1811
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1916
1812
|
|
1917
1813
|
@distributed_trace
|
1918
1814
|
def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> LROPoller[None]:
|
@@ -1927,14 +1823,6 @@ class StorageAccountsOperations:
|
|
1927
1823
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1928
1824
|
lower-case letters only. Required.
|
1929
1825
|
:type account_name: str
|
1930
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1931
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1932
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
1933
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
1934
|
-
strategy.
|
1935
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
1936
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1937
|
-
Retry-After header is present.
|
1938
1826
|
:return: An instance of LROPoller that returns either None or the result of cls(response)
|
1939
1827
|
:rtype: ~azure.core.polling.LROPoller[None]
|
1940
1828
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1942,7 +1830,7 @@ class StorageAccountsOperations:
|
|
1942
1830
|
_headers = kwargs.pop("headers", {}) or {}
|
1943
1831
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1944
1832
|
|
1945
|
-
api_version:
|
1833
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1946
1834
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1947
1835
|
polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
|
1948
1836
|
lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
|
@@ -1961,7 +1849,7 @@ class StorageAccountsOperations:
|
|
1961
1849
|
|
1962
1850
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
1963
1851
|
if cls:
|
1964
|
-
return cls(pipeline_response, None, {})
|
1852
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1965
1853
|
|
1966
1854
|
if polling is True:
|
1967
1855
|
polling_method: PollingMethod = cast(
|
@@ -1972,26 +1860,22 @@ class StorageAccountsOperations:
|
|
1972
1860
|
else:
|
1973
1861
|
polling_method = polling
|
1974
1862
|
if cont_token:
|
1975
|
-
return LROPoller.from_continuation_token(
|
1863
|
+
return LROPoller[None].from_continuation_token(
|
1976
1864
|
polling_method=polling_method,
|
1977
1865
|
continuation_token=cont_token,
|
1978
1866
|
client=self._client,
|
1979
1867
|
deserialization_callback=get_long_running_output,
|
1980
1868
|
)
|
1981
|
-
return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1982
|
-
|
1983
|
-
begin_failover.metadata = {
|
1984
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1985
|
-
}
|
1869
|
+
return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1986
1870
|
|
1987
1871
|
def _restore_blob_ranges_initial(
|
1988
1872
|
self,
|
1989
1873
|
resource_group_name: str,
|
1990
1874
|
account_name: str,
|
1991
|
-
parameters: Union[_models.BlobRestoreParameters, IO],
|
1875
|
+
parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
|
1992
1876
|
**kwargs: Any
|
1993
1877
|
) -> _models.BlobRestoreStatus:
|
1994
|
-
error_map = {
|
1878
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1995
1879
|
401: ClientAuthenticationError,
|
1996
1880
|
404: ResourceNotFoundError,
|
1997
1881
|
409: ResourceExistsError,
|
@@ -2002,19 +1886,19 @@ class StorageAccountsOperations:
|
|
2002
1886
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
2003
1887
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2004
1888
|
|
2005
|
-
api_version:
|
1889
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
2006
1890
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
2007
1891
|
cls: ClsType[_models.BlobRestoreStatus] = kwargs.pop("cls", None)
|
2008
1892
|
|
2009
1893
|
content_type = content_type or "application/json"
|
2010
1894
|
_json = None
|
2011
1895
|
_content = None
|
2012
|
-
if isinstance(parameters, (
|
1896
|
+
if isinstance(parameters, (IOBase, bytes)):
|
2013
1897
|
_content = parameters
|
2014
1898
|
else:
|
2015
1899
|
_json = self._serialize.body(parameters, "BlobRestoreParameters")
|
2016
1900
|
|
2017
|
-
|
1901
|
+
_request = build_restore_blob_ranges_request(
|
2018
1902
|
resource_group_name=resource_group_name,
|
2019
1903
|
account_name=account_name,
|
2020
1904
|
subscription_id=self._config.subscription_id,
|
@@ -2022,15 +1906,15 @@ class StorageAccountsOperations:
|
|
2022
1906
|
content_type=content_type,
|
2023
1907
|
json=_json,
|
2024
1908
|
content=_content,
|
2025
|
-
template_url=self._restore_blob_ranges_initial.metadata["url"],
|
2026
1909
|
headers=_headers,
|
2027
1910
|
params=_params,
|
2028
1911
|
)
|
2029
|
-
|
2030
|
-
|
1912
|
+
_request = _convert_request(_request)
|
1913
|
+
_request.url = self._client.format_url(_request.url)
|
2031
1914
|
|
1915
|
+
_stream = False
|
2032
1916
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2033
|
-
|
1917
|
+
_request, stream=_stream, **kwargs
|
2034
1918
|
)
|
2035
1919
|
|
2036
1920
|
response = pipeline_response.http_response
|
@@ -2050,10 +1934,6 @@ class StorageAccountsOperations:
|
|
2050
1934
|
|
2051
1935
|
return deserialized # type: ignore
|
2052
1936
|
|
2053
|
-
_restore_blob_ranges_initial.metadata = {
|
2054
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
|
2055
|
-
}
|
2056
|
-
|
2057
1937
|
@overload
|
2058
1938
|
def begin_restore_blob_ranges(
|
2059
1939
|
self,
|
@@ -2078,14 +1958,6 @@ class StorageAccountsOperations:
|
|
2078
1958
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2079
1959
|
Default value is "application/json".
|
2080
1960
|
:paramtype content_type: str
|
2081
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2082
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
2083
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
2084
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
2085
|
-
strategy.
|
2086
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
2087
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
2088
|
-
Retry-After header is present.
|
2089
1961
|
:return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
|
2090
1962
|
cls(response)
|
2091
1963
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2021_04_01.models.BlobRestoreStatus]
|
@@ -2097,7 +1969,7 @@ class StorageAccountsOperations:
|
|
2097
1969
|
self,
|
2098
1970
|
resource_group_name: str,
|
2099
1971
|
account_name: str,
|
2100
|
-
parameters: IO,
|
1972
|
+
parameters: IO[bytes],
|
2101
1973
|
*,
|
2102
1974
|
content_type: str = "application/json",
|
2103
1975
|
**kwargs: Any
|
@@ -2112,18 +1984,10 @@ class StorageAccountsOperations:
|
|
2112
1984
|
lower-case letters only. Required.
|
2113
1985
|
:type account_name: str
|
2114
1986
|
:param parameters: The parameters to provide for restore blob ranges. Required.
|
2115
|
-
:type parameters: IO
|
1987
|
+
:type parameters: IO[bytes]
|
2116
1988
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2117
1989
|
Default value is "application/json".
|
2118
1990
|
:paramtype content_type: str
|
2119
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2120
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
2121
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
2122
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
2123
|
-
strategy.
|
2124
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
2125
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
2126
|
-
Retry-After header is present.
|
2127
1991
|
:return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
|
2128
1992
|
cls(response)
|
2129
1993
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2021_04_01.models.BlobRestoreStatus]
|
@@ -2135,7 +1999,7 @@ class StorageAccountsOperations:
|
|
2135
1999
|
self,
|
2136
2000
|
resource_group_name: str,
|
2137
2001
|
account_name: str,
|
2138
|
-
parameters: Union[_models.BlobRestoreParameters, IO],
|
2002
|
+
parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
|
2139
2003
|
**kwargs: Any
|
2140
2004
|
) -> LROPoller[_models.BlobRestoreStatus]:
|
2141
2005
|
"""Restore blobs in the specified blob ranges.
|
@@ -2148,19 +2012,8 @@ class StorageAccountsOperations:
|
|
2148
2012
|
lower-case letters only. Required.
|
2149
2013
|
:type account_name: str
|
2150
2014
|
:param parameters: The parameters to provide for restore blob ranges. Is either a
|
2151
|
-
BlobRestoreParameters type or a IO type. Required.
|
2152
|
-
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.BlobRestoreParameters or IO
|
2153
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2154
|
-
Default value is None.
|
2155
|
-
:paramtype content_type: str
|
2156
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2157
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
2158
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
2159
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
2160
|
-
strategy.
|
2161
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
2162
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
2163
|
-
Retry-After header is present.
|
2015
|
+
BlobRestoreParameters type or a IO[bytes] type. Required.
|
2016
|
+
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.BlobRestoreParameters or IO[bytes]
|
2164
2017
|
:return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
|
2165
2018
|
cls(response)
|
2166
2019
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2021_04_01.models.BlobRestoreStatus]
|
@@ -2169,7 +2022,7 @@ class StorageAccountsOperations:
|
|
2169
2022
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
2170
2023
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2171
2024
|
|
2172
|
-
api_version:
|
2025
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
2173
2026
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
2174
2027
|
cls: ClsType[_models.BlobRestoreStatus] = kwargs.pop("cls", None)
|
2175
2028
|
polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
|
@@ -2192,7 +2045,7 @@ class StorageAccountsOperations:
|
|
2192
2045
|
def get_long_running_output(pipeline_response):
|
2193
2046
|
deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
|
2194
2047
|
if cls:
|
2195
|
-
return cls(pipeline_response, deserialized, {})
|
2048
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
2196
2049
|
return deserialized
|
2197
2050
|
|
2198
2051
|
if polling is True:
|
@@ -2204,17 +2057,15 @@ class StorageAccountsOperations:
|
|
2204
2057
|
else:
|
2205
2058
|
polling_method = polling
|
2206
2059
|
if cont_token:
|
2207
|
-
return LROPoller.from_continuation_token(
|
2060
|
+
return LROPoller[_models.BlobRestoreStatus].from_continuation_token(
|
2208
2061
|
polling_method=polling_method,
|
2209
2062
|
continuation_token=cont_token,
|
2210
2063
|
client=self._client,
|
2211
2064
|
deserialization_callback=get_long_running_output,
|
2212
2065
|
)
|
2213
|
-
return LROPoller(
|
2214
|
-
|
2215
|
-
|
2216
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
|
2217
|
-
}
|
2066
|
+
return LROPoller[_models.BlobRestoreStatus](
|
2067
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
2068
|
+
)
|
2218
2069
|
|
2219
2070
|
@distributed_trace
|
2220
2071
|
def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
|
@@ -2229,12 +2080,11 @@ class StorageAccountsOperations:
|
|
2229
2080
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
2230
2081
|
lower-case letters only. Required.
|
2231
2082
|
:type account_name: str
|
2232
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2233
2083
|
:return: None or the result of cls(response)
|
2234
2084
|
:rtype: None
|
2235
2085
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2236
2086
|
"""
|
2237
|
-
error_map = {
|
2087
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2238
2088
|
401: ClientAuthenticationError,
|
2239
2089
|
404: ResourceNotFoundError,
|
2240
2090
|
409: ResourceExistsError,
|
@@ -2245,23 +2095,23 @@ class StorageAccountsOperations:
|
|
2245
2095
|
_headers = kwargs.pop("headers", {}) or {}
|
2246
2096
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2247
2097
|
|
2248
|
-
api_version:
|
2098
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
2249
2099
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
2250
2100
|
|
2251
|
-
|
2101
|
+
_request = build_revoke_user_delegation_keys_request(
|
2252
2102
|
resource_group_name=resource_group_name,
|
2253
2103
|
account_name=account_name,
|
2254
2104
|
subscription_id=self._config.subscription_id,
|
2255
2105
|
api_version=api_version,
|
2256
|
-
template_url=self.revoke_user_delegation_keys.metadata["url"],
|
2257
2106
|
headers=_headers,
|
2258
2107
|
params=_params,
|
2259
2108
|
)
|
2260
|
-
|
2261
|
-
|
2109
|
+
_request = _convert_request(_request)
|
2110
|
+
_request.url = self._client.format_url(_request.url)
|
2262
2111
|
|
2112
|
+
_stream = False
|
2263
2113
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2264
|
-
|
2114
|
+
_request, stream=_stream, **kwargs
|
2265
2115
|
)
|
2266
2116
|
|
2267
2117
|
response = pipeline_response.http_response
|
@@ -2271,8 +2121,4 @@ class StorageAccountsOperations:
|
|
2271
2121
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
2272
2122
|
|
2273
2123
|
if cls:
|
2274
|
-
return cls(pipeline_response, None, {})
|
2275
|
-
|
2276
|
-
revoke_user_delegation_keys.metadata = {
|
2277
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
|
2278
|
-
}
|
2124
|
+
return cls(pipeline_response, None, {}) # type: ignore
|