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, Optional, TypeVar, Union, overload
|
11
|
+
from typing import Any, Callable, Dict, IO, Optional, Type, TypeVar, Union, overload
|
11
12
|
|
12
13
|
from azure.core.exceptions import (
|
13
14
|
ClientAuthenticationError,
|
@@ -26,12 +27,12 @@ from azure.mgmt.core.exceptions import ARMErrorFormat
|
|
26
27
|
|
27
28
|
from .. import models as _models
|
28
29
|
from ..._serialization import Serializer
|
29
|
-
from .._vendor import _convert_request
|
30
|
+
from .._vendor import _convert_request
|
30
31
|
|
31
|
-
if sys.version_info >= (3,
|
32
|
-
from
|
32
|
+
if sys.version_info >= (3, 9):
|
33
|
+
from collections.abc import MutableMapping
|
33
34
|
else:
|
34
|
-
from
|
35
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
35
36
|
T = TypeVar("T")
|
36
37
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
|
37
38
|
|
@@ -43,7 +44,7 @@ def build_list_request(resource_group_name: str, account_name: str, subscription
|
|
43
44
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
44
45
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
45
46
|
|
46
|
-
api_version:
|
47
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
|
47
48
|
accept = _headers.pop("Accept", "application/json")
|
48
49
|
|
49
50
|
# Construct URL
|
@@ -59,7 +60,7 @@ def build_list_request(resource_group_name: str, account_name: str, subscription
|
|
59
60
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
60
61
|
}
|
61
62
|
|
62
|
-
_url: str =
|
63
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
63
64
|
|
64
65
|
# Construct parameters
|
65
66
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -76,7 +77,7 @@ def build_create_request(
|
|
76
77
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
77
78
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
78
79
|
|
79
|
-
api_version:
|
80
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
|
80
81
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
81
82
|
accept = _headers.pop("Accept", "application/json")
|
82
83
|
|
@@ -94,7 +95,7 @@ def build_create_request(
|
|
94
95
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
95
96
|
}
|
96
97
|
|
97
|
-
_url: str =
|
98
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
98
99
|
|
99
100
|
# Construct parameters
|
100
101
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -113,7 +114,7 @@ def build_update_request(
|
|
113
114
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
114
115
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
115
116
|
|
116
|
-
api_version:
|
117
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
|
117
118
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
118
119
|
accept = _headers.pop("Accept", "application/json")
|
119
120
|
|
@@ -131,7 +132,7 @@ def build_update_request(
|
|
131
132
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
132
133
|
}
|
133
134
|
|
134
|
-
_url: str =
|
135
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
135
136
|
|
136
137
|
# Construct parameters
|
137
138
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -150,7 +151,7 @@ def build_get_request(
|
|
150
151
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
151
152
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
152
153
|
|
153
|
-
api_version:
|
154
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
|
154
155
|
accept = _headers.pop("Accept", "application/json")
|
155
156
|
|
156
157
|
# Construct URL
|
@@ -167,7 +168,7 @@ def build_get_request(
|
|
167
168
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
168
169
|
}
|
169
170
|
|
170
|
-
_url: str =
|
171
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
171
172
|
|
172
173
|
# Construct parameters
|
173
174
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -183,7 +184,7 @@ def build_delete_request(
|
|
183
184
|
) -> HttpRequest:
|
184
185
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
185
186
|
|
186
|
-
api_version:
|
187
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
|
187
188
|
# Construct URL
|
188
189
|
_url = kwargs.pop(
|
189
190
|
"template_url",
|
@@ -198,7 +199,7 @@ def build_delete_request(
|
|
198
199
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
199
200
|
}
|
200
201
|
|
201
|
-
_url: str =
|
202
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
202
203
|
|
203
204
|
# Construct parameters
|
204
205
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -212,7 +213,7 @@ def build_set_legal_hold_request(
|
|
212
213
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
213
214
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
214
215
|
|
215
|
-
api_version:
|
216
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
|
216
217
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
217
218
|
accept = _headers.pop("Accept", "application/json")
|
218
219
|
|
@@ -230,7 +231,7 @@ def build_set_legal_hold_request(
|
|
230
231
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
231
232
|
}
|
232
233
|
|
233
|
-
_url: str =
|
234
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
234
235
|
|
235
236
|
# Construct parameters
|
236
237
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -249,7 +250,7 @@ def build_clear_legal_hold_request(
|
|
249
250
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
250
251
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
251
252
|
|
252
|
-
api_version:
|
253
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
|
253
254
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
254
255
|
accept = _headers.pop("Accept", "application/json")
|
255
256
|
|
@@ -267,7 +268,7 @@ def build_clear_legal_hold_request(
|
|
267
268
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
268
269
|
}
|
269
270
|
|
270
|
-
_url: str =
|
271
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
271
272
|
|
272
273
|
# Construct parameters
|
273
274
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -280,7 +281,7 @@ def build_clear_legal_hold_request(
|
|
280
281
|
return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
|
281
282
|
|
282
283
|
|
283
|
-
def build_create_or_update_immutability_policy_request(
|
284
|
+
def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
|
284
285
|
resource_group_name: str,
|
285
286
|
account_name: str,
|
286
287
|
container_name: str,
|
@@ -293,7 +294,7 @@ def build_create_or_update_immutability_policy_request(
|
|
293
294
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
294
295
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
295
296
|
|
296
|
-
api_version:
|
297
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
|
297
298
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
298
299
|
accept = _headers.pop("Accept", "application/json")
|
299
300
|
|
@@ -312,7 +313,7 @@ def build_create_or_update_immutability_policy_request(
|
|
312
313
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
313
314
|
}
|
314
315
|
|
315
|
-
_url: str =
|
316
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
316
317
|
|
317
318
|
# Construct parameters
|
318
319
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -340,7 +341,7 @@ def build_get_immutability_policy_request(
|
|
340
341
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
341
342
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
342
343
|
|
343
|
-
api_version:
|
344
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
|
344
345
|
accept = _headers.pop("Accept", "application/json")
|
345
346
|
|
346
347
|
# Construct URL
|
@@ -358,7 +359,7 @@ def build_get_immutability_policy_request(
|
|
358
359
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
359
360
|
}
|
360
361
|
|
361
|
-
_url: str =
|
362
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
362
363
|
|
363
364
|
# Construct parameters
|
364
365
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -384,7 +385,7 @@ def build_delete_immutability_policy_request(
|
|
384
385
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
385
386
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
386
387
|
|
387
|
-
api_version:
|
388
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
|
388
389
|
accept = _headers.pop("Accept", "application/json")
|
389
390
|
|
390
391
|
# Construct URL
|
@@ -402,7 +403,7 @@ def build_delete_immutability_policy_request(
|
|
402
403
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
403
404
|
}
|
404
405
|
|
405
|
-
_url: str =
|
406
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
406
407
|
|
407
408
|
# Construct parameters
|
408
409
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -426,7 +427,7 @@ def build_lock_immutability_policy_request(
|
|
426
427
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
427
428
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
428
429
|
|
429
|
-
api_version:
|
430
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
|
430
431
|
accept = _headers.pop("Accept", "application/json")
|
431
432
|
|
432
433
|
# Construct URL
|
@@ -443,7 +444,7 @@ def build_lock_immutability_policy_request(
|
|
443
444
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
444
445
|
}
|
445
446
|
|
446
|
-
_url: str =
|
447
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
447
448
|
|
448
449
|
# Construct parameters
|
449
450
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -467,7 +468,7 @@ def build_extend_immutability_policy_request(
|
|
467
468
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
468
469
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
469
470
|
|
470
|
-
api_version:
|
471
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
|
471
472
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
472
473
|
accept = _headers.pop("Accept", "application/json")
|
473
474
|
|
@@ -485,7 +486,7 @@ def build_extend_immutability_policy_request(
|
|
485
486
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
486
487
|
}
|
487
488
|
|
488
|
-
_url: str =
|
489
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
489
490
|
|
490
491
|
# Construct parameters
|
491
492
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -505,7 +506,7 @@ def build_lease_request(
|
|
505
506
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
506
507
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
507
508
|
|
508
|
-
api_version:
|
509
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
|
509
510
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
510
511
|
accept = _headers.pop("Accept", "application/json")
|
511
512
|
|
@@ -523,7 +524,7 @@ def build_lease_request(
|
|
523
524
|
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
524
525
|
}
|
525
526
|
|
526
|
-
_url: str =
|
527
|
+
_url: str = _url.format(**path_format_arguments) # type: ignore
|
527
528
|
|
528
529
|
# Construct parameters
|
529
530
|
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
@@ -554,6 +555,7 @@ class BlobContainersOperations:
|
|
554
555
|
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
555
556
|
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
556
557
|
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
558
|
+
self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
|
557
559
|
|
558
560
|
@distributed_trace
|
559
561
|
def list(self, resource_group_name: str, account_name: str, **kwargs: Any) -> _models.ListContainerItems:
|
@@ -567,12 +569,11 @@ class BlobContainersOperations:
|
|
567
569
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
568
570
|
lower-case letters only. Required.
|
569
571
|
:type account_name: str
|
570
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
571
572
|
:return: ListContainerItems or the result of cls(response)
|
572
573
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ListContainerItems
|
573
574
|
:raises ~azure.core.exceptions.HttpResponseError:
|
574
575
|
"""
|
575
|
-
error_map = {
|
576
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
576
577
|
401: ClientAuthenticationError,
|
577
578
|
404: ResourceNotFoundError,
|
578
579
|
409: ResourceExistsError,
|
@@ -583,23 +584,23 @@ class BlobContainersOperations:
|
|
583
584
|
_headers = kwargs.pop("headers", {}) or {}
|
584
585
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
585
586
|
|
586
|
-
api_version:
|
587
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
587
588
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
588
589
|
|
589
|
-
|
590
|
+
_request = build_list_request(
|
590
591
|
resource_group_name=resource_group_name,
|
591
592
|
account_name=account_name,
|
592
593
|
subscription_id=self._config.subscription_id,
|
593
594
|
api_version=api_version,
|
594
|
-
template_url=self.list.metadata["url"],
|
595
595
|
headers=_headers,
|
596
596
|
params=_params,
|
597
597
|
)
|
598
|
-
|
599
|
-
|
598
|
+
_request = _convert_request(_request)
|
599
|
+
_request.url = self._client.format_url(_request.url)
|
600
600
|
|
601
|
+
_stream = False
|
601
602
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
602
|
-
|
603
|
+
_request, stream=_stream, **kwargs
|
603
604
|
)
|
604
605
|
|
605
606
|
response = pipeline_response.http_response
|
@@ -611,13 +612,9 @@ class BlobContainersOperations:
|
|
611
612
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
612
613
|
|
613
614
|
if cls:
|
614
|
-
return cls(pipeline_response, deserialized, {})
|
615
|
-
|
616
|
-
return deserialized
|
615
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
617
616
|
|
618
|
-
|
619
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
620
|
-
}
|
617
|
+
return deserialized # type: ignore
|
621
618
|
|
622
619
|
@overload
|
623
620
|
def create(
|
@@ -651,7 +648,6 @@ class BlobContainersOperations:
|
|
651
648
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
652
649
|
Default value is "application/json".
|
653
650
|
:paramtype content_type: str
|
654
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
655
651
|
:return: BlobContainer or the result of cls(response)
|
656
652
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
657
653
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -663,7 +659,7 @@ class BlobContainersOperations:
|
|
663
659
|
resource_group_name: str,
|
664
660
|
account_name: str,
|
665
661
|
container_name: str,
|
666
|
-
blob_container: IO,
|
662
|
+
blob_container: IO[bytes],
|
667
663
|
*,
|
668
664
|
content_type: str = "application/json",
|
669
665
|
**kwargs: Any
|
@@ -685,11 +681,10 @@ class BlobContainersOperations:
|
|
685
681
|
by a letter or number. Required.
|
686
682
|
:type container_name: str
|
687
683
|
:param blob_container: Properties of the blob container to create. Required.
|
688
|
-
:type blob_container: IO
|
684
|
+
:type blob_container: IO[bytes]
|
689
685
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
690
686
|
Default value is "application/json".
|
691
687
|
:paramtype content_type: str
|
692
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
693
688
|
:return: BlobContainer or the result of cls(response)
|
694
689
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
695
690
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -701,7 +696,7 @@ class BlobContainersOperations:
|
|
701
696
|
resource_group_name: str,
|
702
697
|
account_name: str,
|
703
698
|
container_name: str,
|
704
|
-
blob_container: Union[_models.BlobContainer, IO],
|
699
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
705
700
|
**kwargs: Any
|
706
701
|
) -> _models.BlobContainer:
|
707
702
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -721,17 +716,13 @@ class BlobContainersOperations:
|
|
721
716
|
by a letter or number. Required.
|
722
717
|
:type container_name: str
|
723
718
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
724
|
-
type or a IO type. Required.
|
725
|
-
:type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO
|
726
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
727
|
-
Default value is None.
|
728
|
-
:paramtype content_type: str
|
729
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
719
|
+
type or a IO[bytes] type. Required.
|
720
|
+
:type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO[bytes]
|
730
721
|
:return: BlobContainer or the result of cls(response)
|
731
722
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
732
723
|
:raises ~azure.core.exceptions.HttpResponseError:
|
733
724
|
"""
|
734
|
-
error_map = {
|
725
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
735
726
|
401: ClientAuthenticationError,
|
736
727
|
404: ResourceNotFoundError,
|
737
728
|
409: ResourceExistsError,
|
@@ -742,19 +733,19 @@ class BlobContainersOperations:
|
|
742
733
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
743
734
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
744
735
|
|
745
|
-
api_version:
|
736
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
746
737
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
747
738
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
748
739
|
|
749
740
|
content_type = content_type or "application/json"
|
750
741
|
_json = None
|
751
742
|
_content = None
|
752
|
-
if isinstance(blob_container, (
|
743
|
+
if isinstance(blob_container, (IOBase, bytes)):
|
753
744
|
_content = blob_container
|
754
745
|
else:
|
755
746
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
756
747
|
|
757
|
-
|
748
|
+
_request = build_create_request(
|
758
749
|
resource_group_name=resource_group_name,
|
759
750
|
account_name=account_name,
|
760
751
|
container_name=container_name,
|
@@ -763,15 +754,15 @@ class BlobContainersOperations:
|
|
763
754
|
content_type=content_type,
|
764
755
|
json=_json,
|
765
756
|
content=_content,
|
766
|
-
template_url=self.create.metadata["url"],
|
767
757
|
headers=_headers,
|
768
758
|
params=_params,
|
769
759
|
)
|
770
|
-
|
771
|
-
|
760
|
+
_request = _convert_request(_request)
|
761
|
+
_request.url = self._client.format_url(_request.url)
|
772
762
|
|
763
|
+
_stream = False
|
773
764
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
774
|
-
|
765
|
+
_request, stream=_stream, **kwargs
|
775
766
|
)
|
776
767
|
|
777
768
|
response = pipeline_response.http_response
|
@@ -791,10 +782,6 @@ class BlobContainersOperations:
|
|
791
782
|
|
792
783
|
return deserialized # type: ignore
|
793
784
|
|
794
|
-
create.metadata = {
|
795
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
796
|
-
}
|
797
|
-
|
798
785
|
@overload
|
799
786
|
def update(
|
800
787
|
self,
|
@@ -826,7 +813,6 @@ class BlobContainersOperations:
|
|
826
813
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
827
814
|
Default value is "application/json".
|
828
815
|
:paramtype content_type: str
|
829
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
830
816
|
:return: BlobContainer or the result of cls(response)
|
831
817
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
832
818
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -838,7 +824,7 @@ class BlobContainersOperations:
|
|
838
824
|
resource_group_name: str,
|
839
825
|
account_name: str,
|
840
826
|
container_name: str,
|
841
|
-
blob_container: IO,
|
827
|
+
blob_container: IO[bytes],
|
842
828
|
*,
|
843
829
|
content_type: str = "application/json",
|
844
830
|
**kwargs: Any
|
@@ -859,11 +845,10 @@ class BlobContainersOperations:
|
|
859
845
|
by a letter or number. Required.
|
860
846
|
:type container_name: str
|
861
847
|
:param blob_container: Properties to update for the blob container. Required.
|
862
|
-
:type blob_container: IO
|
848
|
+
:type blob_container: IO[bytes]
|
863
849
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
864
850
|
Default value is "application/json".
|
865
851
|
:paramtype content_type: str
|
866
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
867
852
|
:return: BlobContainer or the result of cls(response)
|
868
853
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
869
854
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -875,7 +860,7 @@ class BlobContainersOperations:
|
|
875
860
|
resource_group_name: str,
|
876
861
|
account_name: str,
|
877
862
|
container_name: str,
|
878
|
-
blob_container: Union[_models.BlobContainer, IO],
|
863
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
879
864
|
**kwargs: Any
|
880
865
|
) -> _models.BlobContainer:
|
881
866
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -894,17 +879,13 @@ class BlobContainersOperations:
|
|
894
879
|
by a letter or number. Required.
|
895
880
|
:type container_name: str
|
896
881
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
897
|
-
type or a IO type. Required.
|
898
|
-
:type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO
|
899
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
900
|
-
Default value is None.
|
901
|
-
:paramtype content_type: str
|
902
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
882
|
+
type or a IO[bytes] type. Required.
|
883
|
+
:type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO[bytes]
|
903
884
|
:return: BlobContainer or the result of cls(response)
|
904
885
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
905
886
|
:raises ~azure.core.exceptions.HttpResponseError:
|
906
887
|
"""
|
907
|
-
error_map = {
|
888
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
908
889
|
401: ClientAuthenticationError,
|
909
890
|
404: ResourceNotFoundError,
|
910
891
|
409: ResourceExistsError,
|
@@ -915,19 +896,19 @@ class BlobContainersOperations:
|
|
915
896
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
916
897
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
917
898
|
|
918
|
-
api_version:
|
899
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
919
900
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
920
901
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
921
902
|
|
922
903
|
content_type = content_type or "application/json"
|
923
904
|
_json = None
|
924
905
|
_content = None
|
925
|
-
if isinstance(blob_container, (
|
906
|
+
if isinstance(blob_container, (IOBase, bytes)):
|
926
907
|
_content = blob_container
|
927
908
|
else:
|
928
909
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
929
910
|
|
930
|
-
|
911
|
+
_request = build_update_request(
|
931
912
|
resource_group_name=resource_group_name,
|
932
913
|
account_name=account_name,
|
933
914
|
container_name=container_name,
|
@@ -936,15 +917,15 @@ class BlobContainersOperations:
|
|
936
917
|
content_type=content_type,
|
937
918
|
json=_json,
|
938
919
|
content=_content,
|
939
|
-
template_url=self.update.metadata["url"],
|
940
920
|
headers=_headers,
|
941
921
|
params=_params,
|
942
922
|
)
|
943
|
-
|
944
|
-
|
923
|
+
_request = _convert_request(_request)
|
924
|
+
_request.url = self._client.format_url(_request.url)
|
945
925
|
|
926
|
+
_stream = False
|
946
927
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
947
|
-
|
928
|
+
_request, stream=_stream, **kwargs
|
948
929
|
)
|
949
930
|
|
950
931
|
response = pipeline_response.http_response
|
@@ -956,13 +937,9 @@ class BlobContainersOperations:
|
|
956
937
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
957
938
|
|
958
939
|
if cls:
|
959
|
-
return cls(pipeline_response, deserialized, {})
|
960
|
-
|
961
|
-
return deserialized
|
940
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
962
941
|
|
963
|
-
|
964
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
965
|
-
}
|
942
|
+
return deserialized # type: ignore
|
966
943
|
|
967
944
|
@distributed_trace
|
968
945
|
def get(
|
@@ -982,12 +959,11 @@ class BlobContainersOperations:
|
|
982
959
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
983
960
|
by a letter or number. Required.
|
984
961
|
:type container_name: str
|
985
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
986
962
|
:return: BlobContainer or the result of cls(response)
|
987
963
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
988
964
|
:raises ~azure.core.exceptions.HttpResponseError:
|
989
965
|
"""
|
990
|
-
error_map = {
|
966
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
991
967
|
401: ClientAuthenticationError,
|
992
968
|
404: ResourceNotFoundError,
|
993
969
|
409: ResourceExistsError,
|
@@ -998,24 +974,24 @@ class BlobContainersOperations:
|
|
998
974
|
_headers = kwargs.pop("headers", {}) or {}
|
999
975
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1000
976
|
|
1001
|
-
api_version:
|
977
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1002
978
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
1003
979
|
|
1004
|
-
|
980
|
+
_request = build_get_request(
|
1005
981
|
resource_group_name=resource_group_name,
|
1006
982
|
account_name=account_name,
|
1007
983
|
container_name=container_name,
|
1008
984
|
subscription_id=self._config.subscription_id,
|
1009
985
|
api_version=api_version,
|
1010
|
-
template_url=self.get.metadata["url"],
|
1011
986
|
headers=_headers,
|
1012
987
|
params=_params,
|
1013
988
|
)
|
1014
|
-
|
1015
|
-
|
989
|
+
_request = _convert_request(_request)
|
990
|
+
_request.url = self._client.format_url(_request.url)
|
1016
991
|
|
992
|
+
_stream = False
|
1017
993
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1018
|
-
|
994
|
+
_request, stream=_stream, **kwargs
|
1019
995
|
)
|
1020
996
|
|
1021
997
|
response = pipeline_response.http_response
|
@@ -1027,13 +1003,9 @@ class BlobContainersOperations:
|
|
1027
1003
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
1028
1004
|
|
1029
1005
|
if cls:
|
1030
|
-
return cls(pipeline_response, deserialized, {})
|
1031
|
-
|
1032
|
-
return deserialized
|
1006
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1033
1007
|
|
1034
|
-
|
1035
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1036
|
-
}
|
1008
|
+
return deserialized # type: ignore
|
1037
1009
|
|
1038
1010
|
@distributed_trace
|
1039
1011
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -1053,12 +1025,11 @@ class BlobContainersOperations:
|
|
1053
1025
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1054
1026
|
by a letter or number. Required.
|
1055
1027
|
:type container_name: str
|
1056
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1057
1028
|
:return: None or the result of cls(response)
|
1058
1029
|
:rtype: None
|
1059
1030
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1060
1031
|
"""
|
1061
|
-
error_map = {
|
1032
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1062
1033
|
401: ClientAuthenticationError,
|
1063
1034
|
404: ResourceNotFoundError,
|
1064
1035
|
409: ResourceExistsError,
|
@@ -1069,24 +1040,24 @@ class BlobContainersOperations:
|
|
1069
1040
|
_headers = kwargs.pop("headers", {}) or {}
|
1070
1041
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1071
1042
|
|
1072
|
-
api_version:
|
1043
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1073
1044
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1074
1045
|
|
1075
|
-
|
1046
|
+
_request = build_delete_request(
|
1076
1047
|
resource_group_name=resource_group_name,
|
1077
1048
|
account_name=account_name,
|
1078
1049
|
container_name=container_name,
|
1079
1050
|
subscription_id=self._config.subscription_id,
|
1080
1051
|
api_version=api_version,
|
1081
|
-
template_url=self.delete.metadata["url"],
|
1082
1052
|
headers=_headers,
|
1083
1053
|
params=_params,
|
1084
1054
|
)
|
1085
|
-
|
1086
|
-
|
1055
|
+
_request = _convert_request(_request)
|
1056
|
+
_request.url = self._client.format_url(_request.url)
|
1087
1057
|
|
1058
|
+
_stream = False
|
1088
1059
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1089
|
-
|
1060
|
+
_request, stream=_stream, **kwargs
|
1090
1061
|
)
|
1091
1062
|
|
1092
1063
|
response = pipeline_response.http_response
|
@@ -1096,11 +1067,7 @@ class BlobContainersOperations:
|
|
1096
1067
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1097
1068
|
|
1098
1069
|
if cls:
|
1099
|
-
return cls(pipeline_response, None, {})
|
1100
|
-
|
1101
|
-
delete.metadata = {
|
1102
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1103
|
-
}
|
1070
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1104
1071
|
|
1105
1072
|
@overload
|
1106
1073
|
def set_legal_hold(
|
@@ -1134,7 +1101,6 @@ class BlobContainersOperations:
|
|
1134
1101
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1135
1102
|
Default value is "application/json".
|
1136
1103
|
:paramtype content_type: str
|
1137
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1138
1104
|
:return: LegalHold or the result of cls(response)
|
1139
1105
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
1140
1106
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1146,7 +1112,7 @@ class BlobContainersOperations:
|
|
1146
1112
|
resource_group_name: str,
|
1147
1113
|
account_name: str,
|
1148
1114
|
container_name: str,
|
1149
|
-
legal_hold: IO,
|
1115
|
+
legal_hold: IO[bytes],
|
1150
1116
|
*,
|
1151
1117
|
content_type: str = "application/json",
|
1152
1118
|
**kwargs: Any
|
@@ -1168,11 +1134,10 @@ class BlobContainersOperations:
|
|
1168
1134
|
by a letter or number. Required.
|
1169
1135
|
:type container_name: str
|
1170
1136
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
1171
|
-
:type legal_hold: IO
|
1137
|
+
:type legal_hold: IO[bytes]
|
1172
1138
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1173
1139
|
Default value is "application/json".
|
1174
1140
|
:paramtype content_type: str
|
1175
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1176
1141
|
:return: LegalHold or the result of cls(response)
|
1177
1142
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
1178
1143
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1184,7 +1149,7 @@ class BlobContainersOperations:
|
|
1184
1149
|
resource_group_name: str,
|
1185
1150
|
account_name: str,
|
1186
1151
|
container_name: str,
|
1187
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1152
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1188
1153
|
**kwargs: Any
|
1189
1154
|
) -> _models.LegalHold:
|
1190
1155
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -1204,17 +1169,13 @@ class BlobContainersOperations:
|
|
1204
1169
|
by a letter or number. Required.
|
1205
1170
|
:type container_name: str
|
1206
1171
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
1207
|
-
LegalHold type or a IO type. Required.
|
1208
|
-
:type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO
|
1209
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1210
|
-
Default value is None.
|
1211
|
-
:paramtype content_type: str
|
1212
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1172
|
+
LegalHold type or a IO[bytes] type. Required.
|
1173
|
+
:type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO[bytes]
|
1213
1174
|
:return: LegalHold or the result of cls(response)
|
1214
1175
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
1215
1176
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1216
1177
|
"""
|
1217
|
-
error_map = {
|
1178
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1218
1179
|
401: ClientAuthenticationError,
|
1219
1180
|
404: ResourceNotFoundError,
|
1220
1181
|
409: ResourceExistsError,
|
@@ -1225,19 +1186,19 @@ class BlobContainersOperations:
|
|
1225
1186
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1226
1187
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1227
1188
|
|
1228
|
-
api_version:
|
1189
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1229
1190
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1230
1191
|
cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
|
1231
1192
|
|
1232
1193
|
content_type = content_type or "application/json"
|
1233
1194
|
_json = None
|
1234
1195
|
_content = None
|
1235
|
-
if isinstance(legal_hold, (
|
1196
|
+
if isinstance(legal_hold, (IOBase, bytes)):
|
1236
1197
|
_content = legal_hold
|
1237
1198
|
else:
|
1238
1199
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1239
1200
|
|
1240
|
-
|
1201
|
+
_request = build_set_legal_hold_request(
|
1241
1202
|
resource_group_name=resource_group_name,
|
1242
1203
|
account_name=account_name,
|
1243
1204
|
container_name=container_name,
|
@@ -1246,15 +1207,15 @@ class BlobContainersOperations:
|
|
1246
1207
|
content_type=content_type,
|
1247
1208
|
json=_json,
|
1248
1209
|
content=_content,
|
1249
|
-
template_url=self.set_legal_hold.metadata["url"],
|
1250
1210
|
headers=_headers,
|
1251
1211
|
params=_params,
|
1252
1212
|
)
|
1253
|
-
|
1254
|
-
|
1213
|
+
_request = _convert_request(_request)
|
1214
|
+
_request.url = self._client.format_url(_request.url)
|
1255
1215
|
|
1216
|
+
_stream = False
|
1256
1217
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1257
|
-
|
1218
|
+
_request, stream=_stream, **kwargs
|
1258
1219
|
)
|
1259
1220
|
|
1260
1221
|
response = pipeline_response.http_response
|
@@ -1266,13 +1227,9 @@ class BlobContainersOperations:
|
|
1266
1227
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1267
1228
|
|
1268
1229
|
if cls:
|
1269
|
-
return cls(pipeline_response, deserialized, {})
|
1270
|
-
|
1271
|
-
return deserialized
|
1230
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1272
1231
|
|
1273
|
-
|
1274
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
1275
|
-
}
|
1232
|
+
return deserialized # type: ignore
|
1276
1233
|
|
1277
1234
|
@overload
|
1278
1235
|
def clear_legal_hold(
|
@@ -1305,7 +1262,6 @@ class BlobContainersOperations:
|
|
1305
1262
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1306
1263
|
Default value is "application/json".
|
1307
1264
|
:paramtype content_type: str
|
1308
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1309
1265
|
:return: LegalHold or the result of cls(response)
|
1310
1266
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
1311
1267
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1317,7 +1273,7 @@ class BlobContainersOperations:
|
|
1317
1273
|
resource_group_name: str,
|
1318
1274
|
account_name: str,
|
1319
1275
|
container_name: str,
|
1320
|
-
legal_hold: IO,
|
1276
|
+
legal_hold: IO[bytes],
|
1321
1277
|
*,
|
1322
1278
|
content_type: str = "application/json",
|
1323
1279
|
**kwargs: Any
|
@@ -1338,11 +1294,10 @@ class BlobContainersOperations:
|
|
1338
1294
|
by a letter or number. Required.
|
1339
1295
|
:type container_name: str
|
1340
1296
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
1341
|
-
:type legal_hold: IO
|
1297
|
+
:type legal_hold: IO[bytes]
|
1342
1298
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1343
1299
|
Default value is "application/json".
|
1344
1300
|
:paramtype content_type: str
|
1345
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1346
1301
|
:return: LegalHold or the result of cls(response)
|
1347
1302
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
1348
1303
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1354,7 +1309,7 @@ class BlobContainersOperations:
|
|
1354
1309
|
resource_group_name: str,
|
1355
1310
|
account_name: str,
|
1356
1311
|
container_name: str,
|
1357
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1312
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1358
1313
|
**kwargs: Any
|
1359
1314
|
) -> _models.LegalHold:
|
1360
1315
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -1373,17 +1328,13 @@ class BlobContainersOperations:
|
|
1373
1328
|
by a letter or number. Required.
|
1374
1329
|
:type container_name: str
|
1375
1330
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
1376
|
-
LegalHold type or a IO type. Required.
|
1377
|
-
:type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO
|
1378
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1379
|
-
Default value is None.
|
1380
|
-
:paramtype content_type: str
|
1381
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1331
|
+
LegalHold type or a IO[bytes] type. Required.
|
1332
|
+
:type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO[bytes]
|
1382
1333
|
:return: LegalHold or the result of cls(response)
|
1383
1334
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
1384
1335
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1385
1336
|
"""
|
1386
|
-
error_map = {
|
1337
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1387
1338
|
401: ClientAuthenticationError,
|
1388
1339
|
404: ResourceNotFoundError,
|
1389
1340
|
409: ResourceExistsError,
|
@@ -1394,19 +1345,19 @@ class BlobContainersOperations:
|
|
1394
1345
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1395
1346
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1396
1347
|
|
1397
|
-
api_version:
|
1348
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1398
1349
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1399
1350
|
cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
|
1400
1351
|
|
1401
1352
|
content_type = content_type or "application/json"
|
1402
1353
|
_json = None
|
1403
1354
|
_content = None
|
1404
|
-
if isinstance(legal_hold, (
|
1355
|
+
if isinstance(legal_hold, (IOBase, bytes)):
|
1405
1356
|
_content = legal_hold
|
1406
1357
|
else:
|
1407
1358
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1408
1359
|
|
1409
|
-
|
1360
|
+
_request = build_clear_legal_hold_request(
|
1410
1361
|
resource_group_name=resource_group_name,
|
1411
1362
|
account_name=account_name,
|
1412
1363
|
container_name=container_name,
|
@@ -1415,15 +1366,15 @@ class BlobContainersOperations:
|
|
1415
1366
|
content_type=content_type,
|
1416
1367
|
json=_json,
|
1417
1368
|
content=_content,
|
1418
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
1419
1369
|
headers=_headers,
|
1420
1370
|
params=_params,
|
1421
1371
|
)
|
1422
|
-
|
1423
|
-
|
1372
|
+
_request = _convert_request(_request)
|
1373
|
+
_request.url = self._client.format_url(_request.url)
|
1424
1374
|
|
1375
|
+
_stream = False
|
1425
1376
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1426
|
-
|
1377
|
+
_request, stream=_stream, **kwargs
|
1427
1378
|
)
|
1428
1379
|
|
1429
1380
|
response = pipeline_response.http_response
|
@@ -1435,13 +1386,9 @@ class BlobContainersOperations:
|
|
1435
1386
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1436
1387
|
|
1437
1388
|
if cls:
|
1438
|
-
return cls(pipeline_response, deserialized, {})
|
1439
|
-
|
1440
|
-
return deserialized
|
1389
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1441
1390
|
|
1442
|
-
|
1443
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
1444
|
-
}
|
1391
|
+
return deserialized # type: ignore
|
1445
1392
|
|
1446
1393
|
@overload
|
1447
1394
|
def create_or_update_immutability_policy(
|
@@ -1484,7 +1431,6 @@ class BlobContainersOperations:
|
|
1484
1431
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1485
1432
|
Default value is "application/json".
|
1486
1433
|
:paramtype content_type: str
|
1487
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1488
1434
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1489
1435
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1490
1436
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1498,7 +1444,7 @@ class BlobContainersOperations:
|
|
1498
1444
|
container_name: str,
|
1499
1445
|
immutability_policy_name: Union[str, _models.Enum10],
|
1500
1446
|
if_match: Optional[str] = None,
|
1501
|
-
parameters: Optional[IO] = None,
|
1447
|
+
parameters: Optional[IO[bytes]] = None,
|
1502
1448
|
*,
|
1503
1449
|
content_type: str = "application/json",
|
1504
1450
|
**kwargs: Any
|
@@ -1527,11 +1473,10 @@ class BlobContainersOperations:
|
|
1527
1473
|
:type if_match: str
|
1528
1474
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1529
1475
|
container. Default value is None.
|
1530
|
-
:type parameters: IO
|
1476
|
+
:type parameters: IO[bytes]
|
1531
1477
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1532
1478
|
Default value is "application/json".
|
1533
1479
|
:paramtype content_type: str
|
1534
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1535
1480
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1536
1481
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1537
1482
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1545,7 +1490,7 @@ class BlobContainersOperations:
|
|
1545
1490
|
container_name: str,
|
1546
1491
|
immutability_policy_name: Union[str, _models.Enum10],
|
1547
1492
|
if_match: Optional[str] = None,
|
1548
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1493
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1549
1494
|
**kwargs: Any
|
1550
1495
|
) -> _models.ImmutabilityPolicy:
|
1551
1496
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1571,17 +1516,13 @@ class BlobContainersOperations:
|
|
1571
1516
|
omitted, this operation will always be applied. Default value is None.
|
1572
1517
|
:type if_match: str
|
1573
1518
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1574
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1575
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO
|
1576
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1577
|
-
Default value is None.
|
1578
|
-
:paramtype content_type: str
|
1579
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1519
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1520
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO[bytes]
|
1580
1521
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1581
1522
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1582
1523
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1583
1524
|
"""
|
1584
|
-
error_map = {
|
1525
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1585
1526
|
401: ClientAuthenticationError,
|
1586
1527
|
404: ResourceNotFoundError,
|
1587
1528
|
409: ResourceExistsError,
|
@@ -1592,14 +1533,14 @@ class BlobContainersOperations:
|
|
1592
1533
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1593
1534
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1594
1535
|
|
1595
|
-
api_version:
|
1536
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1596
1537
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1597
1538
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1598
1539
|
|
1599
1540
|
content_type = content_type or "application/json"
|
1600
1541
|
_json = None
|
1601
1542
|
_content = None
|
1602
|
-
if isinstance(parameters, (
|
1543
|
+
if isinstance(parameters, (IOBase, bytes)):
|
1603
1544
|
_content = parameters
|
1604
1545
|
else:
|
1605
1546
|
if parameters is not None:
|
@@ -1607,7 +1548,7 @@ class BlobContainersOperations:
|
|
1607
1548
|
else:
|
1608
1549
|
_json = None
|
1609
1550
|
|
1610
|
-
|
1551
|
+
_request = build_create_or_update_immutability_policy_request(
|
1611
1552
|
resource_group_name=resource_group_name,
|
1612
1553
|
account_name=account_name,
|
1613
1554
|
container_name=container_name,
|
@@ -1618,15 +1559,15 @@ class BlobContainersOperations:
|
|
1618
1559
|
content_type=content_type,
|
1619
1560
|
json=_json,
|
1620
1561
|
content=_content,
|
1621
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1622
1562
|
headers=_headers,
|
1623
1563
|
params=_params,
|
1624
1564
|
)
|
1625
|
-
|
1626
|
-
|
1565
|
+
_request = _convert_request(_request)
|
1566
|
+
_request.url = self._client.format_url(_request.url)
|
1627
1567
|
|
1568
|
+
_stream = False
|
1628
1569
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1629
|
-
|
1570
|
+
_request, stream=_stream, **kwargs
|
1630
1571
|
)
|
1631
1572
|
|
1632
1573
|
response = pipeline_response.http_response
|
@@ -1641,13 +1582,9 @@ class BlobContainersOperations:
|
|
1641
1582
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1642
1583
|
|
1643
1584
|
if cls:
|
1644
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1585
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1645
1586
|
|
1646
|
-
return deserialized
|
1647
|
-
|
1648
|
-
create_or_update_immutability_policy.metadata = {
|
1649
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1650
|
-
}
|
1587
|
+
return deserialized # type: ignore
|
1651
1588
|
|
1652
1589
|
@distributed_trace
|
1653
1590
|
def get_immutability_policy(
|
@@ -1681,12 +1618,11 @@ class BlobContainersOperations:
|
|
1681
1618
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1682
1619
|
omitted, this operation will always be applied. Default value is None.
|
1683
1620
|
:type if_match: str
|
1684
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1685
1621
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1686
1622
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1687
1623
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1688
1624
|
"""
|
1689
|
-
error_map = {
|
1625
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1690
1626
|
401: ClientAuthenticationError,
|
1691
1627
|
404: ResourceNotFoundError,
|
1692
1628
|
409: ResourceExistsError,
|
@@ -1697,10 +1633,10 @@ class BlobContainersOperations:
|
|
1697
1633
|
_headers = kwargs.pop("headers", {}) or {}
|
1698
1634
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1699
1635
|
|
1700
|
-
api_version:
|
1636
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1701
1637
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1702
1638
|
|
1703
|
-
|
1639
|
+
_request = build_get_immutability_policy_request(
|
1704
1640
|
resource_group_name=resource_group_name,
|
1705
1641
|
account_name=account_name,
|
1706
1642
|
container_name=container_name,
|
@@ -1708,15 +1644,15 @@ class BlobContainersOperations:
|
|
1708
1644
|
subscription_id=self._config.subscription_id,
|
1709
1645
|
if_match=if_match,
|
1710
1646
|
api_version=api_version,
|
1711
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1712
1647
|
headers=_headers,
|
1713
1648
|
params=_params,
|
1714
1649
|
)
|
1715
|
-
|
1716
|
-
|
1650
|
+
_request = _convert_request(_request)
|
1651
|
+
_request.url = self._client.format_url(_request.url)
|
1717
1652
|
|
1653
|
+
_stream = False
|
1718
1654
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1719
|
-
|
1655
|
+
_request, stream=_stream, **kwargs
|
1720
1656
|
)
|
1721
1657
|
|
1722
1658
|
response = pipeline_response.http_response
|
@@ -1731,13 +1667,9 @@ class BlobContainersOperations:
|
|
1731
1667
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1732
1668
|
|
1733
1669
|
if cls:
|
1734
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1670
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1735
1671
|
|
1736
|
-
return deserialized
|
1737
|
-
|
1738
|
-
get_immutability_policy.metadata = {
|
1739
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1740
|
-
}
|
1672
|
+
return deserialized # type: ignore
|
1741
1673
|
|
1742
1674
|
@distributed_trace
|
1743
1675
|
def delete_immutability_policy(
|
@@ -1773,12 +1705,11 @@ class BlobContainersOperations:
|
|
1773
1705
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1774
1706
|
omitted, this operation will always be applied. Required.
|
1775
1707
|
:type if_match: str
|
1776
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1777
1708
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1778
1709
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1779
1710
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1780
1711
|
"""
|
1781
|
-
error_map = {
|
1712
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1782
1713
|
401: ClientAuthenticationError,
|
1783
1714
|
404: ResourceNotFoundError,
|
1784
1715
|
409: ResourceExistsError,
|
@@ -1789,10 +1720,10 @@ class BlobContainersOperations:
|
|
1789
1720
|
_headers = kwargs.pop("headers", {}) or {}
|
1790
1721
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1791
1722
|
|
1792
|
-
api_version:
|
1723
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1793
1724
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1794
1725
|
|
1795
|
-
|
1726
|
+
_request = build_delete_immutability_policy_request(
|
1796
1727
|
resource_group_name=resource_group_name,
|
1797
1728
|
account_name=account_name,
|
1798
1729
|
container_name=container_name,
|
@@ -1800,15 +1731,15 @@ class BlobContainersOperations:
|
|
1800
1731
|
subscription_id=self._config.subscription_id,
|
1801
1732
|
if_match=if_match,
|
1802
1733
|
api_version=api_version,
|
1803
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1804
1734
|
headers=_headers,
|
1805
1735
|
params=_params,
|
1806
1736
|
)
|
1807
|
-
|
1808
|
-
|
1737
|
+
_request = _convert_request(_request)
|
1738
|
+
_request.url = self._client.format_url(_request.url)
|
1809
1739
|
|
1740
|
+
_stream = False
|
1810
1741
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1811
|
-
|
1742
|
+
_request, stream=_stream, **kwargs
|
1812
1743
|
)
|
1813
1744
|
|
1814
1745
|
response = pipeline_response.http_response
|
@@ -1823,13 +1754,9 @@ class BlobContainersOperations:
|
|
1823
1754
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1824
1755
|
|
1825
1756
|
if cls:
|
1826
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1757
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1827
1758
|
|
1828
|
-
return deserialized
|
1829
|
-
|
1830
|
-
delete_immutability_policy.metadata = {
|
1831
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1832
|
-
}
|
1759
|
+
return deserialized # type: ignore
|
1833
1760
|
|
1834
1761
|
@distributed_trace
|
1835
1762
|
def lock_immutability_policy(
|
@@ -1854,12 +1781,11 @@ class BlobContainersOperations:
|
|
1854
1781
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1855
1782
|
omitted, this operation will always be applied. Required.
|
1856
1783
|
:type if_match: str
|
1857
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1858
1784
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1859
1785
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1860
1786
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1861
1787
|
"""
|
1862
|
-
error_map = {
|
1788
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1863
1789
|
401: ClientAuthenticationError,
|
1864
1790
|
404: ResourceNotFoundError,
|
1865
1791
|
409: ResourceExistsError,
|
@@ -1870,25 +1796,25 @@ class BlobContainersOperations:
|
|
1870
1796
|
_headers = kwargs.pop("headers", {}) or {}
|
1871
1797
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1872
1798
|
|
1873
|
-
api_version:
|
1799
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1874
1800
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1875
1801
|
|
1876
|
-
|
1802
|
+
_request = build_lock_immutability_policy_request(
|
1877
1803
|
resource_group_name=resource_group_name,
|
1878
1804
|
account_name=account_name,
|
1879
1805
|
container_name=container_name,
|
1880
1806
|
subscription_id=self._config.subscription_id,
|
1881
1807
|
if_match=if_match,
|
1882
1808
|
api_version=api_version,
|
1883
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1884
1809
|
headers=_headers,
|
1885
1810
|
params=_params,
|
1886
1811
|
)
|
1887
|
-
|
1888
|
-
|
1812
|
+
_request = _convert_request(_request)
|
1813
|
+
_request.url = self._client.format_url(_request.url)
|
1889
1814
|
|
1815
|
+
_stream = False
|
1890
1816
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1891
|
-
|
1817
|
+
_request, stream=_stream, **kwargs
|
1892
1818
|
)
|
1893
1819
|
|
1894
1820
|
response = pipeline_response.http_response
|
@@ -1903,13 +1829,9 @@ class BlobContainersOperations:
|
|
1903
1829
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1904
1830
|
|
1905
1831
|
if cls:
|
1906
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1832
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1907
1833
|
|
1908
|
-
return deserialized
|
1909
|
-
|
1910
|
-
lock_immutability_policy.metadata = {
|
1911
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
1912
|
-
}
|
1834
|
+
return deserialized # type: ignore
|
1913
1835
|
|
1914
1836
|
@overload
|
1915
1837
|
def extend_immutability_policy(
|
@@ -1949,7 +1871,6 @@ class BlobContainersOperations:
|
|
1949
1871
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1950
1872
|
Default value is "application/json".
|
1951
1873
|
:paramtype content_type: str
|
1952
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1953
1874
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1954
1875
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1955
1876
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1962,7 +1883,7 @@ class BlobContainersOperations:
|
|
1962
1883
|
account_name: str,
|
1963
1884
|
container_name: str,
|
1964
1885
|
if_match: str,
|
1965
|
-
parameters: Optional[IO] = None,
|
1886
|
+
parameters: Optional[IO[bytes]] = None,
|
1966
1887
|
*,
|
1967
1888
|
content_type: str = "application/json",
|
1968
1889
|
**kwargs: Any
|
@@ -1989,11 +1910,10 @@ class BlobContainersOperations:
|
|
1989
1910
|
:type if_match: str
|
1990
1911
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1991
1912
|
container. Default value is None.
|
1992
|
-
:type parameters: IO
|
1913
|
+
:type parameters: IO[bytes]
|
1993
1914
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1994
1915
|
Default value is "application/json".
|
1995
1916
|
:paramtype content_type: str
|
1996
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1997
1917
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1998
1918
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1999
1919
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2006,7 +1926,7 @@ class BlobContainersOperations:
|
|
2006
1926
|
account_name: str,
|
2007
1927
|
container_name: str,
|
2008
1928
|
if_match: str,
|
2009
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1929
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
2010
1930
|
**kwargs: Any
|
2011
1931
|
) -> _models.ImmutabilityPolicy:
|
2012
1932
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -2030,17 +1950,13 @@ class BlobContainersOperations:
|
|
2030
1950
|
omitted, this operation will always be applied. Required.
|
2031
1951
|
:type if_match: str
|
2032
1952
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2033
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
2034
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO
|
2035
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2036
|
-
Default value is None.
|
2037
|
-
:paramtype content_type: str
|
2038
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1953
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1954
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO[bytes]
|
2039
1955
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2040
1956
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
2041
1957
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2042
1958
|
"""
|
2043
|
-
error_map = {
|
1959
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2044
1960
|
401: ClientAuthenticationError,
|
2045
1961
|
404: ResourceNotFoundError,
|
2046
1962
|
409: ResourceExistsError,
|
@@ -2051,14 +1967,14 @@ class BlobContainersOperations:
|
|
2051
1967
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
2052
1968
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2053
1969
|
|
2054
|
-
api_version:
|
1970
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
2055
1971
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
2056
1972
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
2057
1973
|
|
2058
1974
|
content_type = content_type or "application/json"
|
2059
1975
|
_json = None
|
2060
1976
|
_content = None
|
2061
|
-
if isinstance(parameters, (
|
1977
|
+
if isinstance(parameters, (IOBase, bytes)):
|
2062
1978
|
_content = parameters
|
2063
1979
|
else:
|
2064
1980
|
if parameters is not None:
|
@@ -2066,7 +1982,7 @@ class BlobContainersOperations:
|
|
2066
1982
|
else:
|
2067
1983
|
_json = None
|
2068
1984
|
|
2069
|
-
|
1985
|
+
_request = build_extend_immutability_policy_request(
|
2070
1986
|
resource_group_name=resource_group_name,
|
2071
1987
|
account_name=account_name,
|
2072
1988
|
container_name=container_name,
|
@@ -2076,15 +1992,15 @@ class BlobContainersOperations:
|
|
2076
1992
|
content_type=content_type,
|
2077
1993
|
json=_json,
|
2078
1994
|
content=_content,
|
2079
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
2080
1995
|
headers=_headers,
|
2081
1996
|
params=_params,
|
2082
1997
|
)
|
2083
|
-
|
2084
|
-
|
1998
|
+
_request = _convert_request(_request)
|
1999
|
+
_request.url = self._client.format_url(_request.url)
|
2085
2000
|
|
2001
|
+
_stream = False
|
2086
2002
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2087
|
-
|
2003
|
+
_request, stream=_stream, **kwargs
|
2088
2004
|
)
|
2089
2005
|
|
2090
2006
|
response = pipeline_response.http_response
|
@@ -2099,13 +2015,9 @@ class BlobContainersOperations:
|
|
2099
2015
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
2100
2016
|
|
2101
2017
|
if cls:
|
2102
|
-
return cls(pipeline_response, deserialized, response_headers)
|
2103
|
-
|
2104
|
-
return deserialized
|
2018
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
2105
2019
|
|
2106
|
-
|
2107
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
2108
|
-
}
|
2020
|
+
return deserialized # type: ignore
|
2109
2021
|
|
2110
2022
|
@overload
|
2111
2023
|
def lease(
|
@@ -2138,7 +2050,6 @@ class BlobContainersOperations:
|
|
2138
2050
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2139
2051
|
Default value is "application/json".
|
2140
2052
|
:paramtype content_type: str
|
2141
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2142
2053
|
:return: LeaseContainerResponse or the result of cls(response)
|
2143
2054
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
|
2144
2055
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2150,7 +2061,7 @@ class BlobContainersOperations:
|
|
2150
2061
|
resource_group_name: str,
|
2151
2062
|
account_name: str,
|
2152
2063
|
container_name: str,
|
2153
|
-
parameters: Optional[IO] = None,
|
2064
|
+
parameters: Optional[IO[bytes]] = None,
|
2154
2065
|
*,
|
2155
2066
|
content_type: str = "application/json",
|
2156
2067
|
**kwargs: Any
|
@@ -2171,11 +2082,10 @@ class BlobContainersOperations:
|
|
2171
2082
|
by a letter or number. Required.
|
2172
2083
|
:type container_name: str
|
2173
2084
|
:param parameters: Lease Container request body. Default value is None.
|
2174
|
-
:type parameters: IO
|
2085
|
+
:type parameters: IO[bytes]
|
2175
2086
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2176
2087
|
Default value is "application/json".
|
2177
2088
|
:paramtype content_type: str
|
2178
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2179
2089
|
:return: LeaseContainerResponse or the result of cls(response)
|
2180
2090
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
|
2181
2091
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2187,7 +2097,7 @@ class BlobContainersOperations:
|
|
2187
2097
|
resource_group_name: str,
|
2188
2098
|
account_name: str,
|
2189
2099
|
container_name: str,
|
2190
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
2100
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
2191
2101
|
**kwargs: Any
|
2192
2102
|
) -> _models.LeaseContainerResponse:
|
2193
2103
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -2205,18 +2115,14 @@ class BlobContainersOperations:
|
|
2205
2115
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
2206
2116
|
by a letter or number. Required.
|
2207
2117
|
:type container_name: str
|
2208
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2209
|
-
type. Default value is None.
|
2210
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerRequest or IO
|
2211
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2212
|
-
Default value is None.
|
2213
|
-
:paramtype content_type: str
|
2214
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2118
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2119
|
+
IO[bytes] type. Default value is None.
|
2120
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerRequest or IO[bytes]
|
2215
2121
|
:return: LeaseContainerResponse or the result of cls(response)
|
2216
2122
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
|
2217
2123
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2218
2124
|
"""
|
2219
|
-
error_map = {
|
2125
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2220
2126
|
401: ClientAuthenticationError,
|
2221
2127
|
404: ResourceNotFoundError,
|
2222
2128
|
409: ResourceExistsError,
|
@@ -2227,14 +2133,14 @@ class BlobContainersOperations:
|
|
2227
2133
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
2228
2134
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2229
2135
|
|
2230
|
-
api_version:
|
2136
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
2231
2137
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
2232
2138
|
cls: ClsType[_models.LeaseContainerResponse] = kwargs.pop("cls", None)
|
2233
2139
|
|
2234
2140
|
content_type = content_type or "application/json"
|
2235
2141
|
_json = None
|
2236
2142
|
_content = None
|
2237
|
-
if isinstance(parameters, (
|
2143
|
+
if isinstance(parameters, (IOBase, bytes)):
|
2238
2144
|
_content = parameters
|
2239
2145
|
else:
|
2240
2146
|
if parameters is not None:
|
@@ -2242,7 +2148,7 @@ class BlobContainersOperations:
|
|
2242
2148
|
else:
|
2243
2149
|
_json = None
|
2244
2150
|
|
2245
|
-
|
2151
|
+
_request = build_lease_request(
|
2246
2152
|
resource_group_name=resource_group_name,
|
2247
2153
|
account_name=account_name,
|
2248
2154
|
container_name=container_name,
|
@@ -2251,15 +2157,15 @@ class BlobContainersOperations:
|
|
2251
2157
|
content_type=content_type,
|
2252
2158
|
json=_json,
|
2253
2159
|
content=_content,
|
2254
|
-
template_url=self.lease.metadata["url"],
|
2255
2160
|
headers=_headers,
|
2256
2161
|
params=_params,
|
2257
2162
|
)
|
2258
|
-
|
2259
|
-
|
2163
|
+
_request = _convert_request(_request)
|
2164
|
+
_request.url = self._client.format_url(_request.url)
|
2260
2165
|
|
2166
|
+
_stream = False
|
2261
2167
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2262
|
-
|
2168
|
+
_request, stream=_stream, **kwargs
|
2263
2169
|
)
|
2264
2170
|
|
2265
2171
|
response = pipeline_response.http_response
|
@@ -2271,10 +2177,6 @@ class BlobContainersOperations:
|
|
2271
2177
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
2272
2178
|
|
2273
2179
|
if cls:
|
2274
|
-
return cls(pipeline_response, deserialized, {})
|
2275
|
-
|
2276
|
-
return deserialized
|
2180
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
2277
2181
|
|
2278
|
-
|
2279
|
-
"url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
2280
|
-
}
|
2182
|
+
return deserialized # type: ignore
|