azure-mgmt-storage 21.1.0__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 +41 -49
- azure/mgmt/storage/_storage_management_client.py +142 -2
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_configuration.py +2 -3
- azure/mgmt/storage/aio/_storage_management_client.py +142 -2
- azure/mgmt/storage/models.py +1 -1
- azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
- azure/mgmt/storage/v2015_06_15/_version.py +1 -1
- azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
- azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2016_01_01/_version.py +1 -1
- azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
- azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2016_12_01/_version.py +1 -1
- azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
- azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_06_01/_version.py +1 -1
- azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_10_01/_version.py +1 -1
- azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_02_01/_version.py +1 -1
- azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
- azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
- azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
- azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_07_01/_version.py +1 -1
- azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
- azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_11_01/_version.py +1 -1
- azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
- azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
- azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
- azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
- azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_04_01/_version.py +1 -1
- azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
- azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
- azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
- azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_06_01/_version.py +1 -1
- azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
- azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_01_01/_version.py +1 -1
- azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_02_01/_version.py +1 -1
- azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
- azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_04_01/_version.py +1 -1
- azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
- azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_06_01/_version.py +1 -1
- azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_08_01/_version.py +1 -1
- azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
- azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_09_01/_version.py +1 -1
- azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_05_01/_version.py +1 -1
- azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_09_01/_version.py +1 -1
- azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2023_01_01/_version.py +1 -1
- azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
- azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
- 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.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-21.1.0.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.
|
@@ -7,7 +7,8 @@
|
|
7
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
8
|
# --------------------------------------------------------------------------
|
9
9
|
from io import IOBase
|
10
|
-
|
10
|
+
import sys
|
11
|
+
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, Type, TypeVar, Union, cast, overload
|
11
12
|
import urllib.parse
|
12
13
|
|
13
14
|
from azure.core.async_paging import AsyncItemPaged, AsyncList
|
@@ -48,6 +49,10 @@ from ...operations._blob_containers_operations import (
|
|
48
49
|
build_update_request,
|
49
50
|
)
|
50
51
|
|
52
|
+
if sys.version_info >= (3, 9):
|
53
|
+
from collections.abc import MutableMapping
|
54
|
+
else:
|
55
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
51
56
|
T = TypeVar("T")
|
52
57
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
53
58
|
|
@@ -101,7 +106,6 @@ class BlobContainersOperations:
|
|
101
106
|
:param include: Optional, used to include the properties for soft deleted blob containers.
|
102
107
|
"deleted" Default value is None.
|
103
108
|
:type include: str or ~azure.mgmt.storage.v2021_04_01.models.ListContainersInclude
|
104
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
105
109
|
:return: An iterator like instance of either ListContainerItem or the result of cls(response)
|
106
110
|
:rtype:
|
107
111
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_04_01.models.ListContainerItem]
|
@@ -113,7 +117,7 @@ class BlobContainersOperations:
|
|
113
117
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
114
118
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
115
119
|
|
116
|
-
error_map = {
|
120
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
117
121
|
401: ClientAuthenticationError,
|
118
122
|
404: ResourceNotFoundError,
|
119
123
|
409: ResourceExistsError,
|
@@ -124,7 +128,7 @@ class BlobContainersOperations:
|
|
124
128
|
def prepare_request(next_link=None):
|
125
129
|
if not next_link:
|
126
130
|
|
127
|
-
|
131
|
+
_request = build_list_request(
|
128
132
|
resource_group_name=resource_group_name,
|
129
133
|
account_name=account_name,
|
130
134
|
subscription_id=self._config.subscription_id,
|
@@ -132,12 +136,11 @@ class BlobContainersOperations:
|
|
132
136
|
filter=filter,
|
133
137
|
include=include,
|
134
138
|
api_version=api_version,
|
135
|
-
template_url=self.list.metadata["url"],
|
136
139
|
headers=_headers,
|
137
140
|
params=_params,
|
138
141
|
)
|
139
|
-
|
140
|
-
|
142
|
+
_request = _convert_request(_request)
|
143
|
+
_request.url = self._client.format_url(_request.url)
|
141
144
|
|
142
145
|
else:
|
143
146
|
# make call to next link with the client's api-version
|
@@ -148,14 +151,14 @@ class BlobContainersOperations:
|
|
148
151
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
149
152
|
}
|
150
153
|
)
|
151
|
-
_next_request_params["api-version"] = self.
|
152
|
-
|
154
|
+
_next_request_params["api-version"] = self._api_version
|
155
|
+
_request = HttpRequest(
|
153
156
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
154
157
|
)
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
return
|
158
|
+
_request = _convert_request(_request)
|
159
|
+
_request.url = self._client.format_url(_request.url)
|
160
|
+
_request.method = "GET"
|
161
|
+
return _request
|
159
162
|
|
160
163
|
async def extract_data(pipeline_response):
|
161
164
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
@@ -165,11 +168,11 @@ class BlobContainersOperations:
|
|
165
168
|
return deserialized.next_link or None, AsyncList(list_of_elem)
|
166
169
|
|
167
170
|
async def get_next(next_link=None):
|
168
|
-
|
171
|
+
_request = prepare_request(next_link)
|
169
172
|
|
170
173
|
_stream = False
|
171
174
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
172
|
-
|
175
|
+
_request, stream=_stream, **kwargs
|
173
176
|
)
|
174
177
|
response = pipeline_response.http_response
|
175
178
|
|
@@ -181,10 +184,6 @@ class BlobContainersOperations:
|
|
181
184
|
|
182
185
|
return AsyncItemPaged(get_next, extract_data)
|
183
186
|
|
184
|
-
list.metadata = {
|
185
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
186
|
-
}
|
187
|
-
|
188
187
|
@overload
|
189
188
|
async def create(
|
190
189
|
self,
|
@@ -217,7 +216,6 @@ class BlobContainersOperations:
|
|
217
216
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
218
217
|
Default value is "application/json".
|
219
218
|
:paramtype content_type: str
|
220
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
221
219
|
:return: BlobContainer or the result of cls(response)
|
222
220
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
223
221
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -229,7 +227,7 @@ class BlobContainersOperations:
|
|
229
227
|
resource_group_name: str,
|
230
228
|
account_name: str,
|
231
229
|
container_name: str,
|
232
|
-
blob_container: IO,
|
230
|
+
blob_container: IO[bytes],
|
233
231
|
*,
|
234
232
|
content_type: str = "application/json",
|
235
233
|
**kwargs: Any
|
@@ -251,11 +249,10 @@ class BlobContainersOperations:
|
|
251
249
|
by a letter or number. Required.
|
252
250
|
:type container_name: str
|
253
251
|
:param blob_container: Properties of the blob container to create. Required.
|
254
|
-
:type blob_container: IO
|
252
|
+
:type blob_container: IO[bytes]
|
255
253
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
256
254
|
Default value is "application/json".
|
257
255
|
:paramtype content_type: str
|
258
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
259
256
|
:return: BlobContainer or the result of cls(response)
|
260
257
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
261
258
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -267,7 +264,7 @@ class BlobContainersOperations:
|
|
267
264
|
resource_group_name: str,
|
268
265
|
account_name: str,
|
269
266
|
container_name: str,
|
270
|
-
blob_container: Union[_models.BlobContainer, IO],
|
267
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
271
268
|
**kwargs: Any
|
272
269
|
) -> _models.BlobContainer:
|
273
270
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -287,17 +284,13 @@ class BlobContainersOperations:
|
|
287
284
|
by a letter or number. Required.
|
288
285
|
:type container_name: str
|
289
286
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
290
|
-
type or a IO type. Required.
|
291
|
-
:type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO
|
292
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
293
|
-
Default value is None.
|
294
|
-
:paramtype content_type: str
|
295
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
287
|
+
type or a IO[bytes] type. Required.
|
288
|
+
:type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO[bytes]
|
296
289
|
:return: BlobContainer or the result of cls(response)
|
297
290
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
298
291
|
:raises ~azure.core.exceptions.HttpResponseError:
|
299
292
|
"""
|
300
|
-
error_map = {
|
293
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
301
294
|
401: ClientAuthenticationError,
|
302
295
|
404: ResourceNotFoundError,
|
303
296
|
409: ResourceExistsError,
|
@@ -320,7 +313,7 @@ class BlobContainersOperations:
|
|
320
313
|
else:
|
321
314
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
322
315
|
|
323
|
-
|
316
|
+
_request = build_create_request(
|
324
317
|
resource_group_name=resource_group_name,
|
325
318
|
account_name=account_name,
|
326
319
|
container_name=container_name,
|
@@ -329,16 +322,15 @@ class BlobContainersOperations:
|
|
329
322
|
content_type=content_type,
|
330
323
|
json=_json,
|
331
324
|
content=_content,
|
332
|
-
template_url=self.create.metadata["url"],
|
333
325
|
headers=_headers,
|
334
326
|
params=_params,
|
335
327
|
)
|
336
|
-
|
337
|
-
|
328
|
+
_request = _convert_request(_request)
|
329
|
+
_request.url = self._client.format_url(_request.url)
|
338
330
|
|
339
331
|
_stream = False
|
340
332
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
341
|
-
|
333
|
+
_request, stream=_stream, **kwargs
|
342
334
|
)
|
343
335
|
|
344
336
|
response = pipeline_response.http_response
|
@@ -358,10 +350,6 @@ class BlobContainersOperations:
|
|
358
350
|
|
359
351
|
return deserialized # type: ignore
|
360
352
|
|
361
|
-
create.metadata = {
|
362
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
363
|
-
}
|
364
|
-
|
365
353
|
@overload
|
366
354
|
async def update(
|
367
355
|
self,
|
@@ -393,7 +381,6 @@ class BlobContainersOperations:
|
|
393
381
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
394
382
|
Default value is "application/json".
|
395
383
|
:paramtype content_type: str
|
396
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
397
384
|
:return: BlobContainer or the result of cls(response)
|
398
385
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
399
386
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -405,7 +392,7 @@ class BlobContainersOperations:
|
|
405
392
|
resource_group_name: str,
|
406
393
|
account_name: str,
|
407
394
|
container_name: str,
|
408
|
-
blob_container: IO,
|
395
|
+
blob_container: IO[bytes],
|
409
396
|
*,
|
410
397
|
content_type: str = "application/json",
|
411
398
|
**kwargs: Any
|
@@ -426,11 +413,10 @@ class BlobContainersOperations:
|
|
426
413
|
by a letter or number. Required.
|
427
414
|
:type container_name: str
|
428
415
|
:param blob_container: Properties to update for the blob container. Required.
|
429
|
-
:type blob_container: IO
|
416
|
+
:type blob_container: IO[bytes]
|
430
417
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
431
418
|
Default value is "application/json".
|
432
419
|
:paramtype content_type: str
|
433
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
434
420
|
:return: BlobContainer or the result of cls(response)
|
435
421
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
436
422
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -442,7 +428,7 @@ class BlobContainersOperations:
|
|
442
428
|
resource_group_name: str,
|
443
429
|
account_name: str,
|
444
430
|
container_name: str,
|
445
|
-
blob_container: Union[_models.BlobContainer, IO],
|
431
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
446
432
|
**kwargs: Any
|
447
433
|
) -> _models.BlobContainer:
|
448
434
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -461,17 +447,13 @@ class BlobContainersOperations:
|
|
461
447
|
by a letter or number. Required.
|
462
448
|
:type container_name: str
|
463
449
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
464
|
-
type or a IO type. Required.
|
465
|
-
:type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO
|
466
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
467
|
-
Default value is None.
|
468
|
-
:paramtype content_type: str
|
469
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
450
|
+
type or a IO[bytes] type. Required.
|
451
|
+
:type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO[bytes]
|
470
452
|
:return: BlobContainer or the result of cls(response)
|
471
453
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
472
454
|
:raises ~azure.core.exceptions.HttpResponseError:
|
473
455
|
"""
|
474
|
-
error_map = {
|
456
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
475
457
|
401: ClientAuthenticationError,
|
476
458
|
404: ResourceNotFoundError,
|
477
459
|
409: ResourceExistsError,
|
@@ -494,7 +476,7 @@ class BlobContainersOperations:
|
|
494
476
|
else:
|
495
477
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
496
478
|
|
497
|
-
|
479
|
+
_request = build_update_request(
|
498
480
|
resource_group_name=resource_group_name,
|
499
481
|
account_name=account_name,
|
500
482
|
container_name=container_name,
|
@@ -503,16 +485,15 @@ class BlobContainersOperations:
|
|
503
485
|
content_type=content_type,
|
504
486
|
json=_json,
|
505
487
|
content=_content,
|
506
|
-
template_url=self.update.metadata["url"],
|
507
488
|
headers=_headers,
|
508
489
|
params=_params,
|
509
490
|
)
|
510
|
-
|
511
|
-
|
491
|
+
_request = _convert_request(_request)
|
492
|
+
_request.url = self._client.format_url(_request.url)
|
512
493
|
|
513
494
|
_stream = False
|
514
495
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
515
|
-
|
496
|
+
_request, stream=_stream, **kwargs
|
516
497
|
)
|
517
498
|
|
518
499
|
response = pipeline_response.http_response
|
@@ -524,13 +505,9 @@ class BlobContainersOperations:
|
|
524
505
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
525
506
|
|
526
507
|
if cls:
|
527
|
-
return cls(pipeline_response, deserialized, {})
|
528
|
-
|
529
|
-
return deserialized
|
508
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
530
509
|
|
531
|
-
|
532
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
533
|
-
}
|
510
|
+
return deserialized # type: ignore
|
534
511
|
|
535
512
|
@distributed_trace_async
|
536
513
|
async def get(
|
@@ -550,12 +527,11 @@ class BlobContainersOperations:
|
|
550
527
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
551
528
|
by a letter or number. Required.
|
552
529
|
:type container_name: str
|
553
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
554
530
|
:return: BlobContainer or the result of cls(response)
|
555
531
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
556
532
|
:raises ~azure.core.exceptions.HttpResponseError:
|
557
533
|
"""
|
558
|
-
error_map = {
|
534
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
559
535
|
401: ClientAuthenticationError,
|
560
536
|
404: ResourceNotFoundError,
|
561
537
|
409: ResourceExistsError,
|
@@ -569,22 +545,21 @@ class BlobContainersOperations:
|
|
569
545
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
570
546
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
571
547
|
|
572
|
-
|
548
|
+
_request = build_get_request(
|
573
549
|
resource_group_name=resource_group_name,
|
574
550
|
account_name=account_name,
|
575
551
|
container_name=container_name,
|
576
552
|
subscription_id=self._config.subscription_id,
|
577
553
|
api_version=api_version,
|
578
|
-
template_url=self.get.metadata["url"],
|
579
554
|
headers=_headers,
|
580
555
|
params=_params,
|
581
556
|
)
|
582
|
-
|
583
|
-
|
557
|
+
_request = _convert_request(_request)
|
558
|
+
_request.url = self._client.format_url(_request.url)
|
584
559
|
|
585
560
|
_stream = False
|
586
561
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
587
|
-
|
562
|
+
_request, stream=_stream, **kwargs
|
588
563
|
)
|
589
564
|
|
590
565
|
response = pipeline_response.http_response
|
@@ -596,13 +571,9 @@ class BlobContainersOperations:
|
|
596
571
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
597
572
|
|
598
573
|
if cls:
|
599
|
-
return cls(pipeline_response, deserialized, {})
|
600
|
-
|
601
|
-
return deserialized
|
574
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
602
575
|
|
603
|
-
|
604
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
605
|
-
}
|
576
|
+
return deserialized # type: ignore
|
606
577
|
|
607
578
|
@distributed_trace_async
|
608
579
|
async def delete( # pylint: disable=inconsistent-return-statements
|
@@ -622,12 +593,11 @@ class BlobContainersOperations:
|
|
622
593
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
623
594
|
by a letter or number. Required.
|
624
595
|
:type container_name: str
|
625
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
626
596
|
:return: None or the result of cls(response)
|
627
597
|
:rtype: None
|
628
598
|
:raises ~azure.core.exceptions.HttpResponseError:
|
629
599
|
"""
|
630
|
-
error_map = {
|
600
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
631
601
|
401: ClientAuthenticationError,
|
632
602
|
404: ResourceNotFoundError,
|
633
603
|
409: ResourceExistsError,
|
@@ -641,22 +611,21 @@ class BlobContainersOperations:
|
|
641
611
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
642
612
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
643
613
|
|
644
|
-
|
614
|
+
_request = build_delete_request(
|
645
615
|
resource_group_name=resource_group_name,
|
646
616
|
account_name=account_name,
|
647
617
|
container_name=container_name,
|
648
618
|
subscription_id=self._config.subscription_id,
|
649
619
|
api_version=api_version,
|
650
|
-
template_url=self.delete.metadata["url"],
|
651
620
|
headers=_headers,
|
652
621
|
params=_params,
|
653
622
|
)
|
654
|
-
|
655
|
-
|
623
|
+
_request = _convert_request(_request)
|
624
|
+
_request.url = self._client.format_url(_request.url)
|
656
625
|
|
657
626
|
_stream = False
|
658
627
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
659
|
-
|
628
|
+
_request, stream=_stream, **kwargs
|
660
629
|
)
|
661
630
|
|
662
631
|
response = pipeline_response.http_response
|
@@ -666,11 +635,7 @@ class BlobContainersOperations:
|
|
666
635
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
667
636
|
|
668
637
|
if cls:
|
669
|
-
return cls(pipeline_response, None, {})
|
670
|
-
|
671
|
-
delete.metadata = {
|
672
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
673
|
-
}
|
638
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
674
639
|
|
675
640
|
@overload
|
676
641
|
async def set_legal_hold(
|
@@ -704,7 +669,6 @@ class BlobContainersOperations:
|
|
704
669
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
705
670
|
Default value is "application/json".
|
706
671
|
:paramtype content_type: str
|
707
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
708
672
|
:return: LegalHold or the result of cls(response)
|
709
673
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
710
674
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -716,7 +680,7 @@ class BlobContainersOperations:
|
|
716
680
|
resource_group_name: str,
|
717
681
|
account_name: str,
|
718
682
|
container_name: str,
|
719
|
-
legal_hold: IO,
|
683
|
+
legal_hold: IO[bytes],
|
720
684
|
*,
|
721
685
|
content_type: str = "application/json",
|
722
686
|
**kwargs: Any
|
@@ -738,11 +702,10 @@ class BlobContainersOperations:
|
|
738
702
|
by a letter or number. Required.
|
739
703
|
:type container_name: str
|
740
704
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
741
|
-
:type legal_hold: IO
|
705
|
+
:type legal_hold: IO[bytes]
|
742
706
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
743
707
|
Default value is "application/json".
|
744
708
|
:paramtype content_type: str
|
745
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
746
709
|
:return: LegalHold or the result of cls(response)
|
747
710
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
748
711
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -754,7 +717,7 @@ class BlobContainersOperations:
|
|
754
717
|
resource_group_name: str,
|
755
718
|
account_name: str,
|
756
719
|
container_name: str,
|
757
|
-
legal_hold: Union[_models.LegalHold, IO],
|
720
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
758
721
|
**kwargs: Any
|
759
722
|
) -> _models.LegalHold:
|
760
723
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -774,17 +737,13 @@ class BlobContainersOperations:
|
|
774
737
|
by a letter or number. Required.
|
775
738
|
:type container_name: str
|
776
739
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
777
|
-
LegalHold type or a IO type. Required.
|
778
|
-
:type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO
|
779
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
780
|
-
Default value is None.
|
781
|
-
:paramtype content_type: str
|
782
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
740
|
+
LegalHold type or a IO[bytes] type. Required.
|
741
|
+
:type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO[bytes]
|
783
742
|
:return: LegalHold or the result of cls(response)
|
784
743
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
785
744
|
:raises ~azure.core.exceptions.HttpResponseError:
|
786
745
|
"""
|
787
|
-
error_map = {
|
746
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
788
747
|
401: ClientAuthenticationError,
|
789
748
|
404: ResourceNotFoundError,
|
790
749
|
409: ResourceExistsError,
|
@@ -807,7 +766,7 @@ class BlobContainersOperations:
|
|
807
766
|
else:
|
808
767
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
809
768
|
|
810
|
-
|
769
|
+
_request = build_set_legal_hold_request(
|
811
770
|
resource_group_name=resource_group_name,
|
812
771
|
account_name=account_name,
|
813
772
|
container_name=container_name,
|
@@ -816,16 +775,15 @@ class BlobContainersOperations:
|
|
816
775
|
content_type=content_type,
|
817
776
|
json=_json,
|
818
777
|
content=_content,
|
819
|
-
template_url=self.set_legal_hold.metadata["url"],
|
820
778
|
headers=_headers,
|
821
779
|
params=_params,
|
822
780
|
)
|
823
|
-
|
824
|
-
|
781
|
+
_request = _convert_request(_request)
|
782
|
+
_request.url = self._client.format_url(_request.url)
|
825
783
|
|
826
784
|
_stream = False
|
827
785
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
828
|
-
|
786
|
+
_request, stream=_stream, **kwargs
|
829
787
|
)
|
830
788
|
|
831
789
|
response = pipeline_response.http_response
|
@@ -837,13 +795,9 @@ class BlobContainersOperations:
|
|
837
795
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
838
796
|
|
839
797
|
if cls:
|
840
|
-
return cls(pipeline_response, deserialized, {})
|
841
|
-
|
842
|
-
return deserialized
|
798
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
843
799
|
|
844
|
-
|
845
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
846
|
-
}
|
800
|
+
return deserialized # type: ignore
|
847
801
|
|
848
802
|
@overload
|
849
803
|
async def clear_legal_hold(
|
@@ -876,7 +830,6 @@ class BlobContainersOperations:
|
|
876
830
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
877
831
|
Default value is "application/json".
|
878
832
|
:paramtype content_type: str
|
879
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
880
833
|
:return: LegalHold or the result of cls(response)
|
881
834
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
882
835
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -888,7 +841,7 @@ class BlobContainersOperations:
|
|
888
841
|
resource_group_name: str,
|
889
842
|
account_name: str,
|
890
843
|
container_name: str,
|
891
|
-
legal_hold: IO,
|
844
|
+
legal_hold: IO[bytes],
|
892
845
|
*,
|
893
846
|
content_type: str = "application/json",
|
894
847
|
**kwargs: Any
|
@@ -909,11 +862,10 @@ class BlobContainersOperations:
|
|
909
862
|
by a letter or number. Required.
|
910
863
|
:type container_name: str
|
911
864
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
912
|
-
:type legal_hold: IO
|
865
|
+
:type legal_hold: IO[bytes]
|
913
866
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
914
867
|
Default value is "application/json".
|
915
868
|
:paramtype content_type: str
|
916
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
917
869
|
:return: LegalHold or the result of cls(response)
|
918
870
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
919
871
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -925,7 +877,7 @@ class BlobContainersOperations:
|
|
925
877
|
resource_group_name: str,
|
926
878
|
account_name: str,
|
927
879
|
container_name: str,
|
928
|
-
legal_hold: Union[_models.LegalHold, IO],
|
880
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
929
881
|
**kwargs: Any
|
930
882
|
) -> _models.LegalHold:
|
931
883
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -944,17 +896,13 @@ class BlobContainersOperations:
|
|
944
896
|
by a letter or number. Required.
|
945
897
|
:type container_name: str
|
946
898
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
947
|
-
LegalHold type or a IO type. Required.
|
948
|
-
:type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO
|
949
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
950
|
-
Default value is None.
|
951
|
-
:paramtype content_type: str
|
952
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
899
|
+
LegalHold type or a IO[bytes] type. Required.
|
900
|
+
:type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO[bytes]
|
953
901
|
:return: LegalHold or the result of cls(response)
|
954
902
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
955
903
|
:raises ~azure.core.exceptions.HttpResponseError:
|
956
904
|
"""
|
957
|
-
error_map = {
|
905
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
958
906
|
401: ClientAuthenticationError,
|
959
907
|
404: ResourceNotFoundError,
|
960
908
|
409: ResourceExistsError,
|
@@ -977,7 +925,7 @@ class BlobContainersOperations:
|
|
977
925
|
else:
|
978
926
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
979
927
|
|
980
|
-
|
928
|
+
_request = build_clear_legal_hold_request(
|
981
929
|
resource_group_name=resource_group_name,
|
982
930
|
account_name=account_name,
|
983
931
|
container_name=container_name,
|
@@ -986,16 +934,15 @@ class BlobContainersOperations:
|
|
986
934
|
content_type=content_type,
|
987
935
|
json=_json,
|
988
936
|
content=_content,
|
989
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
990
937
|
headers=_headers,
|
991
938
|
params=_params,
|
992
939
|
)
|
993
|
-
|
994
|
-
|
940
|
+
_request = _convert_request(_request)
|
941
|
+
_request.url = self._client.format_url(_request.url)
|
995
942
|
|
996
943
|
_stream = False
|
997
944
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
998
|
-
|
945
|
+
_request, stream=_stream, **kwargs
|
999
946
|
)
|
1000
947
|
|
1001
948
|
response = pipeline_response.http_response
|
@@ -1007,13 +954,9 @@ class BlobContainersOperations:
|
|
1007
954
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1008
955
|
|
1009
956
|
if cls:
|
1010
|
-
return cls(pipeline_response, deserialized, {})
|
1011
|
-
|
1012
|
-
return deserialized
|
957
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1013
958
|
|
1014
|
-
|
1015
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
1016
|
-
}
|
959
|
+
return deserialized # type: ignore
|
1017
960
|
|
1018
961
|
@overload
|
1019
962
|
async def create_or_update_immutability_policy(
|
@@ -1056,7 +999,6 @@ class BlobContainersOperations:
|
|
1056
999
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1057
1000
|
Default value is "application/json".
|
1058
1001
|
:paramtype content_type: str
|
1059
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1060
1002
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1061
1003
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1062
1004
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1070,7 +1012,7 @@ class BlobContainersOperations:
|
|
1070
1012
|
container_name: str,
|
1071
1013
|
immutability_policy_name: Union[str, _models.Enum35],
|
1072
1014
|
if_match: Optional[str] = None,
|
1073
|
-
parameters: Optional[IO] = None,
|
1015
|
+
parameters: Optional[IO[bytes]] = None,
|
1074
1016
|
*,
|
1075
1017
|
content_type: str = "application/json",
|
1076
1018
|
**kwargs: Any
|
@@ -1099,11 +1041,10 @@ class BlobContainersOperations:
|
|
1099
1041
|
:type if_match: str
|
1100
1042
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1101
1043
|
container. Default value is None.
|
1102
|
-
:type parameters: IO
|
1044
|
+
:type parameters: IO[bytes]
|
1103
1045
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1104
1046
|
Default value is "application/json".
|
1105
1047
|
:paramtype content_type: str
|
1106
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1107
1048
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1108
1049
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1109
1050
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1117,7 +1058,7 @@ class BlobContainersOperations:
|
|
1117
1058
|
container_name: str,
|
1118
1059
|
immutability_policy_name: Union[str, _models.Enum35],
|
1119
1060
|
if_match: Optional[str] = None,
|
1120
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1061
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1121
1062
|
**kwargs: Any
|
1122
1063
|
) -> _models.ImmutabilityPolicy:
|
1123
1064
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1143,17 +1084,13 @@ class BlobContainersOperations:
|
|
1143
1084
|
omitted, this operation will always be applied. Default value is None.
|
1144
1085
|
:type if_match: str
|
1145
1086
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1146
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1147
|
-
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO
|
1148
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1149
|
-
Default value is None.
|
1150
|
-
:paramtype content_type: str
|
1151
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1087
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1088
|
+
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO[bytes]
|
1152
1089
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1153
1090
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1154
1091
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1155
1092
|
"""
|
1156
|
-
error_map = {
|
1093
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1157
1094
|
401: ClientAuthenticationError,
|
1158
1095
|
404: ResourceNotFoundError,
|
1159
1096
|
409: ResourceExistsError,
|
@@ -1179,7 +1116,7 @@ class BlobContainersOperations:
|
|
1179
1116
|
else:
|
1180
1117
|
_json = None
|
1181
1118
|
|
1182
|
-
|
1119
|
+
_request = build_create_or_update_immutability_policy_request(
|
1183
1120
|
resource_group_name=resource_group_name,
|
1184
1121
|
account_name=account_name,
|
1185
1122
|
container_name=container_name,
|
@@ -1190,16 +1127,15 @@ class BlobContainersOperations:
|
|
1190
1127
|
content_type=content_type,
|
1191
1128
|
json=_json,
|
1192
1129
|
content=_content,
|
1193
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1194
1130
|
headers=_headers,
|
1195
1131
|
params=_params,
|
1196
1132
|
)
|
1197
|
-
|
1198
|
-
|
1133
|
+
_request = _convert_request(_request)
|
1134
|
+
_request.url = self._client.format_url(_request.url)
|
1199
1135
|
|
1200
1136
|
_stream = False
|
1201
1137
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1202
|
-
|
1138
|
+
_request, stream=_stream, **kwargs
|
1203
1139
|
)
|
1204
1140
|
|
1205
1141
|
response = pipeline_response.http_response
|
@@ -1214,13 +1150,9 @@ class BlobContainersOperations:
|
|
1214
1150
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1215
1151
|
|
1216
1152
|
if cls:
|
1217
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1218
|
-
|
1219
|
-
return deserialized
|
1153
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1220
1154
|
|
1221
|
-
|
1222
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1223
|
-
}
|
1155
|
+
return deserialized # type: ignore
|
1224
1156
|
|
1225
1157
|
@distributed_trace_async
|
1226
1158
|
async def get_immutability_policy(
|
@@ -1254,12 +1186,11 @@ class BlobContainersOperations:
|
|
1254
1186
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1255
1187
|
omitted, this operation will always be applied. Default value is None.
|
1256
1188
|
:type if_match: str
|
1257
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1258
1189
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1259
1190
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1260
1191
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1261
1192
|
"""
|
1262
|
-
error_map = {
|
1193
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1263
1194
|
401: ClientAuthenticationError,
|
1264
1195
|
404: ResourceNotFoundError,
|
1265
1196
|
409: ResourceExistsError,
|
@@ -1273,7 +1204,7 @@ class BlobContainersOperations:
|
|
1273
1204
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1274
1205
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1275
1206
|
|
1276
|
-
|
1207
|
+
_request = build_get_immutability_policy_request(
|
1277
1208
|
resource_group_name=resource_group_name,
|
1278
1209
|
account_name=account_name,
|
1279
1210
|
container_name=container_name,
|
@@ -1281,16 +1212,15 @@ class BlobContainersOperations:
|
|
1281
1212
|
subscription_id=self._config.subscription_id,
|
1282
1213
|
if_match=if_match,
|
1283
1214
|
api_version=api_version,
|
1284
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1285
1215
|
headers=_headers,
|
1286
1216
|
params=_params,
|
1287
1217
|
)
|
1288
|
-
|
1289
|
-
|
1218
|
+
_request = _convert_request(_request)
|
1219
|
+
_request.url = self._client.format_url(_request.url)
|
1290
1220
|
|
1291
1221
|
_stream = False
|
1292
1222
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1293
|
-
|
1223
|
+
_request, stream=_stream, **kwargs
|
1294
1224
|
)
|
1295
1225
|
|
1296
1226
|
response = pipeline_response.http_response
|
@@ -1305,13 +1235,9 @@ class BlobContainersOperations:
|
|
1305
1235
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1306
1236
|
|
1307
1237
|
if cls:
|
1308
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1238
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1309
1239
|
|
1310
|
-
return deserialized
|
1311
|
-
|
1312
|
-
get_immutability_policy.metadata = {
|
1313
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1314
|
-
}
|
1240
|
+
return deserialized # type: ignore
|
1315
1241
|
|
1316
1242
|
@distributed_trace_async
|
1317
1243
|
async def delete_immutability_policy(
|
@@ -1347,12 +1273,11 @@ class BlobContainersOperations:
|
|
1347
1273
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1348
1274
|
omitted, this operation will always be applied. Required.
|
1349
1275
|
:type if_match: str
|
1350
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1351
1276
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1352
1277
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1353
1278
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1354
1279
|
"""
|
1355
|
-
error_map = {
|
1280
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1356
1281
|
401: ClientAuthenticationError,
|
1357
1282
|
404: ResourceNotFoundError,
|
1358
1283
|
409: ResourceExistsError,
|
@@ -1366,7 +1291,7 @@ class BlobContainersOperations:
|
|
1366
1291
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1367
1292
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1368
1293
|
|
1369
|
-
|
1294
|
+
_request = build_delete_immutability_policy_request(
|
1370
1295
|
resource_group_name=resource_group_name,
|
1371
1296
|
account_name=account_name,
|
1372
1297
|
container_name=container_name,
|
@@ -1374,16 +1299,15 @@ class BlobContainersOperations:
|
|
1374
1299
|
subscription_id=self._config.subscription_id,
|
1375
1300
|
if_match=if_match,
|
1376
1301
|
api_version=api_version,
|
1377
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1378
1302
|
headers=_headers,
|
1379
1303
|
params=_params,
|
1380
1304
|
)
|
1381
|
-
|
1382
|
-
|
1305
|
+
_request = _convert_request(_request)
|
1306
|
+
_request.url = self._client.format_url(_request.url)
|
1383
1307
|
|
1384
1308
|
_stream = False
|
1385
1309
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1386
|
-
|
1310
|
+
_request, stream=_stream, **kwargs
|
1387
1311
|
)
|
1388
1312
|
|
1389
1313
|
response = pipeline_response.http_response
|
@@ -1398,13 +1322,9 @@ class BlobContainersOperations:
|
|
1398
1322
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1399
1323
|
|
1400
1324
|
if cls:
|
1401
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1325
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1402
1326
|
|
1403
|
-
return deserialized
|
1404
|
-
|
1405
|
-
delete_immutability_policy.metadata = {
|
1406
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1407
|
-
}
|
1327
|
+
return deserialized # type: ignore
|
1408
1328
|
|
1409
1329
|
@distributed_trace_async
|
1410
1330
|
async def lock_immutability_policy(
|
@@ -1429,12 +1349,11 @@ class BlobContainersOperations:
|
|
1429
1349
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1430
1350
|
omitted, this operation will always be applied. Required.
|
1431
1351
|
:type if_match: str
|
1432
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1433
1352
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1434
1353
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1435
1354
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1436
1355
|
"""
|
1437
|
-
error_map = {
|
1356
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1438
1357
|
401: ClientAuthenticationError,
|
1439
1358
|
404: ResourceNotFoundError,
|
1440
1359
|
409: ResourceExistsError,
|
@@ -1448,23 +1367,22 @@ class BlobContainersOperations:
|
|
1448
1367
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1449
1368
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1450
1369
|
|
1451
|
-
|
1370
|
+
_request = build_lock_immutability_policy_request(
|
1452
1371
|
resource_group_name=resource_group_name,
|
1453
1372
|
account_name=account_name,
|
1454
1373
|
container_name=container_name,
|
1455
1374
|
subscription_id=self._config.subscription_id,
|
1456
1375
|
if_match=if_match,
|
1457
1376
|
api_version=api_version,
|
1458
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1459
1377
|
headers=_headers,
|
1460
1378
|
params=_params,
|
1461
1379
|
)
|
1462
|
-
|
1463
|
-
|
1380
|
+
_request = _convert_request(_request)
|
1381
|
+
_request.url = self._client.format_url(_request.url)
|
1464
1382
|
|
1465
1383
|
_stream = False
|
1466
1384
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1467
|
-
|
1385
|
+
_request, stream=_stream, **kwargs
|
1468
1386
|
)
|
1469
1387
|
|
1470
1388
|
response = pipeline_response.http_response
|
@@ -1479,13 +1397,9 @@ class BlobContainersOperations:
|
|
1479
1397
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1480
1398
|
|
1481
1399
|
if cls:
|
1482
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1400
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1483
1401
|
|
1484
|
-
return deserialized
|
1485
|
-
|
1486
|
-
lock_immutability_policy.metadata = {
|
1487
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
1488
|
-
}
|
1402
|
+
return deserialized # type: ignore
|
1489
1403
|
|
1490
1404
|
@overload
|
1491
1405
|
async def extend_immutability_policy(
|
@@ -1525,7 +1439,6 @@ class BlobContainersOperations:
|
|
1525
1439
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1526
1440
|
Default value is "application/json".
|
1527
1441
|
:paramtype content_type: str
|
1528
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1529
1442
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1530
1443
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1531
1444
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1538,7 +1451,7 @@ class BlobContainersOperations:
|
|
1538
1451
|
account_name: str,
|
1539
1452
|
container_name: str,
|
1540
1453
|
if_match: str,
|
1541
|
-
parameters: Optional[IO] = None,
|
1454
|
+
parameters: Optional[IO[bytes]] = None,
|
1542
1455
|
*,
|
1543
1456
|
content_type: str = "application/json",
|
1544
1457
|
**kwargs: Any
|
@@ -1565,11 +1478,10 @@ class BlobContainersOperations:
|
|
1565
1478
|
:type if_match: str
|
1566
1479
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1567
1480
|
container. Default value is None.
|
1568
|
-
:type parameters: IO
|
1481
|
+
:type parameters: IO[bytes]
|
1569
1482
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1570
1483
|
Default value is "application/json".
|
1571
1484
|
:paramtype content_type: str
|
1572
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1573
1485
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1574
1486
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1575
1487
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1582,7 +1494,7 @@ class BlobContainersOperations:
|
|
1582
1494
|
account_name: str,
|
1583
1495
|
container_name: str,
|
1584
1496
|
if_match: str,
|
1585
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1497
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1586
1498
|
**kwargs: Any
|
1587
1499
|
) -> _models.ImmutabilityPolicy:
|
1588
1500
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -1606,17 +1518,13 @@ class BlobContainersOperations:
|
|
1606
1518
|
omitted, this operation will always be applied. Required.
|
1607
1519
|
:type if_match: str
|
1608
1520
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1609
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1610
|
-
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO
|
1611
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1612
|
-
Default value is None.
|
1613
|
-
:paramtype content_type: str
|
1614
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1521
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1522
|
+
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO[bytes]
|
1615
1523
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1616
1524
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1617
1525
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1618
1526
|
"""
|
1619
|
-
error_map = {
|
1527
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1620
1528
|
401: ClientAuthenticationError,
|
1621
1529
|
404: ResourceNotFoundError,
|
1622
1530
|
409: ResourceExistsError,
|
@@ -1642,7 +1550,7 @@ class BlobContainersOperations:
|
|
1642
1550
|
else:
|
1643
1551
|
_json = None
|
1644
1552
|
|
1645
|
-
|
1553
|
+
_request = build_extend_immutability_policy_request(
|
1646
1554
|
resource_group_name=resource_group_name,
|
1647
1555
|
account_name=account_name,
|
1648
1556
|
container_name=container_name,
|
@@ -1652,16 +1560,15 @@ class BlobContainersOperations:
|
|
1652
1560
|
content_type=content_type,
|
1653
1561
|
json=_json,
|
1654
1562
|
content=_content,
|
1655
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
1656
1563
|
headers=_headers,
|
1657
1564
|
params=_params,
|
1658
1565
|
)
|
1659
|
-
|
1660
|
-
|
1566
|
+
_request = _convert_request(_request)
|
1567
|
+
_request.url = self._client.format_url(_request.url)
|
1661
1568
|
|
1662
1569
|
_stream = False
|
1663
1570
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1664
|
-
|
1571
|
+
_request, stream=_stream, **kwargs
|
1665
1572
|
)
|
1666
1573
|
|
1667
1574
|
response = pipeline_response.http_response
|
@@ -1676,13 +1583,9 @@ class BlobContainersOperations:
|
|
1676
1583
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1677
1584
|
|
1678
1585
|
if cls:
|
1679
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1680
|
-
|
1681
|
-
return deserialized
|
1586
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1682
1587
|
|
1683
|
-
|
1684
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
1685
|
-
}
|
1588
|
+
return deserialized # type: ignore
|
1686
1589
|
|
1687
1590
|
@overload
|
1688
1591
|
async def lease(
|
@@ -1715,7 +1618,6 @@ class BlobContainersOperations:
|
|
1715
1618
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1716
1619
|
Default value is "application/json".
|
1717
1620
|
:paramtype content_type: str
|
1718
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1719
1621
|
:return: LeaseContainerResponse or the result of cls(response)
|
1720
1622
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerResponse
|
1721
1623
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1727,7 +1629,7 @@ class BlobContainersOperations:
|
|
1727
1629
|
resource_group_name: str,
|
1728
1630
|
account_name: str,
|
1729
1631
|
container_name: str,
|
1730
|
-
parameters: Optional[IO] = None,
|
1632
|
+
parameters: Optional[IO[bytes]] = None,
|
1731
1633
|
*,
|
1732
1634
|
content_type: str = "application/json",
|
1733
1635
|
**kwargs: Any
|
@@ -1748,11 +1650,10 @@ class BlobContainersOperations:
|
|
1748
1650
|
by a letter or number. Required.
|
1749
1651
|
:type container_name: str
|
1750
1652
|
:param parameters: Lease Container request body. Default value is None.
|
1751
|
-
:type parameters: IO
|
1653
|
+
:type parameters: IO[bytes]
|
1752
1654
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1753
1655
|
Default value is "application/json".
|
1754
1656
|
:paramtype content_type: str
|
1755
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1756
1657
|
:return: LeaseContainerResponse or the result of cls(response)
|
1757
1658
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerResponse
|
1758
1659
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1764,7 +1665,7 @@ class BlobContainersOperations:
|
|
1764
1665
|
resource_group_name: str,
|
1765
1666
|
account_name: str,
|
1766
1667
|
container_name: str,
|
1767
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
1668
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
1768
1669
|
**kwargs: Any
|
1769
1670
|
) -> _models.LeaseContainerResponse:
|
1770
1671
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -1782,18 +1683,14 @@ class BlobContainersOperations:
|
|
1782
1683
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1783
1684
|
by a letter or number. Required.
|
1784
1685
|
:type container_name: str
|
1785
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
1786
|
-
type. Default value is None.
|
1787
|
-
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerRequest or IO
|
1788
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1789
|
-
Default value is None.
|
1790
|
-
:paramtype content_type: str
|
1791
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1686
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
1687
|
+
IO[bytes] type. Default value is None.
|
1688
|
+
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerRequest or IO[bytes]
|
1792
1689
|
:return: LeaseContainerResponse or the result of cls(response)
|
1793
1690
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerResponse
|
1794
1691
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1795
1692
|
"""
|
1796
|
-
error_map = {
|
1693
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1797
1694
|
401: ClientAuthenticationError,
|
1798
1695
|
404: ResourceNotFoundError,
|
1799
1696
|
409: ResourceExistsError,
|
@@ -1819,7 +1716,7 @@ class BlobContainersOperations:
|
|
1819
1716
|
else:
|
1820
1717
|
_json = None
|
1821
1718
|
|
1822
|
-
|
1719
|
+
_request = build_lease_request(
|
1823
1720
|
resource_group_name=resource_group_name,
|
1824
1721
|
account_name=account_name,
|
1825
1722
|
container_name=container_name,
|
@@ -1828,16 +1725,15 @@ class BlobContainersOperations:
|
|
1828
1725
|
content_type=content_type,
|
1829
1726
|
json=_json,
|
1830
1727
|
content=_content,
|
1831
|
-
template_url=self.lease.metadata["url"],
|
1832
1728
|
headers=_headers,
|
1833
1729
|
params=_params,
|
1834
1730
|
)
|
1835
|
-
|
1836
|
-
|
1731
|
+
_request = _convert_request(_request)
|
1732
|
+
_request.url = self._client.format_url(_request.url)
|
1837
1733
|
|
1838
1734
|
_stream = False
|
1839
1735
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1840
|
-
|
1736
|
+
_request, stream=_stream, **kwargs
|
1841
1737
|
)
|
1842
1738
|
|
1843
1739
|
response = pipeline_response.http_response
|
@@ -1849,18 +1745,14 @@ class BlobContainersOperations:
|
|
1849
1745
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
1850
1746
|
|
1851
1747
|
if cls:
|
1852
|
-
return cls(pipeline_response, deserialized, {})
|
1853
|
-
|
1854
|
-
return deserialized
|
1748
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1855
1749
|
|
1856
|
-
|
1857
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
1858
|
-
}
|
1750
|
+
return deserialized # type: ignore
|
1859
1751
|
|
1860
1752
|
async def _object_level_worm_initial( # pylint: disable=inconsistent-return-statements
|
1861
1753
|
self, resource_group_name: str, account_name: str, container_name: str, **kwargs: Any
|
1862
1754
|
) -> None:
|
1863
|
-
error_map = {
|
1755
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1864
1756
|
401: ClientAuthenticationError,
|
1865
1757
|
404: ResourceNotFoundError,
|
1866
1758
|
409: ResourceExistsError,
|
@@ -1874,22 +1766,21 @@ class BlobContainersOperations:
|
|
1874
1766
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1875
1767
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1876
1768
|
|
1877
|
-
|
1769
|
+
_request = build_object_level_worm_request(
|
1878
1770
|
resource_group_name=resource_group_name,
|
1879
1771
|
account_name=account_name,
|
1880
1772
|
container_name=container_name,
|
1881
1773
|
subscription_id=self._config.subscription_id,
|
1882
1774
|
api_version=api_version,
|
1883
|
-
template_url=self._object_level_worm_initial.metadata["url"],
|
1884
1775
|
headers=_headers,
|
1885
1776
|
params=_params,
|
1886
1777
|
)
|
1887
|
-
|
1888
|
-
|
1778
|
+
_request = _convert_request(_request)
|
1779
|
+
_request.url = self._client.format_url(_request.url)
|
1889
1780
|
|
1890
1781
|
_stream = False
|
1891
1782
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1892
|
-
|
1783
|
+
_request, stream=_stream, **kwargs
|
1893
1784
|
)
|
1894
1785
|
|
1895
1786
|
response = pipeline_response.http_response
|
@@ -1899,11 +1790,7 @@ class BlobContainersOperations:
|
|
1899
1790
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1900
1791
|
|
1901
1792
|
if cls:
|
1902
|
-
return cls(pipeline_response, None, {})
|
1903
|
-
|
1904
|
-
_object_level_worm_initial.metadata = {
|
1905
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
|
1906
|
-
}
|
1793
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1907
1794
|
|
1908
1795
|
@distributed_trace_async
|
1909
1796
|
async def begin_object_level_worm(
|
@@ -1926,14 +1813,6 @@ class BlobContainersOperations:
|
|
1926
1813
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1927
1814
|
by a letter or number. Required.
|
1928
1815
|
:type container_name: str
|
1929
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1930
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1931
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1932
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1933
|
-
polling strategy.
|
1934
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1935
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1936
|
-
Retry-After header is present.
|
1937
1816
|
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
|
1938
1817
|
:rtype: ~azure.core.polling.AsyncLROPoller[None]
|
1939
1818
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1961,7 +1840,7 @@ class BlobContainersOperations:
|
|
1961
1840
|
|
1962
1841
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
1963
1842
|
if cls:
|
1964
|
-
return cls(pipeline_response, None, {})
|
1843
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1965
1844
|
|
1966
1845
|
if polling is True:
|
1967
1846
|
polling_method: AsyncPollingMethod = cast(
|
@@ -1972,14 +1851,10 @@ class BlobContainersOperations:
|
|
1972
1851
|
else:
|
1973
1852
|
polling_method = polling
|
1974
1853
|
if cont_token:
|
1975
|
-
return AsyncLROPoller.from_continuation_token(
|
1854
|
+
return AsyncLROPoller[None].from_continuation_token(
|
1976
1855
|
polling_method=polling_method,
|
1977
1856
|
continuation_token=cont_token,
|
1978
1857
|
client=self._client,
|
1979
1858
|
deserialization_callback=get_long_running_output,
|
1980
1859
|
)
|
1981
|
-
return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1982
|
-
|
1983
|
-
begin_object_level_worm.metadata = {
|
1984
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
|
1985
|
-
}
|
1860
|
+
return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|