azure-mgmt-storage 21.1.0b1__py3-none-any.whl → 21.2.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azure/mgmt/storage/_configuration.py +2 -3
- azure/mgmt/storage/_serialization.py +66 -60
- azure/mgmt/storage/_storage_management_client.py +232 -26
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_configuration.py +2 -3
- azure/mgmt/storage/aio/_storage_management_client.py +232 -26
- azure/mgmt/storage/models.py +1 -1
- azure/mgmt/storage/v2015_06_15/_configuration.py +4 -11
- azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/_storage_management.py +25 -5
- azure/mgmt/storage/v2015_06_15/_vendor.py +0 -14
- azure/mgmt/storage/v2015_06_15/_version.py +1 -1
- azure/mgmt/storage/v2015_06_15/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +27 -5
- azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +132 -213
- azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
- azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +151 -232
- azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2016_01_01/_configuration.py +4 -11
- azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/_storage_management_client.py +25 -5
- azure/mgmt/storage/v2016_01_01/_vendor.py +0 -14
- azure/mgmt/storage/v2016_01_01/_version.py +1 -1
- azure/mgmt/storage/v2016_01_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +27 -5
- azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +132 -213
- azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
- azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +151 -232
- azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2016_12_01/_configuration.py +4 -11
- azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/_storage_management.py +25 -5
- azure/mgmt/storage/v2016_12_01/_vendor.py +0 -14
- azure/mgmt/storage/v2016_12_01/_version.py +1 -1
- azure/mgmt/storage/v2016_12_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +27 -5
- azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +162 -263
- azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
- azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +185 -286
- azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2017_06_01/_configuration.py +4 -11
- azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/_storage_management.py +27 -7
- azure/mgmt/storage/v2017_06_01/_vendor.py +0 -14
- azure/mgmt/storage/v2017_06_01/_version.py +1 -1
- azure/mgmt/storage/v2017_06_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +29 -7
- azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +162 -263
- azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_06_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +185 -286
- azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2017_10_01/_configuration.py +4 -11
- azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/_storage_management.py +27 -7
- azure/mgmt/storage/v2017_10_01/_vendor.py +0 -14
- azure/mgmt/storage/v2017_10_01/_version.py +1 -1
- azure/mgmt/storage/v2017_10_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +29 -7
- azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +162 -263
- azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_10_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +185 -286
- azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2018_02_01/_configuration.py +4 -11
- azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/_storage_management_client.py +30 -8
- azure/mgmt/storage/v2018_02_01/_vendor.py +0 -14
- azure/mgmt/storage/v2018_02_01/_version.py +1 -1
- azure/mgmt/storage/v2018_02_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +32 -8
- azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +166 -264
- azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +162 -263
- azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +34 -41
- azure/mgmt/storage/v2018_02_01/models/_models_py3.py +28 -34
- azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +194 -292
- azure/mgmt/storage/v2018_02_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +185 -286
- azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +39 -46
- azure/mgmt/storage/v2018_03_01_preview/_configuration.py +4 -11
- azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +41 -8
- azure/mgmt/storage/v2018_03_01_preview/_vendor.py +0 -14
- azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +43 -8
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/__init__.py +2 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +182 -277
- azure/mgmt/storage/{v2018_07_01 → v2018_03_01_preview}/aio/operations/_management_policies_operations.py +55 -72
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +21 -23
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +21 -23
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +209 -330
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +36 -43
- azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +30 -34
- azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/operations/__init__.py +2 -0
- azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +210 -331
- azure/mgmt/storage/{v2018_07_01 → v2018_03_01_preview}/operations/_management_policies_operations.py +62 -85
- azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +22 -26
- azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +24 -28
- azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +239 -388
- azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +41 -52
- azure/mgmt/storage/v2018_07_01/_configuration.py +9 -4
- azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/_storage_management_client.py +36 -16
- azure/mgmt/storage/v2018_07_01/_vendor.py +0 -14
- azure/mgmt/storage/v2018_07_01/_version.py +1 -1
- azure/mgmt/storage/v2018_07_01/aio/_configuration.py +9 -4
- azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +38 -16
- azure/mgmt/storage/v2018_07_01/aio/operations/__init__.py +0 -2
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +166 -264
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +31 -44
- azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +31 -21
- azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +31 -21
- azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +195 -289
- azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +31 -23
- azure/mgmt/storage/v2018_07_01/models/__init__.py +0 -10
- azure/mgmt/storage/v2018_07_01/models/_models_py3.py +30 -164
- azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +1 -7
- azure/mgmt/storage/v2018_07_01/operations/__init__.py +0 -2
- azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +194 -292
- azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +36 -49
- azure/mgmt/storage/v2018_07_01/operations/_operations.py +32 -22
- azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +34 -24
- azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +220 -314
- azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +34 -26
- azure/mgmt/storage/v2018_11_01/_configuration.py +4 -11
- azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/_storage_management_client.py +34 -10
- azure/mgmt/storage/v2018_11_01/_vendor.py +0 -14
- azure/mgmt/storage/v2018_11_01/_version.py +1 -1
- azure/mgmt/storage/v2018_11_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +36 -10
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +164 -262
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +31 -44
- azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +182 -304
- azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2018_11_01/models/_models_py3.py +37 -43
- azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +192 -290
- azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +36 -49
- azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2018_11_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +210 -332
- azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2019_04_01/_configuration.py +4 -11
- azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/_storage_management_client.py +40 -12
- azure/mgmt/storage/v2019_04_01/_vendor.py +0 -14
- azure/mgmt/storage/v2019_04_01/_version.py +1 -1
- azure/mgmt/storage/v2019_04_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +42 -12
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +169 -267
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +68 -101
- azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +183 -304
- azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2019_04_01/models/_models_py3.py +42 -48
- azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +197 -295
- azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +79 -112
- azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2019_04_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +211 -332
- azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2019_06_01/_configuration.py +4 -11
- azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/_storage_management_client.py +54 -22
- azure/mgmt/storage/v2019_06_01/_vendor.py +0 -14
- azure/mgmt/storage/v2019_06_01/_version.py +1 -1
- azure/mgmt/storage/v2019_06_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +56 -22
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +169 -267
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +82 -125
- azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +40 -58
- azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +203 -357
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +40 -58
- azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2019_06_01/models/_models_py3.py +62 -68
- azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +197 -295
- azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +95 -138
- azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2019_06_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +47 -65
- azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +233 -387
- azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +47 -65
- azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2020_08_01_preview/_configuration.py +4 -11
- azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +64 -24
- azure/mgmt/storage/v2020_08_01_preview/_vendor.py +0 -14
- azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +66 -24
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +185 -280
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +58 -80
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +49 -66
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +31 -38
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +64 -90
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +45 -62
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +88 -131
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +42 -60
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +59 -80
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +21 -23
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +57 -80
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +16 -20
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +73 -106
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +44 -61
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +21 -23
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +221 -374
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +60 -84
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +44 -61
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +21 -25
- azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +64 -86
- azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +213 -334
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +67 -97
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +56 -79
- azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +36 -47
- azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +73 -107
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +52 -75
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +101 -156
- azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +49 -73
- azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +68 -97
- azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +22 -26
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +66 -97
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +19 -25
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +84 -127
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +51 -74
- azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +24 -28
- azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +251 -432
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +71 -105
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +51 -74
- azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +24 -30
- azure/mgmt/storage/v2021_01_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/_storage_management_client.py +55 -23
- azure/mgmt/storage/v2021_01_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_01_01/_version.py +1 -1
- azure/mgmt/storage/v2021_01_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +57 -23
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +169 -267
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +82 -125
- azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +40 -58
- azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +203 -357
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +40 -58
- azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_01_01/models/_models_py3.py +64 -86
- azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +197 -295
- azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +95 -138
- azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_01_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +47 -65
- azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +233 -387
- azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +47 -65
- azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_02_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/_storage_management_client.py +55 -23
- azure/mgmt/storage/v2021_02_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_02_01/_version.py +1 -1
- azure/mgmt/storage/v2021_02_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +57 -23
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +169 -267
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +82 -125
- azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +40 -58
- azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +203 -357
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +40 -58
- azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_02_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +197 -295
- azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +95 -138
- azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_02_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +47 -65
- azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +233 -387
- azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +47 -65
- azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_04_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/_storage_management_client.py +55 -23
- azure/mgmt/storage/v2021_04_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_04_01/_version.py +1 -1
- azure/mgmt/storage/v2021_04_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +57 -23
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +181 -295
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +40 -58
- azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +203 -357
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +40 -58
- azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_04_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +211 -325
- azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_04_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +47 -65
- azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +233 -387
- azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +47 -65
- azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_06_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/_storage_management_client.py +55 -23
- azure/mgmt/storage/v2021_06_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_06_01/_version.py +1 -1
- azure/mgmt/storage/v2021_06_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +57 -23
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_06_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_06_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_08_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/_storage_management_client.py +59 -25
- azure/mgmt/storage/v2021_08_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_08_01/_version.py +1 -1
- azure/mgmt/storage/v2021_08_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +61 -25
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +71 -104
- azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_08_01/models/_models_py3.py +68 -90
- azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +84 -117
- azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_08_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_09_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/_storage_management_client.py +59 -25
- azure/mgmt/storage/v2021_09_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_09_01/_version.py +1 -1
- azure/mgmt/storage/v2021_09_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +61 -25
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +71 -104
- azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +70 -103
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_09_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +84 -117
- azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_09_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +81 -114
- azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2022_05_01/_configuration.py +4 -11
- azure/mgmt/storage/v2022_05_01/_storage_management_client.py +59 -25
- azure/mgmt/storage/v2022_05_01/_vendor.py +0 -14
- azure/mgmt/storage/v2022_05_01/_version.py +1 -1
- azure/mgmt/storage/v2022_05_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +61 -25
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +71 -104
- azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +70 -103
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2022_05_01/models/_models_py3.py +69 -91
- azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +84 -117
- azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2022_05_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +81 -114
- azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2022_09_01/_configuration.py +4 -11
- azure/mgmt/storage/v2022_09_01/_storage_management_client.py +59 -25
- azure/mgmt/storage/v2022_09_01/_vendor.py +0 -14
- azure/mgmt/storage/v2022_09_01/_version.py +1 -1
- azure/mgmt/storage/v2022_09_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +61 -25
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +71 -104
- azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +70 -103
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2022_09_01/models/_models_py3.py +69 -91
- azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +84 -117
- azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2022_09_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +81 -114
- azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2023_01_01/__init__.py +26 -0
- azure/mgmt/storage/v2023_01_01/_configuration.py +65 -0
- azure/mgmt/storage/v2023_01_01/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/_storage_management_client.py +225 -0
- azure/mgmt/storage/v2023_01_01/_vendor.py +16 -0
- azure/mgmt/storage/v2023_01_01/_version.py +9 -0
- azure/mgmt/storage/v2023_01_01/aio/__init__.py +23 -0
- azure/mgmt/storage/v2023_01_01/aio/_configuration.py +65 -0
- azure/mgmt/storage/v2023_01_01/aio/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +230 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/__init__.py +57 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +1838 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +362 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +194 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +568 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +328 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +1003 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +560 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +349 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +446 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +135 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +117 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +608 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +328 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +136 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +2187 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +588 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +328 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +139 -0
- azure/mgmt/storage/v2023_01_01/models/__init__.py +461 -0
- azure/mgmt/storage/v2023_01_01/models/_models_py3.py +8338 -0
- azure/mgmt/storage/v2023_01_01/models/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +626 -0
- azure/mgmt/storage/v2023_01_01/operations/__init__.py +57 -0
- azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +2398 -0
- azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +595 -0
- azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +470 -0
- azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +250 -0
- azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +732 -0
- azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +437 -0
- azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +1310 -0
- azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +770 -0
- azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +465 -0
- azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +593 -0
- azure/mgmt/storage/v2023_01_01/operations/_operations.py +156 -0
- azure/mgmt/storage/v2023_01_01/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +591 -0
- azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +155 -0
- azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +824 -0
- azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +437 -0
- azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +162 -0
- azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +2796 -0
- azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +775 -0
- azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +437 -0
- azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +169 -0
- azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
- azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
- azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
- azure/mgmt/storage/v2023_05_01/_version.py +9 -0
- azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
- azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
- azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
- azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
- azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
- azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
- azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
- azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
- azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
- azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
- azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
- azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
- azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
- azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/METADATA +52 -13
- azure_mgmt_storage-21.2.1.dist-info/RECORD +979 -0
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/WHEEL +1 -1
- azure_mgmt_storage-21.1.0b1.dist-info/RECORD +0 -855
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
1
|
+
# pylint: disable=too-many-lines,too-many-statements
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -6,8 +6,9 @@
|
|
6
6
|
# Code generated by Microsoft (R) AutoRest Code Generator.
|
7
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
8
|
# --------------------------------------------------------------------------
|
9
|
+
from io import IOBase
|
9
10
|
import sys
|
10
|
-
from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload
|
11
|
+
from typing import Any, Callable, Dict, IO, Iterable, 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
|
|
@@ -56,7 +57,7 @@ def build_list_request(
|
|
56
57
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
57
58
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
58
59
|
|
59
|
-
api_version:
|
60
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
60
61
|
accept = _headers.pop("Accept", "application/json")
|
61
62
|
|
62
63
|
# Construct URL
|
@@ -72,7 +73,7 @@ def build_list_request(
|
|
72
73
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
73
74
|
}
|
74
75
|
|
75
|
-
_url: str =
|
76
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
76
77
|
|
77
78
|
# Construct parameters
|
78
79
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -95,7 +96,7 @@ def build_create_request(
|
|
95
96
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
96
97
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
97
98
|
|
98
|
-
api_version:
|
99
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
99
100
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
100
101
|
accept = _headers.pop("Accept", "application/json")
|
101
102
|
|
@@ -113,7 +114,7 @@ def build_create_request(
|
|
113
114
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
114
115
|
}
|
115
116
|
|
116
|
-
_url: str =
|
117
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
117
118
|
|
118
119
|
# Construct parameters
|
119
120
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -132,7 +133,7 @@ def build_update_request(
|
|
132
133
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
133
134
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
134
135
|
|
135
|
-
api_version:
|
136
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
136
137
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
137
138
|
accept = _headers.pop("Accept", "application/json")
|
138
139
|
|
@@ -150,7 +151,7 @@ def build_update_request(
|
|
150
151
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
151
152
|
}
|
152
153
|
|
153
|
-
_url: str =
|
154
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
154
155
|
|
155
156
|
# Construct parameters
|
156
157
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -169,7 +170,7 @@ def build_get_request(
|
|
169
170
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
170
171
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
171
172
|
|
172
|
-
api_version:
|
173
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
173
174
|
accept = _headers.pop("Accept", "application/json")
|
174
175
|
|
175
176
|
# Construct URL
|
@@ -186,7 +187,7 @@ def build_get_request(
|
|
186
187
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
187
188
|
}
|
188
189
|
|
189
|
-
_url: str =
|
190
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
190
191
|
|
191
192
|
# Construct parameters
|
192
193
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -202,7 +203,7 @@ def build_delete_request(
|
|
202
203
|
) -> HttpRequest:
|
203
204
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
204
205
|
|
205
|
-
api_version:
|
206
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
206
207
|
# Construct URL
|
207
208
|
_url = kwargs.pop(
|
208
209
|
"template_url",
|
@@ -217,7 +218,7 @@ def build_delete_request(
|
|
217
218
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
218
219
|
}
|
219
220
|
|
220
|
-
_url: str =
|
221
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
221
222
|
|
222
223
|
# Construct parameters
|
223
224
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -231,7 +232,7 @@ def build_set_legal_hold_request(
|
|
231
232
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
232
233
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
233
234
|
|
234
|
-
api_version:
|
235
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
235
236
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
236
237
|
accept = _headers.pop("Accept", "application/json")
|
237
238
|
|
@@ -249,7 +250,7 @@ def build_set_legal_hold_request(
|
|
249
250
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
250
251
|
}
|
251
252
|
|
252
|
-
_url: str =
|
253
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
253
254
|
|
254
255
|
# Construct parameters
|
255
256
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -268,7 +269,7 @@ def build_clear_legal_hold_request(
|
|
268
269
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
269
270
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
270
271
|
|
271
|
-
api_version:
|
272
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
272
273
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
273
274
|
accept = _headers.pop("Accept", "application/json")
|
274
275
|
|
@@ -286,7 +287,7 @@ def build_clear_legal_hold_request(
|
|
286
287
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
287
288
|
}
|
288
289
|
|
289
|
-
_url: str =
|
290
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
290
291
|
|
291
292
|
# Construct parameters
|
292
293
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -299,7 +300,7 @@ def build_clear_legal_hold_request(
|
|
299
300
|
return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
|
300
301
|
|
301
302
|
|
302
|
-
def build_create_or_update_immutability_policy_request(
|
303
|
+
def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
|
303
304
|
resource_group_name: str,
|
304
305
|
account_name: str,
|
305
306
|
container_name: str,
|
@@ -312,7 +313,7 @@ def build_create_or_update_immutability_policy_request(
|
|
312
313
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
313
314
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
314
315
|
|
315
|
-
api_version:
|
316
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
316
317
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
317
318
|
accept = _headers.pop("Accept", "application/json")
|
318
319
|
|
@@ -331,7 +332,7 @@ def build_create_or_update_immutability_policy_request(
|
|
331
332
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
332
333
|
}
|
333
334
|
|
334
|
-
_url: str =
|
335
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
335
336
|
|
336
337
|
# Construct parameters
|
337
338
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -359,7 +360,7 @@ def build_get_immutability_policy_request(
|
|
359
360
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
360
361
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
361
362
|
|
362
|
-
api_version:
|
363
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
363
364
|
accept = _headers.pop("Accept", "application/json")
|
364
365
|
|
365
366
|
# Construct URL
|
@@ -377,7 +378,7 @@ def build_get_immutability_policy_request(
|
|
377
378
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
378
379
|
}
|
379
380
|
|
380
|
-
_url: str =
|
381
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
381
382
|
|
382
383
|
# Construct parameters
|
383
384
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -403,7 +404,7 @@ def build_delete_immutability_policy_request(
|
|
403
404
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
404
405
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
405
406
|
|
406
|
-
api_version:
|
407
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
407
408
|
accept = _headers.pop("Accept", "application/json")
|
408
409
|
|
409
410
|
# Construct URL
|
@@ -421,7 +422,7 @@ def build_delete_immutability_policy_request(
|
|
421
422
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
422
423
|
}
|
423
424
|
|
424
|
-
_url: str =
|
425
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
425
426
|
|
426
427
|
# Construct parameters
|
427
428
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -445,7 +446,7 @@ def build_lock_immutability_policy_request(
|
|
445
446
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
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", "2021-04-01"))
|
449
450
|
accept = _headers.pop("Accept", "application/json")
|
450
451
|
|
451
452
|
# Construct URL
|
@@ -462,7 +463,7 @@ def build_lock_immutability_policy_request(
|
|
462
463
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
463
464
|
}
|
464
465
|
|
465
|
-
_url: str =
|
466
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
466
467
|
|
467
468
|
# Construct parameters
|
468
469
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -486,7 +487,7 @@ def build_extend_immutability_policy_request(
|
|
486
487
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
487
488
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
488
489
|
|
489
|
-
api_version:
|
490
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
490
491
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
491
492
|
accept = _headers.pop("Accept", "application/json")
|
492
493
|
|
@@ -504,7 +505,7 @@ def build_extend_immutability_policy_request(
|
|
504
505
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
505
506
|
}
|
506
507
|
|
507
|
-
_url: str =
|
508
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
508
509
|
|
509
510
|
# Construct parameters
|
510
511
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -524,7 +525,7 @@ def build_lease_request(
|
|
524
525
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
525
526
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
526
527
|
|
527
|
-
api_version:
|
528
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
528
529
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
529
530
|
accept = _headers.pop("Accept", "application/json")
|
530
531
|
|
@@ -542,7 +543,7 @@ def build_lease_request(
|
|
542
543
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
543
544
|
}
|
544
545
|
|
545
|
-
_url: str =
|
546
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
546
547
|
|
547
548
|
# Construct parameters
|
548
549
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -561,7 +562,7 @@ def build_object_level_worm_request(
|
|
561
562
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
562
563
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
563
564
|
|
564
|
-
api_version:
|
565
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-04-01"))
|
565
566
|
accept = _headers.pop("Accept", "application/json")
|
566
567
|
|
567
568
|
# Construct URL
|
@@ -578,7 +579,7 @@ def build_object_level_worm_request(
|
|
578
579
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
579
580
|
}
|
580
581
|
|
581
|
-
_url: str =
|
582
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
582
583
|
|
583
584
|
# Construct parameters
|
584
585
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -607,6 +608,7 @@ class BlobContainersOperations:
|
|
607
608
|
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
608
609
|
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
609
610
|
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
611
|
+
self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
|
610
612
|
|
611
613
|
@distributed_trace
|
612
614
|
def list(
|
@@ -637,7 +639,6 @@ class BlobContainersOperations:
|
|
637
639
|
:param include: Optional, used to include the properties for soft deleted blob containers.
|
638
640
|
"deleted" Default value is None.
|
639
641
|
:type include: str or ~azure.mgmt.storage.v2021_04_01.models.ListContainersInclude
|
640
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
641
642
|
:return: An iterator like instance of either ListContainerItem or the result of cls(response)
|
642
643
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_04_01.models.ListContainerItem]
|
643
644
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -645,10 +646,10 @@ class BlobContainersOperations:
|
|
645
646
|
_headers = kwargs.pop("headers", {}) or {}
|
646
647
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
647
648
|
|
648
|
-
api_version:
|
649
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
649
650
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
650
651
|
|
651
|
-
error_map = {
|
652
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
652
653
|
401: ClientAuthenticationError,
|
653
654
|
404: ResourceNotFoundError,
|
654
655
|
409: ResourceExistsError,
|
@@ -659,7 +660,7 @@ class BlobContainersOperations:
|
|
659
660
|
def prepare_request(next_link=None):
|
660
661
|
if not next_link:
|
661
662
|
|
662
|
-
|
663
|
+
_request = build_list_request(
|
663
664
|
resource_group_name=resource_group_name,
|
664
665
|
account_name=account_name,
|
665
666
|
subscription_id=self._config.subscription_id,
|
@@ -667,12 +668,11 @@ class BlobContainersOperations:
|
|
667
668
|
filter=filter,
|
668
669
|
include=include,
|
669
670
|
api_version=api_version,
|
670
|
-
template_url=self.list.metadata["url"],
|
671
671
|
headers=_headers,
|
672
672
|
params=_params,
|
673
673
|
)
|
674
|
-
|
675
|
-
|
674
|
+
_request = _convert_request(_request)
|
675
|
+
_request.url = self._client.format_url(_request.url)
|
676
676
|
|
677
677
|
else:
|
678
678
|
# make call to next link with the client's api-version
|
@@ -683,14 +683,14 @@ class BlobContainersOperations:
|
|
683
683
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
684
684
|
}
|
685
685
|
)
|
686
|
-
_next_request_params["api-version"] = self.
|
687
|
-
|
686
|
+
_next_request_params["api-version"] = self._api_version
|
687
|
+
_request = HttpRequest(
|
688
688
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
689
689
|
)
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
return
|
690
|
+
_request = _convert_request(_request)
|
691
|
+
_request.url = self._client.format_url(_request.url)
|
692
|
+
_request.method = "GET"
|
693
|
+
return _request
|
694
694
|
|
695
695
|
def extract_data(pipeline_response):
|
696
696
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
@@ -700,10 +700,11 @@ class BlobContainersOperations:
|
|
700
700
|
return deserialized.next_link or None, iter(list_of_elem)
|
701
701
|
|
702
702
|
def get_next(next_link=None):
|
703
|
-
|
703
|
+
_request = prepare_request(next_link)
|
704
704
|
|
705
|
+
_stream = False
|
705
706
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
706
|
-
|
707
|
+
_request, stream=_stream, **kwargs
|
707
708
|
)
|
708
709
|
response = pipeline_response.http_response
|
709
710
|
|
@@ -715,10 +716,6 @@ class BlobContainersOperations:
|
|
715
716
|
|
716
717
|
return ItemPaged(get_next, extract_data)
|
717
718
|
|
718
|
-
list.metadata = {
|
719
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
720
|
-
}
|
721
|
-
|
722
719
|
@overload
|
723
720
|
def create(
|
724
721
|
self,
|
@@ -751,7 +748,6 @@ class BlobContainersOperations:
|
|
751
748
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
752
749
|
Default value is "application/json".
|
753
750
|
:paramtype content_type: str
|
754
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
755
751
|
:return: BlobContainer or the result of cls(response)
|
756
752
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
757
753
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -763,7 +759,7 @@ class BlobContainersOperations:
|
|
763
759
|
resource_group_name: str,
|
764
760
|
account_name: str,
|
765
761
|
container_name: str,
|
766
|
-
blob_container: IO,
|
762
|
+
blob_container: IO[bytes],
|
767
763
|
*,
|
768
764
|
content_type: str = "application/json",
|
769
765
|
**kwargs: Any
|
@@ -785,11 +781,10 @@ class BlobContainersOperations:
|
|
785
781
|
by a letter or number. Required.
|
786
782
|
:type container_name: str
|
787
783
|
:param blob_container: Properties of the blob container to create. Required.
|
788
|
-
:type blob_container: IO
|
784
|
+
:type blob_container: IO[bytes]
|
789
785
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
790
786
|
Default value is "application/json".
|
791
787
|
:paramtype content_type: str
|
792
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
793
788
|
:return: BlobContainer or the result of cls(response)
|
794
789
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
795
790
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -801,7 +796,7 @@ class BlobContainersOperations:
|
|
801
796
|
resource_group_name: str,
|
802
797
|
account_name: str,
|
803
798
|
container_name: str,
|
804
|
-
blob_container: Union[_models.BlobContainer, IO],
|
799
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
805
800
|
**kwargs: Any
|
806
801
|
) -> _models.BlobContainer:
|
807
802
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -821,17 +816,13 @@ class BlobContainersOperations:
|
|
821
816
|
by a letter or number. Required.
|
822
817
|
:type container_name: str
|
823
818
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
824
|
-
type or a IO type. Required.
|
825
|
-
:type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO
|
826
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
827
|
-
Default value is None.
|
828
|
-
:paramtype content_type: str
|
829
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
819
|
+
type or a IO[bytes] type. Required.
|
820
|
+
:type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO[bytes]
|
830
821
|
:return: BlobContainer or the result of cls(response)
|
831
822
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
832
823
|
:raises ~azure.core.exceptions.HttpResponseError:
|
833
824
|
"""
|
834
|
-
error_map = {
|
825
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
835
826
|
401: ClientAuthenticationError,
|
836
827
|
404: ResourceNotFoundError,
|
837
828
|
409: ResourceExistsError,
|
@@ -842,19 +833,19 @@ class BlobContainersOperations:
|
|
842
833
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
843
834
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
844
835
|
|
845
|
-
api_version:
|
836
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
846
837
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
847
838
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
848
839
|
|
849
840
|
content_type = content_type or "application/json"
|
850
841
|
_json = None
|
851
842
|
_content = None
|
852
|
-
if isinstance(blob_container, (
|
843
|
+
if isinstance(blob_container, (IOBase, bytes)):
|
853
844
|
_content = blob_container
|
854
845
|
else:
|
855
846
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
856
847
|
|
857
|
-
|
848
|
+
_request = build_create_request(
|
858
849
|
resource_group_name=resource_group_name,
|
859
850
|
account_name=account_name,
|
860
851
|
container_name=container_name,
|
@@ -863,15 +854,15 @@ class BlobContainersOperations:
|
|
863
854
|
content_type=content_type,
|
864
855
|
json=_json,
|
865
856
|
content=_content,
|
866
|
-
template_url=self.create.metadata["url"],
|
867
857
|
headers=_headers,
|
868
858
|
params=_params,
|
869
859
|
)
|
870
|
-
|
871
|
-
|
860
|
+
_request = _convert_request(_request)
|
861
|
+
_request.url = self._client.format_url(_request.url)
|
872
862
|
|
863
|
+
_stream = False
|
873
864
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
874
|
-
|
865
|
+
_request, stream=_stream, **kwargs
|
875
866
|
)
|
876
867
|
|
877
868
|
response = pipeline_response.http_response
|
@@ -891,10 +882,6 @@ class BlobContainersOperations:
|
|
891
882
|
|
892
883
|
return deserialized # type: ignore
|
893
884
|
|
894
|
-
create.metadata = {
|
895
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
896
|
-
}
|
897
|
-
|
898
885
|
@overload
|
899
886
|
def update(
|
900
887
|
self,
|
@@ -926,7 +913,6 @@ class BlobContainersOperations:
|
|
926
913
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
927
914
|
Default value is "application/json".
|
928
915
|
:paramtype content_type: str
|
929
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
930
916
|
:return: BlobContainer or the result of cls(response)
|
931
917
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
932
918
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -938,7 +924,7 @@ class BlobContainersOperations:
|
|
938
924
|
resource_group_name: str,
|
939
925
|
account_name: str,
|
940
926
|
container_name: str,
|
941
|
-
blob_container: IO,
|
927
|
+
blob_container: IO[bytes],
|
942
928
|
*,
|
943
929
|
content_type: str = "application/json",
|
944
930
|
**kwargs: Any
|
@@ -959,11 +945,10 @@ class BlobContainersOperations:
|
|
959
945
|
by a letter or number. Required.
|
960
946
|
:type container_name: str
|
961
947
|
:param blob_container: Properties to update for the blob container. Required.
|
962
|
-
:type blob_container: IO
|
948
|
+
:type blob_container: IO[bytes]
|
963
949
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
964
950
|
Default value is "application/json".
|
965
951
|
:paramtype content_type: str
|
966
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
967
952
|
:return: BlobContainer or the result of cls(response)
|
968
953
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
969
954
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -975,7 +960,7 @@ class BlobContainersOperations:
|
|
975
960
|
resource_group_name: str,
|
976
961
|
account_name: str,
|
977
962
|
container_name: str,
|
978
|
-
blob_container: Union[_models.BlobContainer, IO],
|
963
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
979
964
|
**kwargs: Any
|
980
965
|
) -> _models.BlobContainer:
|
981
966
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -994,17 +979,13 @@ class BlobContainersOperations:
|
|
994
979
|
by a letter or number. Required.
|
995
980
|
:type container_name: str
|
996
981
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
997
|
-
type or a IO type. Required.
|
998
|
-
:type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO
|
999
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1000
|
-
Default value is None.
|
1001
|
-
:paramtype content_type: str
|
1002
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
982
|
+
type or a IO[bytes] type. Required.
|
983
|
+
:type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO[bytes]
|
1003
984
|
:return: BlobContainer or the result of cls(response)
|
1004
985
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
1005
986
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1006
987
|
"""
|
1007
|
-
error_map = {
|
988
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1008
989
|
401: ClientAuthenticationError,
|
1009
990
|
404: ResourceNotFoundError,
|
1010
991
|
409: ResourceExistsError,
|
@@ -1015,19 +996,19 @@ class BlobContainersOperations:
|
|
1015
996
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1016
997
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1017
998
|
|
1018
|
-
api_version:
|
999
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1019
1000
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1020
1001
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
1021
1002
|
|
1022
1003
|
content_type = content_type or "application/json"
|
1023
1004
|
_json = None
|
1024
1005
|
_content = None
|
1025
|
-
if isinstance(blob_container, (
|
1006
|
+
if isinstance(blob_container, (IOBase, bytes)):
|
1026
1007
|
_content = blob_container
|
1027
1008
|
else:
|
1028
1009
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
1029
1010
|
|
1030
|
-
|
1011
|
+
_request = build_update_request(
|
1031
1012
|
resource_group_name=resource_group_name,
|
1032
1013
|
account_name=account_name,
|
1033
1014
|
container_name=container_name,
|
@@ -1036,15 +1017,15 @@ class BlobContainersOperations:
|
|
1036
1017
|
content_type=content_type,
|
1037
1018
|
json=_json,
|
1038
1019
|
content=_content,
|
1039
|
-
template_url=self.update.metadata["url"],
|
1040
1020
|
headers=_headers,
|
1041
1021
|
params=_params,
|
1042
1022
|
)
|
1043
|
-
|
1044
|
-
|
1023
|
+
_request = _convert_request(_request)
|
1024
|
+
_request.url = self._client.format_url(_request.url)
|
1045
1025
|
|
1026
|
+
_stream = False
|
1046
1027
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1047
|
-
|
1028
|
+
_request, stream=_stream, **kwargs
|
1048
1029
|
)
|
1049
1030
|
|
1050
1031
|
response = pipeline_response.http_response
|
@@ -1056,13 +1037,9 @@ class BlobContainersOperations:
|
|
1056
1037
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
1057
1038
|
|
1058
1039
|
if cls:
|
1059
|
-
return cls(pipeline_response, deserialized, {})
|
1060
|
-
|
1061
|
-
return deserialized
|
1040
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1062
1041
|
|
1063
|
-
|
1064
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1065
|
-
}
|
1042
|
+
return deserialized # type: ignore
|
1066
1043
|
|
1067
1044
|
@distributed_trace
|
1068
1045
|
def get(
|
@@ -1082,12 +1059,11 @@ class BlobContainersOperations:
|
|
1082
1059
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1083
1060
|
by a letter or number. Required.
|
1084
1061
|
:type container_name: str
|
1085
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1086
1062
|
:return: BlobContainer or the result of cls(response)
|
1087
1063
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
1088
1064
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1089
1065
|
"""
|
1090
|
-
error_map = {
|
1066
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1091
1067
|
401: ClientAuthenticationError,
|
1092
1068
|
404: ResourceNotFoundError,
|
1093
1069
|
409: ResourceExistsError,
|
@@ -1098,24 +1074,24 @@ class BlobContainersOperations:
|
|
1098
1074
|
_headers = kwargs.pop("headers", {}) or {}
|
1099
1075
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1100
1076
|
|
1101
|
-
api_version:
|
1077
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1102
1078
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
1103
1079
|
|
1104
|
-
|
1080
|
+
_request = build_get_request(
|
1105
1081
|
resource_group_name=resource_group_name,
|
1106
1082
|
account_name=account_name,
|
1107
1083
|
container_name=container_name,
|
1108
1084
|
subscription_id=self._config.subscription_id,
|
1109
1085
|
api_version=api_version,
|
1110
|
-
template_url=self.get.metadata["url"],
|
1111
1086
|
headers=_headers,
|
1112
1087
|
params=_params,
|
1113
1088
|
)
|
1114
|
-
|
1115
|
-
|
1089
|
+
_request = _convert_request(_request)
|
1090
|
+
_request.url = self._client.format_url(_request.url)
|
1116
1091
|
|
1092
|
+
_stream = False
|
1117
1093
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1118
|
-
|
1094
|
+
_request, stream=_stream, **kwargs
|
1119
1095
|
)
|
1120
1096
|
|
1121
1097
|
response = pipeline_response.http_response
|
@@ -1127,13 +1103,9 @@ class BlobContainersOperations:
|
|
1127
1103
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
1128
1104
|
|
1129
1105
|
if cls:
|
1130
|
-
return cls(pipeline_response, deserialized, {})
|
1131
|
-
|
1132
|
-
return deserialized
|
1106
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1133
1107
|
|
1134
|
-
|
1135
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1136
|
-
}
|
1108
|
+
return deserialized # type: ignore
|
1137
1109
|
|
1138
1110
|
@distributed_trace
|
1139
1111
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -1153,12 +1125,11 @@ class BlobContainersOperations:
|
|
1153
1125
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1154
1126
|
by a letter or number. Required.
|
1155
1127
|
:type container_name: str
|
1156
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1157
1128
|
:return: None or the result of cls(response)
|
1158
1129
|
:rtype: None
|
1159
1130
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1160
1131
|
"""
|
1161
|
-
error_map = {
|
1132
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1162
1133
|
401: ClientAuthenticationError,
|
1163
1134
|
404: ResourceNotFoundError,
|
1164
1135
|
409: ResourceExistsError,
|
@@ -1169,24 +1140,24 @@ class BlobContainersOperations:
|
|
1169
1140
|
_headers = kwargs.pop("headers", {}) or {}
|
1170
1141
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1171
1142
|
|
1172
|
-
api_version:
|
1143
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1173
1144
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1174
1145
|
|
1175
|
-
|
1146
|
+
_request = build_delete_request(
|
1176
1147
|
resource_group_name=resource_group_name,
|
1177
1148
|
account_name=account_name,
|
1178
1149
|
container_name=container_name,
|
1179
1150
|
subscription_id=self._config.subscription_id,
|
1180
1151
|
api_version=api_version,
|
1181
|
-
template_url=self.delete.metadata["url"],
|
1182
1152
|
headers=_headers,
|
1183
1153
|
params=_params,
|
1184
1154
|
)
|
1185
|
-
|
1186
|
-
|
1155
|
+
_request = _convert_request(_request)
|
1156
|
+
_request.url = self._client.format_url(_request.url)
|
1187
1157
|
|
1158
|
+
_stream = False
|
1188
1159
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1189
|
-
|
1160
|
+
_request, stream=_stream, **kwargs
|
1190
1161
|
)
|
1191
1162
|
|
1192
1163
|
response = pipeline_response.http_response
|
@@ -1196,11 +1167,7 @@ class BlobContainersOperations:
|
|
1196
1167
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1197
1168
|
|
1198
1169
|
if cls:
|
1199
|
-
return cls(pipeline_response, None, {})
|
1200
|
-
|
1201
|
-
delete.metadata = {
|
1202
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1203
|
-
}
|
1170
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1204
1171
|
|
1205
1172
|
@overload
|
1206
1173
|
def set_legal_hold(
|
@@ -1234,7 +1201,6 @@ class BlobContainersOperations:
|
|
1234
1201
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1235
1202
|
Default value is "application/json".
|
1236
1203
|
:paramtype content_type: str
|
1237
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1238
1204
|
:return: LegalHold or the result of cls(response)
|
1239
1205
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
1240
1206
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1246,7 +1212,7 @@ class BlobContainersOperations:
|
|
1246
1212
|
resource_group_name: str,
|
1247
1213
|
account_name: str,
|
1248
1214
|
container_name: str,
|
1249
|
-
legal_hold: IO,
|
1215
|
+
legal_hold: IO[bytes],
|
1250
1216
|
*,
|
1251
1217
|
content_type: str = "application/json",
|
1252
1218
|
**kwargs: Any
|
@@ -1268,11 +1234,10 @@ class BlobContainersOperations:
|
|
1268
1234
|
by a letter or number. Required.
|
1269
1235
|
:type container_name: str
|
1270
1236
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
1271
|
-
:type legal_hold: IO
|
1237
|
+
:type legal_hold: IO[bytes]
|
1272
1238
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1273
1239
|
Default value is "application/json".
|
1274
1240
|
:paramtype content_type: str
|
1275
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1276
1241
|
:return: LegalHold or the result of cls(response)
|
1277
1242
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
1278
1243
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1284,7 +1249,7 @@ class BlobContainersOperations:
|
|
1284
1249
|
resource_group_name: str,
|
1285
1250
|
account_name: str,
|
1286
1251
|
container_name: str,
|
1287
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1252
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1288
1253
|
**kwargs: Any
|
1289
1254
|
) -> _models.LegalHold:
|
1290
1255
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -1304,17 +1269,13 @@ class BlobContainersOperations:
|
|
1304
1269
|
by a letter or number. Required.
|
1305
1270
|
:type container_name: str
|
1306
1271
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
1307
|
-
LegalHold type or a IO type. Required.
|
1308
|
-
:type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO
|
1309
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1310
|
-
Default value is None.
|
1311
|
-
:paramtype content_type: str
|
1312
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1272
|
+
LegalHold type or a IO[bytes] type. Required.
|
1273
|
+
:type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO[bytes]
|
1313
1274
|
:return: LegalHold or the result of cls(response)
|
1314
1275
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
1315
1276
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1316
1277
|
"""
|
1317
|
-
error_map = {
|
1278
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1318
1279
|
401: ClientAuthenticationError,
|
1319
1280
|
404: ResourceNotFoundError,
|
1320
1281
|
409: ResourceExistsError,
|
@@ -1325,19 +1286,19 @@ class BlobContainersOperations:
|
|
1325
1286
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1326
1287
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1327
1288
|
|
1328
|
-
api_version:
|
1289
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1329
1290
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1330
1291
|
cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
|
1331
1292
|
|
1332
1293
|
content_type = content_type or "application/json"
|
1333
1294
|
_json = None
|
1334
1295
|
_content = None
|
1335
|
-
if isinstance(legal_hold, (
|
1296
|
+
if isinstance(legal_hold, (IOBase, bytes)):
|
1336
1297
|
_content = legal_hold
|
1337
1298
|
else:
|
1338
1299
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1339
1300
|
|
1340
|
-
|
1301
|
+
_request = build_set_legal_hold_request(
|
1341
1302
|
resource_group_name=resource_group_name,
|
1342
1303
|
account_name=account_name,
|
1343
1304
|
container_name=container_name,
|
@@ -1346,15 +1307,15 @@ class BlobContainersOperations:
|
|
1346
1307
|
content_type=content_type,
|
1347
1308
|
json=_json,
|
1348
1309
|
content=_content,
|
1349
|
-
template_url=self.set_legal_hold.metadata["url"],
|
1350
1310
|
headers=_headers,
|
1351
1311
|
params=_params,
|
1352
1312
|
)
|
1353
|
-
|
1354
|
-
|
1313
|
+
_request = _convert_request(_request)
|
1314
|
+
_request.url = self._client.format_url(_request.url)
|
1355
1315
|
|
1316
|
+
_stream = False
|
1356
1317
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1357
|
-
|
1318
|
+
_request, stream=_stream, **kwargs
|
1358
1319
|
)
|
1359
1320
|
|
1360
1321
|
response = pipeline_response.http_response
|
@@ -1366,13 +1327,9 @@ class BlobContainersOperations:
|
|
1366
1327
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1367
1328
|
|
1368
1329
|
if cls:
|
1369
|
-
return cls(pipeline_response, deserialized, {})
|
1370
|
-
|
1371
|
-
return deserialized
|
1330
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1372
1331
|
|
1373
|
-
|
1374
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
1375
|
-
}
|
1332
|
+
return deserialized # type: ignore
|
1376
1333
|
|
1377
1334
|
@overload
|
1378
1335
|
def clear_legal_hold(
|
@@ -1405,7 +1362,6 @@ class BlobContainersOperations:
|
|
1405
1362
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1406
1363
|
Default value is "application/json".
|
1407
1364
|
:paramtype content_type: str
|
1408
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1409
1365
|
:return: LegalHold or the result of cls(response)
|
1410
1366
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
1411
1367
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1417,7 +1373,7 @@ class BlobContainersOperations:
|
|
1417
1373
|
resource_group_name: str,
|
1418
1374
|
account_name: str,
|
1419
1375
|
container_name: str,
|
1420
|
-
legal_hold: IO,
|
1376
|
+
legal_hold: IO[bytes],
|
1421
1377
|
*,
|
1422
1378
|
content_type: str = "application/json",
|
1423
1379
|
**kwargs: Any
|
@@ -1438,11 +1394,10 @@ class BlobContainersOperations:
|
|
1438
1394
|
by a letter or number. Required.
|
1439
1395
|
:type container_name: str
|
1440
1396
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
1441
|
-
:type legal_hold: IO
|
1397
|
+
:type legal_hold: IO[bytes]
|
1442
1398
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1443
1399
|
Default value is "application/json".
|
1444
1400
|
:paramtype content_type: str
|
1445
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1446
1401
|
:return: LegalHold or the result of cls(response)
|
1447
1402
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
1448
1403
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1454,7 +1409,7 @@ class BlobContainersOperations:
|
|
1454
1409
|
resource_group_name: str,
|
1455
1410
|
account_name: str,
|
1456
1411
|
container_name: str,
|
1457
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1412
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1458
1413
|
**kwargs: Any
|
1459
1414
|
) -> _models.LegalHold:
|
1460
1415
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -1473,17 +1428,13 @@ class BlobContainersOperations:
|
|
1473
1428
|
by a letter or number. Required.
|
1474
1429
|
:type container_name: str
|
1475
1430
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
1476
|
-
LegalHold type or a IO type. Required.
|
1477
|
-
:type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO
|
1478
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1479
|
-
Default value is None.
|
1480
|
-
:paramtype content_type: str
|
1481
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1431
|
+
LegalHold type or a IO[bytes] type. Required.
|
1432
|
+
:type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO[bytes]
|
1482
1433
|
:return: LegalHold or the result of cls(response)
|
1483
1434
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
1484
1435
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1485
1436
|
"""
|
1486
|
-
error_map = {
|
1437
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1487
1438
|
401: ClientAuthenticationError,
|
1488
1439
|
404: ResourceNotFoundError,
|
1489
1440
|
409: ResourceExistsError,
|
@@ -1494,19 +1445,19 @@ class BlobContainersOperations:
|
|
1494
1445
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1495
1446
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1496
1447
|
|
1497
|
-
api_version:
|
1448
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1498
1449
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1499
1450
|
cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
|
1500
1451
|
|
1501
1452
|
content_type = content_type or "application/json"
|
1502
1453
|
_json = None
|
1503
1454
|
_content = None
|
1504
|
-
if isinstance(legal_hold, (
|
1455
|
+
if isinstance(legal_hold, (IOBase, bytes)):
|
1505
1456
|
_content = legal_hold
|
1506
1457
|
else:
|
1507
1458
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1508
1459
|
|
1509
|
-
|
1460
|
+
_request = build_clear_legal_hold_request(
|
1510
1461
|
resource_group_name=resource_group_name,
|
1511
1462
|
account_name=account_name,
|
1512
1463
|
container_name=container_name,
|
@@ -1515,15 +1466,15 @@ class BlobContainersOperations:
|
|
1515
1466
|
content_type=content_type,
|
1516
1467
|
json=_json,
|
1517
1468
|
content=_content,
|
1518
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
1519
1469
|
headers=_headers,
|
1520
1470
|
params=_params,
|
1521
1471
|
)
|
1522
|
-
|
1523
|
-
|
1472
|
+
_request = _convert_request(_request)
|
1473
|
+
_request.url = self._client.format_url(_request.url)
|
1524
1474
|
|
1475
|
+
_stream = False
|
1525
1476
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1526
|
-
|
1477
|
+
_request, stream=_stream, **kwargs
|
1527
1478
|
)
|
1528
1479
|
|
1529
1480
|
response = pipeline_response.http_response
|
@@ -1535,13 +1486,9 @@ class BlobContainersOperations:
|
|
1535
1486
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1536
1487
|
|
1537
1488
|
if cls:
|
1538
|
-
return cls(pipeline_response, deserialized, {})
|
1539
|
-
|
1540
|
-
return deserialized
|
1489
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1541
1490
|
|
1542
|
-
|
1543
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
1544
|
-
}
|
1491
|
+
return deserialized # type: ignore
|
1545
1492
|
|
1546
1493
|
@overload
|
1547
1494
|
def create_or_update_immutability_policy(
|
@@ -1584,7 +1531,6 @@ class BlobContainersOperations:
|
|
1584
1531
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1585
1532
|
Default value is "application/json".
|
1586
1533
|
:paramtype content_type: str
|
1587
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1588
1534
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1589
1535
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1590
1536
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1598,7 +1544,7 @@ class BlobContainersOperations:
|
|
1598
1544
|
container_name: str,
|
1599
1545
|
immutability_policy_name: Union[str, _models.Enum35],
|
1600
1546
|
if_match: Optional[str] = None,
|
1601
|
-
parameters: Optional[IO] = None,
|
1547
|
+
parameters: Optional[IO[bytes]] = None,
|
1602
1548
|
*,
|
1603
1549
|
content_type: str = "application/json",
|
1604
1550
|
**kwargs: Any
|
@@ -1627,11 +1573,10 @@ class BlobContainersOperations:
|
|
1627
1573
|
:type if_match: str
|
1628
1574
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1629
1575
|
container. Default value is None.
|
1630
|
-
:type parameters: IO
|
1576
|
+
:type parameters: IO[bytes]
|
1631
1577
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1632
1578
|
Default value is "application/json".
|
1633
1579
|
:paramtype content_type: str
|
1634
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1635
1580
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1636
1581
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1637
1582
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1645,7 +1590,7 @@ class BlobContainersOperations:
|
|
1645
1590
|
container_name: str,
|
1646
1591
|
immutability_policy_name: Union[str, _models.Enum35],
|
1647
1592
|
if_match: Optional[str] = None,
|
1648
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1593
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1649
1594
|
**kwargs: Any
|
1650
1595
|
) -> _models.ImmutabilityPolicy:
|
1651
1596
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1671,17 +1616,13 @@ class BlobContainersOperations:
|
|
1671
1616
|
omitted, this operation will always be applied. Default value is None.
|
1672
1617
|
:type if_match: str
|
1673
1618
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1674
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1675
|
-
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO
|
1676
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1677
|
-
Default value is None.
|
1678
|
-
:paramtype content_type: str
|
1679
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1619
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1620
|
+
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO[bytes]
|
1680
1621
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1681
1622
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1682
1623
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1683
1624
|
"""
|
1684
|
-
error_map = {
|
1625
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1685
1626
|
401: ClientAuthenticationError,
|
1686
1627
|
404: ResourceNotFoundError,
|
1687
1628
|
409: ResourceExistsError,
|
@@ -1692,14 +1633,14 @@ class BlobContainersOperations:
|
|
1692
1633
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1693
1634
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1694
1635
|
|
1695
|
-
api_version:
|
1636
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1696
1637
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1697
1638
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1698
1639
|
|
1699
1640
|
content_type = content_type or "application/json"
|
1700
1641
|
_json = None
|
1701
1642
|
_content = None
|
1702
|
-
if isinstance(parameters, (
|
1643
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1703
1644
|
_content = parameters
|
1704
1645
|
else:
|
1705
1646
|
if parameters is not None:
|
@@ -1707,7 +1648,7 @@ class BlobContainersOperations:
|
|
1707
1648
|
else:
|
1708
1649
|
_json = None
|
1709
1650
|
|
1710
|
-
|
1651
|
+
_request = build_create_or_update_immutability_policy_request(
|
1711
1652
|
resource_group_name=resource_group_name,
|
1712
1653
|
account_name=account_name,
|
1713
1654
|
container_name=container_name,
|
@@ -1718,15 +1659,15 @@ class BlobContainersOperations:
|
|
1718
1659
|
content_type=content_type,
|
1719
1660
|
json=_json,
|
1720
1661
|
content=_content,
|
1721
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1722
1662
|
headers=_headers,
|
1723
1663
|
params=_params,
|
1724
1664
|
)
|
1725
|
-
|
1726
|
-
|
1665
|
+
_request = _convert_request(_request)
|
1666
|
+
_request.url = self._client.format_url(_request.url)
|
1727
1667
|
|
1668
|
+
_stream = False
|
1728
1669
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1729
|
-
|
1670
|
+
_request, stream=_stream, **kwargs
|
1730
1671
|
)
|
1731
1672
|
|
1732
1673
|
response = pipeline_response.http_response
|
@@ -1741,13 +1682,9 @@ class BlobContainersOperations:
|
|
1741
1682
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1742
1683
|
|
1743
1684
|
if cls:
|
1744
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1745
|
-
|
1746
|
-
return deserialized
|
1685
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1747
1686
|
|
1748
|
-
|
1749
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1750
|
-
}
|
1687
|
+
return deserialized # type: ignore
|
1751
1688
|
|
1752
1689
|
@distributed_trace
|
1753
1690
|
def get_immutability_policy(
|
@@ -1781,12 +1718,11 @@ class BlobContainersOperations:
|
|
1781
1718
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1782
1719
|
omitted, this operation will always be applied. Default value is None.
|
1783
1720
|
:type if_match: str
|
1784
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1785
1721
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1786
1722
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1787
1723
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1788
1724
|
"""
|
1789
|
-
error_map = {
|
1725
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1790
1726
|
401: ClientAuthenticationError,
|
1791
1727
|
404: ResourceNotFoundError,
|
1792
1728
|
409: ResourceExistsError,
|
@@ -1797,10 +1733,10 @@ class BlobContainersOperations:
|
|
1797
1733
|
_headers = kwargs.pop("headers", {}) or {}
|
1798
1734
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1799
1735
|
|
1800
|
-
api_version:
|
1736
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1801
1737
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1802
1738
|
|
1803
|
-
|
1739
|
+
_request = build_get_immutability_policy_request(
|
1804
1740
|
resource_group_name=resource_group_name,
|
1805
1741
|
account_name=account_name,
|
1806
1742
|
container_name=container_name,
|
@@ -1808,15 +1744,15 @@ class BlobContainersOperations:
|
|
1808
1744
|
subscription_id=self._config.subscription_id,
|
1809
1745
|
if_match=if_match,
|
1810
1746
|
api_version=api_version,
|
1811
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1812
1747
|
headers=_headers,
|
1813
1748
|
params=_params,
|
1814
1749
|
)
|
1815
|
-
|
1816
|
-
|
1750
|
+
_request = _convert_request(_request)
|
1751
|
+
_request.url = self._client.format_url(_request.url)
|
1817
1752
|
|
1753
|
+
_stream = False
|
1818
1754
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1819
|
-
|
1755
|
+
_request, stream=_stream, **kwargs
|
1820
1756
|
)
|
1821
1757
|
|
1822
1758
|
response = pipeline_response.http_response
|
@@ -1831,13 +1767,9 @@ class BlobContainersOperations:
|
|
1831
1767
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1832
1768
|
|
1833
1769
|
if cls:
|
1834
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1770
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1835
1771
|
|
1836
|
-
return deserialized
|
1837
|
-
|
1838
|
-
get_immutability_policy.metadata = {
|
1839
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1840
|
-
}
|
1772
|
+
return deserialized # type: ignore
|
1841
1773
|
|
1842
1774
|
@distributed_trace
|
1843
1775
|
def delete_immutability_policy(
|
@@ -1873,12 +1805,11 @@ class BlobContainersOperations:
|
|
1873
1805
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1874
1806
|
omitted, this operation will always be applied. Required.
|
1875
1807
|
:type if_match: str
|
1876
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1877
1808
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1878
1809
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1879
1810
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1880
1811
|
"""
|
1881
|
-
error_map = {
|
1812
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1882
1813
|
401: ClientAuthenticationError,
|
1883
1814
|
404: ResourceNotFoundError,
|
1884
1815
|
409: ResourceExistsError,
|
@@ -1889,10 +1820,10 @@ class BlobContainersOperations:
|
|
1889
1820
|
_headers = kwargs.pop("headers", {}) or {}
|
1890
1821
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1891
1822
|
|
1892
|
-
api_version:
|
1823
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1893
1824
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1894
1825
|
|
1895
|
-
|
1826
|
+
_request = build_delete_immutability_policy_request(
|
1896
1827
|
resource_group_name=resource_group_name,
|
1897
1828
|
account_name=account_name,
|
1898
1829
|
container_name=container_name,
|
@@ -1900,15 +1831,15 @@ class BlobContainersOperations:
|
|
1900
1831
|
subscription_id=self._config.subscription_id,
|
1901
1832
|
if_match=if_match,
|
1902
1833
|
api_version=api_version,
|
1903
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1904
1834
|
headers=_headers,
|
1905
1835
|
params=_params,
|
1906
1836
|
)
|
1907
|
-
|
1908
|
-
|
1837
|
+
_request = _convert_request(_request)
|
1838
|
+
_request.url = self._client.format_url(_request.url)
|
1909
1839
|
|
1840
|
+
_stream = False
|
1910
1841
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1911
|
-
|
1842
|
+
_request, stream=_stream, **kwargs
|
1912
1843
|
)
|
1913
1844
|
|
1914
1845
|
response = pipeline_response.http_response
|
@@ -1923,13 +1854,9 @@ class BlobContainersOperations:
|
|
1923
1854
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1924
1855
|
|
1925
1856
|
if cls:
|
1926
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1857
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1927
1858
|
|
1928
|
-
return deserialized
|
1929
|
-
|
1930
|
-
delete_immutability_policy.metadata = {
|
1931
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1932
|
-
}
|
1859
|
+
return deserialized # type: ignore
|
1933
1860
|
|
1934
1861
|
@distributed_trace
|
1935
1862
|
def lock_immutability_policy(
|
@@ -1954,12 +1881,11 @@ class BlobContainersOperations:
|
|
1954
1881
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1955
1882
|
omitted, this operation will always be applied. Required.
|
1956
1883
|
:type if_match: str
|
1957
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1958
1884
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1959
1885
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1960
1886
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1961
1887
|
"""
|
1962
|
-
error_map = {
|
1888
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1963
1889
|
401: ClientAuthenticationError,
|
1964
1890
|
404: ResourceNotFoundError,
|
1965
1891
|
409: ResourceExistsError,
|
@@ -1970,25 +1896,25 @@ class BlobContainersOperations:
|
|
1970
1896
|
_headers = kwargs.pop("headers", {}) or {}
|
1971
1897
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1972
1898
|
|
1973
|
-
api_version:
|
1899
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1974
1900
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1975
1901
|
|
1976
|
-
|
1902
|
+
_request = build_lock_immutability_policy_request(
|
1977
1903
|
resource_group_name=resource_group_name,
|
1978
1904
|
account_name=account_name,
|
1979
1905
|
container_name=container_name,
|
1980
1906
|
subscription_id=self._config.subscription_id,
|
1981
1907
|
if_match=if_match,
|
1982
1908
|
api_version=api_version,
|
1983
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1984
1909
|
headers=_headers,
|
1985
1910
|
params=_params,
|
1986
1911
|
)
|
1987
|
-
|
1988
|
-
|
1912
|
+
_request = _convert_request(_request)
|
1913
|
+
_request.url = self._client.format_url(_request.url)
|
1989
1914
|
|
1915
|
+
_stream = False
|
1990
1916
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1991
|
-
|
1917
|
+
_request, stream=_stream, **kwargs
|
1992
1918
|
)
|
1993
1919
|
|
1994
1920
|
response = pipeline_response.http_response
|
@@ -2003,13 +1929,9 @@ class BlobContainersOperations:
|
|
2003
1929
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
2004
1930
|
|
2005
1931
|
if cls:
|
2006
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1932
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
2007
1933
|
|
2008
|
-
return deserialized
|
2009
|
-
|
2010
|
-
lock_immutability_policy.metadata = {
|
2011
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
2012
|
-
}
|
1934
|
+
return deserialized # type: ignore
|
2013
1935
|
|
2014
1936
|
@overload
|
2015
1937
|
def extend_immutability_policy(
|
@@ -2049,7 +1971,6 @@ class BlobContainersOperations:
|
|
2049
1971
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2050
1972
|
Default value is "application/json".
|
2051
1973
|
:paramtype content_type: str
|
2052
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2053
1974
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2054
1975
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
2055
1976
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2062,7 +1983,7 @@ class BlobContainersOperations:
|
|
2062
1983
|
account_name: str,
|
2063
1984
|
container_name: str,
|
2064
1985
|
if_match: str,
|
2065
|
-
parameters: Optional[IO] = None,
|
1986
|
+
parameters: Optional[IO[bytes]] = None,
|
2066
1987
|
*,
|
2067
1988
|
content_type: str = "application/json",
|
2068
1989
|
**kwargs: Any
|
@@ -2089,11 +2010,10 @@ class BlobContainersOperations:
|
|
2089
2010
|
:type if_match: str
|
2090
2011
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2091
2012
|
container. Default value is None.
|
2092
|
-
:type parameters: IO
|
2013
|
+
:type parameters: IO[bytes]
|
2093
2014
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2094
2015
|
Default value is "application/json".
|
2095
2016
|
:paramtype content_type: str
|
2096
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2097
2017
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2098
2018
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
2099
2019
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2106,7 +2026,7 @@ class BlobContainersOperations:
|
|
2106
2026
|
account_name: str,
|
2107
2027
|
container_name: str,
|
2108
2028
|
if_match: str,
|
2109
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
2029
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
2110
2030
|
**kwargs: Any
|
2111
2031
|
) -> _models.ImmutabilityPolicy:
|
2112
2032
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -2130,17 +2050,13 @@ class BlobContainersOperations:
|
|
2130
2050
|
omitted, this operation will always be applied. Required.
|
2131
2051
|
:type if_match: str
|
2132
2052
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2133
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
2134
|
-
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO
|
2135
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2136
|
-
Default value is None.
|
2137
|
-
:paramtype content_type: str
|
2138
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2053
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
2054
|
+
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO[bytes]
|
2139
2055
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2140
2056
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
2141
2057
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2142
2058
|
"""
|
2143
|
-
error_map = {
|
2059
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2144
2060
|
401: ClientAuthenticationError,
|
2145
2061
|
404: ResourceNotFoundError,
|
2146
2062
|
409: ResourceExistsError,
|
@@ -2151,14 +2067,14 @@ class BlobContainersOperations:
|
|
2151
2067
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
2152
2068
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2153
2069
|
|
2154
|
-
api_version:
|
2070
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
2155
2071
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
2156
2072
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
2157
2073
|
|
2158
2074
|
content_type = content_type or "application/json"
|
2159
2075
|
_json = None
|
2160
2076
|
_content = None
|
2161
|
-
if isinstance(parameters, (
|
2077
|
+
if isinstance(parameters, (IOBase, bytes)):
|
2162
2078
|
_content = parameters
|
2163
2079
|
else:
|
2164
2080
|
if parameters is not None:
|
@@ -2166,7 +2082,7 @@ class BlobContainersOperations:
|
|
2166
2082
|
else:
|
2167
2083
|
_json = None
|
2168
2084
|
|
2169
|
-
|
2085
|
+
_request = build_extend_immutability_policy_request(
|
2170
2086
|
resource_group_name=resource_group_name,
|
2171
2087
|
account_name=account_name,
|
2172
2088
|
container_name=container_name,
|
@@ -2176,15 +2092,15 @@ class BlobContainersOperations:
|
|
2176
2092
|
content_type=content_type,
|
2177
2093
|
json=_json,
|
2178
2094
|
content=_content,
|
2179
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
2180
2095
|
headers=_headers,
|
2181
2096
|
params=_params,
|
2182
2097
|
)
|
2183
|
-
|
2184
|
-
|
2098
|
+
_request = _convert_request(_request)
|
2099
|
+
_request.url = self._client.format_url(_request.url)
|
2185
2100
|
|
2101
|
+
_stream = False
|
2186
2102
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2187
|
-
|
2103
|
+
_request, stream=_stream, **kwargs
|
2188
2104
|
)
|
2189
2105
|
|
2190
2106
|
response = pipeline_response.http_response
|
@@ -2199,13 +2115,9 @@ class BlobContainersOperations:
|
|
2199
2115
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
2200
2116
|
|
2201
2117
|
if cls:
|
2202
|
-
return cls(pipeline_response, deserialized, response_headers)
|
2203
|
-
|
2204
|
-
return deserialized
|
2118
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
2205
2119
|
|
2206
|
-
|
2207
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
2208
|
-
}
|
2120
|
+
return deserialized # type: ignore
|
2209
2121
|
|
2210
2122
|
@overload
|
2211
2123
|
def lease(
|
@@ -2238,7 +2150,6 @@ class BlobContainersOperations:
|
|
2238
2150
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2239
2151
|
Default value is "application/json".
|
2240
2152
|
:paramtype content_type: str
|
2241
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2242
2153
|
:return: LeaseContainerResponse or the result of cls(response)
|
2243
2154
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerResponse
|
2244
2155
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2250,7 +2161,7 @@ class BlobContainersOperations:
|
|
2250
2161
|
resource_group_name: str,
|
2251
2162
|
account_name: str,
|
2252
2163
|
container_name: str,
|
2253
|
-
parameters: Optional[IO] = None,
|
2164
|
+
parameters: Optional[IO[bytes]] = None,
|
2254
2165
|
*,
|
2255
2166
|
content_type: str = "application/json",
|
2256
2167
|
**kwargs: Any
|
@@ -2271,11 +2182,10 @@ class BlobContainersOperations:
|
|
2271
2182
|
by a letter or number. Required.
|
2272
2183
|
:type container_name: str
|
2273
2184
|
:param parameters: Lease Container request body. Default value is None.
|
2274
|
-
:type parameters: IO
|
2185
|
+
:type parameters: IO[bytes]
|
2275
2186
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2276
2187
|
Default value is "application/json".
|
2277
2188
|
:paramtype content_type: str
|
2278
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2279
2189
|
:return: LeaseContainerResponse or the result of cls(response)
|
2280
2190
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerResponse
|
2281
2191
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2287,7 +2197,7 @@ class BlobContainersOperations:
|
|
2287
2197
|
resource_group_name: str,
|
2288
2198
|
account_name: str,
|
2289
2199
|
container_name: str,
|
2290
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
2200
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
2291
2201
|
**kwargs: Any
|
2292
2202
|
) -> _models.LeaseContainerResponse:
|
2293
2203
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -2305,18 +2215,14 @@ class BlobContainersOperations:
|
|
2305
2215
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
2306
2216
|
by a letter or number. Required.
|
2307
2217
|
:type container_name: str
|
2308
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2309
|
-
type. Default value is None.
|
2310
|
-
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerRequest or IO
|
2311
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2312
|
-
Default value is None.
|
2313
|
-
:paramtype content_type: str
|
2314
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2218
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2219
|
+
IO[bytes] type. Default value is None.
|
2220
|
+
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerRequest or IO[bytes]
|
2315
2221
|
:return: LeaseContainerResponse or the result of cls(response)
|
2316
2222
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerResponse
|
2317
2223
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2318
2224
|
"""
|
2319
|
-
error_map = {
|
2225
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2320
2226
|
401: ClientAuthenticationError,
|
2321
2227
|
404: ResourceNotFoundError,
|
2322
2228
|
409: ResourceExistsError,
|
@@ -2327,14 +2233,14 @@ class BlobContainersOperations:
|
|
2327
2233
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
2328
2234
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2329
2235
|
|
2330
|
-
api_version:
|
2236
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
2331
2237
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
2332
2238
|
cls: ClsType[_models.LeaseContainerResponse] = kwargs.pop("cls", None)
|
2333
2239
|
|
2334
2240
|
content_type = content_type or "application/json"
|
2335
2241
|
_json = None
|
2336
2242
|
_content = None
|
2337
|
-
if isinstance(parameters, (
|
2243
|
+
if isinstance(parameters, (IOBase, bytes)):
|
2338
2244
|
_content = parameters
|
2339
2245
|
else:
|
2340
2246
|
if parameters is not None:
|
@@ -2342,7 +2248,7 @@ class BlobContainersOperations:
|
|
2342
2248
|
else:
|
2343
2249
|
_json = None
|
2344
2250
|
|
2345
|
-
|
2251
|
+
_request = build_lease_request(
|
2346
2252
|
resource_group_name=resource_group_name,
|
2347
2253
|
account_name=account_name,
|
2348
2254
|
container_name=container_name,
|
@@ -2351,15 +2257,15 @@ class BlobContainersOperations:
|
|
2351
2257
|
content_type=content_type,
|
2352
2258
|
json=_json,
|
2353
2259
|
content=_content,
|
2354
|
-
template_url=self.lease.metadata["url"],
|
2355
2260
|
headers=_headers,
|
2356
2261
|
params=_params,
|
2357
2262
|
)
|
2358
|
-
|
2359
|
-
|
2263
|
+
_request = _convert_request(_request)
|
2264
|
+
_request.url = self._client.format_url(_request.url)
|
2360
2265
|
|
2266
|
+
_stream = False
|
2361
2267
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2362
|
-
|
2268
|
+
_request, stream=_stream, **kwargs
|
2363
2269
|
)
|
2364
2270
|
|
2365
2271
|
response = pipeline_response.http_response
|
@@ -2371,18 +2277,14 @@ class BlobContainersOperations:
|
|
2371
2277
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
2372
2278
|
|
2373
2279
|
if cls:
|
2374
|
-
return cls(pipeline_response, deserialized, {})
|
2375
|
-
|
2376
|
-
return deserialized
|
2280
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
2377
2281
|
|
2378
|
-
|
2379
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
2380
|
-
}
|
2282
|
+
return deserialized # type: ignore
|
2381
2283
|
|
2382
2284
|
def _object_level_worm_initial( # pylint: disable=inconsistent-return-statements
|
2383
2285
|
self, resource_group_name: str, account_name: str, container_name: str, **kwargs: Any
|
2384
2286
|
) -> None:
|
2385
|
-
error_map = {
|
2287
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2386
2288
|
401: ClientAuthenticationError,
|
2387
2289
|
404: ResourceNotFoundError,
|
2388
2290
|
409: ResourceExistsError,
|
@@ -2393,24 +2295,24 @@ class BlobContainersOperations:
|
|
2393
2295
|
_headers = kwargs.pop("headers", {}) or {}
|
2394
2296
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2395
2297
|
|
2396
|
-
api_version:
|
2298
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
2397
2299
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
2398
2300
|
|
2399
|
-
|
2301
|
+
_request = build_object_level_worm_request(
|
2400
2302
|
resource_group_name=resource_group_name,
|
2401
2303
|
account_name=account_name,
|
2402
2304
|
container_name=container_name,
|
2403
2305
|
subscription_id=self._config.subscription_id,
|
2404
2306
|
api_version=api_version,
|
2405
|
-
template_url=self._object_level_worm_initial.metadata["url"],
|
2406
2307
|
headers=_headers,
|
2407
2308
|
params=_params,
|
2408
2309
|
)
|
2409
|
-
|
2410
|
-
|
2310
|
+
_request = _convert_request(_request)
|
2311
|
+
_request.url = self._client.format_url(_request.url)
|
2411
2312
|
|
2313
|
+
_stream = False
|
2412
2314
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2413
|
-
|
2315
|
+
_request, stream=_stream, **kwargs
|
2414
2316
|
)
|
2415
2317
|
|
2416
2318
|
response = pipeline_response.http_response
|
@@ -2420,11 +2322,7 @@ class BlobContainersOperations:
|
|
2420
2322
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
2421
2323
|
|
2422
2324
|
if cls:
|
2423
|
-
return cls(pipeline_response, None, {})
|
2424
|
-
|
2425
|
-
_object_level_worm_initial.metadata = {
|
2426
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
|
2427
|
-
}
|
2325
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
2428
2326
|
|
2429
2327
|
@distributed_trace
|
2430
2328
|
def begin_object_level_worm(
|
@@ -2447,14 +2345,6 @@ class BlobContainersOperations:
|
|
2447
2345
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
2448
2346
|
by a letter or number. Required.
|
2449
2347
|
:type container_name: str
|
2450
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2451
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
2452
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
2453
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
2454
|
-
strategy.
|
2455
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
2456
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
2457
|
-
Retry-After header is present.
|
2458
2348
|
:return: An instance of LROPoller that returns either None or the result of cls(response)
|
2459
2349
|
:rtype: ~azure.core.polling.LROPoller[None]
|
2460
2350
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2462,7 +2352,7 @@ class BlobContainersOperations:
|
|
2462
2352
|
_headers = kwargs.pop("headers", {}) or {}
|
2463
2353
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2464
2354
|
|
2465
|
-
api_version:
|
2355
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
2466
2356
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
2467
2357
|
polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
|
2468
2358
|
lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
|
@@ -2482,7 +2372,7 @@ class BlobContainersOperations:
|
|
2482
2372
|
|
2483
2373
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
2484
2374
|
if cls:
|
2485
|
-
return cls(pipeline_response, None, {})
|
2375
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
2486
2376
|
|
2487
2377
|
if polling is True:
|
2488
2378
|
polling_method: PollingMethod = cast(
|
@@ -2493,14 +2383,10 @@ class BlobContainersOperations:
|
|
2493
2383
|
else:
|
2494
2384
|
polling_method = polling
|
2495
2385
|
if cont_token:
|
2496
|
-
return LROPoller.from_continuation_token(
|
2386
|
+
return LROPoller[None].from_continuation_token(
|
2497
2387
|
polling_method=polling_method,
|
2498
2388
|
continuation_token=cont_token,
|
2499
2389
|
client=self._client,
|
2500
2390
|
deserialization_callback=get_long_running_output,
|
2501
2391
|
)
|
2502
|
-
return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
2503
|
-
|
2504
|
-
begin_object_level_worm.metadata = {
|
2505
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
|
2506
|
-
}
|
2392
|
+
return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|