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