azure-mgmt-storage 21.1.0b1__py3-none-any.whl → 21.2.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azure/mgmt/storage/_configuration.py +2 -3
- azure/mgmt/storage/_serialization.py +66 -60
- azure/mgmt/storage/_storage_management_client.py +232 -26
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_configuration.py +2 -3
- azure/mgmt/storage/aio/_storage_management_client.py +232 -26
- azure/mgmt/storage/models.py +1 -1
- azure/mgmt/storage/v2015_06_15/_configuration.py +4 -11
- azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/_storage_management.py +25 -5
- azure/mgmt/storage/v2015_06_15/_vendor.py +0 -14
- azure/mgmt/storage/v2015_06_15/_version.py +1 -1
- azure/mgmt/storage/v2015_06_15/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +27 -5
- azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +132 -213
- azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
- azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +151 -232
- azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2016_01_01/_configuration.py +4 -11
- azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/_storage_management_client.py +25 -5
- azure/mgmt/storage/v2016_01_01/_vendor.py +0 -14
- azure/mgmt/storage/v2016_01_01/_version.py +1 -1
- azure/mgmt/storage/v2016_01_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +27 -5
- azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +132 -213
- azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
- azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +151 -232
- azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2016_12_01/_configuration.py +4 -11
- azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/_storage_management.py +25 -5
- azure/mgmt/storage/v2016_12_01/_vendor.py +0 -14
- azure/mgmt/storage/v2016_12_01/_version.py +1 -1
- azure/mgmt/storage/v2016_12_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +27 -5
- azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +162 -263
- azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
- azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +185 -286
- azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2017_06_01/_configuration.py +4 -11
- azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/_storage_management.py +27 -7
- azure/mgmt/storage/v2017_06_01/_vendor.py +0 -14
- azure/mgmt/storage/v2017_06_01/_version.py +1 -1
- azure/mgmt/storage/v2017_06_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +29 -7
- azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +162 -263
- azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_06_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +185 -286
- azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2017_10_01/_configuration.py +4 -11
- azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/_storage_management.py +27 -7
- azure/mgmt/storage/v2017_10_01/_vendor.py +0 -14
- azure/mgmt/storage/v2017_10_01/_version.py +1 -1
- azure/mgmt/storage/v2017_10_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +29 -7
- azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +162 -263
- azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +20 -22
- azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_10_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +185 -286
- azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +23 -25
- azure/mgmt/storage/v2018_02_01/_configuration.py +4 -11
- azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/_storage_management_client.py +30 -8
- azure/mgmt/storage/v2018_02_01/_vendor.py +0 -14
- azure/mgmt/storage/v2018_02_01/_version.py +1 -1
- azure/mgmt/storage/v2018_02_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +32 -8
- azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +166 -264
- azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +162 -263
- azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +34 -41
- azure/mgmt/storage/v2018_02_01/models/_models_py3.py +28 -34
- azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +194 -292
- azure/mgmt/storage/v2018_02_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +185 -286
- azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +39 -46
- azure/mgmt/storage/v2018_03_01_preview/_configuration.py +4 -11
- azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +41 -8
- azure/mgmt/storage/v2018_03_01_preview/_vendor.py +0 -14
- azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +43 -8
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/__init__.py +2 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +182 -277
- azure/mgmt/storage/{v2018_07_01 → v2018_03_01_preview}/aio/operations/_management_policies_operations.py +55 -72
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +21 -23
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +21 -23
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +209 -330
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +36 -43
- azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +30 -34
- azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/operations/__init__.py +2 -0
- azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +210 -331
- azure/mgmt/storage/{v2018_07_01 → v2018_03_01_preview}/operations/_management_policies_operations.py +62 -85
- azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +22 -26
- azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +24 -28
- azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +239 -388
- azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +41 -52
- azure/mgmt/storage/v2018_07_01/_configuration.py +9 -4
- azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/_storage_management_client.py +36 -16
- azure/mgmt/storage/v2018_07_01/_vendor.py +0 -14
- azure/mgmt/storage/v2018_07_01/_version.py +1 -1
- azure/mgmt/storage/v2018_07_01/aio/_configuration.py +9 -4
- azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +38 -16
- azure/mgmt/storage/v2018_07_01/aio/operations/__init__.py +0 -2
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +166 -264
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +31 -44
- azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +31 -21
- azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +31 -21
- azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +195 -289
- azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +31 -23
- azure/mgmt/storage/v2018_07_01/models/__init__.py +0 -10
- azure/mgmt/storage/v2018_07_01/models/_models_py3.py +30 -164
- azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +1 -7
- azure/mgmt/storage/v2018_07_01/operations/__init__.py +0 -2
- azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +194 -292
- azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +36 -49
- azure/mgmt/storage/v2018_07_01/operations/_operations.py +32 -22
- azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +34 -24
- azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +220 -314
- azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +34 -26
- azure/mgmt/storage/v2018_11_01/_configuration.py +4 -11
- azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/_storage_management_client.py +34 -10
- azure/mgmt/storage/v2018_11_01/_vendor.py +0 -14
- azure/mgmt/storage/v2018_11_01/_version.py +1 -1
- azure/mgmt/storage/v2018_11_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +36 -10
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +164 -262
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +31 -44
- azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +182 -304
- azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2018_11_01/models/_models_py3.py +37 -43
- azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +192 -290
- azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +36 -49
- azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2018_11_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +210 -332
- azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2019_04_01/_configuration.py +4 -11
- azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/_storage_management_client.py +40 -12
- azure/mgmt/storage/v2019_04_01/_vendor.py +0 -14
- azure/mgmt/storage/v2019_04_01/_version.py +1 -1
- azure/mgmt/storage/v2019_04_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +42 -12
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +169 -267
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +68 -101
- azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +183 -304
- azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2019_04_01/models/_models_py3.py +42 -48
- azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +197 -295
- azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +79 -112
- azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2019_04_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +211 -332
- azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2019_06_01/_configuration.py +4 -11
- azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/_storage_management_client.py +54 -22
- azure/mgmt/storage/v2019_06_01/_vendor.py +0 -14
- azure/mgmt/storage/v2019_06_01/_version.py +1 -1
- azure/mgmt/storage/v2019_06_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +56 -22
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +169 -267
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +82 -125
- azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +40 -58
- azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +203 -357
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +40 -58
- azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2019_06_01/models/_models_py3.py +62 -68
- azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +197 -295
- azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +95 -138
- azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2019_06_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +47 -65
- azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +233 -387
- azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +47 -65
- azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2020_08_01_preview/_configuration.py +4 -11
- azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +64 -24
- azure/mgmt/storage/v2020_08_01_preview/_vendor.py +0 -14
- azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +66 -24
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +185 -280
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +58 -80
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +49 -66
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +31 -38
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +64 -90
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +45 -62
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +88 -131
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +42 -60
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +59 -80
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +21 -23
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +57 -80
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +16 -20
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +73 -106
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +44 -61
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +21 -23
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +221 -374
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +60 -84
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +44 -61
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +21 -25
- azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +64 -86
- azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +213 -334
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +67 -97
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +56 -79
- azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +36 -47
- azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +73 -107
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +52 -75
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +101 -156
- azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +49 -73
- azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +68 -97
- azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +22 -26
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +66 -97
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +19 -25
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +84 -127
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +51 -74
- azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +24 -28
- azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +251 -432
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +71 -105
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +51 -74
- azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +24 -30
- azure/mgmt/storage/v2021_01_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/_storage_management_client.py +55 -23
- azure/mgmt/storage/v2021_01_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_01_01/_version.py +1 -1
- azure/mgmt/storage/v2021_01_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +57 -23
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +169 -267
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +82 -125
- azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +40 -58
- azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +203 -357
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +40 -58
- azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_01_01/models/_models_py3.py +64 -86
- azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +197 -295
- azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +95 -138
- azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_01_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +47 -65
- azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +233 -387
- azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +47 -65
- azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_02_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/_storage_management_client.py +55 -23
- azure/mgmt/storage/v2021_02_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_02_01/_version.py +1 -1
- azure/mgmt/storage/v2021_02_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +57 -23
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +169 -267
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +82 -125
- azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +40 -58
- azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +203 -357
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +40 -58
- azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_02_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +1 -1
- azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +197 -295
- azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +95 -138
- azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_02_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +47 -65
- azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +233 -387
- azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +47 -65
- azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_04_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/_storage_management_client.py +55 -23
- azure/mgmt/storage/v2021_04_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_04_01/_version.py +1 -1
- azure/mgmt/storage/v2021_04_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +57 -23
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +181 -295
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +45 -63
- azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +41 -59
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +40 -58
- azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +203 -357
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +40 -58
- azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_04_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +211 -325
- azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +52 -70
- azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +48 -66
- azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_04_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +47 -65
- azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +233 -387
- azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +47 -65
- azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_06_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/_storage_management_client.py +55 -23
- azure/mgmt/storage/v2021_06_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_06_01/_version.py +1 -1
- azure/mgmt/storage/v2021_06_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +57 -23
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_06_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_06_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_08_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/_storage_management_client.py +59 -25
- azure/mgmt/storage/v2021_08_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_08_01/_version.py +1 -1
- azure/mgmt/storage/v2021_08_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +61 -25
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +71 -104
- azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +55 -79
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_08_01/models/_models_py3.py +68 -90
- azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +84 -117
- azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_08_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +66 -90
- azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2021_09_01/_configuration.py +4 -11
- azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/_storage_management_client.py +59 -25
- azure/mgmt/storage/v2021_09_01/_vendor.py +0 -14
- azure/mgmt/storage/v2021_09_01/_version.py +1 -1
- azure/mgmt/storage/v2021_09_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +61 -25
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +71 -104
- azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +70 -103
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2021_09_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +84 -117
- azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2021_09_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +81 -114
- azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2022_05_01/_configuration.py +4 -11
- azure/mgmt/storage/v2022_05_01/_storage_management_client.py +59 -25
- azure/mgmt/storage/v2022_05_01/_vendor.py +0 -14
- azure/mgmt/storage/v2022_05_01/_version.py +1 -1
- azure/mgmt/storage/v2022_05_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +61 -25
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +71 -104
- azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +70 -103
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2022_05_01/models/_models_py3.py +69 -91
- azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +84 -117
- azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2022_05_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +81 -114
- azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2022_09_01/_configuration.py +4 -11
- azure/mgmt/storage/v2022_09_01/_storage_management_client.py +59 -25
- azure/mgmt/storage/v2022_09_01/_vendor.py +0 -14
- azure/mgmt/storage/v2022_09_01/_version.py +1 -1
- azure/mgmt/storage/v2022_09_01/aio/_configuration.py +4 -11
- azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +61 -25
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +181 -315
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +45 -79
- azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +29 -36
- azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +58 -86
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +41 -75
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +98 -151
- azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +71 -104
- azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +39 -57
- azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +54 -76
- azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +20 -22
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +15 -19
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +68 -101
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +40 -74
- azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +20 -22
- azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +230 -416
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +70 -103
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +40 -74
- azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +20 -24
- azure/mgmt/storage/v2022_09_01/models/_models_py3.py +69 -91
- azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +2 -2
- azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +211 -345
- azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +62 -85
- azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +52 -86
- azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +34 -41
- azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +67 -95
- azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +48 -82
- azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +113 -166
- azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +84 -117
- azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +46 -64
- azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +63 -85
- azure/mgmt/storage/v2022_09_01/operations/_operations.py +21 -23
- azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +62 -85
- azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +18 -22
- azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +79 -112
- azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +47 -81
- azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +23 -25
- azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +266 -452
- azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +81 -114
- azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +47 -81
- azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +23 -27
- azure/mgmt/storage/v2023_01_01/__init__.py +26 -0
- azure/mgmt/storage/v2023_01_01/_configuration.py +65 -0
- azure/mgmt/storage/v2023_01_01/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/_storage_management_client.py +225 -0
- azure/mgmt/storage/v2023_01_01/_vendor.py +16 -0
- azure/mgmt/storage/v2023_01_01/_version.py +9 -0
- azure/mgmt/storage/v2023_01_01/aio/__init__.py +23 -0
- azure/mgmt/storage/v2023_01_01/aio/_configuration.py +65 -0
- azure/mgmt/storage/v2023_01_01/aio/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +230 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/__init__.py +57 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +1838 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +362 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +194 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +568 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +328 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +1003 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +560 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +349 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +446 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +135 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +117 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +608 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +328 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +136 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +2187 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +588 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +328 -0
- azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +139 -0
- azure/mgmt/storage/v2023_01_01/models/__init__.py +461 -0
- azure/mgmt/storage/v2023_01_01/models/_models_py3.py +8338 -0
- azure/mgmt/storage/v2023_01_01/models/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +626 -0
- azure/mgmt/storage/v2023_01_01/operations/__init__.py +57 -0
- azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +2398 -0
- azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +595 -0
- azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +470 -0
- azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +250 -0
- azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +732 -0
- azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +437 -0
- azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +1310 -0
- azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +770 -0
- azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +465 -0
- azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +593 -0
- azure/mgmt/storage/v2023_01_01/operations/_operations.py +156 -0
- azure/mgmt/storage/v2023_01_01/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +591 -0
- azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +155 -0
- azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +824 -0
- azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +437 -0
- azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +162 -0
- azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +2796 -0
- azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +775 -0
- azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +437 -0
- azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +169 -0
- azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
- azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
- azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
- azure/mgmt/storage/v2023_05_01/_version.py +9 -0
- azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
- azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
- azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
- azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
- azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
- azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
- azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
- azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
- azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
- azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
- azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
- azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
- azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
- azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/METADATA +52 -13
- azure_mgmt_storage-21.2.1.dist-info/RECORD +979 -0
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/WHEEL +1 -1
- azure_mgmt_storage-21.1.0b1.dist-info/RECORD +0 -855
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
1
|
+
# pylint: disable=too-many-lines,too-many-statements
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -6,8 +6,9 @@
|
|
6
6
|
# Code generated by Microsoft (R) AutoRest Code Generator.
|
7
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
8
|
# --------------------------------------------------------------------------
|
9
|
+
from io import IOBase
|
9
10
|
import sys
|
10
|
-
from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, overload
|
11
|
+
from typing import Any, Callable, Dict, IO, Iterable, Optional, Type, TypeVar, Union, overload
|
11
12
|
import urllib.parse
|
12
13
|
|
13
14
|
from azure.core.exceptions import (
|
@@ -28,12 +29,12 @@ from azure.mgmt.core.exceptions import ARMErrorFormat
|
|
28
29
|
|
29
30
|
from .. import models as _models
|
30
31
|
from ..._serialization import Serializer
|
31
|
-
from .._vendor import _convert_request
|
32
|
+
from .._vendor import _convert_request
|
32
33
|
|
33
|
-
if sys.version_info >= (3,
|
34
|
-
from
|
34
|
+
if sys.version_info >= (3, 9):
|
35
|
+
from collections.abc import MutableMapping
|
35
36
|
else:
|
36
|
-
from
|
37
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
37
38
|
T = TypeVar("T")
|
38
39
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
|
39
40
|
|
@@ -54,9 +55,7 @@ def build_list_request(
|
|
54
55
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
55
56
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
56
57
|
|
57
|
-
api_version:
|
58
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
59
|
-
)
|
58
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
60
59
|
accept = _headers.pop("Accept", "application/json")
|
61
60
|
|
62
61
|
# Construct URL
|
@@ -72,7 +71,7 @@ def build_list_request(
|
|
72
71
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
73
72
|
}
|
74
73
|
|
75
|
-
_url: str =
|
74
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
76
75
|
|
77
76
|
# Construct parameters
|
78
77
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -95,9 +94,7 @@ def build_create_request(
|
|
95
94
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
96
95
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
97
96
|
|
98
|
-
api_version:
|
99
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
100
|
-
)
|
97
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
101
98
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
102
99
|
accept = _headers.pop("Accept", "application/json")
|
103
100
|
|
@@ -115,7 +112,7 @@ def build_create_request(
|
|
115
112
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
116
113
|
}
|
117
114
|
|
118
|
-
_url: str =
|
115
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
119
116
|
|
120
117
|
# Construct parameters
|
121
118
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -134,9 +131,7 @@ def build_update_request(
|
|
134
131
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
135
132
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
136
133
|
|
137
|
-
api_version:
|
138
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
139
|
-
)
|
134
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
140
135
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
141
136
|
accept = _headers.pop("Accept", "application/json")
|
142
137
|
|
@@ -154,7 +149,7 @@ def build_update_request(
|
|
154
149
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
155
150
|
}
|
156
151
|
|
157
|
-
_url: str =
|
152
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
158
153
|
|
159
154
|
# Construct parameters
|
160
155
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -173,9 +168,7 @@ def build_get_request(
|
|
173
168
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
174
169
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
175
170
|
|
176
|
-
api_version:
|
177
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
178
|
-
)
|
171
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
179
172
|
accept = _headers.pop("Accept", "application/json")
|
180
173
|
|
181
174
|
# Construct URL
|
@@ -192,7 +185,7 @@ def build_get_request(
|
|
192
185
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
193
186
|
}
|
194
187
|
|
195
|
-
_url: str =
|
188
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
196
189
|
|
197
190
|
# Construct parameters
|
198
191
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -208,9 +201,7 @@ def build_delete_request(
|
|
208
201
|
) -> HttpRequest:
|
209
202
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
210
203
|
|
211
|
-
api_version:
|
212
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
213
|
-
)
|
204
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
214
205
|
# Construct URL
|
215
206
|
_url = kwargs.pop(
|
216
207
|
"template_url",
|
@@ -225,7 +216,7 @@ def build_delete_request(
|
|
225
216
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
226
217
|
}
|
227
218
|
|
228
|
-
_url: str =
|
219
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
229
220
|
|
230
221
|
# Construct parameters
|
231
222
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -239,9 +230,7 @@ def build_set_legal_hold_request(
|
|
239
230
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
240
231
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
241
232
|
|
242
|
-
api_version:
|
243
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
244
|
-
)
|
233
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
245
234
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
246
235
|
accept = _headers.pop("Accept", "application/json")
|
247
236
|
|
@@ -259,7 +248,7 @@ def build_set_legal_hold_request(
|
|
259
248
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
260
249
|
}
|
261
250
|
|
262
|
-
_url: str =
|
251
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
263
252
|
|
264
253
|
# Construct parameters
|
265
254
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -278,9 +267,7 @@ def build_clear_legal_hold_request(
|
|
278
267
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
279
268
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
280
269
|
|
281
|
-
api_version:
|
282
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
283
|
-
)
|
270
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
284
271
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
285
272
|
accept = _headers.pop("Accept", "application/json")
|
286
273
|
|
@@ -298,7 +285,7 @@ def build_clear_legal_hold_request(
|
|
298
285
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
299
286
|
}
|
300
287
|
|
301
|
-
_url: str =
|
288
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
302
289
|
|
303
290
|
# Construct parameters
|
304
291
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -311,7 +298,7 @@ def build_clear_legal_hold_request(
|
|
311
298
|
return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
|
312
299
|
|
313
300
|
|
314
|
-
def build_create_or_update_immutability_policy_request(
|
301
|
+
def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
|
315
302
|
resource_group_name: str,
|
316
303
|
account_name: str,
|
317
304
|
container_name: str,
|
@@ -324,9 +311,7 @@ def build_create_or_update_immutability_policy_request(
|
|
324
311
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
325
312
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
326
313
|
|
327
|
-
api_version:
|
328
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
329
|
-
)
|
314
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
330
315
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
331
316
|
accept = _headers.pop("Accept", "application/json")
|
332
317
|
|
@@ -345,7 +330,7 @@ def build_create_or_update_immutability_policy_request(
|
|
345
330
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
346
331
|
}
|
347
332
|
|
348
|
-
_url: str =
|
333
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
349
334
|
|
350
335
|
# Construct parameters
|
351
336
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -373,9 +358,7 @@ def build_get_immutability_policy_request(
|
|
373
358
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
374
359
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
375
360
|
|
376
|
-
api_version:
|
377
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
378
|
-
)
|
361
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
379
362
|
accept = _headers.pop("Accept", "application/json")
|
380
363
|
|
381
364
|
# Construct URL
|
@@ -393,7 +376,7 @@ def build_get_immutability_policy_request(
|
|
393
376
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
394
377
|
}
|
395
378
|
|
396
|
-
_url: str =
|
379
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
397
380
|
|
398
381
|
# Construct parameters
|
399
382
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -419,9 +402,7 @@ def build_delete_immutability_policy_request(
|
|
419
402
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
420
403
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
421
404
|
|
422
|
-
api_version:
|
423
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
424
|
-
)
|
405
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
425
406
|
accept = _headers.pop("Accept", "application/json")
|
426
407
|
|
427
408
|
# Construct URL
|
@@ -439,7 +420,7 @@ def build_delete_immutability_policy_request(
|
|
439
420
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
440
421
|
}
|
441
422
|
|
442
|
-
_url: str =
|
423
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
443
424
|
|
444
425
|
# Construct parameters
|
445
426
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -463,9 +444,7 @@ def build_lock_immutability_policy_request(
|
|
463
444
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
464
445
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
465
446
|
|
466
|
-
api_version:
|
467
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
468
|
-
)
|
447
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
469
448
|
accept = _headers.pop("Accept", "application/json")
|
470
449
|
|
471
450
|
# Construct URL
|
@@ -482,7 +461,7 @@ def build_lock_immutability_policy_request(
|
|
482
461
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
483
462
|
}
|
484
463
|
|
485
|
-
_url: str =
|
464
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
486
465
|
|
487
466
|
# Construct parameters
|
488
467
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -506,9 +485,7 @@ def build_extend_immutability_policy_request(
|
|
506
485
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
507
486
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
508
487
|
|
509
|
-
api_version:
|
510
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
511
|
-
)
|
488
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
512
489
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
513
490
|
accept = _headers.pop("Accept", "application/json")
|
514
491
|
|
@@ -526,7 +503,7 @@ def build_extend_immutability_policy_request(
|
|
526
503
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
527
504
|
}
|
528
505
|
|
529
|
-
_url: str =
|
506
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
530
507
|
|
531
508
|
# Construct parameters
|
532
509
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -546,9 +523,7 @@ def build_lease_request(
|
|
546
523
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
547
524
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
548
525
|
|
549
|
-
api_version:
|
550
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
551
|
-
)
|
526
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2020-08-01-preview"))
|
552
527
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
553
528
|
accept = _headers.pop("Accept", "application/json")
|
554
529
|
|
@@ -566,7 +541,7 @@ def build_lease_request(
|
|
566
541
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
567
542
|
}
|
568
543
|
|
569
|
-
_url: str =
|
544
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
570
545
|
|
571
546
|
# Construct parameters
|
572
547
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -597,6 +572,7 @@ class BlobContainersOperations:
|
|
597
572
|
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
598
573
|
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
599
574
|
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
575
|
+
self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
|
600
576
|
|
601
577
|
@distributed_trace
|
602
578
|
def list(
|
@@ -627,7 +603,6 @@ class BlobContainersOperations:
|
|
627
603
|
:param include: Optional, used to include the properties for soft deleted blob containers.
|
628
604
|
"deleted" Default value is None.
|
629
605
|
:type include: str or ~azure.mgmt.storage.v2020_08_01_preview.models.ListContainersInclude
|
630
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
631
606
|
:return: An iterator like instance of either ListContainerItem or the result of cls(response)
|
632
607
|
:rtype:
|
633
608
|
~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2020_08_01_preview.models.ListContainerItem]
|
@@ -636,12 +611,12 @@ class BlobContainersOperations:
|
|
636
611
|
_headers = kwargs.pop("headers", {}) or {}
|
637
612
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
638
613
|
|
639
|
-
api_version:
|
640
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
614
|
+
api_version: str = kwargs.pop(
|
615
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
641
616
|
)
|
642
617
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
643
618
|
|
644
|
-
error_map = {
|
619
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
645
620
|
401: ClientAuthenticationError,
|
646
621
|
404: ResourceNotFoundError,
|
647
622
|
409: ResourceExistsError,
|
@@ -652,7 +627,7 @@ class BlobContainersOperations:
|
|
652
627
|
def prepare_request(next_link=None):
|
653
628
|
if not next_link:
|
654
629
|
|
655
|
-
|
630
|
+
_request = build_list_request(
|
656
631
|
resource_group_name=resource_group_name,
|
657
632
|
account_name=account_name,
|
658
633
|
subscription_id=self._config.subscription_id,
|
@@ -660,12 +635,11 @@ class BlobContainersOperations:
|
|
660
635
|
filter=filter,
|
661
636
|
include=include,
|
662
637
|
api_version=api_version,
|
663
|
-
template_url=self.list.metadata["url"],
|
664
638
|
headers=_headers,
|
665
639
|
params=_params,
|
666
640
|
)
|
667
|
-
|
668
|
-
|
641
|
+
_request = _convert_request(_request)
|
642
|
+
_request.url = self._client.format_url(_request.url)
|
669
643
|
|
670
644
|
else:
|
671
645
|
# make call to next link with the client's api-version
|
@@ -676,14 +650,14 @@ class BlobContainersOperations:
|
|
676
650
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
677
651
|
}
|
678
652
|
)
|
679
|
-
_next_request_params["api-version"] = self.
|
680
|
-
|
653
|
+
_next_request_params["api-version"] = self._api_version
|
654
|
+
_request = HttpRequest(
|
681
655
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
682
656
|
)
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
return
|
657
|
+
_request = _convert_request(_request)
|
658
|
+
_request.url = self._client.format_url(_request.url)
|
659
|
+
_request.method = "GET"
|
660
|
+
return _request
|
687
661
|
|
688
662
|
def extract_data(pipeline_response):
|
689
663
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
@@ -693,10 +667,11 @@ class BlobContainersOperations:
|
|
693
667
|
return deserialized.next_link or None, iter(list_of_elem)
|
694
668
|
|
695
669
|
def get_next(next_link=None):
|
696
|
-
|
670
|
+
_request = prepare_request(next_link)
|
697
671
|
|
672
|
+
_stream = False
|
698
673
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
699
|
-
|
674
|
+
_request, stream=_stream, **kwargs
|
700
675
|
)
|
701
676
|
response = pipeline_response.http_response
|
702
677
|
|
@@ -708,10 +683,6 @@ class BlobContainersOperations:
|
|
708
683
|
|
709
684
|
return ItemPaged(get_next, extract_data)
|
710
685
|
|
711
|
-
list.metadata = {
|
712
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
713
|
-
}
|
714
|
-
|
715
686
|
@overload
|
716
687
|
def create(
|
717
688
|
self,
|
@@ -744,7 +715,6 @@ class BlobContainersOperations:
|
|
744
715
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
745
716
|
Default value is "application/json".
|
746
717
|
:paramtype content_type: str
|
747
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
748
718
|
:return: BlobContainer or the result of cls(response)
|
749
719
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
750
720
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -756,7 +726,7 @@ class BlobContainersOperations:
|
|
756
726
|
resource_group_name: str,
|
757
727
|
account_name: str,
|
758
728
|
container_name: str,
|
759
|
-
blob_container: IO,
|
729
|
+
blob_container: IO[bytes],
|
760
730
|
*,
|
761
731
|
content_type: str = "application/json",
|
762
732
|
**kwargs: Any
|
@@ -778,11 +748,10 @@ class BlobContainersOperations:
|
|
778
748
|
by a letter or number. Required.
|
779
749
|
:type container_name: str
|
780
750
|
:param blob_container: Properties of the blob container to create. Required.
|
781
|
-
:type blob_container: IO
|
751
|
+
:type blob_container: IO[bytes]
|
782
752
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
783
753
|
Default value is "application/json".
|
784
754
|
:paramtype content_type: str
|
785
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
786
755
|
:return: BlobContainer or the result of cls(response)
|
787
756
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
788
757
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -794,7 +763,7 @@ class BlobContainersOperations:
|
|
794
763
|
resource_group_name: str,
|
795
764
|
account_name: str,
|
796
765
|
container_name: str,
|
797
|
-
blob_container: Union[_models.BlobContainer, IO],
|
766
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
798
767
|
**kwargs: Any
|
799
768
|
) -> _models.BlobContainer:
|
800
769
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -814,17 +783,13 @@ class BlobContainersOperations:
|
|
814
783
|
by a letter or number. Required.
|
815
784
|
:type container_name: str
|
816
785
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
817
|
-
type or a IO type. Required.
|
818
|
-
:type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO
|
819
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
820
|
-
Default value is None.
|
821
|
-
:paramtype content_type: str
|
822
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
786
|
+
type or a IO[bytes] type. Required.
|
787
|
+
:type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO[bytes]
|
823
788
|
:return: BlobContainer or the result of cls(response)
|
824
789
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
825
790
|
:raises ~azure.core.exceptions.HttpResponseError:
|
826
791
|
"""
|
827
|
-
error_map = {
|
792
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
828
793
|
401: ClientAuthenticationError,
|
829
794
|
404: ResourceNotFoundError,
|
830
795
|
409: ResourceExistsError,
|
@@ -835,8 +800,8 @@ class BlobContainersOperations:
|
|
835
800
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
836
801
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
837
802
|
|
838
|
-
api_version:
|
839
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
803
|
+
api_version: str = kwargs.pop(
|
804
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
840
805
|
)
|
841
806
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
842
807
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
@@ -844,12 +809,12 @@ class BlobContainersOperations:
|
|
844
809
|
content_type = content_type or "application/json"
|
845
810
|
_json = None
|
846
811
|
_content = None
|
847
|
-
if isinstance(blob_container, (
|
812
|
+
if isinstance(blob_container, (IOBase, bytes)):
|
848
813
|
_content = blob_container
|
849
814
|
else:
|
850
815
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
851
816
|
|
852
|
-
|
817
|
+
_request = build_create_request(
|
853
818
|
resource_group_name=resource_group_name,
|
854
819
|
account_name=account_name,
|
855
820
|
container_name=container_name,
|
@@ -858,15 +823,15 @@ class BlobContainersOperations:
|
|
858
823
|
content_type=content_type,
|
859
824
|
json=_json,
|
860
825
|
content=_content,
|
861
|
-
template_url=self.create.metadata["url"],
|
862
826
|
headers=_headers,
|
863
827
|
params=_params,
|
864
828
|
)
|
865
|
-
|
866
|
-
|
829
|
+
_request = _convert_request(_request)
|
830
|
+
_request.url = self._client.format_url(_request.url)
|
867
831
|
|
832
|
+
_stream = False
|
868
833
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
869
|
-
|
834
|
+
_request, stream=_stream, **kwargs
|
870
835
|
)
|
871
836
|
|
872
837
|
response = pipeline_response.http_response
|
@@ -886,10 +851,6 @@ class BlobContainersOperations:
|
|
886
851
|
|
887
852
|
return deserialized # type: ignore
|
888
853
|
|
889
|
-
create.metadata = {
|
890
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
891
|
-
}
|
892
|
-
|
893
854
|
@overload
|
894
855
|
def update(
|
895
856
|
self,
|
@@ -921,7 +882,6 @@ class BlobContainersOperations:
|
|
921
882
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
922
883
|
Default value is "application/json".
|
923
884
|
:paramtype content_type: str
|
924
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
925
885
|
:return: BlobContainer or the result of cls(response)
|
926
886
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
927
887
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -933,7 +893,7 @@ class BlobContainersOperations:
|
|
933
893
|
resource_group_name: str,
|
934
894
|
account_name: str,
|
935
895
|
container_name: str,
|
936
|
-
blob_container: IO,
|
896
|
+
blob_container: IO[bytes],
|
937
897
|
*,
|
938
898
|
content_type: str = "application/json",
|
939
899
|
**kwargs: Any
|
@@ -954,11 +914,10 @@ class BlobContainersOperations:
|
|
954
914
|
by a letter or number. Required.
|
955
915
|
:type container_name: str
|
956
916
|
:param blob_container: Properties to update for the blob container. Required.
|
957
|
-
:type blob_container: IO
|
917
|
+
:type blob_container: IO[bytes]
|
958
918
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
959
919
|
Default value is "application/json".
|
960
920
|
:paramtype content_type: str
|
961
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
962
921
|
:return: BlobContainer or the result of cls(response)
|
963
922
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
964
923
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -970,7 +929,7 @@ class BlobContainersOperations:
|
|
970
929
|
resource_group_name: str,
|
971
930
|
account_name: str,
|
972
931
|
container_name: str,
|
973
|
-
blob_container: Union[_models.BlobContainer, IO],
|
932
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
974
933
|
**kwargs: Any
|
975
934
|
) -> _models.BlobContainer:
|
976
935
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -989,17 +948,13 @@ class BlobContainersOperations:
|
|
989
948
|
by a letter or number. Required.
|
990
949
|
:type container_name: str
|
991
950
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
992
|
-
type or a IO type. Required.
|
993
|
-
:type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO
|
994
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
995
|
-
Default value is None.
|
996
|
-
:paramtype content_type: str
|
997
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
951
|
+
type or a IO[bytes] type. Required.
|
952
|
+
:type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO[bytes]
|
998
953
|
:return: BlobContainer or the result of cls(response)
|
999
954
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
1000
955
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1001
956
|
"""
|
1002
|
-
error_map = {
|
957
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1003
958
|
401: ClientAuthenticationError,
|
1004
959
|
404: ResourceNotFoundError,
|
1005
960
|
409: ResourceExistsError,
|
@@ -1010,8 +965,8 @@ class BlobContainersOperations:
|
|
1010
965
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1011
966
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1012
967
|
|
1013
|
-
api_version:
|
1014
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
968
|
+
api_version: str = kwargs.pop(
|
969
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1015
970
|
)
|
1016
971
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1017
972
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
@@ -1019,12 +974,12 @@ class BlobContainersOperations:
|
|
1019
974
|
content_type = content_type or "application/json"
|
1020
975
|
_json = None
|
1021
976
|
_content = None
|
1022
|
-
if isinstance(blob_container, (
|
977
|
+
if isinstance(blob_container, (IOBase, bytes)):
|
1023
978
|
_content = blob_container
|
1024
979
|
else:
|
1025
980
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
1026
981
|
|
1027
|
-
|
982
|
+
_request = build_update_request(
|
1028
983
|
resource_group_name=resource_group_name,
|
1029
984
|
account_name=account_name,
|
1030
985
|
container_name=container_name,
|
@@ -1033,15 +988,15 @@ class BlobContainersOperations:
|
|
1033
988
|
content_type=content_type,
|
1034
989
|
json=_json,
|
1035
990
|
content=_content,
|
1036
|
-
template_url=self.update.metadata["url"],
|
1037
991
|
headers=_headers,
|
1038
992
|
params=_params,
|
1039
993
|
)
|
1040
|
-
|
1041
|
-
|
994
|
+
_request = _convert_request(_request)
|
995
|
+
_request.url = self._client.format_url(_request.url)
|
1042
996
|
|
997
|
+
_stream = False
|
1043
998
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1044
|
-
|
999
|
+
_request, stream=_stream, **kwargs
|
1045
1000
|
)
|
1046
1001
|
|
1047
1002
|
response = pipeline_response.http_response
|
@@ -1053,13 +1008,9 @@ class BlobContainersOperations:
|
|
1053
1008
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
1054
1009
|
|
1055
1010
|
if cls:
|
1056
|
-
return cls(pipeline_response, deserialized, {})
|
1057
|
-
|
1058
|
-
return deserialized
|
1011
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1059
1012
|
|
1060
|
-
|
1061
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1062
|
-
}
|
1013
|
+
return deserialized # type: ignore
|
1063
1014
|
|
1064
1015
|
@distributed_trace
|
1065
1016
|
def get(
|
@@ -1079,12 +1030,11 @@ class BlobContainersOperations:
|
|
1079
1030
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1080
1031
|
by a letter or number. Required.
|
1081
1032
|
:type container_name: str
|
1082
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1083
1033
|
:return: BlobContainer or the result of cls(response)
|
1084
1034
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
1085
1035
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1086
1036
|
"""
|
1087
|
-
error_map = {
|
1037
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1088
1038
|
401: ClientAuthenticationError,
|
1089
1039
|
404: ResourceNotFoundError,
|
1090
1040
|
409: ResourceExistsError,
|
@@ -1095,26 +1045,26 @@ class BlobContainersOperations:
|
|
1095
1045
|
_headers = kwargs.pop("headers", {}) or {}
|
1096
1046
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1097
1047
|
|
1098
|
-
api_version:
|
1099
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1048
|
+
api_version: str = kwargs.pop(
|
1049
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1100
1050
|
)
|
1101
1051
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
1102
1052
|
|
1103
|
-
|
1053
|
+
_request = build_get_request(
|
1104
1054
|
resource_group_name=resource_group_name,
|
1105
1055
|
account_name=account_name,
|
1106
1056
|
container_name=container_name,
|
1107
1057
|
subscription_id=self._config.subscription_id,
|
1108
1058
|
api_version=api_version,
|
1109
|
-
template_url=self.get.metadata["url"],
|
1110
1059
|
headers=_headers,
|
1111
1060
|
params=_params,
|
1112
1061
|
)
|
1113
|
-
|
1114
|
-
|
1062
|
+
_request = _convert_request(_request)
|
1063
|
+
_request.url = self._client.format_url(_request.url)
|
1115
1064
|
|
1065
|
+
_stream = False
|
1116
1066
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1117
|
-
|
1067
|
+
_request, stream=_stream, **kwargs
|
1118
1068
|
)
|
1119
1069
|
|
1120
1070
|
response = pipeline_response.http_response
|
@@ -1126,13 +1076,9 @@ class BlobContainersOperations:
|
|
1126
1076
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
1127
1077
|
|
1128
1078
|
if cls:
|
1129
|
-
return cls(pipeline_response, deserialized, {})
|
1130
|
-
|
1131
|
-
return deserialized
|
1079
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1132
1080
|
|
1133
|
-
|
1134
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1135
|
-
}
|
1081
|
+
return deserialized # type: ignore
|
1136
1082
|
|
1137
1083
|
@distributed_trace
|
1138
1084
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -1152,12 +1098,11 @@ class BlobContainersOperations:
|
|
1152
1098
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1153
1099
|
by a letter or number. Required.
|
1154
1100
|
:type container_name: str
|
1155
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1156
1101
|
:return: None or the result of cls(response)
|
1157
1102
|
:rtype: None
|
1158
1103
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1159
1104
|
"""
|
1160
|
-
error_map = {
|
1105
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1161
1106
|
401: ClientAuthenticationError,
|
1162
1107
|
404: ResourceNotFoundError,
|
1163
1108
|
409: ResourceExistsError,
|
@@ -1168,26 +1113,26 @@ class BlobContainersOperations:
|
|
1168
1113
|
_headers = kwargs.pop("headers", {}) or {}
|
1169
1114
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1170
1115
|
|
1171
|
-
api_version:
|
1172
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1116
|
+
api_version: str = kwargs.pop(
|
1117
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1173
1118
|
)
|
1174
1119
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1175
1120
|
|
1176
|
-
|
1121
|
+
_request = build_delete_request(
|
1177
1122
|
resource_group_name=resource_group_name,
|
1178
1123
|
account_name=account_name,
|
1179
1124
|
container_name=container_name,
|
1180
1125
|
subscription_id=self._config.subscription_id,
|
1181
1126
|
api_version=api_version,
|
1182
|
-
template_url=self.delete.metadata["url"],
|
1183
1127
|
headers=_headers,
|
1184
1128
|
params=_params,
|
1185
1129
|
)
|
1186
|
-
|
1187
|
-
|
1130
|
+
_request = _convert_request(_request)
|
1131
|
+
_request.url = self._client.format_url(_request.url)
|
1188
1132
|
|
1133
|
+
_stream = False
|
1189
1134
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1190
|
-
|
1135
|
+
_request, stream=_stream, **kwargs
|
1191
1136
|
)
|
1192
1137
|
|
1193
1138
|
response = pipeline_response.http_response
|
@@ -1197,11 +1142,7 @@ class BlobContainersOperations:
|
|
1197
1142
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1198
1143
|
|
1199
1144
|
if cls:
|
1200
|
-
return cls(pipeline_response, None, {})
|
1201
|
-
|
1202
|
-
delete.metadata = {
|
1203
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1204
|
-
}
|
1145
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1205
1146
|
|
1206
1147
|
@overload
|
1207
1148
|
def set_legal_hold(
|
@@ -1235,7 +1176,6 @@ class BlobContainersOperations:
|
|
1235
1176
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1236
1177
|
Default value is "application/json".
|
1237
1178
|
:paramtype content_type: str
|
1238
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1239
1179
|
:return: LegalHold or the result of cls(response)
|
1240
1180
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
1241
1181
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1247,7 +1187,7 @@ class BlobContainersOperations:
|
|
1247
1187
|
resource_group_name: str,
|
1248
1188
|
account_name: str,
|
1249
1189
|
container_name: str,
|
1250
|
-
legal_hold: IO,
|
1190
|
+
legal_hold: IO[bytes],
|
1251
1191
|
*,
|
1252
1192
|
content_type: str = "application/json",
|
1253
1193
|
**kwargs: Any
|
@@ -1269,11 +1209,10 @@ class BlobContainersOperations:
|
|
1269
1209
|
by a letter or number. Required.
|
1270
1210
|
:type container_name: str
|
1271
1211
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
1272
|
-
:type legal_hold: IO
|
1212
|
+
:type legal_hold: IO[bytes]
|
1273
1213
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1274
1214
|
Default value is "application/json".
|
1275
1215
|
:paramtype content_type: str
|
1276
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1277
1216
|
:return: LegalHold or the result of cls(response)
|
1278
1217
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
1279
1218
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1285,7 +1224,7 @@ class BlobContainersOperations:
|
|
1285
1224
|
resource_group_name: str,
|
1286
1225
|
account_name: str,
|
1287
1226
|
container_name: str,
|
1288
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1227
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1289
1228
|
**kwargs: Any
|
1290
1229
|
) -> _models.LegalHold:
|
1291
1230
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -1305,17 +1244,13 @@ class BlobContainersOperations:
|
|
1305
1244
|
by a letter or number. Required.
|
1306
1245
|
:type container_name: str
|
1307
1246
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
1308
|
-
LegalHold type or a IO type. Required.
|
1309
|
-
:type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO
|
1310
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1311
|
-
Default value is None.
|
1312
|
-
:paramtype content_type: str
|
1313
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1247
|
+
LegalHold type or a IO[bytes] type. Required.
|
1248
|
+
:type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO[bytes]
|
1314
1249
|
:return: LegalHold or the result of cls(response)
|
1315
1250
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
1316
1251
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1317
1252
|
"""
|
1318
|
-
error_map = {
|
1253
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1319
1254
|
401: ClientAuthenticationError,
|
1320
1255
|
404: ResourceNotFoundError,
|
1321
1256
|
409: ResourceExistsError,
|
@@ -1326,8 +1261,8 @@ class BlobContainersOperations:
|
|
1326
1261
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1327
1262
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1328
1263
|
|
1329
|
-
api_version:
|
1330
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1264
|
+
api_version: str = kwargs.pop(
|
1265
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1331
1266
|
)
|
1332
1267
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1333
1268
|
cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
|
@@ -1335,12 +1270,12 @@ class BlobContainersOperations:
|
|
1335
1270
|
content_type = content_type or "application/json"
|
1336
1271
|
_json = None
|
1337
1272
|
_content = None
|
1338
|
-
if isinstance(legal_hold, (
|
1273
|
+
if isinstance(legal_hold, (IOBase, bytes)):
|
1339
1274
|
_content = legal_hold
|
1340
1275
|
else:
|
1341
1276
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1342
1277
|
|
1343
|
-
|
1278
|
+
_request = build_set_legal_hold_request(
|
1344
1279
|
resource_group_name=resource_group_name,
|
1345
1280
|
account_name=account_name,
|
1346
1281
|
container_name=container_name,
|
@@ -1349,15 +1284,15 @@ class BlobContainersOperations:
|
|
1349
1284
|
content_type=content_type,
|
1350
1285
|
json=_json,
|
1351
1286
|
content=_content,
|
1352
|
-
template_url=self.set_legal_hold.metadata["url"],
|
1353
1287
|
headers=_headers,
|
1354
1288
|
params=_params,
|
1355
1289
|
)
|
1356
|
-
|
1357
|
-
|
1290
|
+
_request = _convert_request(_request)
|
1291
|
+
_request.url = self._client.format_url(_request.url)
|
1358
1292
|
|
1293
|
+
_stream = False
|
1359
1294
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1360
|
-
|
1295
|
+
_request, stream=_stream, **kwargs
|
1361
1296
|
)
|
1362
1297
|
|
1363
1298
|
response = pipeline_response.http_response
|
@@ -1369,13 +1304,9 @@ class BlobContainersOperations:
|
|
1369
1304
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1370
1305
|
|
1371
1306
|
if cls:
|
1372
|
-
return cls(pipeline_response, deserialized, {})
|
1373
|
-
|
1374
|
-
return deserialized
|
1307
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1375
1308
|
|
1376
|
-
|
1377
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
1378
|
-
}
|
1309
|
+
return deserialized # type: ignore
|
1379
1310
|
|
1380
1311
|
@overload
|
1381
1312
|
def clear_legal_hold(
|
@@ -1408,7 +1339,6 @@ class BlobContainersOperations:
|
|
1408
1339
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1409
1340
|
Default value is "application/json".
|
1410
1341
|
:paramtype content_type: str
|
1411
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1412
1342
|
:return: LegalHold or the result of cls(response)
|
1413
1343
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
1414
1344
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1420,7 +1350,7 @@ class BlobContainersOperations:
|
|
1420
1350
|
resource_group_name: str,
|
1421
1351
|
account_name: str,
|
1422
1352
|
container_name: str,
|
1423
|
-
legal_hold: IO,
|
1353
|
+
legal_hold: IO[bytes],
|
1424
1354
|
*,
|
1425
1355
|
content_type: str = "application/json",
|
1426
1356
|
**kwargs: Any
|
@@ -1441,11 +1371,10 @@ class BlobContainersOperations:
|
|
1441
1371
|
by a letter or number. Required.
|
1442
1372
|
:type container_name: str
|
1443
1373
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
1444
|
-
:type legal_hold: IO
|
1374
|
+
:type legal_hold: IO[bytes]
|
1445
1375
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1446
1376
|
Default value is "application/json".
|
1447
1377
|
:paramtype content_type: str
|
1448
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1449
1378
|
:return: LegalHold or the result of cls(response)
|
1450
1379
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
1451
1380
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1457,7 +1386,7 @@ class BlobContainersOperations:
|
|
1457
1386
|
resource_group_name: str,
|
1458
1387
|
account_name: str,
|
1459
1388
|
container_name: str,
|
1460
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1389
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1461
1390
|
**kwargs: Any
|
1462
1391
|
) -> _models.LegalHold:
|
1463
1392
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -1476,17 +1405,13 @@ class BlobContainersOperations:
|
|
1476
1405
|
by a letter or number. Required.
|
1477
1406
|
:type container_name: str
|
1478
1407
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
1479
|
-
LegalHold type or a IO type. Required.
|
1480
|
-
:type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO
|
1481
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1482
|
-
Default value is None.
|
1483
|
-
:paramtype content_type: str
|
1484
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1408
|
+
LegalHold type or a IO[bytes] type. Required.
|
1409
|
+
:type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO[bytes]
|
1485
1410
|
:return: LegalHold or the result of cls(response)
|
1486
1411
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
1487
1412
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1488
1413
|
"""
|
1489
|
-
error_map = {
|
1414
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1490
1415
|
401: ClientAuthenticationError,
|
1491
1416
|
404: ResourceNotFoundError,
|
1492
1417
|
409: ResourceExistsError,
|
@@ -1497,8 +1422,8 @@ class BlobContainersOperations:
|
|
1497
1422
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1498
1423
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1499
1424
|
|
1500
|
-
api_version:
|
1501
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1425
|
+
api_version: str = kwargs.pop(
|
1426
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1502
1427
|
)
|
1503
1428
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1504
1429
|
cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
|
@@ -1506,12 +1431,12 @@ class BlobContainersOperations:
|
|
1506
1431
|
content_type = content_type or "application/json"
|
1507
1432
|
_json = None
|
1508
1433
|
_content = None
|
1509
|
-
if isinstance(legal_hold, (
|
1434
|
+
if isinstance(legal_hold, (IOBase, bytes)):
|
1510
1435
|
_content = legal_hold
|
1511
1436
|
else:
|
1512
1437
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1513
1438
|
|
1514
|
-
|
1439
|
+
_request = build_clear_legal_hold_request(
|
1515
1440
|
resource_group_name=resource_group_name,
|
1516
1441
|
account_name=account_name,
|
1517
1442
|
container_name=container_name,
|
@@ -1520,15 +1445,15 @@ class BlobContainersOperations:
|
|
1520
1445
|
content_type=content_type,
|
1521
1446
|
json=_json,
|
1522
1447
|
content=_content,
|
1523
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
1524
1448
|
headers=_headers,
|
1525
1449
|
params=_params,
|
1526
1450
|
)
|
1527
|
-
|
1528
|
-
|
1451
|
+
_request = _convert_request(_request)
|
1452
|
+
_request.url = self._client.format_url(_request.url)
|
1529
1453
|
|
1454
|
+
_stream = False
|
1530
1455
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1531
|
-
|
1456
|
+
_request, stream=_stream, **kwargs
|
1532
1457
|
)
|
1533
1458
|
|
1534
1459
|
response = pipeline_response.http_response
|
@@ -1540,13 +1465,9 @@ class BlobContainersOperations:
|
|
1540
1465
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1541
1466
|
|
1542
1467
|
if cls:
|
1543
|
-
return cls(pipeline_response, deserialized, {})
|
1544
|
-
|
1545
|
-
return deserialized
|
1468
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1546
1469
|
|
1547
|
-
|
1548
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
1549
|
-
}
|
1470
|
+
return deserialized # type: ignore
|
1550
1471
|
|
1551
1472
|
@overload
|
1552
1473
|
def create_or_update_immutability_policy(
|
@@ -1589,7 +1510,6 @@ class BlobContainersOperations:
|
|
1589
1510
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1590
1511
|
Default value is "application/json".
|
1591
1512
|
:paramtype content_type: str
|
1592
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1593
1513
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1594
1514
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1595
1515
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1603,7 +1523,7 @@ class BlobContainersOperations:
|
|
1603
1523
|
container_name: str,
|
1604
1524
|
immutability_policy_name: Union[str, _models.Enum28],
|
1605
1525
|
if_match: Optional[str] = None,
|
1606
|
-
parameters: Optional[IO] = None,
|
1526
|
+
parameters: Optional[IO[bytes]] = None,
|
1607
1527
|
*,
|
1608
1528
|
content_type: str = "application/json",
|
1609
1529
|
**kwargs: Any
|
@@ -1632,11 +1552,10 @@ class BlobContainersOperations:
|
|
1632
1552
|
:type if_match: str
|
1633
1553
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1634
1554
|
container. Default value is None.
|
1635
|
-
:type parameters: IO
|
1555
|
+
:type parameters: IO[bytes]
|
1636
1556
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1637
1557
|
Default value is "application/json".
|
1638
1558
|
:paramtype content_type: str
|
1639
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1640
1559
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1641
1560
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1642
1561
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1650,7 +1569,7 @@ class BlobContainersOperations:
|
|
1650
1569
|
container_name: str,
|
1651
1570
|
immutability_policy_name: Union[str, _models.Enum28],
|
1652
1571
|
if_match: Optional[str] = None,
|
1653
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1572
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1654
1573
|
**kwargs: Any
|
1655
1574
|
) -> _models.ImmutabilityPolicy:
|
1656
1575
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1676,17 +1595,14 @@ class BlobContainersOperations:
|
|
1676
1595
|
omitted, this operation will always be applied. Default value is None.
|
1677
1596
|
:type if_match: str
|
1678
1597
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1679
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1680
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or
|
1681
|
-
|
1682
|
-
Default value is None.
|
1683
|
-
:paramtype content_type: str
|
1684
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1598
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1599
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or
|
1600
|
+
IO[bytes]
|
1685
1601
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1686
1602
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1687
1603
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1688
1604
|
"""
|
1689
|
-
error_map = {
|
1605
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1690
1606
|
401: ClientAuthenticationError,
|
1691
1607
|
404: ResourceNotFoundError,
|
1692
1608
|
409: ResourceExistsError,
|
@@ -1697,8 +1613,8 @@ class BlobContainersOperations:
|
|
1697
1613
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1698
1614
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1699
1615
|
|
1700
|
-
api_version:
|
1701
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1616
|
+
api_version: str = kwargs.pop(
|
1617
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1702
1618
|
)
|
1703
1619
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1704
1620
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
@@ -1706,7 +1622,7 @@ class BlobContainersOperations:
|
|
1706
1622
|
content_type = content_type or "application/json"
|
1707
1623
|
_json = None
|
1708
1624
|
_content = None
|
1709
|
-
if isinstance(parameters, (
|
1625
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1710
1626
|
_content = parameters
|
1711
1627
|
else:
|
1712
1628
|
if parameters is not None:
|
@@ -1714,7 +1630,7 @@ class BlobContainersOperations:
|
|
1714
1630
|
else:
|
1715
1631
|
_json = None
|
1716
1632
|
|
1717
|
-
|
1633
|
+
_request = build_create_or_update_immutability_policy_request(
|
1718
1634
|
resource_group_name=resource_group_name,
|
1719
1635
|
account_name=account_name,
|
1720
1636
|
container_name=container_name,
|
@@ -1725,15 +1641,15 @@ class BlobContainersOperations:
|
|
1725
1641
|
content_type=content_type,
|
1726
1642
|
json=_json,
|
1727
1643
|
content=_content,
|
1728
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1729
1644
|
headers=_headers,
|
1730
1645
|
params=_params,
|
1731
1646
|
)
|
1732
|
-
|
1733
|
-
|
1647
|
+
_request = _convert_request(_request)
|
1648
|
+
_request.url = self._client.format_url(_request.url)
|
1734
1649
|
|
1650
|
+
_stream = False
|
1735
1651
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1736
|
-
|
1652
|
+
_request, stream=_stream, **kwargs
|
1737
1653
|
)
|
1738
1654
|
|
1739
1655
|
response = pipeline_response.http_response
|
@@ -1748,13 +1664,9 @@ class BlobContainersOperations:
|
|
1748
1664
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1749
1665
|
|
1750
1666
|
if cls:
|
1751
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1667
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1752
1668
|
|
1753
|
-
return deserialized
|
1754
|
-
|
1755
|
-
create_or_update_immutability_policy.metadata = {
|
1756
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1757
|
-
}
|
1669
|
+
return deserialized # type: ignore
|
1758
1670
|
|
1759
1671
|
@distributed_trace
|
1760
1672
|
def get_immutability_policy(
|
@@ -1788,12 +1700,11 @@ class BlobContainersOperations:
|
|
1788
1700
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1789
1701
|
omitted, this operation will always be applied. Default value is None.
|
1790
1702
|
:type if_match: str
|
1791
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1792
1703
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1793
1704
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1794
1705
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1795
1706
|
"""
|
1796
|
-
error_map = {
|
1707
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1797
1708
|
401: ClientAuthenticationError,
|
1798
1709
|
404: ResourceNotFoundError,
|
1799
1710
|
409: ResourceExistsError,
|
@@ -1804,12 +1715,12 @@ class BlobContainersOperations:
|
|
1804
1715
|
_headers = kwargs.pop("headers", {}) or {}
|
1805
1716
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1806
1717
|
|
1807
|
-
api_version:
|
1808
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1718
|
+
api_version: str = kwargs.pop(
|
1719
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1809
1720
|
)
|
1810
1721
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1811
1722
|
|
1812
|
-
|
1723
|
+
_request = build_get_immutability_policy_request(
|
1813
1724
|
resource_group_name=resource_group_name,
|
1814
1725
|
account_name=account_name,
|
1815
1726
|
container_name=container_name,
|
@@ -1817,15 +1728,15 @@ class BlobContainersOperations:
|
|
1817
1728
|
subscription_id=self._config.subscription_id,
|
1818
1729
|
if_match=if_match,
|
1819
1730
|
api_version=api_version,
|
1820
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1821
1731
|
headers=_headers,
|
1822
1732
|
params=_params,
|
1823
1733
|
)
|
1824
|
-
|
1825
|
-
|
1734
|
+
_request = _convert_request(_request)
|
1735
|
+
_request.url = self._client.format_url(_request.url)
|
1826
1736
|
|
1737
|
+
_stream = False
|
1827
1738
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1828
|
-
|
1739
|
+
_request, stream=_stream, **kwargs
|
1829
1740
|
)
|
1830
1741
|
|
1831
1742
|
response = pipeline_response.http_response
|
@@ -1840,13 +1751,9 @@ class BlobContainersOperations:
|
|
1840
1751
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1841
1752
|
|
1842
1753
|
if cls:
|
1843
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1754
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1844
1755
|
|
1845
|
-
return deserialized
|
1846
|
-
|
1847
|
-
get_immutability_policy.metadata = {
|
1848
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1849
|
-
}
|
1756
|
+
return deserialized # type: ignore
|
1850
1757
|
|
1851
1758
|
@distributed_trace
|
1852
1759
|
def delete_immutability_policy(
|
@@ -1882,12 +1789,11 @@ class BlobContainersOperations:
|
|
1882
1789
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1883
1790
|
omitted, this operation will always be applied. Required.
|
1884
1791
|
:type if_match: str
|
1885
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1886
1792
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1887
1793
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1888
1794
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1889
1795
|
"""
|
1890
|
-
error_map = {
|
1796
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1891
1797
|
401: ClientAuthenticationError,
|
1892
1798
|
404: ResourceNotFoundError,
|
1893
1799
|
409: ResourceExistsError,
|
@@ -1898,12 +1804,12 @@ class BlobContainersOperations:
|
|
1898
1804
|
_headers = kwargs.pop("headers", {}) or {}
|
1899
1805
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1900
1806
|
|
1901
|
-
api_version:
|
1902
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1807
|
+
api_version: str = kwargs.pop(
|
1808
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1903
1809
|
)
|
1904
1810
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1905
1811
|
|
1906
|
-
|
1812
|
+
_request = build_delete_immutability_policy_request(
|
1907
1813
|
resource_group_name=resource_group_name,
|
1908
1814
|
account_name=account_name,
|
1909
1815
|
container_name=container_name,
|
@@ -1911,15 +1817,15 @@ class BlobContainersOperations:
|
|
1911
1817
|
subscription_id=self._config.subscription_id,
|
1912
1818
|
if_match=if_match,
|
1913
1819
|
api_version=api_version,
|
1914
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1915
1820
|
headers=_headers,
|
1916
1821
|
params=_params,
|
1917
1822
|
)
|
1918
|
-
|
1919
|
-
|
1823
|
+
_request = _convert_request(_request)
|
1824
|
+
_request.url = self._client.format_url(_request.url)
|
1920
1825
|
|
1826
|
+
_stream = False
|
1921
1827
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1922
|
-
|
1828
|
+
_request, stream=_stream, **kwargs
|
1923
1829
|
)
|
1924
1830
|
|
1925
1831
|
response = pipeline_response.http_response
|
@@ -1934,13 +1840,9 @@ class BlobContainersOperations:
|
|
1934
1840
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1935
1841
|
|
1936
1842
|
if cls:
|
1937
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1843
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1938
1844
|
|
1939
|
-
return deserialized
|
1940
|
-
|
1941
|
-
delete_immutability_policy.metadata = {
|
1942
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1943
|
-
}
|
1845
|
+
return deserialized # type: ignore
|
1944
1846
|
|
1945
1847
|
@distributed_trace
|
1946
1848
|
def lock_immutability_policy(
|
@@ -1965,12 +1867,11 @@ class BlobContainersOperations:
|
|
1965
1867
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1966
1868
|
omitted, this operation will always be applied. Required.
|
1967
1869
|
:type if_match: str
|
1968
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1969
1870
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1970
1871
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1971
1872
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1972
1873
|
"""
|
1973
|
-
error_map = {
|
1874
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1974
1875
|
401: ClientAuthenticationError,
|
1975
1876
|
404: ResourceNotFoundError,
|
1976
1877
|
409: ResourceExistsError,
|
@@ -1981,27 +1882,27 @@ class BlobContainersOperations:
|
|
1981
1882
|
_headers = kwargs.pop("headers", {}) or {}
|
1982
1883
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1983
1884
|
|
1984
|
-
api_version:
|
1985
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
1885
|
+
api_version: str = kwargs.pop(
|
1886
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
1986
1887
|
)
|
1987
1888
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1988
1889
|
|
1989
|
-
|
1890
|
+
_request = build_lock_immutability_policy_request(
|
1990
1891
|
resource_group_name=resource_group_name,
|
1991
1892
|
account_name=account_name,
|
1992
1893
|
container_name=container_name,
|
1993
1894
|
subscription_id=self._config.subscription_id,
|
1994
1895
|
if_match=if_match,
|
1995
1896
|
api_version=api_version,
|
1996
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1997
1897
|
headers=_headers,
|
1998
1898
|
params=_params,
|
1999
1899
|
)
|
2000
|
-
|
2001
|
-
|
1900
|
+
_request = _convert_request(_request)
|
1901
|
+
_request.url = self._client.format_url(_request.url)
|
2002
1902
|
|
1903
|
+
_stream = False
|
2003
1904
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2004
|
-
|
1905
|
+
_request, stream=_stream, **kwargs
|
2005
1906
|
)
|
2006
1907
|
|
2007
1908
|
response = pipeline_response.http_response
|
@@ -2016,13 +1917,9 @@ class BlobContainersOperations:
|
|
2016
1917
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
2017
1918
|
|
2018
1919
|
if cls:
|
2019
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1920
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
2020
1921
|
|
2021
|
-
return deserialized
|
2022
|
-
|
2023
|
-
lock_immutability_policy.metadata = {
|
2024
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
2025
|
-
}
|
1922
|
+
return deserialized # type: ignore
|
2026
1923
|
|
2027
1924
|
@overload
|
2028
1925
|
def extend_immutability_policy(
|
@@ -2062,7 +1959,6 @@ class BlobContainersOperations:
|
|
2062
1959
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2063
1960
|
Default value is "application/json".
|
2064
1961
|
:paramtype content_type: str
|
2065
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2066
1962
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2067
1963
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
2068
1964
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2075,7 +1971,7 @@ class BlobContainersOperations:
|
|
2075
1971
|
account_name: str,
|
2076
1972
|
container_name: str,
|
2077
1973
|
if_match: str,
|
2078
|
-
parameters: Optional[IO] = None,
|
1974
|
+
parameters: Optional[IO[bytes]] = None,
|
2079
1975
|
*,
|
2080
1976
|
content_type: str = "application/json",
|
2081
1977
|
**kwargs: Any
|
@@ -2102,11 +1998,10 @@ class BlobContainersOperations:
|
|
2102
1998
|
:type if_match: str
|
2103
1999
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2104
2000
|
container. Default value is None.
|
2105
|
-
:type parameters: IO
|
2001
|
+
:type parameters: IO[bytes]
|
2106
2002
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2107
2003
|
Default value is "application/json".
|
2108
2004
|
:paramtype content_type: str
|
2109
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2110
2005
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2111
2006
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
2112
2007
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2119,7 +2014,7 @@ class BlobContainersOperations:
|
|
2119
2014
|
account_name: str,
|
2120
2015
|
container_name: str,
|
2121
2016
|
if_match: str,
|
2122
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
2017
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
2123
2018
|
**kwargs: Any
|
2124
2019
|
) -> _models.ImmutabilityPolicy:
|
2125
2020
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -2143,17 +2038,14 @@ class BlobContainersOperations:
|
|
2143
2038
|
omitted, this operation will always be applied. Required.
|
2144
2039
|
:type if_match: str
|
2145
2040
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2146
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
2147
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or
|
2148
|
-
|
2149
|
-
Default value is None.
|
2150
|
-
:paramtype content_type: str
|
2151
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2041
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
2042
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or
|
2043
|
+
IO[bytes]
|
2152
2044
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2153
2045
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
2154
2046
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2155
2047
|
"""
|
2156
|
-
error_map = {
|
2048
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2157
2049
|
401: ClientAuthenticationError,
|
2158
2050
|
404: ResourceNotFoundError,
|
2159
2051
|
409: ResourceExistsError,
|
@@ -2164,8 +2056,8 @@ class BlobContainersOperations:
|
|
2164
2056
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
2165
2057
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2166
2058
|
|
2167
|
-
api_version:
|
2168
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
2059
|
+
api_version: str = kwargs.pop(
|
2060
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
2169
2061
|
)
|
2170
2062
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
2171
2063
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
@@ -2173,7 +2065,7 @@ class BlobContainersOperations:
|
|
2173
2065
|
content_type = content_type or "application/json"
|
2174
2066
|
_json = None
|
2175
2067
|
_content = None
|
2176
|
-
if isinstance(parameters, (
|
2068
|
+
if isinstance(parameters, (IOBase, bytes)):
|
2177
2069
|
_content = parameters
|
2178
2070
|
else:
|
2179
2071
|
if parameters is not None:
|
@@ -2181,7 +2073,7 @@ class BlobContainersOperations:
|
|
2181
2073
|
else:
|
2182
2074
|
_json = None
|
2183
2075
|
|
2184
|
-
|
2076
|
+
_request = build_extend_immutability_policy_request(
|
2185
2077
|
resource_group_name=resource_group_name,
|
2186
2078
|
account_name=account_name,
|
2187
2079
|
container_name=container_name,
|
@@ -2191,15 +2083,15 @@ class BlobContainersOperations:
|
|
2191
2083
|
content_type=content_type,
|
2192
2084
|
json=_json,
|
2193
2085
|
content=_content,
|
2194
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
2195
2086
|
headers=_headers,
|
2196
2087
|
params=_params,
|
2197
2088
|
)
|
2198
|
-
|
2199
|
-
|
2089
|
+
_request = _convert_request(_request)
|
2090
|
+
_request.url = self._client.format_url(_request.url)
|
2200
2091
|
|
2092
|
+
_stream = False
|
2201
2093
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2202
|
-
|
2094
|
+
_request, stream=_stream, **kwargs
|
2203
2095
|
)
|
2204
2096
|
|
2205
2097
|
response = pipeline_response.http_response
|
@@ -2214,13 +2106,9 @@ class BlobContainersOperations:
|
|
2214
2106
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
2215
2107
|
|
2216
2108
|
if cls:
|
2217
|
-
return cls(pipeline_response, deserialized, response_headers)
|
2218
|
-
|
2219
|
-
return deserialized
|
2109
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
2220
2110
|
|
2221
|
-
|
2222
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
2223
|
-
}
|
2111
|
+
return deserialized # type: ignore
|
2224
2112
|
|
2225
2113
|
@overload
|
2226
2114
|
def lease(
|
@@ -2253,7 +2141,6 @@ class BlobContainersOperations:
|
|
2253
2141
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2254
2142
|
Default value is "application/json".
|
2255
2143
|
:paramtype content_type: str
|
2256
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2257
2144
|
:return: LeaseContainerResponse or the result of cls(response)
|
2258
2145
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerResponse
|
2259
2146
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2265,7 +2152,7 @@ class BlobContainersOperations:
|
|
2265
2152
|
resource_group_name: str,
|
2266
2153
|
account_name: str,
|
2267
2154
|
container_name: str,
|
2268
|
-
parameters: Optional[IO] = None,
|
2155
|
+
parameters: Optional[IO[bytes]] = None,
|
2269
2156
|
*,
|
2270
2157
|
content_type: str = "application/json",
|
2271
2158
|
**kwargs: Any
|
@@ -2286,11 +2173,10 @@ class BlobContainersOperations:
|
|
2286
2173
|
by a letter or number. Required.
|
2287
2174
|
:type container_name: str
|
2288
2175
|
:param parameters: Lease Container request body. Default value is None.
|
2289
|
-
:type parameters: IO
|
2176
|
+
:type parameters: IO[bytes]
|
2290
2177
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2291
2178
|
Default value is "application/json".
|
2292
2179
|
:paramtype content_type: str
|
2293
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2294
2180
|
:return: LeaseContainerResponse or the result of cls(response)
|
2295
2181
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerResponse
|
2296
2182
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2302,7 +2188,7 @@ class BlobContainersOperations:
|
|
2302
2188
|
resource_group_name: str,
|
2303
2189
|
account_name: str,
|
2304
2190
|
container_name: str,
|
2305
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
2191
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
2306
2192
|
**kwargs: Any
|
2307
2193
|
) -> _models.LeaseContainerResponse:
|
2308
2194
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -2320,18 +2206,15 @@ class BlobContainersOperations:
|
|
2320
2206
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
2321
2207
|
by a letter or number. Required.
|
2322
2208
|
:type container_name: str
|
2323
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2324
|
-
type. Default value is None.
|
2325
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerRequest or
|
2326
|
-
|
2327
|
-
Default value is None.
|
2328
|
-
:paramtype content_type: str
|
2329
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2209
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2210
|
+
IO[bytes] type. Default value is None.
|
2211
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerRequest or
|
2212
|
+
IO[bytes]
|
2330
2213
|
:return: LeaseContainerResponse or the result of cls(response)
|
2331
2214
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerResponse
|
2332
2215
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2333
2216
|
"""
|
2334
|
-
error_map = {
|
2217
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2335
2218
|
401: ClientAuthenticationError,
|
2336
2219
|
404: ResourceNotFoundError,
|
2337
2220
|
409: ResourceExistsError,
|
@@ -2342,8 +2225,8 @@ class BlobContainersOperations:
|
|
2342
2225
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
2343
2226
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2344
2227
|
|
2345
|
-
api_version:
|
2346
|
-
"api_version", _params.pop("api-version", "2020-08-01-preview")
|
2228
|
+
api_version: str = kwargs.pop(
|
2229
|
+
"api_version", _params.pop("api-version", self._api_version or "2020-08-01-preview")
|
2347
2230
|
)
|
2348
2231
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
2349
2232
|
cls: ClsType[_models.LeaseContainerResponse] = kwargs.pop("cls", None)
|
@@ -2351,7 +2234,7 @@ class BlobContainersOperations:
|
|
2351
2234
|
content_type = content_type or "application/json"
|
2352
2235
|
_json = None
|
2353
2236
|
_content = None
|
2354
|
-
if isinstance(parameters, (
|
2237
|
+
if isinstance(parameters, (IOBase, bytes)):
|
2355
2238
|
_content = parameters
|
2356
2239
|
else:
|
2357
2240
|
if parameters is not None:
|
@@ -2359,7 +2242,7 @@ class BlobContainersOperations:
|
|
2359
2242
|
else:
|
2360
2243
|
_json = None
|
2361
2244
|
|
2362
|
-
|
2245
|
+
_request = build_lease_request(
|
2363
2246
|
resource_group_name=resource_group_name,
|
2364
2247
|
account_name=account_name,
|
2365
2248
|
container_name=container_name,
|
@@ -2368,15 +2251,15 @@ class BlobContainersOperations:
|
|
2368
2251
|
content_type=content_type,
|
2369
2252
|
json=_json,
|
2370
2253
|
content=_content,
|
2371
|
-
template_url=self.lease.metadata["url"],
|
2372
2254
|
headers=_headers,
|
2373
2255
|
params=_params,
|
2374
2256
|
)
|
2375
|
-
|
2376
|
-
|
2257
|
+
_request = _convert_request(_request)
|
2258
|
+
_request.url = self._client.format_url(_request.url)
|
2377
2259
|
|
2260
|
+
_stream = False
|
2378
2261
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2379
|
-
|
2262
|
+
_request, stream=_stream, **kwargs
|
2380
2263
|
)
|
2381
2264
|
|
2382
2265
|
response = pipeline_response.http_response
|
@@ -2388,10 +2271,6 @@ class BlobContainersOperations:
|
|
2388
2271
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
2389
2272
|
|
2390
2273
|
if cls:
|
2391
|
-
return cls(pipeline_response, deserialized, {})
|
2392
|
-
|
2393
|
-
return deserialized
|
2274
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
2394
2275
|
|
2395
|
-
|
2396
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
2397
|
-
}
|
2276
|
+
return deserialized # type: ignore
|