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