azure-mgmt-storage 21.1.0b1__py3-none-any.whl → 21.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azure/mgmt/storage/_configuration.py +2 -3
- azure/mgmt/storage/_serialization.py +65 -59
- 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.0.dist-info}/METADATA +44 -13
- azure_mgmt_storage-21.2.0.dist-info/RECORD +979 -0
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.0.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.0.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
1
|
+
# pylint: disable=too-many-lines,too-many-statements
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -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", "2019-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", "2019-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", "2019-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", "2019-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", "2019-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", "2019-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", "2019-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", "2019-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", "2019-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", "2019-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", "2019-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", "2019-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")
|
@@ -440,12 +441,12 @@ def build_failover_request(
|
|
440
441
|
return HttpRequest(method="POST", url=_url, params=_params, **kwargs)
|
441
442
|
|
442
443
|
|
443
|
-
def build_revoke_user_delegation_keys_request(
|
444
|
+
def build_revoke_user_delegation_keys_request( # pylint: disable=name-too-long
|
444
445
|
resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
|
445
446
|
) -> HttpRequest:
|
446
447
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
447
448
|
|
448
|
-
api_version:
|
449
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
|
449
450
|
# Construct URL
|
450
451
|
_url = kwargs.pop(
|
451
452
|
"template_url",
|
@@ -459,7 +460,7 @@ def build_revoke_user_delegation_keys_request(
|
|
459
460
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
460
461
|
}
|
461
462
|
|
462
|
-
_url: str =
|
463
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
463
464
|
|
464
465
|
# Construct parameters
|
465
466
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -485,6 +486,7 @@ class StorageAccountsOperations:
|
|
485
486
|
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
486
487
|
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
487
488
|
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
489
|
+
self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
|
488
490
|
|
489
491
|
@overload
|
490
492
|
def check_name_availability(
|
@@ -504,7 +506,6 @@ class StorageAccountsOperations:
|
|
504
506
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
505
507
|
Default value is "application/json".
|
506
508
|
:paramtype content_type: str
|
507
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
508
509
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
509
510
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.CheckNameAvailabilityResult
|
510
511
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -512,18 +513,17 @@ class StorageAccountsOperations:
|
|
512
513
|
|
513
514
|
@overload
|
514
515
|
def check_name_availability(
|
515
|
-
self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
|
516
|
+
self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
|
516
517
|
) -> _models.CheckNameAvailabilityResult:
|
517
518
|
"""Checks that the storage account name is valid and is not already in use.
|
518
519
|
|
519
520
|
:param account_name: The name of the storage account within the specified resource group.
|
520
521
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
521
522
|
lower-case letters only. Required.
|
522
|
-
:type account_name: IO
|
523
|
+
:type account_name: IO[bytes]
|
523
524
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
524
525
|
Default value is "application/json".
|
525
526
|
:paramtype content_type: str
|
526
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
527
527
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
528
528
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.CheckNameAvailabilityResult
|
529
529
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -531,25 +531,22 @@ class StorageAccountsOperations:
|
|
531
531
|
|
532
532
|
@distributed_trace
|
533
533
|
def check_name_availability(
|
534
|
-
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
|
534
|
+
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
|
535
535
|
) -> _models.CheckNameAvailabilityResult:
|
536
536
|
"""Checks that the storage account name is valid and is not already in use.
|
537
537
|
|
538
538
|
:param account_name: The name of the storage account within the specified resource group.
|
539
539
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
540
|
-
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
541
|
-
type. Required.
|
540
|
+
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
541
|
+
IO[bytes] type. Required.
|
542
542
|
:type account_name:
|
543
|
-
~azure.mgmt.storage.v2019_04_01.models.StorageAccountCheckNameAvailabilityParameters or
|
544
|
-
|
545
|
-
Default value is None.
|
546
|
-
:paramtype content_type: str
|
547
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
543
|
+
~azure.mgmt.storage.v2019_04_01.models.StorageAccountCheckNameAvailabilityParameters or
|
544
|
+
IO[bytes]
|
548
545
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
549
546
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.CheckNameAvailabilityResult
|
550
547
|
:raises ~azure.core.exceptions.HttpResponseError:
|
551
548
|
"""
|
552
|
-
error_map = {
|
549
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
553
550
|
401: ClientAuthenticationError,
|
554
551
|
404: ResourceNotFoundError,
|
555
552
|
409: ResourceExistsError,
|
@@ -560,33 +557,33 @@ class StorageAccountsOperations:
|
|
560
557
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
561
558
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
562
559
|
|
563
|
-
api_version:
|
560
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
564
561
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
565
562
|
cls: ClsType[_models.CheckNameAvailabilityResult] = kwargs.pop("cls", None)
|
566
563
|
|
567
564
|
content_type = content_type or "application/json"
|
568
565
|
_json = None
|
569
566
|
_content = None
|
570
|
-
if isinstance(account_name, (
|
567
|
+
if isinstance(account_name, (IOBase, bytes)):
|
571
568
|
_content = account_name
|
572
569
|
else:
|
573
570
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
574
571
|
|
575
|
-
|
572
|
+
_request = build_check_name_availability_request(
|
576
573
|
subscription_id=self._config.subscription_id,
|
577
574
|
api_version=api_version,
|
578
575
|
content_type=content_type,
|
579
576
|
json=_json,
|
580
577
|
content=_content,
|
581
|
-
template_url=self.check_name_availability.metadata["url"],
|
582
578
|
headers=_headers,
|
583
579
|
params=_params,
|
584
580
|
)
|
585
|
-
|
586
|
-
|
581
|
+
_request = _convert_request(_request)
|
582
|
+
_request.url = self._client.format_url(_request.url)
|
587
583
|
|
584
|
+
_stream = False
|
588
585
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
589
|
-
|
586
|
+
_request, stream=_stream, **kwargs
|
590
587
|
)
|
591
588
|
|
592
589
|
response = pipeline_response.http_response
|
@@ -598,22 +595,18 @@ class StorageAccountsOperations:
|
|
598
595
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
599
596
|
|
600
597
|
if cls:
|
601
|
-
return cls(pipeline_response, deserialized, {})
|
602
|
-
|
603
|
-
return deserialized
|
598
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
604
599
|
|
605
|
-
|
606
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
607
|
-
}
|
600
|
+
return deserialized # type: ignore
|
608
601
|
|
609
602
|
def _create_initial(
|
610
603
|
self,
|
611
604
|
resource_group_name: str,
|
612
605
|
account_name: str,
|
613
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
606
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
614
607
|
**kwargs: Any
|
615
608
|
) -> Optional[_models.StorageAccount]:
|
616
|
-
error_map = {
|
609
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
617
610
|
401: ClientAuthenticationError,
|
618
611
|
404: ResourceNotFoundError,
|
619
612
|
409: ResourceExistsError,
|
@@ -624,19 +617,19 @@ class StorageAccountsOperations:
|
|
624
617
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
625
618
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
626
619
|
|
627
|
-
api_version:
|
620
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
628
621
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
629
622
|
cls: ClsType[Optional[_models.StorageAccount]] = kwargs.pop("cls", None)
|
630
623
|
|
631
624
|
content_type = content_type or "application/json"
|
632
625
|
_json = None
|
633
626
|
_content = None
|
634
|
-
if isinstance(parameters, (
|
627
|
+
if isinstance(parameters, (IOBase, bytes)):
|
635
628
|
_content = parameters
|
636
629
|
else:
|
637
630
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
638
631
|
|
639
|
-
|
632
|
+
_request = build_create_request(
|
640
633
|
resource_group_name=resource_group_name,
|
641
634
|
account_name=account_name,
|
642
635
|
subscription_id=self._config.subscription_id,
|
@@ -644,15 +637,15 @@ class StorageAccountsOperations:
|
|
644
637
|
content_type=content_type,
|
645
638
|
json=_json,
|
646
639
|
content=_content,
|
647
|
-
template_url=self._create_initial.metadata["url"],
|
648
640
|
headers=_headers,
|
649
641
|
params=_params,
|
650
642
|
)
|
651
|
-
|
652
|
-
|
643
|
+
_request = _convert_request(_request)
|
644
|
+
_request.url = self._client.format_url(_request.url)
|
653
645
|
|
646
|
+
_stream = False
|
654
647
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
655
|
-
|
648
|
+
_request, stream=_stream, **kwargs
|
656
649
|
)
|
657
650
|
|
658
651
|
response = pipeline_response.http_response
|
@@ -666,13 +659,9 @@ class StorageAccountsOperations:
|
|
666
659
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
667
660
|
|
668
661
|
if cls:
|
669
|
-
return cls(pipeline_response, deserialized, {})
|
662
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
670
663
|
|
671
|
-
return deserialized
|
672
|
-
|
673
|
-
_create_initial.metadata = {
|
674
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
675
|
-
}
|
664
|
+
return deserialized # type: ignore
|
676
665
|
|
677
666
|
@overload
|
678
667
|
def begin_create(
|
@@ -701,14 +690,6 @@ class StorageAccountsOperations:
|
|
701
690
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
702
691
|
Default value is "application/json".
|
703
692
|
:paramtype content_type: str
|
704
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
705
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
706
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
707
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
708
|
-
strategy.
|
709
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
710
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
711
|
-
Retry-After header is present.
|
712
693
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
713
694
|
cls(response)
|
714
695
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2019_04_01.models.StorageAccount]
|
@@ -720,7 +701,7 @@ class StorageAccountsOperations:
|
|
720
701
|
self,
|
721
702
|
resource_group_name: str,
|
722
703
|
account_name: str,
|
723
|
-
parameters: IO,
|
704
|
+
parameters: IO[bytes],
|
724
705
|
*,
|
725
706
|
content_type: str = "application/json",
|
726
707
|
**kwargs: Any
|
@@ -738,18 +719,10 @@ class StorageAccountsOperations:
|
|
738
719
|
lower-case letters only. Required.
|
739
720
|
:type account_name: str
|
740
721
|
:param parameters: The parameters to provide for the created account. Required.
|
741
|
-
:type parameters: IO
|
722
|
+
:type parameters: IO[bytes]
|
742
723
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
743
724
|
Default value is "application/json".
|
744
725
|
:paramtype content_type: str
|
745
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
746
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
747
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
748
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
749
|
-
strategy.
|
750
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
751
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
752
|
-
Retry-After header is present.
|
753
726
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
754
727
|
cls(response)
|
755
728
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2019_04_01.models.StorageAccount]
|
@@ -761,7 +734,7 @@ class StorageAccountsOperations:
|
|
761
734
|
self,
|
762
735
|
resource_group_name: str,
|
763
736
|
account_name: str,
|
764
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
737
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
765
738
|
**kwargs: Any
|
766
739
|
) -> LROPoller[_models.StorageAccount]:
|
767
740
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -777,19 +750,9 @@ class StorageAccountsOperations:
|
|
777
750
|
lower-case letters only. Required.
|
778
751
|
:type account_name: str
|
779
752
|
:param parameters: The parameters to provide for the created account. Is either a
|
780
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
781
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountCreateParameters or
|
782
|
-
|
783
|
-
Default value is None.
|
784
|
-
:paramtype content_type: str
|
785
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
786
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
787
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
788
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
789
|
-
strategy.
|
790
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
791
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
792
|
-
Retry-After header is present.
|
753
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
754
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountCreateParameters or
|
755
|
+
IO[bytes]
|
793
756
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
794
757
|
cls(response)
|
795
758
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2019_04_01.models.StorageAccount]
|
@@ -798,7 +761,7 @@ class StorageAccountsOperations:
|
|
798
761
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
799
762
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
800
763
|
|
801
|
-
api_version:
|
764
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
802
765
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
803
766
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
804
767
|
polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
|
@@ -821,7 +784,7 @@ class StorageAccountsOperations:
|
|
821
784
|
def get_long_running_output(pipeline_response):
|
822
785
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
823
786
|
if cls:
|
824
|
-
return cls(pipeline_response, deserialized, {})
|
787
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
825
788
|
return deserialized
|
826
789
|
|
827
790
|
if polling is True:
|
@@ -831,17 +794,15 @@ class StorageAccountsOperations:
|
|
831
794
|
else:
|
832
795
|
polling_method = polling
|
833
796
|
if cont_token:
|
834
|
-
return LROPoller.from_continuation_token(
|
797
|
+
return LROPoller[_models.StorageAccount].from_continuation_token(
|
835
798
|
polling_method=polling_method,
|
836
799
|
continuation_token=cont_token,
|
837
800
|
client=self._client,
|
838
801
|
deserialization_callback=get_long_running_output,
|
839
802
|
)
|
840
|
-
return LROPoller(
|
841
|
-
|
842
|
-
|
843
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
844
|
-
}
|
803
|
+
return LROPoller[_models.StorageAccount](
|
804
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
805
|
+
)
|
845
806
|
|
846
807
|
@distributed_trace
|
847
808
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -856,12 +817,11 @@ class StorageAccountsOperations:
|
|
856
817
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
857
818
|
lower-case letters only. Required.
|
858
819
|
:type account_name: str
|
859
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
860
820
|
:return: None or the result of cls(response)
|
861
821
|
:rtype: None
|
862
822
|
:raises ~azure.core.exceptions.HttpResponseError:
|
863
823
|
"""
|
864
|
-
error_map = {
|
824
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
865
825
|
401: ClientAuthenticationError,
|
866
826
|
404: ResourceNotFoundError,
|
867
827
|
409: ResourceExistsError,
|
@@ -872,23 +832,23 @@ class StorageAccountsOperations:
|
|
872
832
|
_headers = kwargs.pop("headers", {}) or {}
|
873
833
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
874
834
|
|
875
|
-
api_version:
|
835
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
876
836
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
877
837
|
|
878
|
-
|
838
|
+
_request = build_delete_request(
|
879
839
|
resource_group_name=resource_group_name,
|
880
840
|
account_name=account_name,
|
881
841
|
subscription_id=self._config.subscription_id,
|
882
842
|
api_version=api_version,
|
883
|
-
template_url=self.delete.metadata["url"],
|
884
843
|
headers=_headers,
|
885
844
|
params=_params,
|
886
845
|
)
|
887
|
-
|
888
|
-
|
846
|
+
_request = _convert_request(_request)
|
847
|
+
_request.url = self._client.format_url(_request.url)
|
889
848
|
|
849
|
+
_stream = False
|
890
850
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
891
|
-
|
851
|
+
_request, stream=_stream, **kwargs
|
892
852
|
)
|
893
853
|
|
894
854
|
response = pipeline_response.http_response
|
@@ -898,11 +858,7 @@ class StorageAccountsOperations:
|
|
898
858
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
899
859
|
|
900
860
|
if cls:
|
901
|
-
return cls(pipeline_response, None, {})
|
902
|
-
|
903
|
-
delete.metadata = {
|
904
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
905
|
-
}
|
861
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
906
862
|
|
907
863
|
@distributed_trace
|
908
864
|
def get_properties(
|
@@ -927,12 +883,11 @@ class StorageAccountsOperations:
|
|
927
883
|
data is not included when fetching properties. Currently we only support geoReplicationStats.
|
928
884
|
Known values are "geoReplicationStats" and None. Default value is "geoReplicationStats".
|
929
885
|
:type expand: str
|
930
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
931
886
|
:return: StorageAccount or the result of cls(response)
|
932
887
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccount
|
933
888
|
:raises ~azure.core.exceptions.HttpResponseError:
|
934
889
|
"""
|
935
|
-
error_map = {
|
890
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
936
891
|
401: ClientAuthenticationError,
|
937
892
|
404: ResourceNotFoundError,
|
938
893
|
409: ResourceExistsError,
|
@@ -943,24 +898,24 @@ class StorageAccountsOperations:
|
|
943
898
|
_headers = kwargs.pop("headers", {}) or {}
|
944
899
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
945
900
|
|
946
|
-
api_version:
|
901
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
947
902
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
948
903
|
|
949
|
-
|
904
|
+
_request = build_get_properties_request(
|
950
905
|
resource_group_name=resource_group_name,
|
951
906
|
account_name=account_name,
|
952
907
|
subscription_id=self._config.subscription_id,
|
953
908
|
expand=expand,
|
954
909
|
api_version=api_version,
|
955
|
-
template_url=self.get_properties.metadata["url"],
|
956
910
|
headers=_headers,
|
957
911
|
params=_params,
|
958
912
|
)
|
959
|
-
|
960
|
-
|
913
|
+
_request = _convert_request(_request)
|
914
|
+
_request.url = self._client.format_url(_request.url)
|
961
915
|
|
916
|
+
_stream = False
|
962
917
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
963
|
-
|
918
|
+
_request, stream=_stream, **kwargs
|
964
919
|
)
|
965
920
|
|
966
921
|
response = pipeline_response.http_response
|
@@ -972,13 +927,9 @@ class StorageAccountsOperations:
|
|
972
927
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
973
928
|
|
974
929
|
if cls:
|
975
|
-
return cls(pipeline_response, deserialized, {})
|
976
|
-
|
977
|
-
return deserialized
|
930
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
978
931
|
|
979
|
-
|
980
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
981
|
-
}
|
932
|
+
return deserialized # type: ignore
|
982
933
|
|
983
934
|
@overload
|
984
935
|
def update(
|
@@ -1011,7 +962,6 @@ class StorageAccountsOperations:
|
|
1011
962
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1012
963
|
Default value is "application/json".
|
1013
964
|
:paramtype content_type: str
|
1014
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1015
965
|
:return: StorageAccount or the result of cls(response)
|
1016
966
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccount
|
1017
967
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1022,7 +972,7 @@ class StorageAccountsOperations:
|
|
1022
972
|
self,
|
1023
973
|
resource_group_name: str,
|
1024
974
|
account_name: str,
|
1025
|
-
parameters: IO,
|
975
|
+
parameters: IO[bytes],
|
1026
976
|
*,
|
1027
977
|
content_type: str = "application/json",
|
1028
978
|
**kwargs: Any
|
@@ -1044,11 +994,10 @@ class StorageAccountsOperations:
|
|
1044
994
|
lower-case letters only. Required.
|
1045
995
|
:type account_name: str
|
1046
996
|
:param parameters: The parameters to provide for the updated account. Required.
|
1047
|
-
:type parameters: IO
|
997
|
+
:type parameters: IO[bytes]
|
1048
998
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1049
999
|
Default value is "application/json".
|
1050
1000
|
:paramtype content_type: str
|
1051
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1052
1001
|
:return: StorageAccount or the result of cls(response)
|
1053
1002
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccount
|
1054
1003
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1059,7 +1008,7 @@ class StorageAccountsOperations:
|
|
1059
1008
|
self,
|
1060
1009
|
resource_group_name: str,
|
1061
1010
|
account_name: str,
|
1062
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
1011
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
1063
1012
|
**kwargs: Any
|
1064
1013
|
) -> _models.StorageAccount:
|
1065
1014
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -1079,17 +1028,14 @@ class StorageAccountsOperations:
|
|
1079
1028
|
lower-case letters only. Required.
|
1080
1029
|
:type account_name: str
|
1081
1030
|
:param parameters: The parameters to provide for the updated account. Is either a
|
1082
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
1083
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountUpdateParameters or
|
1084
|
-
|
1085
|
-
Default value is None.
|
1086
|
-
:paramtype content_type: str
|
1087
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1031
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
1032
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountUpdateParameters or
|
1033
|
+
IO[bytes]
|
1088
1034
|
:return: StorageAccount or the result of cls(response)
|
1089
1035
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccount
|
1090
1036
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1091
1037
|
"""
|
1092
|
-
error_map = {
|
1038
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1093
1039
|
401: ClientAuthenticationError,
|
1094
1040
|
404: ResourceNotFoundError,
|
1095
1041
|
409: ResourceExistsError,
|
@@ -1100,19 +1046,19 @@ class StorageAccountsOperations:
|
|
1100
1046
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1101
1047
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1102
1048
|
|
1103
|
-
api_version:
|
1049
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1104
1050
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1105
1051
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
1106
1052
|
|
1107
1053
|
content_type = content_type or "application/json"
|
1108
1054
|
_json = None
|
1109
1055
|
_content = None
|
1110
|
-
if isinstance(parameters, (
|
1056
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1111
1057
|
_content = parameters
|
1112
1058
|
else:
|
1113
1059
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
1114
1060
|
|
1115
|
-
|
1061
|
+
_request = build_update_request(
|
1116
1062
|
resource_group_name=resource_group_name,
|
1117
1063
|
account_name=account_name,
|
1118
1064
|
subscription_id=self._config.subscription_id,
|
@@ -1120,15 +1066,15 @@ class StorageAccountsOperations:
|
|
1120
1066
|
content_type=content_type,
|
1121
1067
|
json=_json,
|
1122
1068
|
content=_content,
|
1123
|
-
template_url=self.update.metadata["url"],
|
1124
1069
|
headers=_headers,
|
1125
1070
|
params=_params,
|
1126
1071
|
)
|
1127
|
-
|
1128
|
-
|
1072
|
+
_request = _convert_request(_request)
|
1073
|
+
_request.url = self._client.format_url(_request.url)
|
1129
1074
|
|
1075
|
+
_stream = False
|
1130
1076
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1131
|
-
|
1077
|
+
_request, stream=_stream, **kwargs
|
1132
1078
|
)
|
1133
1079
|
|
1134
1080
|
response = pipeline_response.http_response
|
@@ -1140,20 +1086,15 @@ class StorageAccountsOperations:
|
|
1140
1086
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
1141
1087
|
|
1142
1088
|
if cls:
|
1143
|
-
return cls(pipeline_response, deserialized, {})
|
1089
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1144
1090
|
|
1145
|
-
return deserialized
|
1146
|
-
|
1147
|
-
update.metadata = {
|
1148
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
1149
|
-
}
|
1091
|
+
return deserialized # type: ignore
|
1150
1092
|
|
1151
1093
|
@distributed_trace
|
1152
1094
|
def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1153
1095
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
1154
1096
|
returned; use the ListKeys operation for this.
|
1155
1097
|
|
1156
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1157
1098
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1158
1099
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2019_04_01.models.StorageAccount]
|
1159
1100
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1161,10 +1102,10 @@ class StorageAccountsOperations:
|
|
1161
1102
|
_headers = kwargs.pop("headers", {}) or {}
|
1162
1103
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1163
1104
|
|
1164
|
-
api_version:
|
1105
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1165
1106
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1166
1107
|
|
1167
|
-
error_map = {
|
1108
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1168
1109
|
401: ClientAuthenticationError,
|
1169
1110
|
404: ResourceNotFoundError,
|
1170
1111
|
409: ResourceExistsError,
|
@@ -1175,15 +1116,14 @@ class StorageAccountsOperations:
|
|
1175
1116
|
def prepare_request(next_link=None):
|
1176
1117
|
if not next_link:
|
1177
1118
|
|
1178
|
-
|
1119
|
+
_request = build_list_request(
|
1179
1120
|
subscription_id=self._config.subscription_id,
|
1180
1121
|
api_version=api_version,
|
1181
|
-
template_url=self.list.metadata["url"],
|
1182
1122
|
headers=_headers,
|
1183
1123
|
params=_params,
|
1184
1124
|
)
|
1185
|
-
|
1186
|
-
|
1125
|
+
_request = _convert_request(_request)
|
1126
|
+
_request.url = self._client.format_url(_request.url)
|
1187
1127
|
|
1188
1128
|
else:
|
1189
1129
|
# make call to next link with the client's api-version
|
@@ -1194,14 +1134,14 @@ class StorageAccountsOperations:
|
|
1194
1134
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1195
1135
|
}
|
1196
1136
|
)
|
1197
|
-
_next_request_params["api-version"] = self.
|
1198
|
-
|
1137
|
+
_next_request_params["api-version"] = self._api_version
|
1138
|
+
_request = HttpRequest(
|
1199
1139
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1200
1140
|
)
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
return
|
1141
|
+
_request = _convert_request(_request)
|
1142
|
+
_request.url = self._client.format_url(_request.url)
|
1143
|
+
_request.method = "GET"
|
1144
|
+
return _request
|
1205
1145
|
|
1206
1146
|
def extract_data(pipeline_response):
|
1207
1147
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1211,10 +1151,11 @@ class StorageAccountsOperations:
|
|
1211
1151
|
return deserialized.next_link or None, iter(list_of_elem)
|
1212
1152
|
|
1213
1153
|
def get_next(next_link=None):
|
1214
|
-
|
1154
|
+
_request = prepare_request(next_link)
|
1215
1155
|
|
1156
|
+
_stream = False
|
1216
1157
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1217
|
-
|
1158
|
+
_request, stream=_stream, **kwargs
|
1218
1159
|
)
|
1219
1160
|
response = pipeline_response.http_response
|
1220
1161
|
|
@@ -1226,8 +1167,6 @@ class StorageAccountsOperations:
|
|
1226
1167
|
|
1227
1168
|
return ItemPaged(get_next, extract_data)
|
1228
1169
|
|
1229
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
1230
|
-
|
1231
1170
|
@distributed_trace
|
1232
1171
|
def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1233
1172
|
"""Lists all the storage accounts available under the given resource group. Note that storage keys
|
@@ -1236,7 +1175,6 @@ class StorageAccountsOperations:
|
|
1236
1175
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1237
1176
|
name is case insensitive. Required.
|
1238
1177
|
:type resource_group_name: str
|
1239
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1240
1178
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1241
1179
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2019_04_01.models.StorageAccount]
|
1242
1180
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1244,10 +1182,10 @@ class StorageAccountsOperations:
|
|
1244
1182
|
_headers = kwargs.pop("headers", {}) or {}
|
1245
1183
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1246
1184
|
|
1247
|
-
api_version:
|
1185
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1248
1186
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1249
1187
|
|
1250
|
-
error_map = {
|
1188
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1251
1189
|
401: ClientAuthenticationError,
|
1252
1190
|
404: ResourceNotFoundError,
|
1253
1191
|
409: ResourceExistsError,
|
@@ -1258,16 +1196,15 @@ class StorageAccountsOperations:
|
|
1258
1196
|
def prepare_request(next_link=None):
|
1259
1197
|
if not next_link:
|
1260
1198
|
|
1261
|
-
|
1199
|
+
_request = build_list_by_resource_group_request(
|
1262
1200
|
resource_group_name=resource_group_name,
|
1263
1201
|
subscription_id=self._config.subscription_id,
|
1264
1202
|
api_version=api_version,
|
1265
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
1266
1203
|
headers=_headers,
|
1267
1204
|
params=_params,
|
1268
1205
|
)
|
1269
|
-
|
1270
|
-
|
1206
|
+
_request = _convert_request(_request)
|
1207
|
+
_request.url = self._client.format_url(_request.url)
|
1271
1208
|
|
1272
1209
|
else:
|
1273
1210
|
# make call to next link with the client's api-version
|
@@ -1278,14 +1215,14 @@ class StorageAccountsOperations:
|
|
1278
1215
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1279
1216
|
}
|
1280
1217
|
)
|
1281
|
-
_next_request_params["api-version"] = self.
|
1282
|
-
|
1218
|
+
_next_request_params["api-version"] = self._api_version
|
1219
|
+
_request = HttpRequest(
|
1283
1220
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1284
1221
|
)
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
return
|
1222
|
+
_request = _convert_request(_request)
|
1223
|
+
_request.url = self._client.format_url(_request.url)
|
1224
|
+
_request.method = "GET"
|
1225
|
+
return _request
|
1289
1226
|
|
1290
1227
|
def extract_data(pipeline_response):
|
1291
1228
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1295,10 +1232,11 @@ class StorageAccountsOperations:
|
|
1295
1232
|
return None, iter(list_of_elem)
|
1296
1233
|
|
1297
1234
|
def get_next(next_link=None):
|
1298
|
-
|
1235
|
+
_request = prepare_request(next_link)
|
1299
1236
|
|
1237
|
+
_stream = False
|
1300
1238
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1301
|
-
|
1239
|
+
_request, stream=_stream, **kwargs
|
1302
1240
|
)
|
1303
1241
|
response = pipeline_response.http_response
|
1304
1242
|
|
@@ -1310,10 +1248,6 @@ class StorageAccountsOperations:
|
|
1310
1248
|
|
1311
1249
|
return ItemPaged(get_next, extract_data)
|
1312
1250
|
|
1313
|
-
list_by_resource_group.metadata = {
|
1314
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
1315
|
-
}
|
1316
|
-
|
1317
1251
|
@distributed_trace
|
1318
1252
|
def list_keys(
|
1319
1253
|
self, resource_group_name: str, account_name: str, expand: Literal["kerb"] = "kerb", **kwargs: Any
|
@@ -1331,12 +1265,11 @@ class StorageAccountsOperations:
|
|
1331
1265
|
:param expand: Specifies type of the key to be listed. Possible value is kerb. Known values are
|
1332
1266
|
"kerb" and None. Default value is "kerb".
|
1333
1267
|
:type expand: str
|
1334
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1335
1268
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1336
1269
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountListKeysResult
|
1337
1270
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1338
1271
|
"""
|
1339
|
-
error_map = {
|
1272
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1340
1273
|
401: ClientAuthenticationError,
|
1341
1274
|
404: ResourceNotFoundError,
|
1342
1275
|
409: ResourceExistsError,
|
@@ -1347,24 +1280,24 @@ class StorageAccountsOperations:
|
|
1347
1280
|
_headers = kwargs.pop("headers", {}) or {}
|
1348
1281
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1349
1282
|
|
1350
|
-
api_version:
|
1283
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1351
1284
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
1352
1285
|
|
1353
|
-
|
1286
|
+
_request = build_list_keys_request(
|
1354
1287
|
resource_group_name=resource_group_name,
|
1355
1288
|
account_name=account_name,
|
1356
1289
|
subscription_id=self._config.subscription_id,
|
1357
1290
|
expand=expand,
|
1358
1291
|
api_version=api_version,
|
1359
|
-
template_url=self.list_keys.metadata["url"],
|
1360
1292
|
headers=_headers,
|
1361
1293
|
params=_params,
|
1362
1294
|
)
|
1363
|
-
|
1364
|
-
|
1295
|
+
_request = _convert_request(_request)
|
1296
|
+
_request.url = self._client.format_url(_request.url)
|
1365
1297
|
|
1298
|
+
_stream = False
|
1366
1299
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1367
|
-
|
1300
|
+
_request, stream=_stream, **kwargs
|
1368
1301
|
)
|
1369
1302
|
|
1370
1303
|
response = pipeline_response.http_response
|
@@ -1376,13 +1309,9 @@ class StorageAccountsOperations:
|
|
1376
1309
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1377
1310
|
|
1378
1311
|
if cls:
|
1379
|
-
return cls(pipeline_response, deserialized, {})
|
1312
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1380
1313
|
|
1381
|
-
return deserialized
|
1382
|
-
|
1383
|
-
list_keys.metadata = {
|
1384
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
1385
|
-
}
|
1314
|
+
return deserialized # type: ignore
|
1386
1315
|
|
1387
1316
|
@overload
|
1388
1317
|
def regenerate_key(
|
@@ -1410,7 +1339,6 @@ class StorageAccountsOperations:
|
|
1410
1339
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1411
1340
|
Default value is "application/json".
|
1412
1341
|
:paramtype content_type: str
|
1413
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1414
1342
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1415
1343
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountListKeysResult
|
1416
1344
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1421,7 +1349,7 @@ class StorageAccountsOperations:
|
|
1421
1349
|
self,
|
1422
1350
|
resource_group_name: str,
|
1423
1351
|
account_name: str,
|
1424
|
-
regenerate_key: IO,
|
1352
|
+
regenerate_key: IO[bytes],
|
1425
1353
|
*,
|
1426
1354
|
content_type: str = "application/json",
|
1427
1355
|
**kwargs: Any
|
@@ -1437,11 +1365,10 @@ class StorageAccountsOperations:
|
|
1437
1365
|
:type account_name: str
|
1438
1366
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1439
1367
|
kerb1, kerb2. Required.
|
1440
|
-
:type regenerate_key: IO
|
1368
|
+
:type regenerate_key: IO[bytes]
|
1441
1369
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1442
1370
|
Default value is "application/json".
|
1443
1371
|
:paramtype content_type: str
|
1444
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1445
1372
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1446
1373
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountListKeysResult
|
1447
1374
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1452,7 +1379,7 @@ class StorageAccountsOperations:
|
|
1452
1379
|
self,
|
1453
1380
|
resource_group_name: str,
|
1454
1381
|
account_name: str,
|
1455
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
1382
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1456
1383
|
**kwargs: Any
|
1457
1384
|
) -> _models.StorageAccountListKeysResult:
|
1458
1385
|
"""Regenerates one of the access keys or Kerberos keys for the specified storage account.
|
@@ -1465,18 +1392,15 @@ class StorageAccountsOperations:
|
|
1465
1392
|
lower-case letters only. Required.
|
1466
1393
|
:type account_name: str
|
1467
1394
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1468
|
-
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO type.
|
1395
|
+
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
|
1396
|
+
Required.
|
1469
1397
|
:type regenerate_key:
|
1470
|
-
~azure.mgmt.storage.v2019_04_01.models.StorageAccountRegenerateKeyParameters or IO
|
1471
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1472
|
-
Default value is None.
|
1473
|
-
:paramtype content_type: str
|
1474
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1398
|
+
~azure.mgmt.storage.v2019_04_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
|
1475
1399
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1476
1400
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountListKeysResult
|
1477
1401
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1478
1402
|
"""
|
1479
|
-
error_map = {
|
1403
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1480
1404
|
401: ClientAuthenticationError,
|
1481
1405
|
404: ResourceNotFoundError,
|
1482
1406
|
409: ResourceExistsError,
|
@@ -1487,19 +1411,19 @@ class StorageAccountsOperations:
|
|
1487
1411
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1488
1412
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1489
1413
|
|
1490
|
-
api_version:
|
1414
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1491
1415
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1492
1416
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
1493
1417
|
|
1494
1418
|
content_type = content_type or "application/json"
|
1495
1419
|
_json = None
|
1496
1420
|
_content = None
|
1497
|
-
if isinstance(regenerate_key, (
|
1421
|
+
if isinstance(regenerate_key, (IOBase, bytes)):
|
1498
1422
|
_content = regenerate_key
|
1499
1423
|
else:
|
1500
1424
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1501
1425
|
|
1502
|
-
|
1426
|
+
_request = build_regenerate_key_request(
|
1503
1427
|
resource_group_name=resource_group_name,
|
1504
1428
|
account_name=account_name,
|
1505
1429
|
subscription_id=self._config.subscription_id,
|
@@ -1507,15 +1431,15 @@ class StorageAccountsOperations:
|
|
1507
1431
|
content_type=content_type,
|
1508
1432
|
json=_json,
|
1509
1433
|
content=_content,
|
1510
|
-
template_url=self.regenerate_key.metadata["url"],
|
1511
1434
|
headers=_headers,
|
1512
1435
|
params=_params,
|
1513
1436
|
)
|
1514
|
-
|
1515
|
-
|
1437
|
+
_request = _convert_request(_request)
|
1438
|
+
_request.url = self._client.format_url(_request.url)
|
1516
1439
|
|
1440
|
+
_stream = False
|
1517
1441
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1518
|
-
|
1442
|
+
_request, stream=_stream, **kwargs
|
1519
1443
|
)
|
1520
1444
|
|
1521
1445
|
response = pipeline_response.http_response
|
@@ -1527,13 +1451,9 @@ class StorageAccountsOperations:
|
|
1527
1451
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1528
1452
|
|
1529
1453
|
if cls:
|
1530
|
-
return cls(pipeline_response, deserialized, {})
|
1454
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1531
1455
|
|
1532
|
-
return deserialized
|
1533
|
-
|
1534
|
-
regenerate_key.metadata = {
|
1535
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1536
|
-
}
|
1456
|
+
return deserialized # type: ignore
|
1537
1457
|
|
1538
1458
|
@overload
|
1539
1459
|
def list_account_sas(
|
@@ -1560,7 +1480,6 @@ class StorageAccountsOperations:
|
|
1560
1480
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1561
1481
|
Default value is "application/json".
|
1562
1482
|
:paramtype content_type: str
|
1563
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1564
1483
|
:return: ListAccountSasResponse or the result of cls(response)
|
1565
1484
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ListAccountSasResponse
|
1566
1485
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1571,7 +1490,7 @@ class StorageAccountsOperations:
|
|
1571
1490
|
self,
|
1572
1491
|
resource_group_name: str,
|
1573
1492
|
account_name: str,
|
1574
|
-
parameters: IO,
|
1493
|
+
parameters: IO[bytes],
|
1575
1494
|
*,
|
1576
1495
|
content_type: str = "application/json",
|
1577
1496
|
**kwargs: Any
|
@@ -1587,11 +1506,10 @@ class StorageAccountsOperations:
|
|
1587
1506
|
:type account_name: str
|
1588
1507
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1589
1508
|
Required.
|
1590
|
-
:type parameters: IO
|
1509
|
+
:type parameters: IO[bytes]
|
1591
1510
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1592
1511
|
Default value is "application/json".
|
1593
1512
|
:paramtype content_type: str
|
1594
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1595
1513
|
:return: ListAccountSasResponse or the result of cls(response)
|
1596
1514
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ListAccountSasResponse
|
1597
1515
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1602,7 +1520,7 @@ class StorageAccountsOperations:
|
|
1602
1520
|
self,
|
1603
1521
|
resource_group_name: str,
|
1604
1522
|
account_name: str,
|
1605
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1523
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1606
1524
|
**kwargs: Any
|
1607
1525
|
) -> _models.ListAccountSasResponse:
|
1608
1526
|
"""List SAS credentials of a storage account.
|
@@ -1615,17 +1533,13 @@ class StorageAccountsOperations:
|
|
1615
1533
|
lower-case letters only. Required.
|
1616
1534
|
:type account_name: str
|
1617
1535
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1618
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1619
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.AccountSasParameters or IO
|
1620
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1621
|
-
Default value is None.
|
1622
|
-
:paramtype content_type: str
|
1623
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1536
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1537
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.AccountSasParameters or IO[bytes]
|
1624
1538
|
:return: ListAccountSasResponse or the result of cls(response)
|
1625
1539
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ListAccountSasResponse
|
1626
1540
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1627
1541
|
"""
|
1628
|
-
error_map = {
|
1542
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1629
1543
|
401: ClientAuthenticationError,
|
1630
1544
|
404: ResourceNotFoundError,
|
1631
1545
|
409: ResourceExistsError,
|
@@ -1636,19 +1550,19 @@ class StorageAccountsOperations:
|
|
1636
1550
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1637
1551
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1638
1552
|
|
1639
|
-
api_version:
|
1553
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1640
1554
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1641
1555
|
cls: ClsType[_models.ListAccountSasResponse] = kwargs.pop("cls", None)
|
1642
1556
|
|
1643
1557
|
content_type = content_type or "application/json"
|
1644
1558
|
_json = None
|
1645
1559
|
_content = None
|
1646
|
-
if isinstance(parameters, (
|
1560
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1647
1561
|
_content = parameters
|
1648
1562
|
else:
|
1649
1563
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1650
1564
|
|
1651
|
-
|
1565
|
+
_request = build_list_account_sas_request(
|
1652
1566
|
resource_group_name=resource_group_name,
|
1653
1567
|
account_name=account_name,
|
1654
1568
|
subscription_id=self._config.subscription_id,
|
@@ -1656,15 +1570,15 @@ class StorageAccountsOperations:
|
|
1656
1570
|
content_type=content_type,
|
1657
1571
|
json=_json,
|
1658
1572
|
content=_content,
|
1659
|
-
template_url=self.list_account_sas.metadata["url"],
|
1660
1573
|
headers=_headers,
|
1661
1574
|
params=_params,
|
1662
1575
|
)
|
1663
|
-
|
1664
|
-
|
1576
|
+
_request = _convert_request(_request)
|
1577
|
+
_request.url = self._client.format_url(_request.url)
|
1665
1578
|
|
1579
|
+
_stream = False
|
1666
1580
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1667
|
-
|
1581
|
+
_request, stream=_stream, **kwargs
|
1668
1582
|
)
|
1669
1583
|
|
1670
1584
|
response = pipeline_response.http_response
|
@@ -1676,13 +1590,9 @@ class StorageAccountsOperations:
|
|
1676
1590
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1677
1591
|
|
1678
1592
|
if cls:
|
1679
|
-
return cls(pipeline_response, deserialized, {})
|
1593
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1680
1594
|
|
1681
|
-
return deserialized
|
1682
|
-
|
1683
|
-
list_account_sas.metadata = {
|
1684
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1685
|
-
}
|
1595
|
+
return deserialized # type: ignore
|
1686
1596
|
|
1687
1597
|
@overload
|
1688
1598
|
def list_service_sas(
|
@@ -1708,7 +1618,6 @@ class StorageAccountsOperations:
|
|
1708
1618
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1709
1619
|
Default value is "application/json".
|
1710
1620
|
:paramtype content_type: str
|
1711
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1712
1621
|
:return: ListServiceSasResponse or the result of cls(response)
|
1713
1622
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ListServiceSasResponse
|
1714
1623
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1719,7 +1628,7 @@ class StorageAccountsOperations:
|
|
1719
1628
|
self,
|
1720
1629
|
resource_group_name: str,
|
1721
1630
|
account_name: str,
|
1722
|
-
parameters: IO,
|
1631
|
+
parameters: IO[bytes],
|
1723
1632
|
*,
|
1724
1633
|
content_type: str = "application/json",
|
1725
1634
|
**kwargs: Any
|
@@ -1734,11 +1643,10 @@ class StorageAccountsOperations:
|
|
1734
1643
|
lower-case letters only. Required.
|
1735
1644
|
:type account_name: str
|
1736
1645
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1737
|
-
:type parameters: IO
|
1646
|
+
:type parameters: IO[bytes]
|
1738
1647
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1739
1648
|
Default value is "application/json".
|
1740
1649
|
:paramtype content_type: str
|
1741
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1742
1650
|
:return: ListServiceSasResponse or the result of cls(response)
|
1743
1651
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ListServiceSasResponse
|
1744
1652
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1749,7 +1657,7 @@ class StorageAccountsOperations:
|
|
1749
1657
|
self,
|
1750
1658
|
resource_group_name: str,
|
1751
1659
|
account_name: str,
|
1752
|
-
parameters: Union[_models.ServiceSasParameters, IO],
|
1660
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1753
1661
|
**kwargs: Any
|
1754
1662
|
) -> _models.ListServiceSasResponse:
|
1755
1663
|
"""List service SAS credentials of a specific resource.
|
@@ -1762,17 +1670,13 @@ class StorageAccountsOperations:
|
|
1762
1670
|
lower-case letters only. Required.
|
1763
1671
|
:type account_name: str
|
1764
1672
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1765
|
-
ServiceSasParameters type or a IO type. Required.
|
1766
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ServiceSasParameters or IO
|
1767
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1768
|
-
Default value is None.
|
1769
|
-
:paramtype content_type: str
|
1770
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1673
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1674
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ServiceSasParameters or IO[bytes]
|
1771
1675
|
:return: ListServiceSasResponse or the result of cls(response)
|
1772
1676
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ListServiceSasResponse
|
1773
1677
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1774
1678
|
"""
|
1775
|
-
error_map = {
|
1679
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1776
1680
|
401: ClientAuthenticationError,
|
1777
1681
|
404: ResourceNotFoundError,
|
1778
1682
|
409: ResourceExistsError,
|
@@ -1783,19 +1687,19 @@ class StorageAccountsOperations:
|
|
1783
1687
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1784
1688
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1785
1689
|
|
1786
|
-
api_version:
|
1690
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1787
1691
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1788
1692
|
cls: ClsType[_models.ListServiceSasResponse] = kwargs.pop("cls", None)
|
1789
1693
|
|
1790
1694
|
content_type = content_type or "application/json"
|
1791
1695
|
_json = None
|
1792
1696
|
_content = None
|
1793
|
-
if isinstance(parameters, (
|
1697
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1794
1698
|
_content = parameters
|
1795
1699
|
else:
|
1796
1700
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1797
1701
|
|
1798
|
-
|
1702
|
+
_request = build_list_service_sas_request(
|
1799
1703
|
resource_group_name=resource_group_name,
|
1800
1704
|
account_name=account_name,
|
1801
1705
|
subscription_id=self._config.subscription_id,
|
@@ -1803,15 +1707,15 @@ class StorageAccountsOperations:
|
|
1803
1707
|
content_type=content_type,
|
1804
1708
|
json=_json,
|
1805
1709
|
content=_content,
|
1806
|
-
template_url=self.list_service_sas.metadata["url"],
|
1807
1710
|
headers=_headers,
|
1808
1711
|
params=_params,
|
1809
1712
|
)
|
1810
|
-
|
1811
|
-
|
1713
|
+
_request = _convert_request(_request)
|
1714
|
+
_request.url = self._client.format_url(_request.url)
|
1812
1715
|
|
1716
|
+
_stream = False
|
1813
1717
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1814
|
-
|
1718
|
+
_request, stream=_stream, **kwargs
|
1815
1719
|
)
|
1816
1720
|
|
1817
1721
|
response = pipeline_response.http_response
|
@@ -1823,18 +1727,14 @@ class StorageAccountsOperations:
|
|
1823
1727
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1824
1728
|
|
1825
1729
|
if cls:
|
1826
|
-
return cls(pipeline_response, deserialized, {})
|
1827
|
-
|
1828
|
-
return deserialized
|
1730
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1829
1731
|
|
1830
|
-
|
1831
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1832
|
-
}
|
1732
|
+
return deserialized # type: ignore
|
1833
1733
|
|
1834
1734
|
def _failover_initial( # pylint: disable=inconsistent-return-statements
|
1835
1735
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1836
1736
|
) -> None:
|
1837
|
-
error_map = {
|
1737
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1838
1738
|
401: ClientAuthenticationError,
|
1839
1739
|
404: ResourceNotFoundError,
|
1840
1740
|
409: ResourceExistsError,
|
@@ -1845,23 +1745,23 @@ class StorageAccountsOperations:
|
|
1845
1745
|
_headers = kwargs.pop("headers", {}) or {}
|
1846
1746
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1847
1747
|
|
1848
|
-
api_version:
|
1748
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1849
1749
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1850
1750
|
|
1851
|
-
|
1751
|
+
_request = build_failover_request(
|
1852
1752
|
resource_group_name=resource_group_name,
|
1853
1753
|
account_name=account_name,
|
1854
1754
|
subscription_id=self._config.subscription_id,
|
1855
1755
|
api_version=api_version,
|
1856
|
-
template_url=self._failover_initial.metadata["url"],
|
1857
1756
|
headers=_headers,
|
1858
1757
|
params=_params,
|
1859
1758
|
)
|
1860
|
-
|
1861
|
-
|
1759
|
+
_request = _convert_request(_request)
|
1760
|
+
_request.url = self._client.format_url(_request.url)
|
1862
1761
|
|
1762
|
+
_stream = False
|
1863
1763
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1864
|
-
|
1764
|
+
_request, stream=_stream, **kwargs
|
1865
1765
|
)
|
1866
1766
|
|
1867
1767
|
response = pipeline_response.http_response
|
@@ -1871,11 +1771,7 @@ class StorageAccountsOperations:
|
|
1871
1771
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1872
1772
|
|
1873
1773
|
if cls:
|
1874
|
-
return cls(pipeline_response, None, {})
|
1875
|
-
|
1876
|
-
_failover_initial.metadata = {
|
1877
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1878
|
-
}
|
1774
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1879
1775
|
|
1880
1776
|
@distributed_trace
|
1881
1777
|
def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> LROPoller[None]:
|
@@ -1890,14 +1786,6 @@ class StorageAccountsOperations:
|
|
1890
1786
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1891
1787
|
lower-case letters only. Required.
|
1892
1788
|
:type account_name: str
|
1893
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1894
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1895
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
1896
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
1897
|
-
strategy.
|
1898
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
1899
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1900
|
-
Retry-After header is present.
|
1901
1789
|
:return: An instance of LROPoller that returns either None or the result of cls(response)
|
1902
1790
|
:rtype: ~azure.core.polling.LROPoller[None]
|
1903
1791
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1905,7 +1793,7 @@ class StorageAccountsOperations:
|
|
1905
1793
|
_headers = kwargs.pop("headers", {}) or {}
|
1906
1794
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1907
1795
|
|
1908
|
-
api_version:
|
1796
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1909
1797
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1910
1798
|
polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
|
1911
1799
|
lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
|
@@ -1924,7 +1812,7 @@ class StorageAccountsOperations:
|
|
1924
1812
|
|
1925
1813
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
1926
1814
|
if cls:
|
1927
|
-
return cls(pipeline_response, None, {})
|
1815
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1928
1816
|
|
1929
1817
|
if polling is True:
|
1930
1818
|
polling_method: PollingMethod = cast(
|
@@ -1935,17 +1823,13 @@ class StorageAccountsOperations:
|
|
1935
1823
|
else:
|
1936
1824
|
polling_method = polling
|
1937
1825
|
if cont_token:
|
1938
|
-
return LROPoller.from_continuation_token(
|
1826
|
+
return LROPoller[None].from_continuation_token(
|
1939
1827
|
polling_method=polling_method,
|
1940
1828
|
continuation_token=cont_token,
|
1941
1829
|
client=self._client,
|
1942
1830
|
deserialization_callback=get_long_running_output,
|
1943
1831
|
)
|
1944
|
-
return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1945
|
-
|
1946
|
-
begin_failover.metadata = {
|
1947
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
|
1948
|
-
}
|
1832
|
+
return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1949
1833
|
|
1950
1834
|
@distributed_trace
|
1951
1835
|
def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
|
@@ -1960,12 +1844,11 @@ class StorageAccountsOperations:
|
|
1960
1844
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1961
1845
|
lower-case letters only. Required.
|
1962
1846
|
:type account_name: str
|
1963
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1964
1847
|
:return: None or the result of cls(response)
|
1965
1848
|
:rtype: None
|
1966
1849
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1967
1850
|
"""
|
1968
|
-
error_map = {
|
1851
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1969
1852
|
401: ClientAuthenticationError,
|
1970
1853
|
404: ResourceNotFoundError,
|
1971
1854
|
409: ResourceExistsError,
|
@@ -1976,23 +1859,23 @@ class StorageAccountsOperations:
|
|
1976
1859
|
_headers = kwargs.pop("headers", {}) or {}
|
1977
1860
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1978
1861
|
|
1979
|
-
api_version:
|
1862
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1980
1863
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1981
1864
|
|
1982
|
-
|
1865
|
+
_request = build_revoke_user_delegation_keys_request(
|
1983
1866
|
resource_group_name=resource_group_name,
|
1984
1867
|
account_name=account_name,
|
1985
1868
|
subscription_id=self._config.subscription_id,
|
1986
1869
|
api_version=api_version,
|
1987
|
-
template_url=self.revoke_user_delegation_keys.metadata["url"],
|
1988
1870
|
headers=_headers,
|
1989
1871
|
params=_params,
|
1990
1872
|
)
|
1991
|
-
|
1992
|
-
|
1873
|
+
_request = _convert_request(_request)
|
1874
|
+
_request.url = self._client.format_url(_request.url)
|
1993
1875
|
|
1876
|
+
_stream = False
|
1994
1877
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1995
|
-
|
1878
|
+
_request, stream=_stream, **kwargs
|
1996
1879
|
)
|
1997
1880
|
|
1998
1881
|
response = pipeline_response.http_response
|
@@ -2002,8 +1885,4 @@ class StorageAccountsOperations:
|
|
2002
1885
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
2003
1886
|
|
2004
1887
|
if cls:
|
2005
|
-
return cls(pipeline_response, None, {})
|
2006
|
-
|
2007
|
-
revoke_user_delegation_keys.metadata = {
|
2008
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
|
2009
|
-
}
|
1888
|
+
return cls(pipeline_response, None, {}) # type: ignore
|