azure-mgmt-storage 21.1.0b1__py3-none-any.whl → 21.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azure/mgmt/storage/_configuration.py +2 -3
- azure/mgmt/storage/_serialization.py +65 -59
- azure/mgmt/storage/_storage_management_client.py +232 -26
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_configuration.py +2 -3
- azure/mgmt/storage/aio/_storage_management_client.py +232 -26
- azure/mgmt/storage/models.py +1 -1
- azure/mgmt/storage/v2015_06_15/_configuration.py +4 -11
- azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/_storage_management.py +25 -5
- azure/mgmt/storage/v2015_06_15/_vendor.py +0 -14
- azure/mgmt/storage/v2015_06_15/_version.py +1 -1
- azure/mgmt/storage/v2015_06_15/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +27 -5
- azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +132 -213
- azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
- azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +151 -232
- azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2016_01_01/_configuration.py +4 -11
- azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/_storage_management_client.py +25 -5
- azure/mgmt/storage/v2016_01_01/_vendor.py +0 -14
- azure/mgmt/storage/v2016_01_01/_version.py +1 -1
- azure/mgmt/storage/v2016_01_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +27 -5
- azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +132 -213
- azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
- azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +151 -232
- azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2016_12_01/_configuration.py +4 -11
- azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/_storage_management.py +25 -5
- azure/mgmt/storage/v2016_12_01/_vendor.py +0 -14
- azure/mgmt/storage/v2016_12_01/_version.py +1 -1
- azure/mgmt/storage/v2016_12_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +27 -5
- azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +162 -263
- azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
- azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +185 -286
- azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2017_06_01/_configuration.py +4 -11
- azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/_storage_management.py +27 -7
- azure/mgmt/storage/v2017_06_01/_vendor.py +0 -14
- azure/mgmt/storage/v2017_06_01/_version.py +1 -1
- azure/mgmt/storage/v2017_06_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +29 -7
- azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +162 -263
- azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_06_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +185 -286
- azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2017_10_01/_configuration.py +4 -11
- azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/_storage_management.py +27 -7
- azure/mgmt/storage/v2017_10_01/_vendor.py +0 -14
- azure/mgmt/storage/v2017_10_01/_version.py +1 -1
- azure/mgmt/storage/v2017_10_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +29 -7
- azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +162 -263
- azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_10_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +185 -286
- azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2018_02_01/_configuration.py +4 -11
- azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/_storage_management_client.py +30 -8
- azure/mgmt/storage/v2018_02_01/_vendor.py +0 -14
- azure/mgmt/storage/v2018_02_01/_version.py +1 -1
- azure/mgmt/storage/v2018_02_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +32 -8
- azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +166 -264
- azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +162 -263
- azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +34 -41
- azure/mgmt/storage/v2018_02_01/models/_models_py3.py +28 -34
- azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +194 -292
- azure/mgmt/storage/v2018_02_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +185 -286
- azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +39 -46
- azure/mgmt/storage/v2018_03_01_preview/_configuration.py +4 -11
- azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +41 -8
- azure/mgmt/storage/v2018_03_01_preview/_vendor.py +0 -14
- azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +43 -8
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/__init__.py +2 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +182 -277
- azure/mgmt/storage/{v2018_07_01 → v2018_03_01_preview}/aio/operations/_management_policies_operations.py +55 -72
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +21 -23
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +21 -23
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +209 -330
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +36 -43
- azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +30 -34
- azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/operations/__init__.py +2 -0
- azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +210 -331
- azure/mgmt/storage/{v2018_07_01 → v2018_03_01_preview}/operations/_management_policies_operations.py +62 -85
- azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +22 -26
- azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +24 -28
- azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +239 -388
- azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +41 -52
- azure/mgmt/storage/v2018_07_01/_configuration.py +9 -4
- azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/_storage_management_client.py +36 -16
- azure/mgmt/storage/v2018_07_01/_vendor.py +0 -14
- azure/mgmt/storage/v2018_07_01/_version.py +1 -1
- azure/mgmt/storage/v2018_07_01/aio/_configuration.py +9 -4
- azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +38 -16
- azure/mgmt/storage/v2018_07_01/aio/operations/__init__.py +0 -2
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +166 -264
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +31 -44
- azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +31 -21
- azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +31 -21
- azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +195 -289
- azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +31 -23
- azure/mgmt/storage/v2018_07_01/models/__init__.py +0 -10
- azure/mgmt/storage/v2018_07_01/models/_models_py3.py +30 -164
- azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +1 -7
- azure/mgmt/storage/v2018_07_01/operations/__init__.py +0 -2
- azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +194 -292
- azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +36 -49
- azure/mgmt/storage/v2018_07_01/operations/_operations.py +32 -22
- azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +34 -24
- azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +220 -314
- azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +34 -26
- azure/mgmt/storage/v2018_11_01/_configuration.py +4 -11
- azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/_storage_management_client.py +34 -10
- azure/mgmt/storage/v2018_11_01/_vendor.py +0 -14
- azure/mgmt/storage/v2018_11_01/_version.py +1 -1
- azure/mgmt/storage/v2018_11_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +36 -10
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +164 -262
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +31 -44
- azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +182 -304
- azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2018_11_01/models/_models_py3.py +37 -43
- azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +192 -290
- azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +36 -49
- azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2018_11_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +210 -332
- azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2019_04_01/_configuration.py +4 -11
- azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/_storage_management_client.py +40 -12
- azure/mgmt/storage/v2019_04_01/_vendor.py +0 -14
- azure/mgmt/storage/v2019_04_01/_version.py +1 -1
- azure/mgmt/storage/v2019_04_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +42 -12
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +169 -267
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +68 -101
- azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +183 -304
- azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2019_04_01/models/_models_py3.py +42 -48
- azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +197 -295
- azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +79 -112
- azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2019_04_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +211 -332
- azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2019_06_01/_configuration.py +4 -11
- azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/_storage_management_client.py +54 -22
- azure/mgmt/storage/v2019_06_01/_vendor.py +0 -14
- azure/mgmt/storage/v2019_06_01/_version.py +1 -1
- azure/mgmt/storage/v2019_06_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +56 -22
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +169 -267
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +82 -125
- azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +40 -58
- azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +203 -357
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +40 -58
- azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2019_06_01/models/_models_py3.py +62 -68
- azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +197 -295
- azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +95 -138
- azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2019_06_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +47 -65
- azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +233 -387
- azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +47 -65
- azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2020_08_01_preview/_configuration.py +4 -11
- azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +64 -24
- azure/mgmt/storage/v2020_08_01_preview/_vendor.py +0 -14
- azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +66 -24
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +185 -280
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +58 -80
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +49 -66
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +31 -38
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +64 -90
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +45 -62
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +88 -131
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +42 -60
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +59 -80
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +21 -23
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +57 -80
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +16 -20
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +73 -106
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +44 -61
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +21 -23
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +221 -374
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +60 -84
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +44 -61
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +21 -25
- azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +64 -86
- azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +213 -334
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +67 -97
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +56 -79
- azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +36 -47
- azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +73 -107
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +52 -75
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +101 -156
- azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +49 -73
- azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +68 -97
- azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +22 -26
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +66 -97
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +19 -25
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +84 -127
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +51 -74
- azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +24 -28
- azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +251 -432
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +71 -105
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +51 -74
- azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +24 -30
- azure/mgmt/storage/v2021_01_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/_storage_management_client.py +55 -23
- azure/mgmt/storage/v2021_01_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_01_01/_version.py +1 -1
- azure/mgmt/storage/v2021_01_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +57 -23
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +169 -267
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +82 -125
- azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +40 -58
- azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +203 -357
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +40 -58
- azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_01_01/models/_models_py3.py +64 -86
- azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +197 -295
- azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +95 -138
- azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_01_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +47 -65
- azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +233 -387
- azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +47 -65
- azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_02_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/_storage_management_client.py +55 -23
- azure/mgmt/storage/v2021_02_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_02_01/_version.py +1 -1
- azure/mgmt/storage/v2021_02_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +57 -23
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +169 -267
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +82 -125
- azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +40 -58
- azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +203 -357
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +40 -58
- azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_02_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +197 -295
- azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +95 -138
- azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_02_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +47 -65
- azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +233 -387
- azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +47 -65
- azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_04_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/_storage_management_client.py +55 -23
- azure/mgmt/storage/v2021_04_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_04_01/_version.py +1 -1
- azure/mgmt/storage/v2021_04_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +57 -23
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +181 -295
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +40 -58
- azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +203 -357
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +40 -58
- azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_04_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +211 -325
- azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_04_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +47 -65
- azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +233 -387
- azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +47 -65
- azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_06_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/_storage_management_client.py +55 -23
- azure/mgmt/storage/v2021_06_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_06_01/_version.py +1 -1
- azure/mgmt/storage/v2021_06_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +57 -23
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_06_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_06_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_08_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/_storage_management_client.py +59 -25
- azure/mgmt/storage/v2021_08_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_08_01/_version.py +1 -1
- azure/mgmt/storage/v2021_08_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +61 -25
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +71 -104
- azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_08_01/models/_models_py3.py +68 -90
- azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +84 -117
- azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_08_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_09_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/_storage_management_client.py +59 -25
- azure/mgmt/storage/v2021_09_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_09_01/_version.py +1 -1
- azure/mgmt/storage/v2021_09_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +61 -25
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +71 -104
- azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +70 -103
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_09_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +84 -117
- azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_09_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +81 -114
- azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2022_05_01/_configuration.py +4 -11
- azure/mgmt/storage/v2022_05_01/_storage_management_client.py +59 -25
- azure/mgmt/storage/v2022_05_01/_vendor.py +0 -14
- azure/mgmt/storage/v2022_05_01/_version.py +1 -1
- azure/mgmt/storage/v2022_05_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +61 -25
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +71 -104
- azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +70 -103
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2022_05_01/models/_models_py3.py +69 -91
- azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +84 -117
- azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2022_05_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +81 -114
- azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2022_09_01/_configuration.py +4 -11
- azure/mgmt/storage/v2022_09_01/_storage_management_client.py +59 -25
- azure/mgmt/storage/v2022_09_01/_vendor.py +0 -14
- azure/mgmt/storage/v2022_09_01/_version.py +1 -1
- azure/mgmt/storage/v2022_09_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +61 -25
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +71 -104
- azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +70 -103
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2022_09_01/models/_models_py3.py +69 -91
- azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +84 -117
- azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2022_09_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +81 -114
- azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2023_01_01/__init__.py +26 -0
- azure/mgmt/storage/v2023_01_01/_configuration.py +65 -0
- azure/mgmt/storage/v2023_01_01/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/_storage_management_client.py +225 -0
- azure/mgmt/storage/v2023_01_01/_vendor.py +16 -0
- azure/mgmt/storage/v2023_01_01/_version.py +9 -0
- azure/mgmt/storage/v2023_01_01/aio/__init__.py +23 -0
- azure/mgmt/storage/v2023_01_01/aio/_configuration.py +65 -0
- azure/mgmt/storage/v2023_01_01/aio/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +230 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/__init__.py +57 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +1838 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +362 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +194 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +568 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +328 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +1003 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +560 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +349 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +446 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +135 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +117 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +608 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +328 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +136 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +2187 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +588 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +328 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +139 -0
- azure/mgmt/storage/v2023_01_01/models/__init__.py +461 -0
- azure/mgmt/storage/v2023_01_01/models/_models_py3.py +8338 -0
- azure/mgmt/storage/v2023_01_01/models/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +626 -0
- azure/mgmt/storage/v2023_01_01/operations/__init__.py +57 -0
- azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +2398 -0
- azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +595 -0
- azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +470 -0
- azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +250 -0
- azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +732 -0
- azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +437 -0
- azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +1310 -0
- azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +770 -0
- azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +465 -0
- azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +593 -0
- azure/mgmt/storage/v2023_01_01/operations/_operations.py +156 -0
- azure/mgmt/storage/v2023_01_01/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +591 -0
- azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +155 -0
- azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +824 -0
- azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +437 -0
- azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +162 -0
- azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +2796 -0
- azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +775 -0
- azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +437 -0
- azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +169 -0
- azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
- azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
- azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
- azure/mgmt/storage/v2023_05_01/_version.py +9 -0
- azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
- azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
- azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
- azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
- azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
- azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
- azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
- azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
- azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
- azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
- azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
- azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
- azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
- azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +44 -13
- azure_mgmt_storage-21.2.0.dist-info/RECORD +979 -0
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
- azure_mgmt_storage-21.1.0b1.dist-info/RECORD +0 -855
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
1
|
+
# pylint: disable=too-many-lines,too-many-statements
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -6,8 +6,9 @@
|
|
6
6
|
# Code generated by Microsoft (R) AutoRest Code Generator.
|
7
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
8
|
# --------------------------------------------------------------------------
|
9
|
+
from io import IOBase
|
9
10
|
import sys
|
10
|
-
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
|
11
|
+
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, Type, TypeVar, Union, overload
|
11
12
|
import urllib.parse
|
12
13
|
|
13
14
|
from azure.core.async_paging import AsyncItemPaged, AsyncList
|
@@ -45,10 +46,10 @@ from ...operations._blob_containers_operations import (
|
|
45
46
|
build_update_request,
|
46
47
|
)
|
47
48
|
|
48
|
-
if sys.version_info >= (3,
|
49
|
-
from
|
49
|
+
if sys.version_info >= (3, 9):
|
50
|
+
from collections.abc import MutableMapping
|
50
51
|
else:
|
51
|
-
from
|
52
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
52
53
|
T = TypeVar("T")
|
53
54
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
54
55
|
|
@@ -71,6 +72,7 @@ class BlobContainersOperations:
|
|
71
72
|
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
72
73
|
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
73
74
|
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
75
|
+
self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
|
74
76
|
|
75
77
|
@distributed_trace
|
76
78
|
def list(
|
@@ -100,7 +102,6 @@ class BlobContainersOperations:
|
|
100
102
|
:param filter: Optional. When specified, only container names starting with the filter will be
|
101
103
|
listed. Default value is None.
|
102
104
|
:type filter: str
|
103
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
104
105
|
:return: An iterator like instance of either ListContainerItem or the result of cls(response)
|
105
106
|
:rtype:
|
106
107
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2019_04_01.models.ListContainerItem]
|
@@ -109,10 +110,10 @@ class BlobContainersOperations:
|
|
109
110
|
_headers = kwargs.pop("headers", {}) or {}
|
110
111
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
111
112
|
|
112
|
-
api_version:
|
113
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
113
114
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
114
115
|
|
115
|
-
error_map = {
|
116
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
116
117
|
401: ClientAuthenticationError,
|
117
118
|
404: ResourceNotFoundError,
|
118
119
|
409: ResourceExistsError,
|
@@ -123,7 +124,7 @@ class BlobContainersOperations:
|
|
123
124
|
def prepare_request(next_link=None):
|
124
125
|
if not next_link:
|
125
126
|
|
126
|
-
|
127
|
+
_request = build_list_request(
|
127
128
|
resource_group_name=resource_group_name,
|
128
129
|
account_name=account_name,
|
129
130
|
subscription_id=self._config.subscription_id,
|
@@ -131,12 +132,11 @@ class BlobContainersOperations:
|
|
131
132
|
maxpagesize=maxpagesize,
|
132
133
|
filter=filter,
|
133
134
|
api_version=api_version,
|
134
|
-
template_url=self.list.metadata["url"],
|
135
135
|
headers=_headers,
|
136
136
|
params=_params,
|
137
137
|
)
|
138
|
-
|
139
|
-
|
138
|
+
_request = _convert_request(_request)
|
139
|
+
_request.url = self._client.format_url(_request.url)
|
140
140
|
|
141
141
|
else:
|
142
142
|
# make call to next link with the client's api-version
|
@@ -147,14 +147,14 @@ class BlobContainersOperations:
|
|
147
147
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
148
148
|
}
|
149
149
|
)
|
150
|
-
_next_request_params["api-version"] = self.
|
151
|
-
|
150
|
+
_next_request_params["api-version"] = self._api_version
|
151
|
+
_request = HttpRequest(
|
152
152
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
153
153
|
)
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
return
|
154
|
+
_request = _convert_request(_request)
|
155
|
+
_request.url = self._client.format_url(_request.url)
|
156
|
+
_request.method = "GET"
|
157
|
+
return _request
|
158
158
|
|
159
159
|
async def extract_data(pipeline_response):
|
160
160
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
@@ -164,10 +164,11 @@ class BlobContainersOperations:
|
|
164
164
|
return deserialized.next_link or None, AsyncList(list_of_elem)
|
165
165
|
|
166
166
|
async def get_next(next_link=None):
|
167
|
-
|
167
|
+
_request = prepare_request(next_link)
|
168
168
|
|
169
|
+
_stream = False
|
169
170
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
170
|
-
|
171
|
+
_request, stream=_stream, **kwargs
|
171
172
|
)
|
172
173
|
response = pipeline_response.http_response
|
173
174
|
|
@@ -179,10 +180,6 @@ class BlobContainersOperations:
|
|
179
180
|
|
180
181
|
return AsyncItemPaged(get_next, extract_data)
|
181
182
|
|
182
|
-
list.metadata = {
|
183
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
184
|
-
}
|
185
|
-
|
186
183
|
@overload
|
187
184
|
async def create(
|
188
185
|
self,
|
@@ -215,7 +212,6 @@ class BlobContainersOperations:
|
|
215
212
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
216
213
|
Default value is "application/json".
|
217
214
|
:paramtype content_type: str
|
218
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
219
215
|
:return: BlobContainer or the result of cls(response)
|
220
216
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
221
217
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -227,7 +223,7 @@ class BlobContainersOperations:
|
|
227
223
|
resource_group_name: str,
|
228
224
|
account_name: str,
|
229
225
|
container_name: str,
|
230
|
-
blob_container: IO,
|
226
|
+
blob_container: IO[bytes],
|
231
227
|
*,
|
232
228
|
content_type: str = "application/json",
|
233
229
|
**kwargs: Any
|
@@ -249,11 +245,10 @@ class BlobContainersOperations:
|
|
249
245
|
by a letter or number. Required.
|
250
246
|
:type container_name: str
|
251
247
|
:param blob_container: Properties of the blob container to create. Required.
|
252
|
-
:type blob_container: IO
|
248
|
+
:type blob_container: IO[bytes]
|
253
249
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
254
250
|
Default value is "application/json".
|
255
251
|
:paramtype content_type: str
|
256
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
257
252
|
:return: BlobContainer or the result of cls(response)
|
258
253
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
259
254
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -265,7 +260,7 @@ class BlobContainersOperations:
|
|
265
260
|
resource_group_name: str,
|
266
261
|
account_name: str,
|
267
262
|
container_name: str,
|
268
|
-
blob_container: Union[_models.BlobContainer, IO],
|
263
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
269
264
|
**kwargs: Any
|
270
265
|
) -> _models.BlobContainer:
|
271
266
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -285,17 +280,13 @@ class BlobContainersOperations:
|
|
285
280
|
by a letter or number. Required.
|
286
281
|
:type container_name: str
|
287
282
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
288
|
-
type or a IO type. Required.
|
289
|
-
:type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO
|
290
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
291
|
-
Default value is None.
|
292
|
-
:paramtype content_type: str
|
293
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
283
|
+
type or a IO[bytes] type. Required.
|
284
|
+
:type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO[bytes]
|
294
285
|
:return: BlobContainer or the result of cls(response)
|
295
286
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
296
287
|
:raises ~azure.core.exceptions.HttpResponseError:
|
297
288
|
"""
|
298
|
-
error_map = {
|
289
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
299
290
|
401: ClientAuthenticationError,
|
300
291
|
404: ResourceNotFoundError,
|
301
292
|
409: ResourceExistsError,
|
@@ -306,19 +297,19 @@ class BlobContainersOperations:
|
|
306
297
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
307
298
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
308
299
|
|
309
|
-
api_version:
|
300
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
310
301
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
311
302
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
312
303
|
|
313
304
|
content_type = content_type or "application/json"
|
314
305
|
_json = None
|
315
306
|
_content = None
|
316
|
-
if isinstance(blob_container, (
|
307
|
+
if isinstance(blob_container, (IOBase, bytes)):
|
317
308
|
_content = blob_container
|
318
309
|
else:
|
319
310
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
320
311
|
|
321
|
-
|
312
|
+
_request = build_create_request(
|
322
313
|
resource_group_name=resource_group_name,
|
323
314
|
account_name=account_name,
|
324
315
|
container_name=container_name,
|
@@ -327,15 +318,15 @@ class BlobContainersOperations:
|
|
327
318
|
content_type=content_type,
|
328
319
|
json=_json,
|
329
320
|
content=_content,
|
330
|
-
template_url=self.create.metadata["url"],
|
331
321
|
headers=_headers,
|
332
322
|
params=_params,
|
333
323
|
)
|
334
|
-
|
335
|
-
|
324
|
+
_request = _convert_request(_request)
|
325
|
+
_request.url = self._client.format_url(_request.url)
|
336
326
|
|
327
|
+
_stream = False
|
337
328
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
338
|
-
|
329
|
+
_request, stream=_stream, **kwargs
|
339
330
|
)
|
340
331
|
|
341
332
|
response = pipeline_response.http_response
|
@@ -355,10 +346,6 @@ class BlobContainersOperations:
|
|
355
346
|
|
356
347
|
return deserialized # type: ignore
|
357
348
|
|
358
|
-
create.metadata = {
|
359
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
360
|
-
}
|
361
|
-
|
362
349
|
@overload
|
363
350
|
async def update(
|
364
351
|
self,
|
@@ -390,7 +377,6 @@ class BlobContainersOperations:
|
|
390
377
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
391
378
|
Default value is "application/json".
|
392
379
|
:paramtype content_type: str
|
393
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
394
380
|
:return: BlobContainer or the result of cls(response)
|
395
381
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
396
382
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -402,7 +388,7 @@ class BlobContainersOperations:
|
|
402
388
|
resource_group_name: str,
|
403
389
|
account_name: str,
|
404
390
|
container_name: str,
|
405
|
-
blob_container: IO,
|
391
|
+
blob_container: IO[bytes],
|
406
392
|
*,
|
407
393
|
content_type: str = "application/json",
|
408
394
|
**kwargs: Any
|
@@ -423,11 +409,10 @@ class BlobContainersOperations:
|
|
423
409
|
by a letter or number. Required.
|
424
410
|
:type container_name: str
|
425
411
|
:param blob_container: Properties to update for the blob container. Required.
|
426
|
-
:type blob_container: IO
|
412
|
+
:type blob_container: IO[bytes]
|
427
413
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
428
414
|
Default value is "application/json".
|
429
415
|
:paramtype content_type: str
|
430
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
431
416
|
:return: BlobContainer or the result of cls(response)
|
432
417
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
433
418
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -439,7 +424,7 @@ class BlobContainersOperations:
|
|
439
424
|
resource_group_name: str,
|
440
425
|
account_name: str,
|
441
426
|
container_name: str,
|
442
|
-
blob_container: Union[_models.BlobContainer, IO],
|
427
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
443
428
|
**kwargs: Any
|
444
429
|
) -> _models.BlobContainer:
|
445
430
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -458,17 +443,13 @@ class BlobContainersOperations:
|
|
458
443
|
by a letter or number. Required.
|
459
444
|
:type container_name: str
|
460
445
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
461
|
-
type or a IO type. Required.
|
462
|
-
:type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO
|
463
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
464
|
-
Default value is None.
|
465
|
-
:paramtype content_type: str
|
466
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
446
|
+
type or a IO[bytes] type. Required.
|
447
|
+
:type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO[bytes]
|
467
448
|
:return: BlobContainer or the result of cls(response)
|
468
449
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
469
450
|
:raises ~azure.core.exceptions.HttpResponseError:
|
470
451
|
"""
|
471
|
-
error_map = {
|
452
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
472
453
|
401: ClientAuthenticationError,
|
473
454
|
404: ResourceNotFoundError,
|
474
455
|
409: ResourceExistsError,
|
@@ -479,19 +460,19 @@ class BlobContainersOperations:
|
|
479
460
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
480
461
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
481
462
|
|
482
|
-
api_version:
|
463
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
483
464
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
484
465
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
485
466
|
|
486
467
|
content_type = content_type or "application/json"
|
487
468
|
_json = None
|
488
469
|
_content = None
|
489
|
-
if isinstance(blob_container, (
|
470
|
+
if isinstance(blob_container, (IOBase, bytes)):
|
490
471
|
_content = blob_container
|
491
472
|
else:
|
492
473
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
493
474
|
|
494
|
-
|
475
|
+
_request = build_update_request(
|
495
476
|
resource_group_name=resource_group_name,
|
496
477
|
account_name=account_name,
|
497
478
|
container_name=container_name,
|
@@ -500,15 +481,15 @@ class BlobContainersOperations:
|
|
500
481
|
content_type=content_type,
|
501
482
|
json=_json,
|
502
483
|
content=_content,
|
503
|
-
template_url=self.update.metadata["url"],
|
504
484
|
headers=_headers,
|
505
485
|
params=_params,
|
506
486
|
)
|
507
|
-
|
508
|
-
|
487
|
+
_request = _convert_request(_request)
|
488
|
+
_request.url = self._client.format_url(_request.url)
|
509
489
|
|
490
|
+
_stream = False
|
510
491
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
511
|
-
|
492
|
+
_request, stream=_stream, **kwargs
|
512
493
|
)
|
513
494
|
|
514
495
|
response = pipeline_response.http_response
|
@@ -520,13 +501,9 @@ class BlobContainersOperations:
|
|
520
501
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
521
502
|
|
522
503
|
if cls:
|
523
|
-
return cls(pipeline_response, deserialized, {})
|
524
|
-
|
525
|
-
return deserialized
|
504
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
526
505
|
|
527
|
-
|
528
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
529
|
-
}
|
506
|
+
return deserialized # type: ignore
|
530
507
|
|
531
508
|
@distributed_trace_async
|
532
509
|
async def get(
|
@@ -546,12 +523,11 @@ class BlobContainersOperations:
|
|
546
523
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
547
524
|
by a letter or number. Required.
|
548
525
|
:type container_name: str
|
549
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
550
526
|
:return: BlobContainer or the result of cls(response)
|
551
527
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
552
528
|
:raises ~azure.core.exceptions.HttpResponseError:
|
553
529
|
"""
|
554
|
-
error_map = {
|
530
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
555
531
|
401: ClientAuthenticationError,
|
556
532
|
404: ResourceNotFoundError,
|
557
533
|
409: ResourceExistsError,
|
@@ -562,24 +538,24 @@ class BlobContainersOperations:
|
|
562
538
|
_headers = kwargs.pop("headers", {}) or {}
|
563
539
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
564
540
|
|
565
|
-
api_version:
|
541
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
566
542
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
567
543
|
|
568
|
-
|
544
|
+
_request = build_get_request(
|
569
545
|
resource_group_name=resource_group_name,
|
570
546
|
account_name=account_name,
|
571
547
|
container_name=container_name,
|
572
548
|
subscription_id=self._config.subscription_id,
|
573
549
|
api_version=api_version,
|
574
|
-
template_url=self.get.metadata["url"],
|
575
550
|
headers=_headers,
|
576
551
|
params=_params,
|
577
552
|
)
|
578
|
-
|
579
|
-
|
553
|
+
_request = _convert_request(_request)
|
554
|
+
_request.url = self._client.format_url(_request.url)
|
580
555
|
|
556
|
+
_stream = False
|
581
557
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
582
|
-
|
558
|
+
_request, stream=_stream, **kwargs
|
583
559
|
)
|
584
560
|
|
585
561
|
response = pipeline_response.http_response
|
@@ -591,13 +567,9 @@ class BlobContainersOperations:
|
|
591
567
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
592
568
|
|
593
569
|
if cls:
|
594
|
-
return cls(pipeline_response, deserialized, {})
|
595
|
-
|
596
|
-
return deserialized
|
570
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
597
571
|
|
598
|
-
|
599
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
600
|
-
}
|
572
|
+
return deserialized # type: ignore
|
601
573
|
|
602
574
|
@distributed_trace_async
|
603
575
|
async def delete( # pylint: disable=inconsistent-return-statements
|
@@ -617,12 +589,11 @@ class BlobContainersOperations:
|
|
617
589
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
618
590
|
by a letter or number. Required.
|
619
591
|
:type container_name: str
|
620
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
621
592
|
:return: None or the result of cls(response)
|
622
593
|
:rtype: None
|
623
594
|
:raises ~azure.core.exceptions.HttpResponseError:
|
624
595
|
"""
|
625
|
-
error_map = {
|
596
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
626
597
|
401: ClientAuthenticationError,
|
627
598
|
404: ResourceNotFoundError,
|
628
599
|
409: ResourceExistsError,
|
@@ -633,24 +604,24 @@ class BlobContainersOperations:
|
|
633
604
|
_headers = kwargs.pop("headers", {}) or {}
|
634
605
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
635
606
|
|
636
|
-
api_version:
|
607
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
637
608
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
638
609
|
|
639
|
-
|
610
|
+
_request = build_delete_request(
|
640
611
|
resource_group_name=resource_group_name,
|
641
612
|
account_name=account_name,
|
642
613
|
container_name=container_name,
|
643
614
|
subscription_id=self._config.subscription_id,
|
644
615
|
api_version=api_version,
|
645
|
-
template_url=self.delete.metadata["url"],
|
646
616
|
headers=_headers,
|
647
617
|
params=_params,
|
648
618
|
)
|
649
|
-
|
650
|
-
|
619
|
+
_request = _convert_request(_request)
|
620
|
+
_request.url = self._client.format_url(_request.url)
|
651
621
|
|
622
|
+
_stream = False
|
652
623
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
653
|
-
|
624
|
+
_request, stream=_stream, **kwargs
|
654
625
|
)
|
655
626
|
|
656
627
|
response = pipeline_response.http_response
|
@@ -660,11 +631,7 @@ class BlobContainersOperations:
|
|
660
631
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
661
632
|
|
662
633
|
if cls:
|
663
|
-
return cls(pipeline_response, None, {})
|
664
|
-
|
665
|
-
delete.metadata = {
|
666
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
667
|
-
}
|
634
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
668
635
|
|
669
636
|
@overload
|
670
637
|
async def set_legal_hold(
|
@@ -698,7 +665,6 @@ class BlobContainersOperations:
|
|
698
665
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
699
666
|
Default value is "application/json".
|
700
667
|
:paramtype content_type: str
|
701
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
702
668
|
:return: LegalHold or the result of cls(response)
|
703
669
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
704
670
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -710,7 +676,7 @@ class BlobContainersOperations:
|
|
710
676
|
resource_group_name: str,
|
711
677
|
account_name: str,
|
712
678
|
container_name: str,
|
713
|
-
legal_hold: IO,
|
679
|
+
legal_hold: IO[bytes],
|
714
680
|
*,
|
715
681
|
content_type: str = "application/json",
|
716
682
|
**kwargs: Any
|
@@ -732,11 +698,10 @@ class BlobContainersOperations:
|
|
732
698
|
by a letter or number. Required.
|
733
699
|
:type container_name: str
|
734
700
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
735
|
-
:type legal_hold: IO
|
701
|
+
:type legal_hold: IO[bytes]
|
736
702
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
737
703
|
Default value is "application/json".
|
738
704
|
:paramtype content_type: str
|
739
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
740
705
|
:return: LegalHold or the result of cls(response)
|
741
706
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
742
707
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -748,7 +713,7 @@ class BlobContainersOperations:
|
|
748
713
|
resource_group_name: str,
|
749
714
|
account_name: str,
|
750
715
|
container_name: str,
|
751
|
-
legal_hold: Union[_models.LegalHold, IO],
|
716
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
752
717
|
**kwargs: Any
|
753
718
|
) -> _models.LegalHold:
|
754
719
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -768,17 +733,13 @@ class BlobContainersOperations:
|
|
768
733
|
by a letter or number. Required.
|
769
734
|
:type container_name: str
|
770
735
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
771
|
-
LegalHold type or a IO type. Required.
|
772
|
-
:type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO
|
773
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
774
|
-
Default value is None.
|
775
|
-
:paramtype content_type: str
|
776
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
736
|
+
LegalHold type or a IO[bytes] type. Required.
|
737
|
+
:type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO[bytes]
|
777
738
|
:return: LegalHold or the result of cls(response)
|
778
739
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
779
740
|
:raises ~azure.core.exceptions.HttpResponseError:
|
780
741
|
"""
|
781
|
-
error_map = {
|
742
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
782
743
|
401: ClientAuthenticationError,
|
783
744
|
404: ResourceNotFoundError,
|
784
745
|
409: ResourceExistsError,
|
@@ -789,19 +750,19 @@ class BlobContainersOperations:
|
|
789
750
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
790
751
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
791
752
|
|
792
|
-
api_version:
|
753
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
793
754
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
794
755
|
cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
|
795
756
|
|
796
757
|
content_type = content_type or "application/json"
|
797
758
|
_json = None
|
798
759
|
_content = None
|
799
|
-
if isinstance(legal_hold, (
|
760
|
+
if isinstance(legal_hold, (IOBase, bytes)):
|
800
761
|
_content = legal_hold
|
801
762
|
else:
|
802
763
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
803
764
|
|
804
|
-
|
765
|
+
_request = build_set_legal_hold_request(
|
805
766
|
resource_group_name=resource_group_name,
|
806
767
|
account_name=account_name,
|
807
768
|
container_name=container_name,
|
@@ -810,15 +771,15 @@ class BlobContainersOperations:
|
|
810
771
|
content_type=content_type,
|
811
772
|
json=_json,
|
812
773
|
content=_content,
|
813
|
-
template_url=self.set_legal_hold.metadata["url"],
|
814
774
|
headers=_headers,
|
815
775
|
params=_params,
|
816
776
|
)
|
817
|
-
|
818
|
-
|
777
|
+
_request = _convert_request(_request)
|
778
|
+
_request.url = self._client.format_url(_request.url)
|
819
779
|
|
780
|
+
_stream = False
|
820
781
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
821
|
-
|
782
|
+
_request, stream=_stream, **kwargs
|
822
783
|
)
|
823
784
|
|
824
785
|
response = pipeline_response.http_response
|
@@ -830,13 +791,9 @@ class BlobContainersOperations:
|
|
830
791
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
831
792
|
|
832
793
|
if cls:
|
833
|
-
return cls(pipeline_response, deserialized, {})
|
834
|
-
|
835
|
-
return deserialized
|
794
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
836
795
|
|
837
|
-
|
838
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
839
|
-
}
|
796
|
+
return deserialized # type: ignore
|
840
797
|
|
841
798
|
@overload
|
842
799
|
async def clear_legal_hold(
|
@@ -869,7 +826,6 @@ class BlobContainersOperations:
|
|
869
826
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
870
827
|
Default value is "application/json".
|
871
828
|
:paramtype content_type: str
|
872
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
873
829
|
:return: LegalHold or the result of cls(response)
|
874
830
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
875
831
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -881,7 +837,7 @@ class BlobContainersOperations:
|
|
881
837
|
resource_group_name: str,
|
882
838
|
account_name: str,
|
883
839
|
container_name: str,
|
884
|
-
legal_hold: IO,
|
840
|
+
legal_hold: IO[bytes],
|
885
841
|
*,
|
886
842
|
content_type: str = "application/json",
|
887
843
|
**kwargs: Any
|
@@ -902,11 +858,10 @@ class BlobContainersOperations:
|
|
902
858
|
by a letter or number. Required.
|
903
859
|
:type container_name: str
|
904
860
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
905
|
-
:type legal_hold: IO
|
861
|
+
:type legal_hold: IO[bytes]
|
906
862
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
907
863
|
Default value is "application/json".
|
908
864
|
:paramtype content_type: str
|
909
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
910
865
|
:return: LegalHold or the result of cls(response)
|
911
866
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
912
867
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -918,7 +873,7 @@ class BlobContainersOperations:
|
|
918
873
|
resource_group_name: str,
|
919
874
|
account_name: str,
|
920
875
|
container_name: str,
|
921
|
-
legal_hold: Union[_models.LegalHold, IO],
|
876
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
922
877
|
**kwargs: Any
|
923
878
|
) -> _models.LegalHold:
|
924
879
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -937,17 +892,13 @@ class BlobContainersOperations:
|
|
937
892
|
by a letter or number. Required.
|
938
893
|
:type container_name: str
|
939
894
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
940
|
-
LegalHold type or a IO type. Required.
|
941
|
-
:type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO
|
942
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
943
|
-
Default value is None.
|
944
|
-
:paramtype content_type: str
|
945
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
895
|
+
LegalHold type or a IO[bytes] type. Required.
|
896
|
+
:type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO[bytes]
|
946
897
|
:return: LegalHold or the result of cls(response)
|
947
898
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
948
899
|
:raises ~azure.core.exceptions.HttpResponseError:
|
949
900
|
"""
|
950
|
-
error_map = {
|
901
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
951
902
|
401: ClientAuthenticationError,
|
952
903
|
404: ResourceNotFoundError,
|
953
904
|
409: ResourceExistsError,
|
@@ -958,19 +909,19 @@ class BlobContainersOperations:
|
|
958
909
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
959
910
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
960
911
|
|
961
|
-
api_version:
|
912
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
962
913
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
963
914
|
cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
|
964
915
|
|
965
916
|
content_type = content_type or "application/json"
|
966
917
|
_json = None
|
967
918
|
_content = None
|
968
|
-
if isinstance(legal_hold, (
|
919
|
+
if isinstance(legal_hold, (IOBase, bytes)):
|
969
920
|
_content = legal_hold
|
970
921
|
else:
|
971
922
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
972
923
|
|
973
|
-
|
924
|
+
_request = build_clear_legal_hold_request(
|
974
925
|
resource_group_name=resource_group_name,
|
975
926
|
account_name=account_name,
|
976
927
|
container_name=container_name,
|
@@ -979,15 +930,15 @@ class BlobContainersOperations:
|
|
979
930
|
content_type=content_type,
|
980
931
|
json=_json,
|
981
932
|
content=_content,
|
982
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
983
933
|
headers=_headers,
|
984
934
|
params=_params,
|
985
935
|
)
|
986
|
-
|
987
|
-
|
936
|
+
_request = _convert_request(_request)
|
937
|
+
_request.url = self._client.format_url(_request.url)
|
988
938
|
|
939
|
+
_stream = False
|
989
940
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
990
|
-
|
941
|
+
_request, stream=_stream, **kwargs
|
991
942
|
)
|
992
943
|
|
993
944
|
response = pipeline_response.http_response
|
@@ -999,13 +950,9 @@ class BlobContainersOperations:
|
|
999
950
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1000
951
|
|
1001
952
|
if cls:
|
1002
|
-
return cls(pipeline_response, deserialized, {})
|
1003
|
-
|
1004
|
-
return deserialized
|
953
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1005
954
|
|
1006
|
-
|
1007
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
1008
|
-
}
|
955
|
+
return deserialized # type: ignore
|
1009
956
|
|
1010
957
|
@overload
|
1011
958
|
async def create_or_update_immutability_policy(
|
@@ -1048,7 +995,6 @@ class BlobContainersOperations:
|
|
1048
995
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1049
996
|
Default value is "application/json".
|
1050
997
|
:paramtype content_type: str
|
1051
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1052
998
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1053
999
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1054
1000
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1062,7 +1008,7 @@ class BlobContainersOperations:
|
|
1062
1008
|
container_name: str,
|
1063
1009
|
immutability_policy_name: Union[str, _models.Enum16],
|
1064
1010
|
if_match: Optional[str] = None,
|
1065
|
-
parameters: Optional[IO] = None,
|
1011
|
+
parameters: Optional[IO[bytes]] = None,
|
1066
1012
|
*,
|
1067
1013
|
content_type: str = "application/json",
|
1068
1014
|
**kwargs: Any
|
@@ -1091,11 +1037,10 @@ class BlobContainersOperations:
|
|
1091
1037
|
:type if_match: str
|
1092
1038
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1093
1039
|
container. Default value is None.
|
1094
|
-
:type parameters: IO
|
1040
|
+
:type parameters: IO[bytes]
|
1095
1041
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1096
1042
|
Default value is "application/json".
|
1097
1043
|
:paramtype content_type: str
|
1098
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1099
1044
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1100
1045
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1101
1046
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1109,7 +1054,7 @@ class BlobContainersOperations:
|
|
1109
1054
|
container_name: str,
|
1110
1055
|
immutability_policy_name: Union[str, _models.Enum16],
|
1111
1056
|
if_match: Optional[str] = None,
|
1112
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1057
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1113
1058
|
**kwargs: Any
|
1114
1059
|
) -> _models.ImmutabilityPolicy:
|
1115
1060
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1135,17 +1080,13 @@ class BlobContainersOperations:
|
|
1135
1080
|
omitted, this operation will always be applied. Default value is None.
|
1136
1081
|
:type if_match: str
|
1137
1082
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1138
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1139
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO
|
1140
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1141
|
-
Default value is None.
|
1142
|
-
:paramtype content_type: str
|
1143
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1083
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1084
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO[bytes]
|
1144
1085
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1145
1086
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1146
1087
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1147
1088
|
"""
|
1148
|
-
error_map = {
|
1089
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1149
1090
|
401: ClientAuthenticationError,
|
1150
1091
|
404: ResourceNotFoundError,
|
1151
1092
|
409: ResourceExistsError,
|
@@ -1156,14 +1097,14 @@ class BlobContainersOperations:
|
|
1156
1097
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1157
1098
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1158
1099
|
|
1159
|
-
api_version:
|
1100
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1160
1101
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1161
1102
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1162
1103
|
|
1163
1104
|
content_type = content_type or "application/json"
|
1164
1105
|
_json = None
|
1165
1106
|
_content = None
|
1166
|
-
if isinstance(parameters, (
|
1107
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1167
1108
|
_content = parameters
|
1168
1109
|
else:
|
1169
1110
|
if parameters is not None:
|
@@ -1171,7 +1112,7 @@ class BlobContainersOperations:
|
|
1171
1112
|
else:
|
1172
1113
|
_json = None
|
1173
1114
|
|
1174
|
-
|
1115
|
+
_request = build_create_or_update_immutability_policy_request(
|
1175
1116
|
resource_group_name=resource_group_name,
|
1176
1117
|
account_name=account_name,
|
1177
1118
|
container_name=container_name,
|
@@ -1182,15 +1123,15 @@ class BlobContainersOperations:
|
|
1182
1123
|
content_type=content_type,
|
1183
1124
|
json=_json,
|
1184
1125
|
content=_content,
|
1185
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1186
1126
|
headers=_headers,
|
1187
1127
|
params=_params,
|
1188
1128
|
)
|
1189
|
-
|
1190
|
-
|
1129
|
+
_request = _convert_request(_request)
|
1130
|
+
_request.url = self._client.format_url(_request.url)
|
1191
1131
|
|
1132
|
+
_stream = False
|
1192
1133
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1193
|
-
|
1134
|
+
_request, stream=_stream, **kwargs
|
1194
1135
|
)
|
1195
1136
|
|
1196
1137
|
response = pipeline_response.http_response
|
@@ -1205,13 +1146,9 @@ class BlobContainersOperations:
|
|
1205
1146
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1206
1147
|
|
1207
1148
|
if cls:
|
1208
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1209
|
-
|
1210
|
-
return deserialized
|
1149
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1211
1150
|
|
1212
|
-
|
1213
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1214
|
-
}
|
1151
|
+
return deserialized # type: ignore
|
1215
1152
|
|
1216
1153
|
@distributed_trace_async
|
1217
1154
|
async def get_immutability_policy(
|
@@ -1245,12 +1182,11 @@ class BlobContainersOperations:
|
|
1245
1182
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1246
1183
|
omitted, this operation will always be applied. Default value is None.
|
1247
1184
|
:type if_match: str
|
1248
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1249
1185
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1250
1186
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1251
1187
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1252
1188
|
"""
|
1253
|
-
error_map = {
|
1189
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1254
1190
|
401: ClientAuthenticationError,
|
1255
1191
|
404: ResourceNotFoundError,
|
1256
1192
|
409: ResourceExistsError,
|
@@ -1261,10 +1197,10 @@ class BlobContainersOperations:
|
|
1261
1197
|
_headers = kwargs.pop("headers", {}) or {}
|
1262
1198
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1263
1199
|
|
1264
|
-
api_version:
|
1200
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1265
1201
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1266
1202
|
|
1267
|
-
|
1203
|
+
_request = build_get_immutability_policy_request(
|
1268
1204
|
resource_group_name=resource_group_name,
|
1269
1205
|
account_name=account_name,
|
1270
1206
|
container_name=container_name,
|
@@ -1272,15 +1208,15 @@ class BlobContainersOperations:
|
|
1272
1208
|
subscription_id=self._config.subscription_id,
|
1273
1209
|
if_match=if_match,
|
1274
1210
|
api_version=api_version,
|
1275
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1276
1211
|
headers=_headers,
|
1277
1212
|
params=_params,
|
1278
1213
|
)
|
1279
|
-
|
1280
|
-
|
1214
|
+
_request = _convert_request(_request)
|
1215
|
+
_request.url = self._client.format_url(_request.url)
|
1281
1216
|
|
1217
|
+
_stream = False
|
1282
1218
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1283
|
-
|
1219
|
+
_request, stream=_stream, **kwargs
|
1284
1220
|
)
|
1285
1221
|
|
1286
1222
|
response = pipeline_response.http_response
|
@@ -1295,13 +1231,9 @@ class BlobContainersOperations:
|
|
1295
1231
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1296
1232
|
|
1297
1233
|
if cls:
|
1298
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1299
|
-
|
1300
|
-
return deserialized
|
1234
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1301
1235
|
|
1302
|
-
|
1303
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1304
|
-
}
|
1236
|
+
return deserialized # type: ignore
|
1305
1237
|
|
1306
1238
|
@distributed_trace_async
|
1307
1239
|
async def delete_immutability_policy(
|
@@ -1337,12 +1269,11 @@ class BlobContainersOperations:
|
|
1337
1269
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1338
1270
|
omitted, this operation will always be applied. Required.
|
1339
1271
|
:type if_match: str
|
1340
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1341
1272
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1342
1273
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1343
1274
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1344
1275
|
"""
|
1345
|
-
error_map = {
|
1276
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1346
1277
|
401: ClientAuthenticationError,
|
1347
1278
|
404: ResourceNotFoundError,
|
1348
1279
|
409: ResourceExistsError,
|
@@ -1353,10 +1284,10 @@ class BlobContainersOperations:
|
|
1353
1284
|
_headers = kwargs.pop("headers", {}) or {}
|
1354
1285
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1355
1286
|
|
1356
|
-
api_version:
|
1287
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1357
1288
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1358
1289
|
|
1359
|
-
|
1290
|
+
_request = build_delete_immutability_policy_request(
|
1360
1291
|
resource_group_name=resource_group_name,
|
1361
1292
|
account_name=account_name,
|
1362
1293
|
container_name=container_name,
|
@@ -1364,15 +1295,15 @@ class BlobContainersOperations:
|
|
1364
1295
|
subscription_id=self._config.subscription_id,
|
1365
1296
|
if_match=if_match,
|
1366
1297
|
api_version=api_version,
|
1367
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1368
1298
|
headers=_headers,
|
1369
1299
|
params=_params,
|
1370
1300
|
)
|
1371
|
-
|
1372
|
-
|
1301
|
+
_request = _convert_request(_request)
|
1302
|
+
_request.url = self._client.format_url(_request.url)
|
1373
1303
|
|
1304
|
+
_stream = False
|
1374
1305
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1375
|
-
|
1306
|
+
_request, stream=_stream, **kwargs
|
1376
1307
|
)
|
1377
1308
|
|
1378
1309
|
response = pipeline_response.http_response
|
@@ -1387,13 +1318,9 @@ class BlobContainersOperations:
|
|
1387
1318
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1388
1319
|
|
1389
1320
|
if cls:
|
1390
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1391
|
-
|
1392
|
-
return deserialized
|
1321
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1393
1322
|
|
1394
|
-
|
1395
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1396
|
-
}
|
1323
|
+
return deserialized # type: ignore
|
1397
1324
|
|
1398
1325
|
@distributed_trace_async
|
1399
1326
|
async def lock_immutability_policy(
|
@@ -1418,12 +1345,11 @@ class BlobContainersOperations:
|
|
1418
1345
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1419
1346
|
omitted, this operation will always be applied. Required.
|
1420
1347
|
:type if_match: str
|
1421
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1422
1348
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1423
1349
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1424
1350
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1425
1351
|
"""
|
1426
|
-
error_map = {
|
1352
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1427
1353
|
401: ClientAuthenticationError,
|
1428
1354
|
404: ResourceNotFoundError,
|
1429
1355
|
409: ResourceExistsError,
|
@@ -1434,25 +1360,25 @@ class BlobContainersOperations:
|
|
1434
1360
|
_headers = kwargs.pop("headers", {}) or {}
|
1435
1361
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1436
1362
|
|
1437
|
-
api_version:
|
1363
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1438
1364
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1439
1365
|
|
1440
|
-
|
1366
|
+
_request = build_lock_immutability_policy_request(
|
1441
1367
|
resource_group_name=resource_group_name,
|
1442
1368
|
account_name=account_name,
|
1443
1369
|
container_name=container_name,
|
1444
1370
|
subscription_id=self._config.subscription_id,
|
1445
1371
|
if_match=if_match,
|
1446
1372
|
api_version=api_version,
|
1447
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1448
1373
|
headers=_headers,
|
1449
1374
|
params=_params,
|
1450
1375
|
)
|
1451
|
-
|
1452
|
-
|
1376
|
+
_request = _convert_request(_request)
|
1377
|
+
_request.url = self._client.format_url(_request.url)
|
1453
1378
|
|
1379
|
+
_stream = False
|
1454
1380
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1455
|
-
|
1381
|
+
_request, stream=_stream, **kwargs
|
1456
1382
|
)
|
1457
1383
|
|
1458
1384
|
response = pipeline_response.http_response
|
@@ -1467,13 +1393,9 @@ class BlobContainersOperations:
|
|
1467
1393
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1468
1394
|
|
1469
1395
|
if cls:
|
1470
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1471
|
-
|
1472
|
-
return deserialized
|
1396
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1473
1397
|
|
1474
|
-
|
1475
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
1476
|
-
}
|
1398
|
+
return deserialized # type: ignore
|
1477
1399
|
|
1478
1400
|
@overload
|
1479
1401
|
async def extend_immutability_policy(
|
@@ -1513,7 +1435,6 @@ class BlobContainersOperations:
|
|
1513
1435
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1514
1436
|
Default value is "application/json".
|
1515
1437
|
:paramtype content_type: str
|
1516
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1517
1438
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1518
1439
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1519
1440
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1526,7 +1447,7 @@ class BlobContainersOperations:
|
|
1526
1447
|
account_name: str,
|
1527
1448
|
container_name: str,
|
1528
1449
|
if_match: str,
|
1529
|
-
parameters: Optional[IO] = None,
|
1450
|
+
parameters: Optional[IO[bytes]] = None,
|
1530
1451
|
*,
|
1531
1452
|
content_type: str = "application/json",
|
1532
1453
|
**kwargs: Any
|
@@ -1553,11 +1474,10 @@ class BlobContainersOperations:
|
|
1553
1474
|
:type if_match: str
|
1554
1475
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1555
1476
|
container. Default value is None.
|
1556
|
-
:type parameters: IO
|
1477
|
+
:type parameters: IO[bytes]
|
1557
1478
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1558
1479
|
Default value is "application/json".
|
1559
1480
|
:paramtype content_type: str
|
1560
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1561
1481
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1562
1482
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1563
1483
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1570,7 +1490,7 @@ class BlobContainersOperations:
|
|
1570
1490
|
account_name: str,
|
1571
1491
|
container_name: str,
|
1572
1492
|
if_match: str,
|
1573
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1493
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1574
1494
|
**kwargs: Any
|
1575
1495
|
) -> _models.ImmutabilityPolicy:
|
1576
1496
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -1594,17 +1514,13 @@ class BlobContainersOperations:
|
|
1594
1514
|
omitted, this operation will always be applied. Required.
|
1595
1515
|
:type if_match: str
|
1596
1516
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1597
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1598
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO
|
1599
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1600
|
-
Default value is None.
|
1601
|
-
:paramtype content_type: str
|
1602
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1517
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1518
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO[bytes]
|
1603
1519
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1604
1520
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1605
1521
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1606
1522
|
"""
|
1607
|
-
error_map = {
|
1523
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1608
1524
|
401: ClientAuthenticationError,
|
1609
1525
|
404: ResourceNotFoundError,
|
1610
1526
|
409: ResourceExistsError,
|
@@ -1615,14 +1531,14 @@ class BlobContainersOperations:
|
|
1615
1531
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1616
1532
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1617
1533
|
|
1618
|
-
api_version:
|
1534
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1619
1535
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1620
1536
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1621
1537
|
|
1622
1538
|
content_type = content_type or "application/json"
|
1623
1539
|
_json = None
|
1624
1540
|
_content = None
|
1625
|
-
if isinstance(parameters, (
|
1541
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1626
1542
|
_content = parameters
|
1627
1543
|
else:
|
1628
1544
|
if parameters is not None:
|
@@ -1630,7 +1546,7 @@ class BlobContainersOperations:
|
|
1630
1546
|
else:
|
1631
1547
|
_json = None
|
1632
1548
|
|
1633
|
-
|
1549
|
+
_request = build_extend_immutability_policy_request(
|
1634
1550
|
resource_group_name=resource_group_name,
|
1635
1551
|
account_name=account_name,
|
1636
1552
|
container_name=container_name,
|
@@ -1640,15 +1556,15 @@ class BlobContainersOperations:
|
|
1640
1556
|
content_type=content_type,
|
1641
1557
|
json=_json,
|
1642
1558
|
content=_content,
|
1643
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
1644
1559
|
headers=_headers,
|
1645
1560
|
params=_params,
|
1646
1561
|
)
|
1647
|
-
|
1648
|
-
|
1562
|
+
_request = _convert_request(_request)
|
1563
|
+
_request.url = self._client.format_url(_request.url)
|
1649
1564
|
|
1565
|
+
_stream = False
|
1650
1566
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1651
|
-
|
1567
|
+
_request, stream=_stream, **kwargs
|
1652
1568
|
)
|
1653
1569
|
|
1654
1570
|
response = pipeline_response.http_response
|
@@ -1663,13 +1579,9 @@ class BlobContainersOperations:
|
|
1663
1579
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1664
1580
|
|
1665
1581
|
if cls:
|
1666
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1582
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1667
1583
|
|
1668
|
-
return deserialized
|
1669
|
-
|
1670
|
-
extend_immutability_policy.metadata = {
|
1671
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
1672
|
-
}
|
1584
|
+
return deserialized # type: ignore
|
1673
1585
|
|
1674
1586
|
@overload
|
1675
1587
|
async def lease(
|
@@ -1702,7 +1614,6 @@ class BlobContainersOperations:
|
|
1702
1614
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1703
1615
|
Default value is "application/json".
|
1704
1616
|
:paramtype content_type: str
|
1705
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1706
1617
|
:return: LeaseContainerResponse or the result of cls(response)
|
1707
1618
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
|
1708
1619
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1714,7 +1625,7 @@ class BlobContainersOperations:
|
|
1714
1625
|
resource_group_name: str,
|
1715
1626
|
account_name: str,
|
1716
1627
|
container_name: str,
|
1717
|
-
parameters: Optional[IO] = None,
|
1628
|
+
parameters: Optional[IO[bytes]] = None,
|
1718
1629
|
*,
|
1719
1630
|
content_type: str = "application/json",
|
1720
1631
|
**kwargs: Any
|
@@ -1735,11 +1646,10 @@ class BlobContainersOperations:
|
|
1735
1646
|
by a letter or number. Required.
|
1736
1647
|
:type container_name: str
|
1737
1648
|
:param parameters: Lease Container request body. Default value is None.
|
1738
|
-
:type parameters: IO
|
1649
|
+
:type parameters: IO[bytes]
|
1739
1650
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1740
1651
|
Default value is "application/json".
|
1741
1652
|
:paramtype content_type: str
|
1742
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1743
1653
|
:return: LeaseContainerResponse or the result of cls(response)
|
1744
1654
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
|
1745
1655
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1751,7 +1661,7 @@ class BlobContainersOperations:
|
|
1751
1661
|
resource_group_name: str,
|
1752
1662
|
account_name: str,
|
1753
1663
|
container_name: str,
|
1754
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
1664
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
1755
1665
|
**kwargs: Any
|
1756
1666
|
) -> _models.LeaseContainerResponse:
|
1757
1667
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -1769,18 +1679,14 @@ class BlobContainersOperations:
|
|
1769
1679
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1770
1680
|
by a letter or number. Required.
|
1771
1681
|
:type container_name: str
|
1772
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
1773
|
-
type. Default value is None.
|
1774
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerRequest or IO
|
1775
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1776
|
-
Default value is None.
|
1777
|
-
:paramtype content_type: str
|
1778
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1682
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
1683
|
+
IO[bytes] type. Default value is None.
|
1684
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerRequest or IO[bytes]
|
1779
1685
|
:return: LeaseContainerResponse or the result of cls(response)
|
1780
1686
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
|
1781
1687
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1782
1688
|
"""
|
1783
|
-
error_map = {
|
1689
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1784
1690
|
401: ClientAuthenticationError,
|
1785
1691
|
404: ResourceNotFoundError,
|
1786
1692
|
409: ResourceExistsError,
|
@@ -1791,14 +1697,14 @@ class BlobContainersOperations:
|
|
1791
1697
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1792
1698
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1793
1699
|
|
1794
|
-
api_version:
|
1700
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1795
1701
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1796
1702
|
cls: ClsType[_models.LeaseContainerResponse] = kwargs.pop("cls", None)
|
1797
1703
|
|
1798
1704
|
content_type = content_type or "application/json"
|
1799
1705
|
_json = None
|
1800
1706
|
_content = None
|
1801
|
-
if isinstance(parameters, (
|
1707
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1802
1708
|
_content = parameters
|
1803
1709
|
else:
|
1804
1710
|
if parameters is not None:
|
@@ -1806,7 +1712,7 @@ class BlobContainersOperations:
|
|
1806
1712
|
else:
|
1807
1713
|
_json = None
|
1808
1714
|
|
1809
|
-
|
1715
|
+
_request = build_lease_request(
|
1810
1716
|
resource_group_name=resource_group_name,
|
1811
1717
|
account_name=account_name,
|
1812
1718
|
container_name=container_name,
|
@@ -1815,15 +1721,15 @@ class BlobContainersOperations:
|
|
1815
1721
|
content_type=content_type,
|
1816
1722
|
json=_json,
|
1817
1723
|
content=_content,
|
1818
|
-
template_url=self.lease.metadata["url"],
|
1819
1724
|
headers=_headers,
|
1820
1725
|
params=_params,
|
1821
1726
|
)
|
1822
|
-
|
1823
|
-
|
1727
|
+
_request = _convert_request(_request)
|
1728
|
+
_request.url = self._client.format_url(_request.url)
|
1824
1729
|
|
1730
|
+
_stream = False
|
1825
1731
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1826
|
-
|
1732
|
+
_request, stream=_stream, **kwargs
|
1827
1733
|
)
|
1828
1734
|
|
1829
1735
|
response = pipeline_response.http_response
|
@@ -1835,10 +1741,6 @@ class BlobContainersOperations:
|
|
1835
1741
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
1836
1742
|
|
1837
1743
|
if cls:
|
1838
|
-
return cls(pipeline_response, deserialized, {})
|
1839
|
-
|
1840
|
-
return deserialized
|
1744
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1841
1745
|
|
1842
|
-
|
1843
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
1844
|
-
}
|
1746
|
+
return deserialized # type: ignore
|