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,7 +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: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
|
58
59
|
accept = _headers.pop("Accept", "application/json")
|
59
60
|
|
60
61
|
# Construct URL
|
@@ -70,7 +71,7 @@ def build_list_request(
|
|
70
71
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
71
72
|
}
|
72
73
|
|
73
|
-
_url: str =
|
74
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
74
75
|
|
75
76
|
# Construct parameters
|
76
77
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -93,7 +94,7 @@ def build_create_request(
|
|
93
94
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
94
95
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
95
96
|
|
96
|
-
api_version:
|
97
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
|
97
98
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
98
99
|
accept = _headers.pop("Accept", "application/json")
|
99
100
|
|
@@ -111,7 +112,7 @@ def build_create_request(
|
|
111
112
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
112
113
|
}
|
113
114
|
|
114
|
-
_url: str =
|
115
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
115
116
|
|
116
117
|
# Construct parameters
|
117
118
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -130,7 +131,7 @@ def build_update_request(
|
|
130
131
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
131
132
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
132
133
|
|
133
|
-
api_version:
|
134
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
|
134
135
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
135
136
|
accept = _headers.pop("Accept", "application/json")
|
136
137
|
|
@@ -148,7 +149,7 @@ def build_update_request(
|
|
148
149
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
149
150
|
}
|
150
151
|
|
151
|
-
_url: str =
|
152
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
152
153
|
|
153
154
|
# Construct parameters
|
154
155
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -167,7 +168,7 @@ def build_get_request(
|
|
167
168
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
168
169
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
169
170
|
|
170
|
-
api_version:
|
171
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
|
171
172
|
accept = _headers.pop("Accept", "application/json")
|
172
173
|
|
173
174
|
# Construct URL
|
@@ -184,7 +185,7 @@ def build_get_request(
|
|
184
185
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
185
186
|
}
|
186
187
|
|
187
|
-
_url: str =
|
188
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
188
189
|
|
189
190
|
# Construct parameters
|
190
191
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -200,7 +201,7 @@ def build_delete_request(
|
|
200
201
|
) -> HttpRequest:
|
201
202
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
202
203
|
|
203
|
-
api_version:
|
204
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
|
204
205
|
# Construct URL
|
205
206
|
_url = kwargs.pop(
|
206
207
|
"template_url",
|
@@ -215,7 +216,7 @@ def build_delete_request(
|
|
215
216
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
216
217
|
}
|
217
218
|
|
218
|
-
_url: str =
|
219
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
219
220
|
|
220
221
|
# Construct parameters
|
221
222
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -229,7 +230,7 @@ def build_set_legal_hold_request(
|
|
229
230
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
230
231
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
231
232
|
|
232
|
-
api_version:
|
233
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
|
233
234
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
234
235
|
accept = _headers.pop("Accept", "application/json")
|
235
236
|
|
@@ -247,7 +248,7 @@ def build_set_legal_hold_request(
|
|
247
248
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
248
249
|
}
|
249
250
|
|
250
|
-
_url: str =
|
251
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
251
252
|
|
252
253
|
# Construct parameters
|
253
254
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -266,7 +267,7 @@ def build_clear_legal_hold_request(
|
|
266
267
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
267
268
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
268
269
|
|
269
|
-
api_version:
|
270
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
|
270
271
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
271
272
|
accept = _headers.pop("Accept", "application/json")
|
272
273
|
|
@@ -284,7 +285,7 @@ def build_clear_legal_hold_request(
|
|
284
285
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
285
286
|
}
|
286
287
|
|
287
|
-
_url: str =
|
288
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
288
289
|
|
289
290
|
# Construct parameters
|
290
291
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -297,7 +298,7 @@ def build_clear_legal_hold_request(
|
|
297
298
|
return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
|
298
299
|
|
299
300
|
|
300
|
-
def build_create_or_update_immutability_policy_request(
|
301
|
+
def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
|
301
302
|
resource_group_name: str,
|
302
303
|
account_name: str,
|
303
304
|
container_name: str,
|
@@ -310,7 +311,7 @@ def build_create_or_update_immutability_policy_request(
|
|
310
311
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
311
312
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
312
313
|
|
313
|
-
api_version:
|
314
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
|
314
315
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
315
316
|
accept = _headers.pop("Accept", "application/json")
|
316
317
|
|
@@ -329,7 +330,7 @@ def build_create_or_update_immutability_policy_request(
|
|
329
330
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
330
331
|
}
|
331
332
|
|
332
|
-
_url: str =
|
333
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
333
334
|
|
334
335
|
# Construct parameters
|
335
336
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -357,7 +358,7 @@ def build_get_immutability_policy_request(
|
|
357
358
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
358
359
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
359
360
|
|
360
|
-
api_version:
|
361
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
|
361
362
|
accept = _headers.pop("Accept", "application/json")
|
362
363
|
|
363
364
|
# Construct URL
|
@@ -375,7 +376,7 @@ def build_get_immutability_policy_request(
|
|
375
376
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
376
377
|
}
|
377
378
|
|
378
|
-
_url: str =
|
379
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
379
380
|
|
380
381
|
# Construct parameters
|
381
382
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -401,7 +402,7 @@ def build_delete_immutability_policy_request(
|
|
401
402
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
402
403
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
403
404
|
|
404
|
-
api_version:
|
405
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
|
405
406
|
accept = _headers.pop("Accept", "application/json")
|
406
407
|
|
407
408
|
# Construct URL
|
@@ -419,7 +420,7 @@ def build_delete_immutability_policy_request(
|
|
419
420
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
420
421
|
}
|
421
422
|
|
422
|
-
_url: str =
|
423
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
423
424
|
|
424
425
|
# Construct parameters
|
425
426
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -443,7 +444,7 @@ def build_lock_immutability_policy_request(
|
|
443
444
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
444
445
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
445
446
|
|
446
|
-
api_version:
|
447
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
|
447
448
|
accept = _headers.pop("Accept", "application/json")
|
448
449
|
|
449
450
|
# Construct URL
|
@@ -460,7 +461,7 @@ def build_lock_immutability_policy_request(
|
|
460
461
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
461
462
|
}
|
462
463
|
|
463
|
-
_url: str =
|
464
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
464
465
|
|
465
466
|
# Construct parameters
|
466
467
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -484,7 +485,7 @@ def build_extend_immutability_policy_request(
|
|
484
485
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
485
486
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
486
487
|
|
487
|
-
api_version:
|
488
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
|
488
489
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
489
490
|
accept = _headers.pop("Accept", "application/json")
|
490
491
|
|
@@ -502,7 +503,7 @@ def build_extend_immutability_policy_request(
|
|
502
503
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
503
504
|
}
|
504
505
|
|
505
|
-
_url: str =
|
506
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
506
507
|
|
507
508
|
# Construct parameters
|
508
509
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -522,7 +523,7 @@ def build_lease_request(
|
|
522
523
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
523
524
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
524
525
|
|
525
|
-
api_version:
|
526
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
|
526
527
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
527
528
|
accept = _headers.pop("Accept", "application/json")
|
528
529
|
|
@@ -540,7 +541,7 @@ def build_lease_request(
|
|
540
541
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
541
542
|
}
|
542
543
|
|
543
|
-
_url: str =
|
544
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
544
545
|
|
545
546
|
# Construct parameters
|
546
547
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -571,6 +572,7 @@ class BlobContainersOperations:
|
|
571
572
|
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
572
573
|
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
573
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")
|
574
576
|
|
575
577
|
@distributed_trace
|
576
578
|
def list(
|
@@ -600,7 +602,6 @@ class BlobContainersOperations:
|
|
600
602
|
:param filter: Optional. When specified, only container names starting with the filter will be
|
601
603
|
listed. Default value is None.
|
602
604
|
:type filter: str
|
603
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
604
605
|
:return: An iterator like instance of either ListContainerItem or the result of cls(response)
|
605
606
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2019_04_01.models.ListContainerItem]
|
606
607
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -608,10 +609,10 @@ class BlobContainersOperations:
|
|
608
609
|
_headers = kwargs.pop("headers", {}) or {}
|
609
610
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
610
611
|
|
611
|
-
api_version:
|
612
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
612
613
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
613
614
|
|
614
|
-
error_map = {
|
615
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
615
616
|
401: ClientAuthenticationError,
|
616
617
|
404: ResourceNotFoundError,
|
617
618
|
409: ResourceExistsError,
|
@@ -622,7 +623,7 @@ class BlobContainersOperations:
|
|
622
623
|
def prepare_request(next_link=None):
|
623
624
|
if not next_link:
|
624
625
|
|
625
|
-
|
626
|
+
_request = build_list_request(
|
626
627
|
resource_group_name=resource_group_name,
|
627
628
|
account_name=account_name,
|
628
629
|
subscription_id=self._config.subscription_id,
|
@@ -630,12 +631,11 @@ class BlobContainersOperations:
|
|
630
631
|
maxpagesize=maxpagesize,
|
631
632
|
filter=filter,
|
632
633
|
api_version=api_version,
|
633
|
-
template_url=self.list.metadata["url"],
|
634
634
|
headers=_headers,
|
635
635
|
params=_params,
|
636
636
|
)
|
637
|
-
|
638
|
-
|
637
|
+
_request = _convert_request(_request)
|
638
|
+
_request.url = self._client.format_url(_request.url)
|
639
639
|
|
640
640
|
else:
|
641
641
|
# make call to next link with the client's api-version
|
@@ -646,14 +646,14 @@ class BlobContainersOperations:
|
|
646
646
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
647
647
|
}
|
648
648
|
)
|
649
|
-
_next_request_params["api-version"] = self.
|
650
|
-
|
649
|
+
_next_request_params["api-version"] = self._api_version
|
650
|
+
_request = HttpRequest(
|
651
651
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
652
652
|
)
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
return
|
653
|
+
_request = _convert_request(_request)
|
654
|
+
_request.url = self._client.format_url(_request.url)
|
655
|
+
_request.method = "GET"
|
656
|
+
return _request
|
657
657
|
|
658
658
|
def extract_data(pipeline_response):
|
659
659
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
@@ -663,10 +663,11 @@ class BlobContainersOperations:
|
|
663
663
|
return deserialized.next_link or None, iter(list_of_elem)
|
664
664
|
|
665
665
|
def get_next(next_link=None):
|
666
|
-
|
666
|
+
_request = prepare_request(next_link)
|
667
667
|
|
668
|
+
_stream = False
|
668
669
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
669
|
-
|
670
|
+
_request, stream=_stream, **kwargs
|
670
671
|
)
|
671
672
|
response = pipeline_response.http_response
|
672
673
|
|
@@ -678,10 +679,6 @@ class BlobContainersOperations:
|
|
678
679
|
|
679
680
|
return ItemPaged(get_next, extract_data)
|
680
681
|
|
681
|
-
list.metadata = {
|
682
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
683
|
-
}
|
684
|
-
|
685
682
|
@overload
|
686
683
|
def create(
|
687
684
|
self,
|
@@ -714,7 +711,6 @@ class BlobContainersOperations:
|
|
714
711
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
715
712
|
Default value is "application/json".
|
716
713
|
:paramtype content_type: str
|
717
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
718
714
|
:return: BlobContainer or the result of cls(response)
|
719
715
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
720
716
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -726,7 +722,7 @@ class BlobContainersOperations:
|
|
726
722
|
resource_group_name: str,
|
727
723
|
account_name: str,
|
728
724
|
container_name: str,
|
729
|
-
blob_container: IO,
|
725
|
+
blob_container: IO[bytes],
|
730
726
|
*,
|
731
727
|
content_type: str = "application/json",
|
732
728
|
**kwargs: Any
|
@@ -748,11 +744,10 @@ class BlobContainersOperations:
|
|
748
744
|
by a letter or number. Required.
|
749
745
|
:type container_name: str
|
750
746
|
:param blob_container: Properties of the blob container to create. Required.
|
751
|
-
:type blob_container: IO
|
747
|
+
:type blob_container: IO[bytes]
|
752
748
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
753
749
|
Default value is "application/json".
|
754
750
|
:paramtype content_type: str
|
755
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
756
751
|
:return: BlobContainer or the result of cls(response)
|
757
752
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
758
753
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -764,7 +759,7 @@ class BlobContainersOperations:
|
|
764
759
|
resource_group_name: str,
|
765
760
|
account_name: str,
|
766
761
|
container_name: str,
|
767
|
-
blob_container: Union[_models.BlobContainer, IO],
|
762
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
768
763
|
**kwargs: Any
|
769
764
|
) -> _models.BlobContainer:
|
770
765
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -784,17 +779,13 @@ class BlobContainersOperations:
|
|
784
779
|
by a letter or number. Required.
|
785
780
|
:type container_name: str
|
786
781
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
787
|
-
type or a IO type. Required.
|
788
|
-
:type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO
|
789
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
790
|
-
Default value is None.
|
791
|
-
:paramtype content_type: str
|
792
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
782
|
+
type or a IO[bytes] type. Required.
|
783
|
+
:type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO[bytes]
|
793
784
|
:return: BlobContainer or the result of cls(response)
|
794
785
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
795
786
|
:raises ~azure.core.exceptions.HttpResponseError:
|
796
787
|
"""
|
797
|
-
error_map = {
|
788
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
798
789
|
401: ClientAuthenticationError,
|
799
790
|
404: ResourceNotFoundError,
|
800
791
|
409: ResourceExistsError,
|
@@ -805,19 +796,19 @@ class BlobContainersOperations:
|
|
805
796
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
806
797
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
807
798
|
|
808
|
-
api_version:
|
799
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
809
800
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
810
801
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
811
802
|
|
812
803
|
content_type = content_type or "application/json"
|
813
804
|
_json = None
|
814
805
|
_content = None
|
815
|
-
if isinstance(blob_container, (
|
806
|
+
if isinstance(blob_container, (IOBase, bytes)):
|
816
807
|
_content = blob_container
|
817
808
|
else:
|
818
809
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
819
810
|
|
820
|
-
|
811
|
+
_request = build_create_request(
|
821
812
|
resource_group_name=resource_group_name,
|
822
813
|
account_name=account_name,
|
823
814
|
container_name=container_name,
|
@@ -826,15 +817,15 @@ class BlobContainersOperations:
|
|
826
817
|
content_type=content_type,
|
827
818
|
json=_json,
|
828
819
|
content=_content,
|
829
|
-
template_url=self.create.metadata["url"],
|
830
820
|
headers=_headers,
|
831
821
|
params=_params,
|
832
822
|
)
|
833
|
-
|
834
|
-
|
823
|
+
_request = _convert_request(_request)
|
824
|
+
_request.url = self._client.format_url(_request.url)
|
835
825
|
|
826
|
+
_stream = False
|
836
827
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
837
|
-
|
828
|
+
_request, stream=_stream, **kwargs
|
838
829
|
)
|
839
830
|
|
840
831
|
response = pipeline_response.http_response
|
@@ -854,10 +845,6 @@ class BlobContainersOperations:
|
|
854
845
|
|
855
846
|
return deserialized # type: ignore
|
856
847
|
|
857
|
-
create.metadata = {
|
858
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
859
|
-
}
|
860
|
-
|
861
848
|
@overload
|
862
849
|
def update(
|
863
850
|
self,
|
@@ -889,7 +876,6 @@ class BlobContainersOperations:
|
|
889
876
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
890
877
|
Default value is "application/json".
|
891
878
|
:paramtype content_type: str
|
892
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
893
879
|
:return: BlobContainer or the result of cls(response)
|
894
880
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
895
881
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -901,7 +887,7 @@ class BlobContainersOperations:
|
|
901
887
|
resource_group_name: str,
|
902
888
|
account_name: str,
|
903
889
|
container_name: str,
|
904
|
-
blob_container: IO,
|
890
|
+
blob_container: IO[bytes],
|
905
891
|
*,
|
906
892
|
content_type: str = "application/json",
|
907
893
|
**kwargs: Any
|
@@ -922,11 +908,10 @@ class BlobContainersOperations:
|
|
922
908
|
by a letter or number. Required.
|
923
909
|
:type container_name: str
|
924
910
|
:param blob_container: Properties to update for the blob container. Required.
|
925
|
-
:type blob_container: IO
|
911
|
+
:type blob_container: IO[bytes]
|
926
912
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
927
913
|
Default value is "application/json".
|
928
914
|
:paramtype content_type: str
|
929
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
930
915
|
:return: BlobContainer or the result of cls(response)
|
931
916
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
932
917
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -938,7 +923,7 @@ class BlobContainersOperations:
|
|
938
923
|
resource_group_name: str,
|
939
924
|
account_name: str,
|
940
925
|
container_name: str,
|
941
|
-
blob_container: Union[_models.BlobContainer, IO],
|
926
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
942
927
|
**kwargs: Any
|
943
928
|
) -> _models.BlobContainer:
|
944
929
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -957,17 +942,13 @@ class BlobContainersOperations:
|
|
957
942
|
by a letter or number. Required.
|
958
943
|
:type container_name: str
|
959
944
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
960
|
-
type or a IO type. Required.
|
961
|
-
:type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO
|
962
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
963
|
-
Default value is None.
|
964
|
-
:paramtype content_type: str
|
965
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
945
|
+
type or a IO[bytes] type. Required.
|
946
|
+
:type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO[bytes]
|
966
947
|
:return: BlobContainer or the result of cls(response)
|
967
948
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
968
949
|
:raises ~azure.core.exceptions.HttpResponseError:
|
969
950
|
"""
|
970
|
-
error_map = {
|
951
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
971
952
|
401: ClientAuthenticationError,
|
972
953
|
404: ResourceNotFoundError,
|
973
954
|
409: ResourceExistsError,
|
@@ -978,19 +959,19 @@ class BlobContainersOperations:
|
|
978
959
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
979
960
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
980
961
|
|
981
|
-
api_version:
|
962
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
982
963
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
983
964
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
984
965
|
|
985
966
|
content_type = content_type or "application/json"
|
986
967
|
_json = None
|
987
968
|
_content = None
|
988
|
-
if isinstance(blob_container, (
|
969
|
+
if isinstance(blob_container, (IOBase, bytes)):
|
989
970
|
_content = blob_container
|
990
971
|
else:
|
991
972
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
992
973
|
|
993
|
-
|
974
|
+
_request = build_update_request(
|
994
975
|
resource_group_name=resource_group_name,
|
995
976
|
account_name=account_name,
|
996
977
|
container_name=container_name,
|
@@ -999,15 +980,15 @@ class BlobContainersOperations:
|
|
999
980
|
content_type=content_type,
|
1000
981
|
json=_json,
|
1001
982
|
content=_content,
|
1002
|
-
template_url=self.update.metadata["url"],
|
1003
983
|
headers=_headers,
|
1004
984
|
params=_params,
|
1005
985
|
)
|
1006
|
-
|
1007
|
-
|
986
|
+
_request = _convert_request(_request)
|
987
|
+
_request.url = self._client.format_url(_request.url)
|
1008
988
|
|
989
|
+
_stream = False
|
1009
990
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1010
|
-
|
991
|
+
_request, stream=_stream, **kwargs
|
1011
992
|
)
|
1012
993
|
|
1013
994
|
response = pipeline_response.http_response
|
@@ -1019,13 +1000,9 @@ class BlobContainersOperations:
|
|
1019
1000
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
1020
1001
|
|
1021
1002
|
if cls:
|
1022
|
-
return cls(pipeline_response, deserialized, {})
|
1023
|
-
|
1024
|
-
return deserialized
|
1003
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1025
1004
|
|
1026
|
-
|
1027
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1028
|
-
}
|
1005
|
+
return deserialized # type: ignore
|
1029
1006
|
|
1030
1007
|
@distributed_trace
|
1031
1008
|
def get(
|
@@ -1045,12 +1022,11 @@ class BlobContainersOperations:
|
|
1045
1022
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1046
1023
|
by a letter or number. Required.
|
1047
1024
|
:type container_name: str
|
1048
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1049
1025
|
:return: BlobContainer or the result of cls(response)
|
1050
1026
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
1051
1027
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1052
1028
|
"""
|
1053
|
-
error_map = {
|
1029
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1054
1030
|
401: ClientAuthenticationError,
|
1055
1031
|
404: ResourceNotFoundError,
|
1056
1032
|
409: ResourceExistsError,
|
@@ -1061,24 +1037,24 @@ class BlobContainersOperations:
|
|
1061
1037
|
_headers = kwargs.pop("headers", {}) or {}
|
1062
1038
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1063
1039
|
|
1064
|
-
api_version:
|
1040
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1065
1041
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
1066
1042
|
|
1067
|
-
|
1043
|
+
_request = build_get_request(
|
1068
1044
|
resource_group_name=resource_group_name,
|
1069
1045
|
account_name=account_name,
|
1070
1046
|
container_name=container_name,
|
1071
1047
|
subscription_id=self._config.subscription_id,
|
1072
1048
|
api_version=api_version,
|
1073
|
-
template_url=self.get.metadata["url"],
|
1074
1049
|
headers=_headers,
|
1075
1050
|
params=_params,
|
1076
1051
|
)
|
1077
|
-
|
1078
|
-
|
1052
|
+
_request = _convert_request(_request)
|
1053
|
+
_request.url = self._client.format_url(_request.url)
|
1079
1054
|
|
1055
|
+
_stream = False
|
1080
1056
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1081
|
-
|
1057
|
+
_request, stream=_stream, **kwargs
|
1082
1058
|
)
|
1083
1059
|
|
1084
1060
|
response = pipeline_response.http_response
|
@@ -1090,13 +1066,9 @@ class BlobContainersOperations:
|
|
1090
1066
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
1091
1067
|
|
1092
1068
|
if cls:
|
1093
|
-
return cls(pipeline_response, deserialized, {})
|
1094
|
-
|
1095
|
-
return deserialized
|
1069
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1096
1070
|
|
1097
|
-
|
1098
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1099
|
-
}
|
1071
|
+
return deserialized # type: ignore
|
1100
1072
|
|
1101
1073
|
@distributed_trace
|
1102
1074
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -1116,12 +1088,11 @@ class BlobContainersOperations:
|
|
1116
1088
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1117
1089
|
by a letter or number. Required.
|
1118
1090
|
:type container_name: str
|
1119
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1120
1091
|
:return: None or the result of cls(response)
|
1121
1092
|
:rtype: None
|
1122
1093
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1123
1094
|
"""
|
1124
|
-
error_map = {
|
1095
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1125
1096
|
401: ClientAuthenticationError,
|
1126
1097
|
404: ResourceNotFoundError,
|
1127
1098
|
409: ResourceExistsError,
|
@@ -1132,24 +1103,24 @@ class BlobContainersOperations:
|
|
1132
1103
|
_headers = kwargs.pop("headers", {}) or {}
|
1133
1104
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1134
1105
|
|
1135
|
-
api_version:
|
1106
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1136
1107
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1137
1108
|
|
1138
|
-
|
1109
|
+
_request = build_delete_request(
|
1139
1110
|
resource_group_name=resource_group_name,
|
1140
1111
|
account_name=account_name,
|
1141
1112
|
container_name=container_name,
|
1142
1113
|
subscription_id=self._config.subscription_id,
|
1143
1114
|
api_version=api_version,
|
1144
|
-
template_url=self.delete.metadata["url"],
|
1145
1115
|
headers=_headers,
|
1146
1116
|
params=_params,
|
1147
1117
|
)
|
1148
|
-
|
1149
|
-
|
1118
|
+
_request = _convert_request(_request)
|
1119
|
+
_request.url = self._client.format_url(_request.url)
|
1150
1120
|
|
1121
|
+
_stream = False
|
1151
1122
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1152
|
-
|
1123
|
+
_request, stream=_stream, **kwargs
|
1153
1124
|
)
|
1154
1125
|
|
1155
1126
|
response = pipeline_response.http_response
|
@@ -1159,11 +1130,7 @@ class BlobContainersOperations:
|
|
1159
1130
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1160
1131
|
|
1161
1132
|
if cls:
|
1162
|
-
return cls(pipeline_response, None, {})
|
1163
|
-
|
1164
|
-
delete.metadata = {
|
1165
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1166
|
-
}
|
1133
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1167
1134
|
|
1168
1135
|
@overload
|
1169
1136
|
def set_legal_hold(
|
@@ -1197,7 +1164,6 @@ class BlobContainersOperations:
|
|
1197
1164
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1198
1165
|
Default value is "application/json".
|
1199
1166
|
:paramtype content_type: str
|
1200
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1201
1167
|
:return: LegalHold or the result of cls(response)
|
1202
1168
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
1203
1169
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1209,7 +1175,7 @@ class BlobContainersOperations:
|
|
1209
1175
|
resource_group_name: str,
|
1210
1176
|
account_name: str,
|
1211
1177
|
container_name: str,
|
1212
|
-
legal_hold: IO,
|
1178
|
+
legal_hold: IO[bytes],
|
1213
1179
|
*,
|
1214
1180
|
content_type: str = "application/json",
|
1215
1181
|
**kwargs: Any
|
@@ -1231,11 +1197,10 @@ class BlobContainersOperations:
|
|
1231
1197
|
by a letter or number. Required.
|
1232
1198
|
:type container_name: str
|
1233
1199
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
1234
|
-
:type legal_hold: IO
|
1200
|
+
:type legal_hold: IO[bytes]
|
1235
1201
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1236
1202
|
Default value is "application/json".
|
1237
1203
|
:paramtype content_type: str
|
1238
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1239
1204
|
:return: LegalHold or the result of cls(response)
|
1240
1205
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
1241
1206
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1247,7 +1212,7 @@ class BlobContainersOperations:
|
|
1247
1212
|
resource_group_name: str,
|
1248
1213
|
account_name: str,
|
1249
1214
|
container_name: str,
|
1250
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1215
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1251
1216
|
**kwargs: Any
|
1252
1217
|
) -> _models.LegalHold:
|
1253
1218
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -1267,17 +1232,13 @@ class BlobContainersOperations:
|
|
1267
1232
|
by a letter or number. Required.
|
1268
1233
|
:type container_name: str
|
1269
1234
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
1270
|
-
LegalHold type or a IO type. Required.
|
1271
|
-
:type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO
|
1272
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1273
|
-
Default value is None.
|
1274
|
-
:paramtype content_type: str
|
1275
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1235
|
+
LegalHold type or a IO[bytes] type. Required.
|
1236
|
+
:type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO[bytes]
|
1276
1237
|
:return: LegalHold or the result of cls(response)
|
1277
1238
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
1278
1239
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1279
1240
|
"""
|
1280
|
-
error_map = {
|
1241
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1281
1242
|
401: ClientAuthenticationError,
|
1282
1243
|
404: ResourceNotFoundError,
|
1283
1244
|
409: ResourceExistsError,
|
@@ -1288,19 +1249,19 @@ class BlobContainersOperations:
|
|
1288
1249
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1289
1250
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1290
1251
|
|
1291
|
-
api_version:
|
1252
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1292
1253
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1293
1254
|
cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
|
1294
1255
|
|
1295
1256
|
content_type = content_type or "application/json"
|
1296
1257
|
_json = None
|
1297
1258
|
_content = None
|
1298
|
-
if isinstance(legal_hold, (
|
1259
|
+
if isinstance(legal_hold, (IOBase, bytes)):
|
1299
1260
|
_content = legal_hold
|
1300
1261
|
else:
|
1301
1262
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1302
1263
|
|
1303
|
-
|
1264
|
+
_request = build_set_legal_hold_request(
|
1304
1265
|
resource_group_name=resource_group_name,
|
1305
1266
|
account_name=account_name,
|
1306
1267
|
container_name=container_name,
|
@@ -1309,15 +1270,15 @@ class BlobContainersOperations:
|
|
1309
1270
|
content_type=content_type,
|
1310
1271
|
json=_json,
|
1311
1272
|
content=_content,
|
1312
|
-
template_url=self.set_legal_hold.metadata["url"],
|
1313
1273
|
headers=_headers,
|
1314
1274
|
params=_params,
|
1315
1275
|
)
|
1316
|
-
|
1317
|
-
|
1276
|
+
_request = _convert_request(_request)
|
1277
|
+
_request.url = self._client.format_url(_request.url)
|
1318
1278
|
|
1279
|
+
_stream = False
|
1319
1280
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1320
|
-
|
1281
|
+
_request, stream=_stream, **kwargs
|
1321
1282
|
)
|
1322
1283
|
|
1323
1284
|
response = pipeline_response.http_response
|
@@ -1329,13 +1290,9 @@ class BlobContainersOperations:
|
|
1329
1290
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1330
1291
|
|
1331
1292
|
if cls:
|
1332
|
-
return cls(pipeline_response, deserialized, {})
|
1333
|
-
|
1334
|
-
return deserialized
|
1293
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1335
1294
|
|
1336
|
-
|
1337
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
1338
|
-
}
|
1295
|
+
return deserialized # type: ignore
|
1339
1296
|
|
1340
1297
|
@overload
|
1341
1298
|
def clear_legal_hold(
|
@@ -1368,7 +1325,6 @@ class BlobContainersOperations:
|
|
1368
1325
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1369
1326
|
Default value is "application/json".
|
1370
1327
|
:paramtype content_type: str
|
1371
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1372
1328
|
:return: LegalHold or the result of cls(response)
|
1373
1329
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
1374
1330
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1380,7 +1336,7 @@ class BlobContainersOperations:
|
|
1380
1336
|
resource_group_name: str,
|
1381
1337
|
account_name: str,
|
1382
1338
|
container_name: str,
|
1383
|
-
legal_hold: IO,
|
1339
|
+
legal_hold: IO[bytes],
|
1384
1340
|
*,
|
1385
1341
|
content_type: str = "application/json",
|
1386
1342
|
**kwargs: Any
|
@@ -1401,11 +1357,10 @@ class BlobContainersOperations:
|
|
1401
1357
|
by a letter or number. Required.
|
1402
1358
|
:type container_name: str
|
1403
1359
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
1404
|
-
:type legal_hold: IO
|
1360
|
+
:type legal_hold: IO[bytes]
|
1405
1361
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1406
1362
|
Default value is "application/json".
|
1407
1363
|
:paramtype content_type: str
|
1408
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1409
1364
|
:return: LegalHold or the result of cls(response)
|
1410
1365
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
1411
1366
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1417,7 +1372,7 @@ class BlobContainersOperations:
|
|
1417
1372
|
resource_group_name: str,
|
1418
1373
|
account_name: str,
|
1419
1374
|
container_name: str,
|
1420
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1375
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1421
1376
|
**kwargs: Any
|
1422
1377
|
) -> _models.LegalHold:
|
1423
1378
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -1436,17 +1391,13 @@ class BlobContainersOperations:
|
|
1436
1391
|
by a letter or number. Required.
|
1437
1392
|
:type container_name: str
|
1438
1393
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
1439
|
-
LegalHold type or a IO type. Required.
|
1440
|
-
:type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO
|
1441
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1442
|
-
Default value is None.
|
1443
|
-
:paramtype content_type: str
|
1444
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1394
|
+
LegalHold type or a IO[bytes] type. Required.
|
1395
|
+
:type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO[bytes]
|
1445
1396
|
:return: LegalHold or the result of cls(response)
|
1446
1397
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
1447
1398
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1448
1399
|
"""
|
1449
|
-
error_map = {
|
1400
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1450
1401
|
401: ClientAuthenticationError,
|
1451
1402
|
404: ResourceNotFoundError,
|
1452
1403
|
409: ResourceExistsError,
|
@@ -1457,19 +1408,19 @@ class BlobContainersOperations:
|
|
1457
1408
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1458
1409
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1459
1410
|
|
1460
|
-
api_version:
|
1411
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1461
1412
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1462
1413
|
cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
|
1463
1414
|
|
1464
1415
|
content_type = content_type or "application/json"
|
1465
1416
|
_json = None
|
1466
1417
|
_content = None
|
1467
|
-
if isinstance(legal_hold, (
|
1418
|
+
if isinstance(legal_hold, (IOBase, bytes)):
|
1468
1419
|
_content = legal_hold
|
1469
1420
|
else:
|
1470
1421
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1471
1422
|
|
1472
|
-
|
1423
|
+
_request = build_clear_legal_hold_request(
|
1473
1424
|
resource_group_name=resource_group_name,
|
1474
1425
|
account_name=account_name,
|
1475
1426
|
container_name=container_name,
|
@@ -1478,15 +1429,15 @@ class BlobContainersOperations:
|
|
1478
1429
|
content_type=content_type,
|
1479
1430
|
json=_json,
|
1480
1431
|
content=_content,
|
1481
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
1482
1432
|
headers=_headers,
|
1483
1433
|
params=_params,
|
1484
1434
|
)
|
1485
|
-
|
1486
|
-
|
1435
|
+
_request = _convert_request(_request)
|
1436
|
+
_request.url = self._client.format_url(_request.url)
|
1487
1437
|
|
1438
|
+
_stream = False
|
1488
1439
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1489
|
-
|
1440
|
+
_request, stream=_stream, **kwargs
|
1490
1441
|
)
|
1491
1442
|
|
1492
1443
|
response = pipeline_response.http_response
|
@@ -1498,13 +1449,9 @@ class BlobContainersOperations:
|
|
1498
1449
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1499
1450
|
|
1500
1451
|
if cls:
|
1501
|
-
return cls(pipeline_response, deserialized, {})
|
1502
|
-
|
1503
|
-
return deserialized
|
1452
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1504
1453
|
|
1505
|
-
|
1506
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
1507
|
-
}
|
1454
|
+
return deserialized # type: ignore
|
1508
1455
|
|
1509
1456
|
@overload
|
1510
1457
|
def create_or_update_immutability_policy(
|
@@ -1547,7 +1494,6 @@ class BlobContainersOperations:
|
|
1547
1494
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1548
1495
|
Default value is "application/json".
|
1549
1496
|
:paramtype content_type: str
|
1550
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1551
1497
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1552
1498
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1553
1499
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1561,7 +1507,7 @@ class BlobContainersOperations:
|
|
1561
1507
|
container_name: str,
|
1562
1508
|
immutability_policy_name: Union[str, _models.Enum16],
|
1563
1509
|
if_match: Optional[str] = None,
|
1564
|
-
parameters: Optional[IO] = None,
|
1510
|
+
parameters: Optional[IO[bytes]] = None,
|
1565
1511
|
*,
|
1566
1512
|
content_type: str = "application/json",
|
1567
1513
|
**kwargs: Any
|
@@ -1590,11 +1536,10 @@ class BlobContainersOperations:
|
|
1590
1536
|
:type if_match: str
|
1591
1537
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1592
1538
|
container. Default value is None.
|
1593
|
-
:type parameters: IO
|
1539
|
+
:type parameters: IO[bytes]
|
1594
1540
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1595
1541
|
Default value is "application/json".
|
1596
1542
|
:paramtype content_type: str
|
1597
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1598
1543
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1599
1544
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1600
1545
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1608,7 +1553,7 @@ class BlobContainersOperations:
|
|
1608
1553
|
container_name: str,
|
1609
1554
|
immutability_policy_name: Union[str, _models.Enum16],
|
1610
1555
|
if_match: Optional[str] = None,
|
1611
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1556
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1612
1557
|
**kwargs: Any
|
1613
1558
|
) -> _models.ImmutabilityPolicy:
|
1614
1559
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1634,17 +1579,13 @@ class BlobContainersOperations:
|
|
1634
1579
|
omitted, this operation will always be applied. Default value is None.
|
1635
1580
|
:type if_match: str
|
1636
1581
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1637
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1638
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO
|
1639
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1640
|
-
Default value is None.
|
1641
|
-
:paramtype content_type: str
|
1642
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1582
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1583
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO[bytes]
|
1643
1584
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1644
1585
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1645
1586
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1646
1587
|
"""
|
1647
|
-
error_map = {
|
1588
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1648
1589
|
401: ClientAuthenticationError,
|
1649
1590
|
404: ResourceNotFoundError,
|
1650
1591
|
409: ResourceExistsError,
|
@@ -1655,14 +1596,14 @@ class BlobContainersOperations:
|
|
1655
1596
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1656
1597
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1657
1598
|
|
1658
|
-
api_version:
|
1599
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1659
1600
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1660
1601
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1661
1602
|
|
1662
1603
|
content_type = content_type or "application/json"
|
1663
1604
|
_json = None
|
1664
1605
|
_content = None
|
1665
|
-
if isinstance(parameters, (
|
1606
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1666
1607
|
_content = parameters
|
1667
1608
|
else:
|
1668
1609
|
if parameters is not None:
|
@@ -1670,7 +1611,7 @@ class BlobContainersOperations:
|
|
1670
1611
|
else:
|
1671
1612
|
_json = None
|
1672
1613
|
|
1673
|
-
|
1614
|
+
_request = build_create_or_update_immutability_policy_request(
|
1674
1615
|
resource_group_name=resource_group_name,
|
1675
1616
|
account_name=account_name,
|
1676
1617
|
container_name=container_name,
|
@@ -1681,15 +1622,15 @@ class BlobContainersOperations:
|
|
1681
1622
|
content_type=content_type,
|
1682
1623
|
json=_json,
|
1683
1624
|
content=_content,
|
1684
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1685
1625
|
headers=_headers,
|
1686
1626
|
params=_params,
|
1687
1627
|
)
|
1688
|
-
|
1689
|
-
|
1628
|
+
_request = _convert_request(_request)
|
1629
|
+
_request.url = self._client.format_url(_request.url)
|
1690
1630
|
|
1631
|
+
_stream = False
|
1691
1632
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1692
|
-
|
1633
|
+
_request, stream=_stream, **kwargs
|
1693
1634
|
)
|
1694
1635
|
|
1695
1636
|
response = pipeline_response.http_response
|
@@ -1704,13 +1645,9 @@ class BlobContainersOperations:
|
|
1704
1645
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1705
1646
|
|
1706
1647
|
if cls:
|
1707
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1648
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1708
1649
|
|
1709
|
-
return deserialized
|
1710
|
-
|
1711
|
-
create_or_update_immutability_policy.metadata = {
|
1712
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1713
|
-
}
|
1650
|
+
return deserialized # type: ignore
|
1714
1651
|
|
1715
1652
|
@distributed_trace
|
1716
1653
|
def get_immutability_policy(
|
@@ -1744,12 +1681,11 @@ class BlobContainersOperations:
|
|
1744
1681
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1745
1682
|
omitted, this operation will always be applied. Default value is None.
|
1746
1683
|
:type if_match: str
|
1747
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1748
1684
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1749
1685
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1750
1686
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1751
1687
|
"""
|
1752
|
-
error_map = {
|
1688
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1753
1689
|
401: ClientAuthenticationError,
|
1754
1690
|
404: ResourceNotFoundError,
|
1755
1691
|
409: ResourceExistsError,
|
@@ -1760,10 +1696,10 @@ class BlobContainersOperations:
|
|
1760
1696
|
_headers = kwargs.pop("headers", {}) or {}
|
1761
1697
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1762
1698
|
|
1763
|
-
api_version:
|
1699
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1764
1700
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1765
1701
|
|
1766
|
-
|
1702
|
+
_request = build_get_immutability_policy_request(
|
1767
1703
|
resource_group_name=resource_group_name,
|
1768
1704
|
account_name=account_name,
|
1769
1705
|
container_name=container_name,
|
@@ -1771,15 +1707,15 @@ class BlobContainersOperations:
|
|
1771
1707
|
subscription_id=self._config.subscription_id,
|
1772
1708
|
if_match=if_match,
|
1773
1709
|
api_version=api_version,
|
1774
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1775
1710
|
headers=_headers,
|
1776
1711
|
params=_params,
|
1777
1712
|
)
|
1778
|
-
|
1779
|
-
|
1713
|
+
_request = _convert_request(_request)
|
1714
|
+
_request.url = self._client.format_url(_request.url)
|
1780
1715
|
|
1716
|
+
_stream = False
|
1781
1717
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1782
|
-
|
1718
|
+
_request, stream=_stream, **kwargs
|
1783
1719
|
)
|
1784
1720
|
|
1785
1721
|
response = pipeline_response.http_response
|
@@ -1794,13 +1730,9 @@ class BlobContainersOperations:
|
|
1794
1730
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1795
1731
|
|
1796
1732
|
if cls:
|
1797
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1733
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1798
1734
|
|
1799
|
-
return deserialized
|
1800
|
-
|
1801
|
-
get_immutability_policy.metadata = {
|
1802
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1803
|
-
}
|
1735
|
+
return deserialized # type: ignore
|
1804
1736
|
|
1805
1737
|
@distributed_trace
|
1806
1738
|
def delete_immutability_policy(
|
@@ -1836,12 +1768,11 @@ class BlobContainersOperations:
|
|
1836
1768
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1837
1769
|
omitted, this operation will always be applied. Required.
|
1838
1770
|
:type if_match: str
|
1839
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1840
1771
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1841
1772
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1842
1773
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1843
1774
|
"""
|
1844
|
-
error_map = {
|
1775
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1845
1776
|
401: ClientAuthenticationError,
|
1846
1777
|
404: ResourceNotFoundError,
|
1847
1778
|
409: ResourceExistsError,
|
@@ -1852,10 +1783,10 @@ class BlobContainersOperations:
|
|
1852
1783
|
_headers = kwargs.pop("headers", {}) or {}
|
1853
1784
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1854
1785
|
|
1855
|
-
api_version:
|
1786
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1856
1787
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1857
1788
|
|
1858
|
-
|
1789
|
+
_request = build_delete_immutability_policy_request(
|
1859
1790
|
resource_group_name=resource_group_name,
|
1860
1791
|
account_name=account_name,
|
1861
1792
|
container_name=container_name,
|
@@ -1863,15 +1794,15 @@ class BlobContainersOperations:
|
|
1863
1794
|
subscription_id=self._config.subscription_id,
|
1864
1795
|
if_match=if_match,
|
1865
1796
|
api_version=api_version,
|
1866
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1867
1797
|
headers=_headers,
|
1868
1798
|
params=_params,
|
1869
1799
|
)
|
1870
|
-
|
1871
|
-
|
1800
|
+
_request = _convert_request(_request)
|
1801
|
+
_request.url = self._client.format_url(_request.url)
|
1872
1802
|
|
1803
|
+
_stream = False
|
1873
1804
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1874
|
-
|
1805
|
+
_request, stream=_stream, **kwargs
|
1875
1806
|
)
|
1876
1807
|
|
1877
1808
|
response = pipeline_response.http_response
|
@@ -1886,13 +1817,9 @@ class BlobContainersOperations:
|
|
1886
1817
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1887
1818
|
|
1888
1819
|
if cls:
|
1889
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1820
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1890
1821
|
|
1891
|
-
return deserialized
|
1892
|
-
|
1893
|
-
delete_immutability_policy.metadata = {
|
1894
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1895
|
-
}
|
1822
|
+
return deserialized # type: ignore
|
1896
1823
|
|
1897
1824
|
@distributed_trace
|
1898
1825
|
def lock_immutability_policy(
|
@@ -1917,12 +1844,11 @@ class BlobContainersOperations:
|
|
1917
1844
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1918
1845
|
omitted, this operation will always be applied. Required.
|
1919
1846
|
:type if_match: str
|
1920
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1921
1847
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1922
1848
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1923
1849
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1924
1850
|
"""
|
1925
|
-
error_map = {
|
1851
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1926
1852
|
401: ClientAuthenticationError,
|
1927
1853
|
404: ResourceNotFoundError,
|
1928
1854
|
409: ResourceExistsError,
|
@@ -1933,25 +1859,25 @@ class BlobContainersOperations:
|
|
1933
1859
|
_headers = kwargs.pop("headers", {}) or {}
|
1934
1860
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1935
1861
|
|
1936
|
-
api_version:
|
1862
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1937
1863
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1938
1864
|
|
1939
|
-
|
1865
|
+
_request = build_lock_immutability_policy_request(
|
1940
1866
|
resource_group_name=resource_group_name,
|
1941
1867
|
account_name=account_name,
|
1942
1868
|
container_name=container_name,
|
1943
1869
|
subscription_id=self._config.subscription_id,
|
1944
1870
|
if_match=if_match,
|
1945
1871
|
api_version=api_version,
|
1946
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1947
1872
|
headers=_headers,
|
1948
1873
|
params=_params,
|
1949
1874
|
)
|
1950
|
-
|
1951
|
-
|
1875
|
+
_request = _convert_request(_request)
|
1876
|
+
_request.url = self._client.format_url(_request.url)
|
1952
1877
|
|
1878
|
+
_stream = False
|
1953
1879
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1954
|
-
|
1880
|
+
_request, stream=_stream, **kwargs
|
1955
1881
|
)
|
1956
1882
|
|
1957
1883
|
response = pipeline_response.http_response
|
@@ -1966,13 +1892,9 @@ class BlobContainersOperations:
|
|
1966
1892
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1967
1893
|
|
1968
1894
|
if cls:
|
1969
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1895
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1970
1896
|
|
1971
|
-
return deserialized
|
1972
|
-
|
1973
|
-
lock_immutability_policy.metadata = {
|
1974
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
1975
|
-
}
|
1897
|
+
return deserialized # type: ignore
|
1976
1898
|
|
1977
1899
|
@overload
|
1978
1900
|
def extend_immutability_policy(
|
@@ -2012,7 +1934,6 @@ class BlobContainersOperations:
|
|
2012
1934
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2013
1935
|
Default value is "application/json".
|
2014
1936
|
:paramtype content_type: str
|
2015
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2016
1937
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2017
1938
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
2018
1939
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2025,7 +1946,7 @@ class BlobContainersOperations:
|
|
2025
1946
|
account_name: str,
|
2026
1947
|
container_name: str,
|
2027
1948
|
if_match: str,
|
2028
|
-
parameters: Optional[IO] = None,
|
1949
|
+
parameters: Optional[IO[bytes]] = None,
|
2029
1950
|
*,
|
2030
1951
|
content_type: str = "application/json",
|
2031
1952
|
**kwargs: Any
|
@@ -2052,11 +1973,10 @@ class BlobContainersOperations:
|
|
2052
1973
|
:type if_match: str
|
2053
1974
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2054
1975
|
container. Default value is None.
|
2055
|
-
:type parameters: IO
|
1976
|
+
:type parameters: IO[bytes]
|
2056
1977
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2057
1978
|
Default value is "application/json".
|
2058
1979
|
:paramtype content_type: str
|
2059
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2060
1980
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2061
1981
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
2062
1982
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2069,7 +1989,7 @@ class BlobContainersOperations:
|
|
2069
1989
|
account_name: str,
|
2070
1990
|
container_name: str,
|
2071
1991
|
if_match: str,
|
2072
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1992
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
2073
1993
|
**kwargs: Any
|
2074
1994
|
) -> _models.ImmutabilityPolicy:
|
2075
1995
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -2093,17 +2013,13 @@ class BlobContainersOperations:
|
|
2093
2013
|
omitted, this operation will always be applied. Required.
|
2094
2014
|
:type if_match: str
|
2095
2015
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2096
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
2097
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO
|
2098
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2099
|
-
Default value is None.
|
2100
|
-
:paramtype content_type: str
|
2101
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2016
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
2017
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO[bytes]
|
2102
2018
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2103
2019
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
2104
2020
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2105
2021
|
"""
|
2106
|
-
error_map = {
|
2022
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2107
2023
|
401: ClientAuthenticationError,
|
2108
2024
|
404: ResourceNotFoundError,
|
2109
2025
|
409: ResourceExistsError,
|
@@ -2114,14 +2030,14 @@ class BlobContainersOperations:
|
|
2114
2030
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
2115
2031
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2116
2032
|
|
2117
|
-
api_version:
|
2033
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
2118
2034
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
2119
2035
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
2120
2036
|
|
2121
2037
|
content_type = content_type or "application/json"
|
2122
2038
|
_json = None
|
2123
2039
|
_content = None
|
2124
|
-
if isinstance(parameters, (
|
2040
|
+
if isinstance(parameters, (IOBase, bytes)):
|
2125
2041
|
_content = parameters
|
2126
2042
|
else:
|
2127
2043
|
if parameters is not None:
|
@@ -2129,7 +2045,7 @@ class BlobContainersOperations:
|
|
2129
2045
|
else:
|
2130
2046
|
_json = None
|
2131
2047
|
|
2132
|
-
|
2048
|
+
_request = build_extend_immutability_policy_request(
|
2133
2049
|
resource_group_name=resource_group_name,
|
2134
2050
|
account_name=account_name,
|
2135
2051
|
container_name=container_name,
|
@@ -2139,15 +2055,15 @@ class BlobContainersOperations:
|
|
2139
2055
|
content_type=content_type,
|
2140
2056
|
json=_json,
|
2141
2057
|
content=_content,
|
2142
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
2143
2058
|
headers=_headers,
|
2144
2059
|
params=_params,
|
2145
2060
|
)
|
2146
|
-
|
2147
|
-
|
2061
|
+
_request = _convert_request(_request)
|
2062
|
+
_request.url = self._client.format_url(_request.url)
|
2148
2063
|
|
2064
|
+
_stream = False
|
2149
2065
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2150
|
-
|
2066
|
+
_request, stream=_stream, **kwargs
|
2151
2067
|
)
|
2152
2068
|
|
2153
2069
|
response = pipeline_response.http_response
|
@@ -2162,13 +2078,9 @@ class BlobContainersOperations:
|
|
2162
2078
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
2163
2079
|
|
2164
2080
|
if cls:
|
2165
|
-
return cls(pipeline_response, deserialized, response_headers)
|
2166
|
-
|
2167
|
-
return deserialized
|
2081
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
2168
2082
|
|
2169
|
-
|
2170
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
2171
|
-
}
|
2083
|
+
return deserialized # type: ignore
|
2172
2084
|
|
2173
2085
|
@overload
|
2174
2086
|
def lease(
|
@@ -2201,7 +2113,6 @@ class BlobContainersOperations:
|
|
2201
2113
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2202
2114
|
Default value is "application/json".
|
2203
2115
|
:paramtype content_type: str
|
2204
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2205
2116
|
:return: LeaseContainerResponse or the result of cls(response)
|
2206
2117
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
|
2207
2118
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2213,7 +2124,7 @@ class BlobContainersOperations:
|
|
2213
2124
|
resource_group_name: str,
|
2214
2125
|
account_name: str,
|
2215
2126
|
container_name: str,
|
2216
|
-
parameters: Optional[IO] = None,
|
2127
|
+
parameters: Optional[IO[bytes]] = None,
|
2217
2128
|
*,
|
2218
2129
|
content_type: str = "application/json",
|
2219
2130
|
**kwargs: Any
|
@@ -2234,11 +2145,10 @@ class BlobContainersOperations:
|
|
2234
2145
|
by a letter or number. Required.
|
2235
2146
|
:type container_name: str
|
2236
2147
|
:param parameters: Lease Container request body. Default value is None.
|
2237
|
-
:type parameters: IO
|
2148
|
+
:type parameters: IO[bytes]
|
2238
2149
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2239
2150
|
Default value is "application/json".
|
2240
2151
|
:paramtype content_type: str
|
2241
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2242
2152
|
:return: LeaseContainerResponse or the result of cls(response)
|
2243
2153
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
|
2244
2154
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2250,7 +2160,7 @@ class BlobContainersOperations:
|
|
2250
2160
|
resource_group_name: str,
|
2251
2161
|
account_name: str,
|
2252
2162
|
container_name: str,
|
2253
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
2163
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
2254
2164
|
**kwargs: Any
|
2255
2165
|
) -> _models.LeaseContainerResponse:
|
2256
2166
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -2268,18 +2178,14 @@ class BlobContainersOperations:
|
|
2268
2178
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
2269
2179
|
by a letter or number. Required.
|
2270
2180
|
:type container_name: str
|
2271
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2272
|
-
type. Default value is None.
|
2273
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerRequest or IO
|
2274
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2275
|
-
Default value is None.
|
2276
|
-
:paramtype content_type: str
|
2277
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2181
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2182
|
+
IO[bytes] type. Default value is None.
|
2183
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerRequest or IO[bytes]
|
2278
2184
|
:return: LeaseContainerResponse or the result of cls(response)
|
2279
2185
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
|
2280
2186
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2281
2187
|
"""
|
2282
|
-
error_map = {
|
2188
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2283
2189
|
401: ClientAuthenticationError,
|
2284
2190
|
404: ResourceNotFoundError,
|
2285
2191
|
409: ResourceExistsError,
|
@@ -2290,14 +2196,14 @@ class BlobContainersOperations:
|
|
2290
2196
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
2291
2197
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2292
2198
|
|
2293
|
-
api_version:
|
2199
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
2294
2200
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
2295
2201
|
cls: ClsType[_models.LeaseContainerResponse] = kwargs.pop("cls", None)
|
2296
2202
|
|
2297
2203
|
content_type = content_type or "application/json"
|
2298
2204
|
_json = None
|
2299
2205
|
_content = None
|
2300
|
-
if isinstance(parameters, (
|
2206
|
+
if isinstance(parameters, (IOBase, bytes)):
|
2301
2207
|
_content = parameters
|
2302
2208
|
else:
|
2303
2209
|
if parameters is not None:
|
@@ -2305,7 +2211,7 @@ class BlobContainersOperations:
|
|
2305
2211
|
else:
|
2306
2212
|
_json = None
|
2307
2213
|
|
2308
|
-
|
2214
|
+
_request = build_lease_request(
|
2309
2215
|
resource_group_name=resource_group_name,
|
2310
2216
|
account_name=account_name,
|
2311
2217
|
container_name=container_name,
|
@@ -2314,15 +2220,15 @@ class BlobContainersOperations:
|
|
2314
2220
|
content_type=content_type,
|
2315
2221
|
json=_json,
|
2316
2222
|
content=_content,
|
2317
|
-
template_url=self.lease.metadata["url"],
|
2318
2223
|
headers=_headers,
|
2319
2224
|
params=_params,
|
2320
2225
|
)
|
2321
|
-
|
2322
|
-
|
2226
|
+
_request = _convert_request(_request)
|
2227
|
+
_request.url = self._client.format_url(_request.url)
|
2323
2228
|
|
2229
|
+
_stream = False
|
2324
2230
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2325
|
-
|
2231
|
+
_request, stream=_stream, **kwargs
|
2326
2232
|
)
|
2327
2233
|
|
2328
2234
|
response = pipeline_response.http_response
|
@@ -2334,10 +2240,6 @@ class BlobContainersOperations:
|
|
2334
2240
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
2335
2241
|
|
2336
2242
|
if cls:
|
2337
|
-
return cls(pipeline_response, deserialized, {})
|
2338
|
-
|
2339
|
-
return deserialized
|
2243
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
2340
2244
|
|
2341
|
-
|
2342
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
2343
|
-
}
|
2245
|
+
return deserialized # type: ignore
|