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.
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# --------------------------------------------------------------------------
|
9
9
|
from io import IOBase
|
10
10
|
import sys
|
11
|
-
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload
|
11
|
+
from typing import Any, AsyncIterable, Callable, Dict, IO, Literal, Optional, Type, TypeVar, Union, cast, overload
|
12
12
|
import urllib.parse
|
13
13
|
|
14
14
|
from azure.core.async_paging import AsyncItemPaged, AsyncList
|
@@ -49,10 +49,10 @@ from ...operations._blob_containers_operations import (
|
|
49
49
|
build_update_request,
|
50
50
|
)
|
51
51
|
|
52
|
-
if sys.version_info >= (3,
|
53
|
-
from
|
52
|
+
if sys.version_info >= (3, 9):
|
53
|
+
from collections.abc import MutableMapping
|
54
54
|
else:
|
55
|
-
from
|
55
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
56
56
|
T = TypeVar("T")
|
57
57
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
58
58
|
|
@@ -106,7 +106,6 @@ class BlobContainersOperations:
|
|
106
106
|
:param include: Optional, used to include the properties for soft deleted blob containers.
|
107
107
|
"deleted" Default value is None.
|
108
108
|
:type include: str or ~azure.mgmt.storage.v2021_09_01.models.ListContainersInclude
|
109
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
110
109
|
:return: An iterator like instance of either ListContainerItem or the result of cls(response)
|
111
110
|
:rtype:
|
112
111
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_09_01.models.ListContainerItem]
|
@@ -118,7 +117,7 @@ class BlobContainersOperations:
|
|
118
117
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-09-01"))
|
119
118
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
120
119
|
|
121
|
-
error_map = {
|
120
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
122
121
|
401: ClientAuthenticationError,
|
123
122
|
404: ResourceNotFoundError,
|
124
123
|
409: ResourceExistsError,
|
@@ -129,7 +128,7 @@ class BlobContainersOperations:
|
|
129
128
|
def prepare_request(next_link=None):
|
130
129
|
if not next_link:
|
131
130
|
|
132
|
-
|
131
|
+
_request = build_list_request(
|
133
132
|
resource_group_name=resource_group_name,
|
134
133
|
account_name=account_name,
|
135
134
|
subscription_id=self._config.subscription_id,
|
@@ -137,12 +136,11 @@ class BlobContainersOperations:
|
|
137
136
|
filter=filter,
|
138
137
|
include=include,
|
139
138
|
api_version=api_version,
|
140
|
-
template_url=self.list.metadata["url"],
|
141
139
|
headers=_headers,
|
142
140
|
params=_params,
|
143
141
|
)
|
144
|
-
|
145
|
-
|
142
|
+
_request = _convert_request(_request)
|
143
|
+
_request.url = self._client.format_url(_request.url)
|
146
144
|
|
147
145
|
else:
|
148
146
|
# make call to next link with the client's api-version
|
@@ -153,14 +151,14 @@ class BlobContainersOperations:
|
|
153
151
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
154
152
|
}
|
155
153
|
)
|
156
|
-
_next_request_params["api-version"] = self.
|
157
|
-
|
154
|
+
_next_request_params["api-version"] = self._api_version
|
155
|
+
_request = HttpRequest(
|
158
156
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
159
157
|
)
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
return
|
158
|
+
_request = _convert_request(_request)
|
159
|
+
_request.url = self._client.format_url(_request.url)
|
160
|
+
_request.method = "GET"
|
161
|
+
return _request
|
164
162
|
|
165
163
|
async def extract_data(pipeline_response):
|
166
164
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
@@ -170,11 +168,11 @@ class BlobContainersOperations:
|
|
170
168
|
return deserialized.next_link or None, AsyncList(list_of_elem)
|
171
169
|
|
172
170
|
async def get_next(next_link=None):
|
173
|
-
|
171
|
+
_request = prepare_request(next_link)
|
174
172
|
|
175
173
|
_stream = False
|
176
174
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
177
|
-
|
175
|
+
_request, stream=_stream, **kwargs
|
178
176
|
)
|
179
177
|
response = pipeline_response.http_response
|
180
178
|
|
@@ -186,10 +184,6 @@ class BlobContainersOperations:
|
|
186
184
|
|
187
185
|
return AsyncItemPaged(get_next, extract_data)
|
188
186
|
|
189
|
-
list.metadata = {
|
190
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
191
|
-
}
|
192
|
-
|
193
187
|
@overload
|
194
188
|
async def create(
|
195
189
|
self,
|
@@ -222,7 +216,6 @@ class BlobContainersOperations:
|
|
222
216
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
223
217
|
Default value is "application/json".
|
224
218
|
:paramtype content_type: str
|
225
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
226
219
|
:return: BlobContainer or the result of cls(response)
|
227
220
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.BlobContainer
|
228
221
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -234,7 +227,7 @@ class BlobContainersOperations:
|
|
234
227
|
resource_group_name: str,
|
235
228
|
account_name: str,
|
236
229
|
container_name: str,
|
237
|
-
blob_container: IO,
|
230
|
+
blob_container: IO[bytes],
|
238
231
|
*,
|
239
232
|
content_type: str = "application/json",
|
240
233
|
**kwargs: Any
|
@@ -256,11 +249,10 @@ class BlobContainersOperations:
|
|
256
249
|
by a letter or number. Required.
|
257
250
|
:type container_name: str
|
258
251
|
:param blob_container: Properties of the blob container to create. Required.
|
259
|
-
:type blob_container: IO
|
252
|
+
:type blob_container: IO[bytes]
|
260
253
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
261
254
|
Default value is "application/json".
|
262
255
|
:paramtype content_type: str
|
263
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
264
256
|
:return: BlobContainer or the result of cls(response)
|
265
257
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.BlobContainer
|
266
258
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -272,7 +264,7 @@ class BlobContainersOperations:
|
|
272
264
|
resource_group_name: str,
|
273
265
|
account_name: str,
|
274
266
|
container_name: str,
|
275
|
-
blob_container: Union[_models.BlobContainer, IO],
|
267
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
276
268
|
**kwargs: Any
|
277
269
|
) -> _models.BlobContainer:
|
278
270
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -292,17 +284,13 @@ class BlobContainersOperations:
|
|
292
284
|
by a letter or number. Required.
|
293
285
|
:type container_name: str
|
294
286
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
295
|
-
type or a IO type. Required.
|
296
|
-
:type blob_container: ~azure.mgmt.storage.v2021_09_01.models.BlobContainer or IO
|
297
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
298
|
-
Default value is None.
|
299
|
-
:paramtype content_type: str
|
300
|
-
: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_09_01.models.BlobContainer or IO[bytes]
|
301
289
|
:return: BlobContainer or the result of cls(response)
|
302
290
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.BlobContainer
|
303
291
|
:raises ~azure.core.exceptions.HttpResponseError:
|
304
292
|
"""
|
305
|
-
error_map = {
|
293
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
306
294
|
401: ClientAuthenticationError,
|
307
295
|
404: ResourceNotFoundError,
|
308
296
|
409: ResourceExistsError,
|
@@ -325,7 +313,7 @@ class BlobContainersOperations:
|
|
325
313
|
else:
|
326
314
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
327
315
|
|
328
|
-
|
316
|
+
_request = build_create_request(
|
329
317
|
resource_group_name=resource_group_name,
|
330
318
|
account_name=account_name,
|
331
319
|
container_name=container_name,
|
@@ -334,16 +322,15 @@ class BlobContainersOperations:
|
|
334
322
|
content_type=content_type,
|
335
323
|
json=_json,
|
336
324
|
content=_content,
|
337
|
-
template_url=self.create.metadata["url"],
|
338
325
|
headers=_headers,
|
339
326
|
params=_params,
|
340
327
|
)
|
341
|
-
|
342
|
-
|
328
|
+
_request = _convert_request(_request)
|
329
|
+
_request.url = self._client.format_url(_request.url)
|
343
330
|
|
344
331
|
_stream = False
|
345
332
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
346
|
-
|
333
|
+
_request, stream=_stream, **kwargs
|
347
334
|
)
|
348
335
|
|
349
336
|
response = pipeline_response.http_response
|
@@ -363,10 +350,6 @@ class BlobContainersOperations:
|
|
363
350
|
|
364
351
|
return deserialized # type: ignore
|
365
352
|
|
366
|
-
create.metadata = {
|
367
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
368
|
-
}
|
369
|
-
|
370
353
|
@overload
|
371
354
|
async def update(
|
372
355
|
self,
|
@@ -398,7 +381,6 @@ class BlobContainersOperations:
|
|
398
381
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
399
382
|
Default value is "application/json".
|
400
383
|
:paramtype content_type: str
|
401
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
402
384
|
:return: BlobContainer or the result of cls(response)
|
403
385
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.BlobContainer
|
404
386
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -410,7 +392,7 @@ class BlobContainersOperations:
|
|
410
392
|
resource_group_name: str,
|
411
393
|
account_name: str,
|
412
394
|
container_name: str,
|
413
|
-
blob_container: IO,
|
395
|
+
blob_container: IO[bytes],
|
414
396
|
*,
|
415
397
|
content_type: str = "application/json",
|
416
398
|
**kwargs: Any
|
@@ -431,11 +413,10 @@ class BlobContainersOperations:
|
|
431
413
|
by a letter or number. Required.
|
432
414
|
:type container_name: str
|
433
415
|
:param blob_container: Properties to update for the blob container. Required.
|
434
|
-
:type blob_container: IO
|
416
|
+
:type blob_container: IO[bytes]
|
435
417
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
436
418
|
Default value is "application/json".
|
437
419
|
:paramtype content_type: str
|
438
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
439
420
|
:return: BlobContainer or the result of cls(response)
|
440
421
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.BlobContainer
|
441
422
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -447,7 +428,7 @@ class BlobContainersOperations:
|
|
447
428
|
resource_group_name: str,
|
448
429
|
account_name: str,
|
449
430
|
container_name: str,
|
450
|
-
blob_container: Union[_models.BlobContainer, IO],
|
431
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
451
432
|
**kwargs: Any
|
452
433
|
) -> _models.BlobContainer:
|
453
434
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -466,17 +447,13 @@ class BlobContainersOperations:
|
|
466
447
|
by a letter or number. Required.
|
467
448
|
:type container_name: str
|
468
449
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
469
|
-
type or a IO type. Required.
|
470
|
-
:type blob_container: ~azure.mgmt.storage.v2021_09_01.models.BlobContainer or IO
|
471
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
472
|
-
Default value is None.
|
473
|
-
:paramtype content_type: str
|
474
|
-
: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_09_01.models.BlobContainer or IO[bytes]
|
475
452
|
:return: BlobContainer or the result of cls(response)
|
476
453
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.BlobContainer
|
477
454
|
:raises ~azure.core.exceptions.HttpResponseError:
|
478
455
|
"""
|
479
|
-
error_map = {
|
456
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
480
457
|
401: ClientAuthenticationError,
|
481
458
|
404: ResourceNotFoundError,
|
482
459
|
409: ResourceExistsError,
|
@@ -499,7 +476,7 @@ class BlobContainersOperations:
|
|
499
476
|
else:
|
500
477
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
501
478
|
|
502
|
-
|
479
|
+
_request = build_update_request(
|
503
480
|
resource_group_name=resource_group_name,
|
504
481
|
account_name=account_name,
|
505
482
|
container_name=container_name,
|
@@ -508,16 +485,15 @@ class BlobContainersOperations:
|
|
508
485
|
content_type=content_type,
|
509
486
|
json=_json,
|
510
487
|
content=_content,
|
511
|
-
template_url=self.update.metadata["url"],
|
512
488
|
headers=_headers,
|
513
489
|
params=_params,
|
514
490
|
)
|
515
|
-
|
516
|
-
|
491
|
+
_request = _convert_request(_request)
|
492
|
+
_request.url = self._client.format_url(_request.url)
|
517
493
|
|
518
494
|
_stream = False
|
519
495
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
520
|
-
|
496
|
+
_request, stream=_stream, **kwargs
|
521
497
|
)
|
522
498
|
|
523
499
|
response = pipeline_response.http_response
|
@@ -529,13 +505,9 @@ class BlobContainersOperations:
|
|
529
505
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
530
506
|
|
531
507
|
if cls:
|
532
|
-
return cls(pipeline_response, deserialized, {})
|
533
|
-
|
534
|
-
return deserialized
|
508
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
535
509
|
|
536
|
-
|
537
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
538
|
-
}
|
510
|
+
return deserialized # type: ignore
|
539
511
|
|
540
512
|
@distributed_trace_async
|
541
513
|
async def get(
|
@@ -555,12 +527,11 @@ class BlobContainersOperations:
|
|
555
527
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
556
528
|
by a letter or number. Required.
|
557
529
|
:type container_name: str
|
558
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
559
530
|
:return: BlobContainer or the result of cls(response)
|
560
531
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.BlobContainer
|
561
532
|
:raises ~azure.core.exceptions.HttpResponseError:
|
562
533
|
"""
|
563
|
-
error_map = {
|
534
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
564
535
|
401: ClientAuthenticationError,
|
565
536
|
404: ResourceNotFoundError,
|
566
537
|
409: ResourceExistsError,
|
@@ -574,22 +545,21 @@ class BlobContainersOperations:
|
|
574
545
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-09-01"))
|
575
546
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
576
547
|
|
577
|
-
|
548
|
+
_request = build_get_request(
|
578
549
|
resource_group_name=resource_group_name,
|
579
550
|
account_name=account_name,
|
580
551
|
container_name=container_name,
|
581
552
|
subscription_id=self._config.subscription_id,
|
582
553
|
api_version=api_version,
|
583
|
-
template_url=self.get.metadata["url"],
|
584
554
|
headers=_headers,
|
585
555
|
params=_params,
|
586
556
|
)
|
587
|
-
|
588
|
-
|
557
|
+
_request = _convert_request(_request)
|
558
|
+
_request.url = self._client.format_url(_request.url)
|
589
559
|
|
590
560
|
_stream = False
|
591
561
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
592
|
-
|
562
|
+
_request, stream=_stream, **kwargs
|
593
563
|
)
|
594
564
|
|
595
565
|
response = pipeline_response.http_response
|
@@ -601,13 +571,9 @@ class BlobContainersOperations:
|
|
601
571
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
602
572
|
|
603
573
|
if cls:
|
604
|
-
return cls(pipeline_response, deserialized, {})
|
605
|
-
|
606
|
-
return deserialized
|
574
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
607
575
|
|
608
|
-
|
609
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
610
|
-
}
|
576
|
+
return deserialized # type: ignore
|
611
577
|
|
612
578
|
@distributed_trace_async
|
613
579
|
async def delete( # pylint: disable=inconsistent-return-statements
|
@@ -627,12 +593,11 @@ class BlobContainersOperations:
|
|
627
593
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
628
594
|
by a letter or number. Required.
|
629
595
|
:type container_name: str
|
630
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
631
596
|
:return: None or the result of cls(response)
|
632
597
|
:rtype: None
|
633
598
|
:raises ~azure.core.exceptions.HttpResponseError:
|
634
599
|
"""
|
635
|
-
error_map = {
|
600
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
636
601
|
401: ClientAuthenticationError,
|
637
602
|
404: ResourceNotFoundError,
|
638
603
|
409: ResourceExistsError,
|
@@ -646,22 +611,21 @@ class BlobContainersOperations:
|
|
646
611
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-09-01"))
|
647
612
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
648
613
|
|
649
|
-
|
614
|
+
_request = build_delete_request(
|
650
615
|
resource_group_name=resource_group_name,
|
651
616
|
account_name=account_name,
|
652
617
|
container_name=container_name,
|
653
618
|
subscription_id=self._config.subscription_id,
|
654
619
|
api_version=api_version,
|
655
|
-
template_url=self.delete.metadata["url"],
|
656
620
|
headers=_headers,
|
657
621
|
params=_params,
|
658
622
|
)
|
659
|
-
|
660
|
-
|
623
|
+
_request = _convert_request(_request)
|
624
|
+
_request.url = self._client.format_url(_request.url)
|
661
625
|
|
662
626
|
_stream = False
|
663
627
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
664
|
-
|
628
|
+
_request, stream=_stream, **kwargs
|
665
629
|
)
|
666
630
|
|
667
631
|
response = pipeline_response.http_response
|
@@ -671,11 +635,7 @@ class BlobContainersOperations:
|
|
671
635
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
672
636
|
|
673
637
|
if cls:
|
674
|
-
return cls(pipeline_response, None, {})
|
675
|
-
|
676
|
-
delete.metadata = {
|
677
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
678
|
-
}
|
638
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
679
639
|
|
680
640
|
@overload
|
681
641
|
async def set_legal_hold(
|
@@ -709,7 +669,6 @@ class BlobContainersOperations:
|
|
709
669
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
710
670
|
Default value is "application/json".
|
711
671
|
:paramtype content_type: str
|
712
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
713
672
|
:return: LegalHold or the result of cls(response)
|
714
673
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.LegalHold
|
715
674
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -721,7 +680,7 @@ class BlobContainersOperations:
|
|
721
680
|
resource_group_name: str,
|
722
681
|
account_name: str,
|
723
682
|
container_name: str,
|
724
|
-
legal_hold: IO,
|
683
|
+
legal_hold: IO[bytes],
|
725
684
|
*,
|
726
685
|
content_type: str = "application/json",
|
727
686
|
**kwargs: Any
|
@@ -743,11 +702,10 @@ class BlobContainersOperations:
|
|
743
702
|
by a letter or number. Required.
|
744
703
|
:type container_name: str
|
745
704
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
746
|
-
:type legal_hold: IO
|
705
|
+
:type legal_hold: IO[bytes]
|
747
706
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
748
707
|
Default value is "application/json".
|
749
708
|
:paramtype content_type: str
|
750
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
751
709
|
:return: LegalHold or the result of cls(response)
|
752
710
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.LegalHold
|
753
711
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -759,7 +717,7 @@ class BlobContainersOperations:
|
|
759
717
|
resource_group_name: str,
|
760
718
|
account_name: str,
|
761
719
|
container_name: str,
|
762
|
-
legal_hold: Union[_models.LegalHold, IO],
|
720
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
763
721
|
**kwargs: Any
|
764
722
|
) -> _models.LegalHold:
|
765
723
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -779,17 +737,13 @@ class BlobContainersOperations:
|
|
779
737
|
by a letter or number. Required.
|
780
738
|
:type container_name: str
|
781
739
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
782
|
-
LegalHold type or a IO type. Required.
|
783
|
-
:type legal_hold: ~azure.mgmt.storage.v2021_09_01.models.LegalHold or IO
|
784
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
785
|
-
Default value is None.
|
786
|
-
:paramtype content_type: str
|
787
|
-
: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_09_01.models.LegalHold or IO[bytes]
|
788
742
|
:return: LegalHold or the result of cls(response)
|
789
743
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.LegalHold
|
790
744
|
:raises ~azure.core.exceptions.HttpResponseError:
|
791
745
|
"""
|
792
|
-
error_map = {
|
746
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
793
747
|
401: ClientAuthenticationError,
|
794
748
|
404: ResourceNotFoundError,
|
795
749
|
409: ResourceExistsError,
|
@@ -812,7 +766,7 @@ class BlobContainersOperations:
|
|
812
766
|
else:
|
813
767
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
814
768
|
|
815
|
-
|
769
|
+
_request = build_set_legal_hold_request(
|
816
770
|
resource_group_name=resource_group_name,
|
817
771
|
account_name=account_name,
|
818
772
|
container_name=container_name,
|
@@ -821,16 +775,15 @@ class BlobContainersOperations:
|
|
821
775
|
content_type=content_type,
|
822
776
|
json=_json,
|
823
777
|
content=_content,
|
824
|
-
template_url=self.set_legal_hold.metadata["url"],
|
825
778
|
headers=_headers,
|
826
779
|
params=_params,
|
827
780
|
)
|
828
|
-
|
829
|
-
|
781
|
+
_request = _convert_request(_request)
|
782
|
+
_request.url = self._client.format_url(_request.url)
|
830
783
|
|
831
784
|
_stream = False
|
832
785
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
833
|
-
|
786
|
+
_request, stream=_stream, **kwargs
|
834
787
|
)
|
835
788
|
|
836
789
|
response = pipeline_response.http_response
|
@@ -842,13 +795,9 @@ class BlobContainersOperations:
|
|
842
795
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
843
796
|
|
844
797
|
if cls:
|
845
|
-
return cls(pipeline_response, deserialized, {})
|
846
|
-
|
847
|
-
return deserialized
|
798
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
848
799
|
|
849
|
-
|
850
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
851
|
-
}
|
800
|
+
return deserialized # type: ignore
|
852
801
|
|
853
802
|
@overload
|
854
803
|
async def clear_legal_hold(
|
@@ -881,7 +830,6 @@ class BlobContainersOperations:
|
|
881
830
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
882
831
|
Default value is "application/json".
|
883
832
|
:paramtype content_type: str
|
884
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
885
833
|
:return: LegalHold or the result of cls(response)
|
886
834
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.LegalHold
|
887
835
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -893,7 +841,7 @@ class BlobContainersOperations:
|
|
893
841
|
resource_group_name: str,
|
894
842
|
account_name: str,
|
895
843
|
container_name: str,
|
896
|
-
legal_hold: IO,
|
844
|
+
legal_hold: IO[bytes],
|
897
845
|
*,
|
898
846
|
content_type: str = "application/json",
|
899
847
|
**kwargs: Any
|
@@ -914,11 +862,10 @@ class BlobContainersOperations:
|
|
914
862
|
by a letter or number. Required.
|
915
863
|
:type container_name: str
|
916
864
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
917
|
-
:type legal_hold: IO
|
865
|
+
:type legal_hold: IO[bytes]
|
918
866
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
919
867
|
Default value is "application/json".
|
920
868
|
:paramtype content_type: str
|
921
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
922
869
|
:return: LegalHold or the result of cls(response)
|
923
870
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.LegalHold
|
924
871
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -930,7 +877,7 @@ class BlobContainersOperations:
|
|
930
877
|
resource_group_name: str,
|
931
878
|
account_name: str,
|
932
879
|
container_name: str,
|
933
|
-
legal_hold: Union[_models.LegalHold, IO],
|
880
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
934
881
|
**kwargs: Any
|
935
882
|
) -> _models.LegalHold:
|
936
883
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -949,17 +896,13 @@ class BlobContainersOperations:
|
|
949
896
|
by a letter or number. Required.
|
950
897
|
:type container_name: str
|
951
898
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
952
|
-
LegalHold type or a IO type. Required.
|
953
|
-
:type legal_hold: ~azure.mgmt.storage.v2021_09_01.models.LegalHold or IO
|
954
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
955
|
-
Default value is None.
|
956
|
-
:paramtype content_type: str
|
957
|
-
: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_09_01.models.LegalHold or IO[bytes]
|
958
901
|
:return: LegalHold or the result of cls(response)
|
959
902
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.LegalHold
|
960
903
|
:raises ~azure.core.exceptions.HttpResponseError:
|
961
904
|
"""
|
962
|
-
error_map = {
|
905
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
963
906
|
401: ClientAuthenticationError,
|
964
907
|
404: ResourceNotFoundError,
|
965
908
|
409: ResourceExistsError,
|
@@ -982,7 +925,7 @@ class BlobContainersOperations:
|
|
982
925
|
else:
|
983
926
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
984
927
|
|
985
|
-
|
928
|
+
_request = build_clear_legal_hold_request(
|
986
929
|
resource_group_name=resource_group_name,
|
987
930
|
account_name=account_name,
|
988
931
|
container_name=container_name,
|
@@ -991,16 +934,15 @@ class BlobContainersOperations:
|
|
991
934
|
content_type=content_type,
|
992
935
|
json=_json,
|
993
936
|
content=_content,
|
994
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
995
937
|
headers=_headers,
|
996
938
|
params=_params,
|
997
939
|
)
|
998
|
-
|
999
|
-
|
940
|
+
_request = _convert_request(_request)
|
941
|
+
_request.url = self._client.format_url(_request.url)
|
1000
942
|
|
1001
943
|
_stream = False
|
1002
944
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1003
|
-
|
945
|
+
_request, stream=_stream, **kwargs
|
1004
946
|
)
|
1005
947
|
|
1006
948
|
response = pipeline_response.http_response
|
@@ -1012,13 +954,9 @@ class BlobContainersOperations:
|
|
1012
954
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1013
955
|
|
1014
956
|
if cls:
|
1015
|
-
return cls(pipeline_response, deserialized, {})
|
1016
|
-
|
1017
|
-
return deserialized
|
957
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1018
958
|
|
1019
|
-
|
1020
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
1021
|
-
}
|
959
|
+
return deserialized # type: ignore
|
1022
960
|
|
1023
961
|
@overload
|
1024
962
|
async def create_or_update_immutability_policy(
|
@@ -1057,11 +995,6 @@ class BlobContainersOperations:
|
|
1057
995
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1058
996
|
Default value is "application/json".
|
1059
997
|
:paramtype content_type: str
|
1060
|
-
:keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
|
1061
|
-
specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
|
1062
|
-
"default". Note that overriding this default value may result in unsupported behavior.
|
1063
|
-
:paramtype immutability_policy_name: str
|
1064
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1065
998
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1066
999
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.ImmutabilityPolicy
|
1067
1000
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1074,7 +1007,7 @@ class BlobContainersOperations:
|
|
1074
1007
|
account_name: str,
|
1075
1008
|
container_name: str,
|
1076
1009
|
if_match: Optional[str] = None,
|
1077
|
-
parameters: Optional[IO] = None,
|
1010
|
+
parameters: Optional[IO[bytes]] = None,
|
1078
1011
|
*,
|
1079
1012
|
content_type: str = "application/json",
|
1080
1013
|
**kwargs: Any
|
@@ -1100,15 +1033,10 @@ class BlobContainersOperations:
|
|
1100
1033
|
:type if_match: str
|
1101
1034
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1102
1035
|
container. Default value is None.
|
1103
|
-
:type parameters: IO
|
1036
|
+
:type parameters: IO[bytes]
|
1104
1037
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1105
1038
|
Default value is "application/json".
|
1106
1039
|
:paramtype content_type: str
|
1107
|
-
:keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
|
1108
|
-
specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
|
1109
|
-
"default". Note that overriding this default value may result in unsupported behavior.
|
1110
|
-
:paramtype immutability_policy_name: str
|
1111
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1112
1040
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1113
1041
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.ImmutabilityPolicy
|
1114
1042
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1121,7 +1049,7 @@ class BlobContainersOperations:
|
|
1121
1049
|
account_name: str,
|
1122
1050
|
container_name: str,
|
1123
1051
|
if_match: Optional[str] = None,
|
1124
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1052
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1125
1053
|
**kwargs: Any
|
1126
1054
|
) -> _models.ImmutabilityPolicy:
|
1127
1055
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1144,21 +1072,13 @@ class BlobContainersOperations:
|
|
1144
1072
|
omitted, this operation will always be applied. Default value is None.
|
1145
1073
|
:type if_match: str
|
1146
1074
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1147
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1148
|
-
:type parameters: ~azure.mgmt.storage.v2021_09_01.models.ImmutabilityPolicy or IO
|
1149
|
-
:keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
|
1150
|
-
specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
|
1151
|
-
"default". Note that overriding this default value may result in unsupported behavior.
|
1152
|
-
:paramtype immutability_policy_name: str
|
1153
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1154
|
-
Default value is None.
|
1155
|
-
:paramtype content_type: str
|
1156
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1075
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1076
|
+
:type parameters: ~azure.mgmt.storage.v2021_09_01.models.ImmutabilityPolicy or IO[bytes]
|
1157
1077
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1158
1078
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.ImmutabilityPolicy
|
1159
1079
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1160
1080
|
"""
|
1161
|
-
error_map = {
|
1081
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1162
1082
|
401: ClientAuthenticationError,
|
1163
1083
|
404: ResourceNotFoundError,
|
1164
1084
|
409: ResourceExistsError,
|
@@ -1185,7 +1105,7 @@ class BlobContainersOperations:
|
|
1185
1105
|
else:
|
1186
1106
|
_json = None
|
1187
1107
|
|
1188
|
-
|
1108
|
+
_request = build_create_or_update_immutability_policy_request(
|
1189
1109
|
resource_group_name=resource_group_name,
|
1190
1110
|
account_name=account_name,
|
1191
1111
|
container_name=container_name,
|
@@ -1196,16 +1116,15 @@ class BlobContainersOperations:
|
|
1196
1116
|
content_type=content_type,
|
1197
1117
|
json=_json,
|
1198
1118
|
content=_content,
|
1199
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1200
1119
|
headers=_headers,
|
1201
1120
|
params=_params,
|
1202
1121
|
)
|
1203
|
-
|
1204
|
-
|
1122
|
+
_request = _convert_request(_request)
|
1123
|
+
_request.url = self._client.format_url(_request.url)
|
1205
1124
|
|
1206
1125
|
_stream = False
|
1207
1126
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1208
|
-
|
1127
|
+
_request, stream=_stream, **kwargs
|
1209
1128
|
)
|
1210
1129
|
|
1211
1130
|
response = pipeline_response.http_response
|
@@ -1220,13 +1139,9 @@ class BlobContainersOperations:
|
|
1220
1139
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1221
1140
|
|
1222
1141
|
if cls:
|
1223
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1224
|
-
|
1225
|
-
return deserialized
|
1142
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1226
1143
|
|
1227
|
-
|
1228
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1229
|
-
}
|
1144
|
+
return deserialized # type: ignore
|
1230
1145
|
|
1231
1146
|
@distributed_trace_async
|
1232
1147
|
async def get_immutability_policy(
|
@@ -1256,16 +1171,11 @@ class BlobContainersOperations:
|
|
1256
1171
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1257
1172
|
omitted, this operation will always be applied. Default value is None.
|
1258
1173
|
:type if_match: str
|
1259
|
-
:keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
|
1260
|
-
specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
|
1261
|
-
"default". Note that overriding this default value may result in unsupported behavior.
|
1262
|
-
:paramtype immutability_policy_name: str
|
1263
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1264
1174
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1265
1175
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.ImmutabilityPolicy
|
1266
1176
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1267
1177
|
"""
|
1268
|
-
error_map = {
|
1178
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1269
1179
|
401: ClientAuthenticationError,
|
1270
1180
|
404: ResourceNotFoundError,
|
1271
1181
|
409: ResourceExistsError,
|
@@ -1280,7 +1190,7 @@ class BlobContainersOperations:
|
|
1280
1190
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-09-01"))
|
1281
1191
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1282
1192
|
|
1283
|
-
|
1193
|
+
_request = build_get_immutability_policy_request(
|
1284
1194
|
resource_group_name=resource_group_name,
|
1285
1195
|
account_name=account_name,
|
1286
1196
|
container_name=container_name,
|
@@ -1288,16 +1198,15 @@ class BlobContainersOperations:
|
|
1288
1198
|
if_match=if_match,
|
1289
1199
|
immutability_policy_name=immutability_policy_name,
|
1290
1200
|
api_version=api_version,
|
1291
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1292
1201
|
headers=_headers,
|
1293
1202
|
params=_params,
|
1294
1203
|
)
|
1295
|
-
|
1296
|
-
|
1204
|
+
_request = _convert_request(_request)
|
1205
|
+
_request.url = self._client.format_url(_request.url)
|
1297
1206
|
|
1298
1207
|
_stream = False
|
1299
1208
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1300
|
-
|
1209
|
+
_request, stream=_stream, **kwargs
|
1301
1210
|
)
|
1302
1211
|
|
1303
1212
|
response = pipeline_response.http_response
|
@@ -1312,13 +1221,9 @@ class BlobContainersOperations:
|
|
1312
1221
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1313
1222
|
|
1314
1223
|
if cls:
|
1315
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1224
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1316
1225
|
|
1317
|
-
return deserialized
|
1318
|
-
|
1319
|
-
get_immutability_policy.metadata = {
|
1320
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1321
|
-
}
|
1226
|
+
return deserialized # type: ignore
|
1322
1227
|
|
1323
1228
|
@distributed_trace_async
|
1324
1229
|
async def delete_immutability_policy(
|
@@ -1345,16 +1250,11 @@ class BlobContainersOperations:
|
|
1345
1250
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1346
1251
|
omitted, this operation will always be applied. Required.
|
1347
1252
|
:type if_match: str
|
1348
|
-
:keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
|
1349
|
-
specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
|
1350
|
-
"default". Note that overriding this default value may result in unsupported behavior.
|
1351
|
-
:paramtype immutability_policy_name: str
|
1352
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1353
1253
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1354
1254
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.ImmutabilityPolicy
|
1355
1255
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1356
1256
|
"""
|
1357
|
-
error_map = {
|
1257
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1358
1258
|
401: ClientAuthenticationError,
|
1359
1259
|
404: ResourceNotFoundError,
|
1360
1260
|
409: ResourceExistsError,
|
@@ -1369,7 +1269,7 @@ class BlobContainersOperations:
|
|
1369
1269
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-09-01"))
|
1370
1270
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1371
1271
|
|
1372
|
-
|
1272
|
+
_request = build_delete_immutability_policy_request(
|
1373
1273
|
resource_group_name=resource_group_name,
|
1374
1274
|
account_name=account_name,
|
1375
1275
|
container_name=container_name,
|
@@ -1377,16 +1277,15 @@ class BlobContainersOperations:
|
|
1377
1277
|
if_match=if_match,
|
1378
1278
|
immutability_policy_name=immutability_policy_name,
|
1379
1279
|
api_version=api_version,
|
1380
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1381
1280
|
headers=_headers,
|
1382
1281
|
params=_params,
|
1383
1282
|
)
|
1384
|
-
|
1385
|
-
|
1283
|
+
_request = _convert_request(_request)
|
1284
|
+
_request.url = self._client.format_url(_request.url)
|
1386
1285
|
|
1387
1286
|
_stream = False
|
1388
1287
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1389
|
-
|
1288
|
+
_request, stream=_stream, **kwargs
|
1390
1289
|
)
|
1391
1290
|
|
1392
1291
|
response = pipeline_response.http_response
|
@@ -1401,13 +1300,9 @@ class BlobContainersOperations:
|
|
1401
1300
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1402
1301
|
|
1403
1302
|
if cls:
|
1404
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1303
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1405
1304
|
|
1406
|
-
return deserialized
|
1407
|
-
|
1408
|
-
delete_immutability_policy.metadata = {
|
1409
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1410
|
-
}
|
1305
|
+
return deserialized # type: ignore
|
1411
1306
|
|
1412
1307
|
@distributed_trace_async
|
1413
1308
|
async def lock_immutability_policy(
|
@@ -1432,12 +1327,11 @@ class BlobContainersOperations:
|
|
1432
1327
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1433
1328
|
omitted, this operation will always be applied. Required.
|
1434
1329
|
:type if_match: str
|
1435
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1436
1330
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1437
1331
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.ImmutabilityPolicy
|
1438
1332
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1439
1333
|
"""
|
1440
|
-
error_map = {
|
1334
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1441
1335
|
401: ClientAuthenticationError,
|
1442
1336
|
404: ResourceNotFoundError,
|
1443
1337
|
409: ResourceExistsError,
|
@@ -1451,23 +1345,22 @@ class BlobContainersOperations:
|
|
1451
1345
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-09-01"))
|
1452
1346
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1453
1347
|
|
1454
|
-
|
1348
|
+
_request = build_lock_immutability_policy_request(
|
1455
1349
|
resource_group_name=resource_group_name,
|
1456
1350
|
account_name=account_name,
|
1457
1351
|
container_name=container_name,
|
1458
1352
|
subscription_id=self._config.subscription_id,
|
1459
1353
|
if_match=if_match,
|
1460
1354
|
api_version=api_version,
|
1461
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1462
1355
|
headers=_headers,
|
1463
1356
|
params=_params,
|
1464
1357
|
)
|
1465
|
-
|
1466
|
-
|
1358
|
+
_request = _convert_request(_request)
|
1359
|
+
_request.url = self._client.format_url(_request.url)
|
1467
1360
|
|
1468
1361
|
_stream = False
|
1469
1362
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1470
|
-
|
1363
|
+
_request, stream=_stream, **kwargs
|
1471
1364
|
)
|
1472
1365
|
|
1473
1366
|
response = pipeline_response.http_response
|
@@ -1482,13 +1375,9 @@ class BlobContainersOperations:
|
|
1482
1375
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1483
1376
|
|
1484
1377
|
if cls:
|
1485
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1378
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1486
1379
|
|
1487
|
-
return deserialized
|
1488
|
-
|
1489
|
-
lock_immutability_policy.metadata = {
|
1490
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
1491
|
-
}
|
1380
|
+
return deserialized # type: ignore
|
1492
1381
|
|
1493
1382
|
@overload
|
1494
1383
|
async def extend_immutability_policy(
|
@@ -1528,7 +1417,6 @@ class BlobContainersOperations:
|
|
1528
1417
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1529
1418
|
Default value is "application/json".
|
1530
1419
|
:paramtype content_type: str
|
1531
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1532
1420
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1533
1421
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.ImmutabilityPolicy
|
1534
1422
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1541,7 +1429,7 @@ class BlobContainersOperations:
|
|
1541
1429
|
account_name: str,
|
1542
1430
|
container_name: str,
|
1543
1431
|
if_match: str,
|
1544
|
-
parameters: Optional[IO] = None,
|
1432
|
+
parameters: Optional[IO[bytes]] = None,
|
1545
1433
|
*,
|
1546
1434
|
content_type: str = "application/json",
|
1547
1435
|
**kwargs: Any
|
@@ -1568,11 +1456,10 @@ class BlobContainersOperations:
|
|
1568
1456
|
:type if_match: str
|
1569
1457
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1570
1458
|
container. Default value is None.
|
1571
|
-
:type parameters: IO
|
1459
|
+
:type parameters: IO[bytes]
|
1572
1460
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1573
1461
|
Default value is "application/json".
|
1574
1462
|
:paramtype content_type: str
|
1575
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1576
1463
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1577
1464
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.ImmutabilityPolicy
|
1578
1465
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1585,7 +1472,7 @@ class BlobContainersOperations:
|
|
1585
1472
|
account_name: str,
|
1586
1473
|
container_name: str,
|
1587
1474
|
if_match: str,
|
1588
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1475
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1589
1476
|
**kwargs: Any
|
1590
1477
|
) -> _models.ImmutabilityPolicy:
|
1591
1478
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -1609,17 +1496,13 @@ class BlobContainersOperations:
|
|
1609
1496
|
omitted, this operation will always be applied. Required.
|
1610
1497
|
:type if_match: str
|
1611
1498
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1612
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1613
|
-
:type parameters: ~azure.mgmt.storage.v2021_09_01.models.ImmutabilityPolicy or IO
|
1614
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1615
|
-
Default value is None.
|
1616
|
-
:paramtype content_type: str
|
1617
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1499
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1500
|
+
:type parameters: ~azure.mgmt.storage.v2021_09_01.models.ImmutabilityPolicy or IO[bytes]
|
1618
1501
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1619
1502
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.ImmutabilityPolicy
|
1620
1503
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1621
1504
|
"""
|
1622
|
-
error_map = {
|
1505
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1623
1506
|
401: ClientAuthenticationError,
|
1624
1507
|
404: ResourceNotFoundError,
|
1625
1508
|
409: ResourceExistsError,
|
@@ -1645,7 +1528,7 @@ class BlobContainersOperations:
|
|
1645
1528
|
else:
|
1646
1529
|
_json = None
|
1647
1530
|
|
1648
|
-
|
1531
|
+
_request = build_extend_immutability_policy_request(
|
1649
1532
|
resource_group_name=resource_group_name,
|
1650
1533
|
account_name=account_name,
|
1651
1534
|
container_name=container_name,
|
@@ -1655,16 +1538,15 @@ class BlobContainersOperations:
|
|
1655
1538
|
content_type=content_type,
|
1656
1539
|
json=_json,
|
1657
1540
|
content=_content,
|
1658
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
1659
1541
|
headers=_headers,
|
1660
1542
|
params=_params,
|
1661
1543
|
)
|
1662
|
-
|
1663
|
-
|
1544
|
+
_request = _convert_request(_request)
|
1545
|
+
_request.url = self._client.format_url(_request.url)
|
1664
1546
|
|
1665
1547
|
_stream = False
|
1666
1548
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1667
|
-
|
1549
|
+
_request, stream=_stream, **kwargs
|
1668
1550
|
)
|
1669
1551
|
|
1670
1552
|
response = pipeline_response.http_response
|
@@ -1679,13 +1561,9 @@ class BlobContainersOperations:
|
|
1679
1561
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1680
1562
|
|
1681
1563
|
if cls:
|
1682
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1683
|
-
|
1684
|
-
return deserialized
|
1564
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1685
1565
|
|
1686
|
-
|
1687
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
1688
|
-
}
|
1566
|
+
return deserialized # type: ignore
|
1689
1567
|
|
1690
1568
|
@overload
|
1691
1569
|
async def lease(
|
@@ -1718,7 +1596,6 @@ class BlobContainersOperations:
|
|
1718
1596
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1719
1597
|
Default value is "application/json".
|
1720
1598
|
:paramtype content_type: str
|
1721
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1722
1599
|
:return: LeaseContainerResponse or the result of cls(response)
|
1723
1600
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.LeaseContainerResponse
|
1724
1601
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1730,7 +1607,7 @@ class BlobContainersOperations:
|
|
1730
1607
|
resource_group_name: str,
|
1731
1608
|
account_name: str,
|
1732
1609
|
container_name: str,
|
1733
|
-
parameters: Optional[IO] = None,
|
1610
|
+
parameters: Optional[IO[bytes]] = None,
|
1734
1611
|
*,
|
1735
1612
|
content_type: str = "application/json",
|
1736
1613
|
**kwargs: Any
|
@@ -1751,11 +1628,10 @@ class BlobContainersOperations:
|
|
1751
1628
|
by a letter or number. Required.
|
1752
1629
|
:type container_name: str
|
1753
1630
|
:param parameters: Lease Container request body. Default value is None.
|
1754
|
-
:type parameters: IO
|
1631
|
+
:type parameters: IO[bytes]
|
1755
1632
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1756
1633
|
Default value is "application/json".
|
1757
1634
|
:paramtype content_type: str
|
1758
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1759
1635
|
:return: LeaseContainerResponse or the result of cls(response)
|
1760
1636
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.LeaseContainerResponse
|
1761
1637
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1767,7 +1643,7 @@ class BlobContainersOperations:
|
|
1767
1643
|
resource_group_name: str,
|
1768
1644
|
account_name: str,
|
1769
1645
|
container_name: str,
|
1770
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
1646
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
1771
1647
|
**kwargs: Any
|
1772
1648
|
) -> _models.LeaseContainerResponse:
|
1773
1649
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -1785,18 +1661,14 @@ class BlobContainersOperations:
|
|
1785
1661
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1786
1662
|
by a letter or number. Required.
|
1787
1663
|
:type container_name: str
|
1788
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
1789
|
-
type. Default value is None.
|
1790
|
-
:type parameters: ~azure.mgmt.storage.v2021_09_01.models.LeaseContainerRequest or IO
|
1791
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1792
|
-
Default value is None.
|
1793
|
-
:paramtype content_type: str
|
1794
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1664
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
1665
|
+
IO[bytes] type. Default value is None.
|
1666
|
+
:type parameters: ~azure.mgmt.storage.v2021_09_01.models.LeaseContainerRequest or IO[bytes]
|
1795
1667
|
:return: LeaseContainerResponse or the result of cls(response)
|
1796
1668
|
:rtype: ~azure.mgmt.storage.v2021_09_01.models.LeaseContainerResponse
|
1797
1669
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1798
1670
|
"""
|
1799
|
-
error_map = {
|
1671
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1800
1672
|
401: ClientAuthenticationError,
|
1801
1673
|
404: ResourceNotFoundError,
|
1802
1674
|
409: ResourceExistsError,
|
@@ -1822,7 +1694,7 @@ class BlobContainersOperations:
|
|
1822
1694
|
else:
|
1823
1695
|
_json = None
|
1824
1696
|
|
1825
|
-
|
1697
|
+
_request = build_lease_request(
|
1826
1698
|
resource_group_name=resource_group_name,
|
1827
1699
|
account_name=account_name,
|
1828
1700
|
container_name=container_name,
|
@@ -1831,16 +1703,15 @@ class BlobContainersOperations:
|
|
1831
1703
|
content_type=content_type,
|
1832
1704
|
json=_json,
|
1833
1705
|
content=_content,
|
1834
|
-
template_url=self.lease.metadata["url"],
|
1835
1706
|
headers=_headers,
|
1836
1707
|
params=_params,
|
1837
1708
|
)
|
1838
|
-
|
1839
|
-
|
1709
|
+
_request = _convert_request(_request)
|
1710
|
+
_request.url = self._client.format_url(_request.url)
|
1840
1711
|
|
1841
1712
|
_stream = False
|
1842
1713
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1843
|
-
|
1714
|
+
_request, stream=_stream, **kwargs
|
1844
1715
|
)
|
1845
1716
|
|
1846
1717
|
response = pipeline_response.http_response
|
@@ -1852,18 +1723,14 @@ class BlobContainersOperations:
|
|
1852
1723
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
1853
1724
|
|
1854
1725
|
if cls:
|
1855
|
-
return cls(pipeline_response, deserialized, {})
|
1856
|
-
|
1857
|
-
return deserialized
|
1726
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1858
1727
|
|
1859
|
-
|
1860
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
1861
|
-
}
|
1728
|
+
return deserialized # type: ignore
|
1862
1729
|
|
1863
1730
|
async def _object_level_worm_initial( # pylint: disable=inconsistent-return-statements
|
1864
1731
|
self, resource_group_name: str, account_name: str, container_name: str, **kwargs: Any
|
1865
1732
|
) -> None:
|
1866
|
-
error_map = {
|
1733
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1867
1734
|
401: ClientAuthenticationError,
|
1868
1735
|
404: ResourceNotFoundError,
|
1869
1736
|
409: ResourceExistsError,
|
@@ -1877,22 +1744,21 @@ class BlobContainersOperations:
|
|
1877
1744
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-09-01"))
|
1878
1745
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1879
1746
|
|
1880
|
-
|
1747
|
+
_request = build_object_level_worm_request(
|
1881
1748
|
resource_group_name=resource_group_name,
|
1882
1749
|
account_name=account_name,
|
1883
1750
|
container_name=container_name,
|
1884
1751
|
subscription_id=self._config.subscription_id,
|
1885
1752
|
api_version=api_version,
|
1886
|
-
template_url=self._object_level_worm_initial.metadata["url"],
|
1887
1753
|
headers=_headers,
|
1888
1754
|
params=_params,
|
1889
1755
|
)
|
1890
|
-
|
1891
|
-
|
1756
|
+
_request = _convert_request(_request)
|
1757
|
+
_request.url = self._client.format_url(_request.url)
|
1892
1758
|
|
1893
1759
|
_stream = False
|
1894
1760
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1895
|
-
|
1761
|
+
_request, stream=_stream, **kwargs
|
1896
1762
|
)
|
1897
1763
|
|
1898
1764
|
response = pipeline_response.http_response
|
@@ -1902,11 +1768,7 @@ class BlobContainersOperations:
|
|
1902
1768
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1903
1769
|
|
1904
1770
|
if cls:
|
1905
|
-
return cls(pipeline_response, None, {})
|
1906
|
-
|
1907
|
-
_object_level_worm_initial.metadata = {
|
1908
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
|
1909
|
-
}
|
1771
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1910
1772
|
|
1911
1773
|
@distributed_trace_async
|
1912
1774
|
async def begin_object_level_worm(
|
@@ -1929,14 +1791,6 @@ class BlobContainersOperations:
|
|
1929
1791
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1930
1792
|
by a letter or number. Required.
|
1931
1793
|
:type container_name: str
|
1932
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1933
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
1934
|
-
:keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
|
1935
|
-
this operation to not poll, or pass in your own initialized polling object for a personal
|
1936
|
-
polling strategy.
|
1937
|
-
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
|
1938
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
1939
|
-
Retry-After header is present.
|
1940
1794
|
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
|
1941
1795
|
:rtype: ~azure.core.polling.AsyncLROPoller[None]
|
1942
1796
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1964,7 +1818,7 @@ class BlobContainersOperations:
|
|
1964
1818
|
|
1965
1819
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
1966
1820
|
if cls:
|
1967
|
-
return cls(pipeline_response, None, {})
|
1821
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1968
1822
|
|
1969
1823
|
if polling is True:
|
1970
1824
|
polling_method: AsyncPollingMethod = cast(
|
@@ -1975,14 +1829,10 @@ class BlobContainersOperations:
|
|
1975
1829
|
else:
|
1976
1830
|
polling_method = polling
|
1977
1831
|
if cont_token:
|
1978
|
-
return AsyncLROPoller.from_continuation_token(
|
1832
|
+
return AsyncLROPoller[None].from_continuation_token(
|
1979
1833
|
polling_method=polling_method,
|
1980
1834
|
continuation_token=cont_token,
|
1981
1835
|
client=self._client,
|
1982
1836
|
deserialization_callback=get_long_running_output,
|
1983
1837
|
)
|
1984
|
-
return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
1985
|
-
|
1986
|
-
begin_object_level_worm.metadata = {
|
1987
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
|
1988
|
-
}
|
1838
|
+
return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|