azure-mgmt-storage 21.1.0__py3-none-any.whl → 21.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azure/mgmt/storage/_configuration.py +2 -3
- azure/mgmt/storage/_serialization.py +41 -49
- azure/mgmt/storage/_storage_management_client.py +142 -2
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_configuration.py +2 -3
- azure/mgmt/storage/aio/_storage_management_client.py +142 -2
- azure/mgmt/storage/models.py +1 -1
- azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
- azure/mgmt/storage/v2015_06_15/_version.py +1 -1
- azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
- azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2016_01_01/_version.py +1 -1
- azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
- azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2016_12_01/_version.py +1 -1
- azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
- azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_06_01/_version.py +1 -1
- azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_10_01/_version.py +1 -1
- azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_02_01/_version.py +1 -1
- azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
- azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
- azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
- azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_07_01/_version.py +1 -1
- azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
- azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_11_01/_version.py +1 -1
- azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
- azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
- azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
- azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
- azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_04_01/_version.py +1 -1
- azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
- azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
- azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
- azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_06_01/_version.py +1 -1
- azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
- azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_01_01/_version.py +1 -1
- azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_02_01/_version.py +1 -1
- azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
- azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_04_01/_version.py +1 -1
- azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
- azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_06_01/_version.py +1 -1
- azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_08_01/_version.py +1 -1
- azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
- azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_09_01/_version.py +1 -1
- azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_05_01/_version.py +1 -1
- azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_09_01/_version.py +1 -1
- azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2023_01_01/_version.py +1 -1
- azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
- azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
- azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
- azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
- azure/mgmt/storage/v2023_05_01/_version.py +9 -0
- azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
- azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
- azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
- azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
- azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
- azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
- azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
- azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
- azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
- azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
- azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
- azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
- azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
- azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
1
|
+
# pylint: disable=too-many-lines,too-many-statements
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -7,7 +7,8 @@
|
|
7
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
8
|
# --------------------------------------------------------------------------
|
9
9
|
from io import IOBase
|
10
|
-
|
10
|
+
import sys
|
11
|
+
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, Type, TypeVar, Union, overload
|
11
12
|
import urllib.parse
|
12
13
|
|
13
14
|
from azure.core.async_paging import AsyncItemPaged, AsyncList
|
@@ -45,6 +46,10 @@ from ...operations._blob_containers_operations import (
|
|
45
46
|
build_update_request,
|
46
47
|
)
|
47
48
|
|
49
|
+
if sys.version_info >= (3, 9):
|
50
|
+
from collections.abc import MutableMapping
|
51
|
+
else:
|
52
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
48
53
|
T = TypeVar("T")
|
49
54
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
50
55
|
|
@@ -97,7 +102,6 @@ class BlobContainersOperations:
|
|
97
102
|
:param filter: Optional. When specified, only container names starting with the filter will be
|
98
103
|
listed. Default value is None.
|
99
104
|
:type filter: str
|
100
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
101
105
|
:return: An iterator like instance of either ListContainerItem or the result of cls(response)
|
102
106
|
:rtype:
|
103
107
|
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2019_04_01.models.ListContainerItem]
|
@@ -109,7 +113,7 @@ class BlobContainersOperations:
|
|
109
113
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
110
114
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
111
115
|
|
112
|
-
error_map = {
|
116
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
113
117
|
401: ClientAuthenticationError,
|
114
118
|
404: ResourceNotFoundError,
|
115
119
|
409: ResourceExistsError,
|
@@ -120,7 +124,7 @@ class BlobContainersOperations:
|
|
120
124
|
def prepare_request(next_link=None):
|
121
125
|
if not next_link:
|
122
126
|
|
123
|
-
|
127
|
+
_request = build_list_request(
|
124
128
|
resource_group_name=resource_group_name,
|
125
129
|
account_name=account_name,
|
126
130
|
subscription_id=self._config.subscription_id,
|
@@ -128,12 +132,11 @@ class BlobContainersOperations:
|
|
128
132
|
maxpagesize=maxpagesize,
|
129
133
|
filter=filter,
|
130
134
|
api_version=api_version,
|
131
|
-
template_url=self.list.metadata["url"],
|
132
135
|
headers=_headers,
|
133
136
|
params=_params,
|
134
137
|
)
|
135
|
-
|
136
|
-
|
138
|
+
_request = _convert_request(_request)
|
139
|
+
_request.url = self._client.format_url(_request.url)
|
137
140
|
|
138
141
|
else:
|
139
142
|
# make call to next link with the client's api-version
|
@@ -144,14 +147,14 @@ class BlobContainersOperations:
|
|
144
147
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
145
148
|
}
|
146
149
|
)
|
147
|
-
_next_request_params["api-version"] = self.
|
148
|
-
|
150
|
+
_next_request_params["api-version"] = self._api_version
|
151
|
+
_request = HttpRequest(
|
149
152
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
150
153
|
)
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
return
|
154
|
+
_request = _convert_request(_request)
|
155
|
+
_request.url = self._client.format_url(_request.url)
|
156
|
+
_request.method = "GET"
|
157
|
+
return _request
|
155
158
|
|
156
159
|
async def extract_data(pipeline_response):
|
157
160
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
@@ -161,11 +164,11 @@ class BlobContainersOperations:
|
|
161
164
|
return deserialized.next_link or None, AsyncList(list_of_elem)
|
162
165
|
|
163
166
|
async def get_next(next_link=None):
|
164
|
-
|
167
|
+
_request = prepare_request(next_link)
|
165
168
|
|
166
169
|
_stream = False
|
167
170
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
168
|
-
|
171
|
+
_request, stream=_stream, **kwargs
|
169
172
|
)
|
170
173
|
response = pipeline_response.http_response
|
171
174
|
|
@@ -177,10 +180,6 @@ class BlobContainersOperations:
|
|
177
180
|
|
178
181
|
return AsyncItemPaged(get_next, extract_data)
|
179
182
|
|
180
|
-
list.metadata = {
|
181
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
182
|
-
}
|
183
|
-
|
184
183
|
@overload
|
185
184
|
async def create(
|
186
185
|
self,
|
@@ -213,7 +212,6 @@ class BlobContainersOperations:
|
|
213
212
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
214
213
|
Default value is "application/json".
|
215
214
|
:paramtype content_type: str
|
216
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
217
215
|
:return: BlobContainer or the result of cls(response)
|
218
216
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
219
217
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -225,7 +223,7 @@ class BlobContainersOperations:
|
|
225
223
|
resource_group_name: str,
|
226
224
|
account_name: str,
|
227
225
|
container_name: str,
|
228
|
-
blob_container: IO,
|
226
|
+
blob_container: IO[bytes],
|
229
227
|
*,
|
230
228
|
content_type: str = "application/json",
|
231
229
|
**kwargs: Any
|
@@ -247,11 +245,10 @@ class BlobContainersOperations:
|
|
247
245
|
by a letter or number. Required.
|
248
246
|
:type container_name: str
|
249
247
|
:param blob_container: Properties of the blob container to create. Required.
|
250
|
-
:type blob_container: IO
|
248
|
+
:type blob_container: IO[bytes]
|
251
249
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
252
250
|
Default value is "application/json".
|
253
251
|
:paramtype content_type: str
|
254
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
255
252
|
:return: BlobContainer or the result of cls(response)
|
256
253
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
257
254
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -263,7 +260,7 @@ class BlobContainersOperations:
|
|
263
260
|
resource_group_name: str,
|
264
261
|
account_name: str,
|
265
262
|
container_name: str,
|
266
|
-
blob_container: Union[_models.BlobContainer, IO],
|
263
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
267
264
|
**kwargs: Any
|
268
265
|
) -> _models.BlobContainer:
|
269
266
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -283,17 +280,13 @@ class BlobContainersOperations:
|
|
283
280
|
by a letter or number. Required.
|
284
281
|
:type container_name: str
|
285
282
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
286
|
-
type or a IO type. Required.
|
287
|
-
:type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO
|
288
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
289
|
-
Default value is None.
|
290
|
-
:paramtype content_type: str
|
291
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
283
|
+
type or a IO[bytes] type. Required.
|
284
|
+
:type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO[bytes]
|
292
285
|
:return: BlobContainer or the result of cls(response)
|
293
286
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
294
287
|
:raises ~azure.core.exceptions.HttpResponseError:
|
295
288
|
"""
|
296
|
-
error_map = {
|
289
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
297
290
|
401: ClientAuthenticationError,
|
298
291
|
404: ResourceNotFoundError,
|
299
292
|
409: ResourceExistsError,
|
@@ -316,7 +309,7 @@ class BlobContainersOperations:
|
|
316
309
|
else:
|
317
310
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
318
311
|
|
319
|
-
|
312
|
+
_request = build_create_request(
|
320
313
|
resource_group_name=resource_group_name,
|
321
314
|
account_name=account_name,
|
322
315
|
container_name=container_name,
|
@@ -325,16 +318,15 @@ class BlobContainersOperations:
|
|
325
318
|
content_type=content_type,
|
326
319
|
json=_json,
|
327
320
|
content=_content,
|
328
|
-
template_url=self.create.metadata["url"],
|
329
321
|
headers=_headers,
|
330
322
|
params=_params,
|
331
323
|
)
|
332
|
-
|
333
|
-
|
324
|
+
_request = _convert_request(_request)
|
325
|
+
_request.url = self._client.format_url(_request.url)
|
334
326
|
|
335
327
|
_stream = False
|
336
328
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
337
|
-
|
329
|
+
_request, stream=_stream, **kwargs
|
338
330
|
)
|
339
331
|
|
340
332
|
response = pipeline_response.http_response
|
@@ -354,10 +346,6 @@ class BlobContainersOperations:
|
|
354
346
|
|
355
347
|
return deserialized # type: ignore
|
356
348
|
|
357
|
-
create.metadata = {
|
358
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
359
|
-
}
|
360
|
-
|
361
349
|
@overload
|
362
350
|
async def update(
|
363
351
|
self,
|
@@ -389,7 +377,6 @@ class BlobContainersOperations:
|
|
389
377
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
390
378
|
Default value is "application/json".
|
391
379
|
:paramtype content_type: str
|
392
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
393
380
|
:return: BlobContainer or the result of cls(response)
|
394
381
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
395
382
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -401,7 +388,7 @@ class BlobContainersOperations:
|
|
401
388
|
resource_group_name: str,
|
402
389
|
account_name: str,
|
403
390
|
container_name: str,
|
404
|
-
blob_container: IO,
|
391
|
+
blob_container: IO[bytes],
|
405
392
|
*,
|
406
393
|
content_type: str = "application/json",
|
407
394
|
**kwargs: Any
|
@@ -422,11 +409,10 @@ class BlobContainersOperations:
|
|
422
409
|
by a letter or number. Required.
|
423
410
|
:type container_name: str
|
424
411
|
:param blob_container: Properties to update for the blob container. Required.
|
425
|
-
:type blob_container: IO
|
412
|
+
:type blob_container: IO[bytes]
|
426
413
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
427
414
|
Default value is "application/json".
|
428
415
|
:paramtype content_type: str
|
429
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
430
416
|
:return: BlobContainer or the result of cls(response)
|
431
417
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
432
418
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -438,7 +424,7 @@ class BlobContainersOperations:
|
|
438
424
|
resource_group_name: str,
|
439
425
|
account_name: str,
|
440
426
|
container_name: str,
|
441
|
-
blob_container: Union[_models.BlobContainer, IO],
|
427
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
442
428
|
**kwargs: Any
|
443
429
|
) -> _models.BlobContainer:
|
444
430
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -457,17 +443,13 @@ class BlobContainersOperations:
|
|
457
443
|
by a letter or number. Required.
|
458
444
|
:type container_name: str
|
459
445
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
460
|
-
type or a IO type. Required.
|
461
|
-
:type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO
|
462
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
463
|
-
Default value is None.
|
464
|
-
:paramtype content_type: str
|
465
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
446
|
+
type or a IO[bytes] type. Required.
|
447
|
+
:type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO[bytes]
|
466
448
|
:return: BlobContainer or the result of cls(response)
|
467
449
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
468
450
|
:raises ~azure.core.exceptions.HttpResponseError:
|
469
451
|
"""
|
470
|
-
error_map = {
|
452
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
471
453
|
401: ClientAuthenticationError,
|
472
454
|
404: ResourceNotFoundError,
|
473
455
|
409: ResourceExistsError,
|
@@ -490,7 +472,7 @@ class BlobContainersOperations:
|
|
490
472
|
else:
|
491
473
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
492
474
|
|
493
|
-
|
475
|
+
_request = build_update_request(
|
494
476
|
resource_group_name=resource_group_name,
|
495
477
|
account_name=account_name,
|
496
478
|
container_name=container_name,
|
@@ -499,16 +481,15 @@ class BlobContainersOperations:
|
|
499
481
|
content_type=content_type,
|
500
482
|
json=_json,
|
501
483
|
content=_content,
|
502
|
-
template_url=self.update.metadata["url"],
|
503
484
|
headers=_headers,
|
504
485
|
params=_params,
|
505
486
|
)
|
506
|
-
|
507
|
-
|
487
|
+
_request = _convert_request(_request)
|
488
|
+
_request.url = self._client.format_url(_request.url)
|
508
489
|
|
509
490
|
_stream = False
|
510
491
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
511
|
-
|
492
|
+
_request, stream=_stream, **kwargs
|
512
493
|
)
|
513
494
|
|
514
495
|
response = pipeline_response.http_response
|
@@ -520,13 +501,9 @@ class BlobContainersOperations:
|
|
520
501
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
521
502
|
|
522
503
|
if cls:
|
523
|
-
return cls(pipeline_response, deserialized, {})
|
524
|
-
|
525
|
-
return deserialized
|
504
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
526
505
|
|
527
|
-
|
528
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
529
|
-
}
|
506
|
+
return deserialized # type: ignore
|
530
507
|
|
531
508
|
@distributed_trace_async
|
532
509
|
async def get(
|
@@ -546,12 +523,11 @@ class BlobContainersOperations:
|
|
546
523
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
547
524
|
by a letter or number. Required.
|
548
525
|
:type container_name: str
|
549
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
550
526
|
:return: BlobContainer or the result of cls(response)
|
551
527
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
552
528
|
:raises ~azure.core.exceptions.HttpResponseError:
|
553
529
|
"""
|
554
|
-
error_map = {
|
530
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
555
531
|
401: ClientAuthenticationError,
|
556
532
|
404: ResourceNotFoundError,
|
557
533
|
409: ResourceExistsError,
|
@@ -565,22 +541,21 @@ class BlobContainersOperations:
|
|
565
541
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
566
542
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
567
543
|
|
568
|
-
|
544
|
+
_request = build_get_request(
|
569
545
|
resource_group_name=resource_group_name,
|
570
546
|
account_name=account_name,
|
571
547
|
container_name=container_name,
|
572
548
|
subscription_id=self._config.subscription_id,
|
573
549
|
api_version=api_version,
|
574
|
-
template_url=self.get.metadata["url"],
|
575
550
|
headers=_headers,
|
576
551
|
params=_params,
|
577
552
|
)
|
578
|
-
|
579
|
-
|
553
|
+
_request = _convert_request(_request)
|
554
|
+
_request.url = self._client.format_url(_request.url)
|
580
555
|
|
581
556
|
_stream = False
|
582
557
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
583
|
-
|
558
|
+
_request, stream=_stream, **kwargs
|
584
559
|
)
|
585
560
|
|
586
561
|
response = pipeline_response.http_response
|
@@ -592,13 +567,9 @@ class BlobContainersOperations:
|
|
592
567
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
593
568
|
|
594
569
|
if cls:
|
595
|
-
return cls(pipeline_response, deserialized, {})
|
596
|
-
|
597
|
-
return deserialized
|
570
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
598
571
|
|
599
|
-
|
600
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
601
|
-
}
|
572
|
+
return deserialized # type: ignore
|
602
573
|
|
603
574
|
@distributed_trace_async
|
604
575
|
async def delete( # pylint: disable=inconsistent-return-statements
|
@@ -618,12 +589,11 @@ class BlobContainersOperations:
|
|
618
589
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
619
590
|
by a letter or number. Required.
|
620
591
|
:type container_name: str
|
621
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
622
592
|
:return: None or the result of cls(response)
|
623
593
|
:rtype: None
|
624
594
|
:raises ~azure.core.exceptions.HttpResponseError:
|
625
595
|
"""
|
626
|
-
error_map = {
|
596
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
627
597
|
401: ClientAuthenticationError,
|
628
598
|
404: ResourceNotFoundError,
|
629
599
|
409: ResourceExistsError,
|
@@ -637,22 +607,21 @@ class BlobContainersOperations:
|
|
637
607
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
638
608
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
639
609
|
|
640
|
-
|
610
|
+
_request = build_delete_request(
|
641
611
|
resource_group_name=resource_group_name,
|
642
612
|
account_name=account_name,
|
643
613
|
container_name=container_name,
|
644
614
|
subscription_id=self._config.subscription_id,
|
645
615
|
api_version=api_version,
|
646
|
-
template_url=self.delete.metadata["url"],
|
647
616
|
headers=_headers,
|
648
617
|
params=_params,
|
649
618
|
)
|
650
|
-
|
651
|
-
|
619
|
+
_request = _convert_request(_request)
|
620
|
+
_request.url = self._client.format_url(_request.url)
|
652
621
|
|
653
622
|
_stream = False
|
654
623
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
655
|
-
|
624
|
+
_request, stream=_stream, **kwargs
|
656
625
|
)
|
657
626
|
|
658
627
|
response = pipeline_response.http_response
|
@@ -662,11 +631,7 @@ class BlobContainersOperations:
|
|
662
631
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
663
632
|
|
664
633
|
if cls:
|
665
|
-
return cls(pipeline_response, None, {})
|
666
|
-
|
667
|
-
delete.metadata = {
|
668
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
669
|
-
}
|
634
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
670
635
|
|
671
636
|
@overload
|
672
637
|
async def set_legal_hold(
|
@@ -700,7 +665,6 @@ class BlobContainersOperations:
|
|
700
665
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
701
666
|
Default value is "application/json".
|
702
667
|
:paramtype content_type: str
|
703
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
704
668
|
:return: LegalHold or the result of cls(response)
|
705
669
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
706
670
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -712,7 +676,7 @@ class BlobContainersOperations:
|
|
712
676
|
resource_group_name: str,
|
713
677
|
account_name: str,
|
714
678
|
container_name: str,
|
715
|
-
legal_hold: IO,
|
679
|
+
legal_hold: IO[bytes],
|
716
680
|
*,
|
717
681
|
content_type: str = "application/json",
|
718
682
|
**kwargs: Any
|
@@ -734,11 +698,10 @@ class BlobContainersOperations:
|
|
734
698
|
by a letter or number. Required.
|
735
699
|
:type container_name: str
|
736
700
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
737
|
-
:type legal_hold: IO
|
701
|
+
:type legal_hold: IO[bytes]
|
738
702
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
739
703
|
Default value is "application/json".
|
740
704
|
:paramtype content_type: str
|
741
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
742
705
|
:return: LegalHold or the result of cls(response)
|
743
706
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
744
707
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -750,7 +713,7 @@ class BlobContainersOperations:
|
|
750
713
|
resource_group_name: str,
|
751
714
|
account_name: str,
|
752
715
|
container_name: str,
|
753
|
-
legal_hold: Union[_models.LegalHold, IO],
|
716
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
754
717
|
**kwargs: Any
|
755
718
|
) -> _models.LegalHold:
|
756
719
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -770,17 +733,13 @@ class BlobContainersOperations:
|
|
770
733
|
by a letter or number. Required.
|
771
734
|
:type container_name: str
|
772
735
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
773
|
-
LegalHold type or a IO type. Required.
|
774
|
-
:type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO
|
775
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
776
|
-
Default value is None.
|
777
|
-
:paramtype content_type: str
|
778
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
736
|
+
LegalHold type or a IO[bytes] type. Required.
|
737
|
+
:type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO[bytes]
|
779
738
|
:return: LegalHold or the result of cls(response)
|
780
739
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
781
740
|
:raises ~azure.core.exceptions.HttpResponseError:
|
782
741
|
"""
|
783
|
-
error_map = {
|
742
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
784
743
|
401: ClientAuthenticationError,
|
785
744
|
404: ResourceNotFoundError,
|
786
745
|
409: ResourceExistsError,
|
@@ -803,7 +762,7 @@ class BlobContainersOperations:
|
|
803
762
|
else:
|
804
763
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
805
764
|
|
806
|
-
|
765
|
+
_request = build_set_legal_hold_request(
|
807
766
|
resource_group_name=resource_group_name,
|
808
767
|
account_name=account_name,
|
809
768
|
container_name=container_name,
|
@@ -812,16 +771,15 @@ class BlobContainersOperations:
|
|
812
771
|
content_type=content_type,
|
813
772
|
json=_json,
|
814
773
|
content=_content,
|
815
|
-
template_url=self.set_legal_hold.metadata["url"],
|
816
774
|
headers=_headers,
|
817
775
|
params=_params,
|
818
776
|
)
|
819
|
-
|
820
|
-
|
777
|
+
_request = _convert_request(_request)
|
778
|
+
_request.url = self._client.format_url(_request.url)
|
821
779
|
|
822
780
|
_stream = False
|
823
781
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
824
|
-
|
782
|
+
_request, stream=_stream, **kwargs
|
825
783
|
)
|
826
784
|
|
827
785
|
response = pipeline_response.http_response
|
@@ -833,13 +791,9 @@ class BlobContainersOperations:
|
|
833
791
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
834
792
|
|
835
793
|
if cls:
|
836
|
-
return cls(pipeline_response, deserialized, {})
|
837
|
-
|
838
|
-
return deserialized
|
794
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
839
795
|
|
840
|
-
|
841
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
842
|
-
}
|
796
|
+
return deserialized # type: ignore
|
843
797
|
|
844
798
|
@overload
|
845
799
|
async def clear_legal_hold(
|
@@ -872,7 +826,6 @@ class BlobContainersOperations:
|
|
872
826
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
873
827
|
Default value is "application/json".
|
874
828
|
:paramtype content_type: str
|
875
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
876
829
|
:return: LegalHold or the result of cls(response)
|
877
830
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
878
831
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -884,7 +837,7 @@ class BlobContainersOperations:
|
|
884
837
|
resource_group_name: str,
|
885
838
|
account_name: str,
|
886
839
|
container_name: str,
|
887
|
-
legal_hold: IO,
|
840
|
+
legal_hold: IO[bytes],
|
888
841
|
*,
|
889
842
|
content_type: str = "application/json",
|
890
843
|
**kwargs: Any
|
@@ -905,11 +858,10 @@ class BlobContainersOperations:
|
|
905
858
|
by a letter or number. Required.
|
906
859
|
:type container_name: str
|
907
860
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
908
|
-
:type legal_hold: IO
|
861
|
+
:type legal_hold: IO[bytes]
|
909
862
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
910
863
|
Default value is "application/json".
|
911
864
|
:paramtype content_type: str
|
912
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
913
865
|
:return: LegalHold or the result of cls(response)
|
914
866
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
915
867
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -921,7 +873,7 @@ class BlobContainersOperations:
|
|
921
873
|
resource_group_name: str,
|
922
874
|
account_name: str,
|
923
875
|
container_name: str,
|
924
|
-
legal_hold: Union[_models.LegalHold, IO],
|
876
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
925
877
|
**kwargs: Any
|
926
878
|
) -> _models.LegalHold:
|
927
879
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -940,17 +892,13 @@ class BlobContainersOperations:
|
|
940
892
|
by a letter or number. Required.
|
941
893
|
:type container_name: str
|
942
894
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
943
|
-
LegalHold type or a IO type. Required.
|
944
|
-
:type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO
|
945
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
946
|
-
Default value is None.
|
947
|
-
:paramtype content_type: str
|
948
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
895
|
+
LegalHold type or a IO[bytes] type. Required.
|
896
|
+
:type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO[bytes]
|
949
897
|
:return: LegalHold or the result of cls(response)
|
950
898
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
951
899
|
:raises ~azure.core.exceptions.HttpResponseError:
|
952
900
|
"""
|
953
|
-
error_map = {
|
901
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
954
902
|
401: ClientAuthenticationError,
|
955
903
|
404: ResourceNotFoundError,
|
956
904
|
409: ResourceExistsError,
|
@@ -973,7 +921,7 @@ class BlobContainersOperations:
|
|
973
921
|
else:
|
974
922
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
975
923
|
|
976
|
-
|
924
|
+
_request = build_clear_legal_hold_request(
|
977
925
|
resource_group_name=resource_group_name,
|
978
926
|
account_name=account_name,
|
979
927
|
container_name=container_name,
|
@@ -982,16 +930,15 @@ class BlobContainersOperations:
|
|
982
930
|
content_type=content_type,
|
983
931
|
json=_json,
|
984
932
|
content=_content,
|
985
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
986
933
|
headers=_headers,
|
987
934
|
params=_params,
|
988
935
|
)
|
989
|
-
|
990
|
-
|
936
|
+
_request = _convert_request(_request)
|
937
|
+
_request.url = self._client.format_url(_request.url)
|
991
938
|
|
992
939
|
_stream = False
|
993
940
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
994
|
-
|
941
|
+
_request, stream=_stream, **kwargs
|
995
942
|
)
|
996
943
|
|
997
944
|
response = pipeline_response.http_response
|
@@ -1003,13 +950,9 @@ class BlobContainersOperations:
|
|
1003
950
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1004
951
|
|
1005
952
|
if cls:
|
1006
|
-
return cls(pipeline_response, deserialized, {})
|
1007
|
-
|
1008
|
-
return deserialized
|
953
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1009
954
|
|
1010
|
-
|
1011
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
1012
|
-
}
|
955
|
+
return deserialized # type: ignore
|
1013
956
|
|
1014
957
|
@overload
|
1015
958
|
async def create_or_update_immutability_policy(
|
@@ -1052,7 +995,6 @@ class BlobContainersOperations:
|
|
1052
995
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1053
996
|
Default value is "application/json".
|
1054
997
|
:paramtype content_type: str
|
1055
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1056
998
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1057
999
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1058
1000
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1066,7 +1008,7 @@ class BlobContainersOperations:
|
|
1066
1008
|
container_name: str,
|
1067
1009
|
immutability_policy_name: Union[str, _models.Enum16],
|
1068
1010
|
if_match: Optional[str] = None,
|
1069
|
-
parameters: Optional[IO] = None,
|
1011
|
+
parameters: Optional[IO[bytes]] = None,
|
1070
1012
|
*,
|
1071
1013
|
content_type: str = "application/json",
|
1072
1014
|
**kwargs: Any
|
@@ -1095,11 +1037,10 @@ class BlobContainersOperations:
|
|
1095
1037
|
:type if_match: str
|
1096
1038
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1097
1039
|
container. Default value is None.
|
1098
|
-
:type parameters: IO
|
1040
|
+
:type parameters: IO[bytes]
|
1099
1041
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1100
1042
|
Default value is "application/json".
|
1101
1043
|
:paramtype content_type: str
|
1102
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1103
1044
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1104
1045
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1105
1046
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1113,7 +1054,7 @@ class BlobContainersOperations:
|
|
1113
1054
|
container_name: str,
|
1114
1055
|
immutability_policy_name: Union[str, _models.Enum16],
|
1115
1056
|
if_match: Optional[str] = None,
|
1116
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1057
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1117
1058
|
**kwargs: Any
|
1118
1059
|
) -> _models.ImmutabilityPolicy:
|
1119
1060
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1139,17 +1080,13 @@ class BlobContainersOperations:
|
|
1139
1080
|
omitted, this operation will always be applied. Default value is None.
|
1140
1081
|
:type if_match: str
|
1141
1082
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1142
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1143
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO
|
1144
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1145
|
-
Default value is None.
|
1146
|
-
:paramtype content_type: str
|
1147
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1083
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1084
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO[bytes]
|
1148
1085
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1149
1086
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1150
1087
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1151
1088
|
"""
|
1152
|
-
error_map = {
|
1089
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1153
1090
|
401: ClientAuthenticationError,
|
1154
1091
|
404: ResourceNotFoundError,
|
1155
1092
|
409: ResourceExistsError,
|
@@ -1175,7 +1112,7 @@ class BlobContainersOperations:
|
|
1175
1112
|
else:
|
1176
1113
|
_json = None
|
1177
1114
|
|
1178
|
-
|
1115
|
+
_request = build_create_or_update_immutability_policy_request(
|
1179
1116
|
resource_group_name=resource_group_name,
|
1180
1117
|
account_name=account_name,
|
1181
1118
|
container_name=container_name,
|
@@ -1186,16 +1123,15 @@ class BlobContainersOperations:
|
|
1186
1123
|
content_type=content_type,
|
1187
1124
|
json=_json,
|
1188
1125
|
content=_content,
|
1189
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1190
1126
|
headers=_headers,
|
1191
1127
|
params=_params,
|
1192
1128
|
)
|
1193
|
-
|
1194
|
-
|
1129
|
+
_request = _convert_request(_request)
|
1130
|
+
_request.url = self._client.format_url(_request.url)
|
1195
1131
|
|
1196
1132
|
_stream = False
|
1197
1133
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1198
|
-
|
1134
|
+
_request, stream=_stream, **kwargs
|
1199
1135
|
)
|
1200
1136
|
|
1201
1137
|
response = pipeline_response.http_response
|
@@ -1210,13 +1146,9 @@ class BlobContainersOperations:
|
|
1210
1146
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1211
1147
|
|
1212
1148
|
if cls:
|
1213
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1214
|
-
|
1215
|
-
return deserialized
|
1149
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1216
1150
|
|
1217
|
-
|
1218
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1219
|
-
}
|
1151
|
+
return deserialized # type: ignore
|
1220
1152
|
|
1221
1153
|
@distributed_trace_async
|
1222
1154
|
async def get_immutability_policy(
|
@@ -1250,12 +1182,11 @@ class BlobContainersOperations:
|
|
1250
1182
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1251
1183
|
omitted, this operation will always be applied. Default value is None.
|
1252
1184
|
:type if_match: str
|
1253
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1254
1185
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1255
1186
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1256
1187
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1257
1188
|
"""
|
1258
|
-
error_map = {
|
1189
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1259
1190
|
401: ClientAuthenticationError,
|
1260
1191
|
404: ResourceNotFoundError,
|
1261
1192
|
409: ResourceExistsError,
|
@@ -1269,7 +1200,7 @@ class BlobContainersOperations:
|
|
1269
1200
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1270
1201
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1271
1202
|
|
1272
|
-
|
1203
|
+
_request = build_get_immutability_policy_request(
|
1273
1204
|
resource_group_name=resource_group_name,
|
1274
1205
|
account_name=account_name,
|
1275
1206
|
container_name=container_name,
|
@@ -1277,16 +1208,15 @@ class BlobContainersOperations:
|
|
1277
1208
|
subscription_id=self._config.subscription_id,
|
1278
1209
|
if_match=if_match,
|
1279
1210
|
api_version=api_version,
|
1280
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1281
1211
|
headers=_headers,
|
1282
1212
|
params=_params,
|
1283
1213
|
)
|
1284
|
-
|
1285
|
-
|
1214
|
+
_request = _convert_request(_request)
|
1215
|
+
_request.url = self._client.format_url(_request.url)
|
1286
1216
|
|
1287
1217
|
_stream = False
|
1288
1218
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1289
|
-
|
1219
|
+
_request, stream=_stream, **kwargs
|
1290
1220
|
)
|
1291
1221
|
|
1292
1222
|
response = pipeline_response.http_response
|
@@ -1301,13 +1231,9 @@ class BlobContainersOperations:
|
|
1301
1231
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1302
1232
|
|
1303
1233
|
if cls:
|
1304
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1305
|
-
|
1306
|
-
return deserialized
|
1234
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1307
1235
|
|
1308
|
-
|
1309
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1310
|
-
}
|
1236
|
+
return deserialized # type: ignore
|
1311
1237
|
|
1312
1238
|
@distributed_trace_async
|
1313
1239
|
async def delete_immutability_policy(
|
@@ -1343,12 +1269,11 @@ class BlobContainersOperations:
|
|
1343
1269
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1344
1270
|
omitted, this operation will always be applied. Required.
|
1345
1271
|
:type if_match: str
|
1346
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1347
1272
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1348
1273
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1349
1274
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1350
1275
|
"""
|
1351
|
-
error_map = {
|
1276
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1352
1277
|
401: ClientAuthenticationError,
|
1353
1278
|
404: ResourceNotFoundError,
|
1354
1279
|
409: ResourceExistsError,
|
@@ -1362,7 +1287,7 @@ class BlobContainersOperations:
|
|
1362
1287
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1363
1288
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1364
1289
|
|
1365
|
-
|
1290
|
+
_request = build_delete_immutability_policy_request(
|
1366
1291
|
resource_group_name=resource_group_name,
|
1367
1292
|
account_name=account_name,
|
1368
1293
|
container_name=container_name,
|
@@ -1370,16 +1295,15 @@ class BlobContainersOperations:
|
|
1370
1295
|
subscription_id=self._config.subscription_id,
|
1371
1296
|
if_match=if_match,
|
1372
1297
|
api_version=api_version,
|
1373
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1374
1298
|
headers=_headers,
|
1375
1299
|
params=_params,
|
1376
1300
|
)
|
1377
|
-
|
1378
|
-
|
1301
|
+
_request = _convert_request(_request)
|
1302
|
+
_request.url = self._client.format_url(_request.url)
|
1379
1303
|
|
1380
1304
|
_stream = False
|
1381
1305
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1382
|
-
|
1306
|
+
_request, stream=_stream, **kwargs
|
1383
1307
|
)
|
1384
1308
|
|
1385
1309
|
response = pipeline_response.http_response
|
@@ -1394,13 +1318,9 @@ class BlobContainersOperations:
|
|
1394
1318
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1395
1319
|
|
1396
1320
|
if cls:
|
1397
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1398
|
-
|
1399
|
-
return deserialized
|
1321
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1400
1322
|
|
1401
|
-
|
1402
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1403
|
-
}
|
1323
|
+
return deserialized # type: ignore
|
1404
1324
|
|
1405
1325
|
@distributed_trace_async
|
1406
1326
|
async def lock_immutability_policy(
|
@@ -1425,12 +1345,11 @@ class BlobContainersOperations:
|
|
1425
1345
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1426
1346
|
omitted, this operation will always be applied. Required.
|
1427
1347
|
:type if_match: str
|
1428
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1429
1348
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1430
1349
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1431
1350
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1432
1351
|
"""
|
1433
|
-
error_map = {
|
1352
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1434
1353
|
401: ClientAuthenticationError,
|
1435
1354
|
404: ResourceNotFoundError,
|
1436
1355
|
409: ResourceExistsError,
|
@@ -1444,23 +1363,22 @@ class BlobContainersOperations:
|
|
1444
1363
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1445
1364
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1446
1365
|
|
1447
|
-
|
1366
|
+
_request = build_lock_immutability_policy_request(
|
1448
1367
|
resource_group_name=resource_group_name,
|
1449
1368
|
account_name=account_name,
|
1450
1369
|
container_name=container_name,
|
1451
1370
|
subscription_id=self._config.subscription_id,
|
1452
1371
|
if_match=if_match,
|
1453
1372
|
api_version=api_version,
|
1454
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1455
1373
|
headers=_headers,
|
1456
1374
|
params=_params,
|
1457
1375
|
)
|
1458
|
-
|
1459
|
-
|
1376
|
+
_request = _convert_request(_request)
|
1377
|
+
_request.url = self._client.format_url(_request.url)
|
1460
1378
|
|
1461
1379
|
_stream = False
|
1462
1380
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1463
|
-
|
1381
|
+
_request, stream=_stream, **kwargs
|
1464
1382
|
)
|
1465
1383
|
|
1466
1384
|
response = pipeline_response.http_response
|
@@ -1475,13 +1393,9 @@ class BlobContainersOperations:
|
|
1475
1393
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1476
1394
|
|
1477
1395
|
if cls:
|
1478
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1479
|
-
|
1480
|
-
return deserialized
|
1396
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1481
1397
|
|
1482
|
-
|
1483
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
1484
|
-
}
|
1398
|
+
return deserialized # type: ignore
|
1485
1399
|
|
1486
1400
|
@overload
|
1487
1401
|
async def extend_immutability_policy(
|
@@ -1521,7 +1435,6 @@ class BlobContainersOperations:
|
|
1521
1435
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1522
1436
|
Default value is "application/json".
|
1523
1437
|
:paramtype content_type: str
|
1524
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1525
1438
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1526
1439
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1527
1440
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1534,7 +1447,7 @@ class BlobContainersOperations:
|
|
1534
1447
|
account_name: str,
|
1535
1448
|
container_name: str,
|
1536
1449
|
if_match: str,
|
1537
|
-
parameters: Optional[IO] = None,
|
1450
|
+
parameters: Optional[IO[bytes]] = None,
|
1538
1451
|
*,
|
1539
1452
|
content_type: str = "application/json",
|
1540
1453
|
**kwargs: Any
|
@@ -1561,11 +1474,10 @@ class BlobContainersOperations:
|
|
1561
1474
|
:type if_match: str
|
1562
1475
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1563
1476
|
container. Default value is None.
|
1564
|
-
:type parameters: IO
|
1477
|
+
:type parameters: IO[bytes]
|
1565
1478
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1566
1479
|
Default value is "application/json".
|
1567
1480
|
:paramtype content_type: str
|
1568
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1569
1481
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1570
1482
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1571
1483
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1578,7 +1490,7 @@ class BlobContainersOperations:
|
|
1578
1490
|
account_name: str,
|
1579
1491
|
container_name: str,
|
1580
1492
|
if_match: str,
|
1581
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1493
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1582
1494
|
**kwargs: Any
|
1583
1495
|
) -> _models.ImmutabilityPolicy:
|
1584
1496
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -1602,17 +1514,13 @@ class BlobContainersOperations:
|
|
1602
1514
|
omitted, this operation will always be applied. Required.
|
1603
1515
|
:type if_match: str
|
1604
1516
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1605
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1606
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO
|
1607
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1608
|
-
Default value is None.
|
1609
|
-
:paramtype content_type: str
|
1610
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1517
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1518
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO[bytes]
|
1611
1519
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1612
1520
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1613
1521
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1614
1522
|
"""
|
1615
|
-
error_map = {
|
1523
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1616
1524
|
401: ClientAuthenticationError,
|
1617
1525
|
404: ResourceNotFoundError,
|
1618
1526
|
409: ResourceExistsError,
|
@@ -1638,7 +1546,7 @@ class BlobContainersOperations:
|
|
1638
1546
|
else:
|
1639
1547
|
_json = None
|
1640
1548
|
|
1641
|
-
|
1549
|
+
_request = build_extend_immutability_policy_request(
|
1642
1550
|
resource_group_name=resource_group_name,
|
1643
1551
|
account_name=account_name,
|
1644
1552
|
container_name=container_name,
|
@@ -1648,16 +1556,15 @@ class BlobContainersOperations:
|
|
1648
1556
|
content_type=content_type,
|
1649
1557
|
json=_json,
|
1650
1558
|
content=_content,
|
1651
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
1652
1559
|
headers=_headers,
|
1653
1560
|
params=_params,
|
1654
1561
|
)
|
1655
|
-
|
1656
|
-
|
1562
|
+
_request = _convert_request(_request)
|
1563
|
+
_request.url = self._client.format_url(_request.url)
|
1657
1564
|
|
1658
1565
|
_stream = False
|
1659
1566
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1660
|
-
|
1567
|
+
_request, stream=_stream, **kwargs
|
1661
1568
|
)
|
1662
1569
|
|
1663
1570
|
response = pipeline_response.http_response
|
@@ -1672,13 +1579,9 @@ class BlobContainersOperations:
|
|
1672
1579
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1673
1580
|
|
1674
1581
|
if cls:
|
1675
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1582
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1676
1583
|
|
1677
|
-
return deserialized
|
1678
|
-
|
1679
|
-
extend_immutability_policy.metadata = {
|
1680
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
1681
|
-
}
|
1584
|
+
return deserialized # type: ignore
|
1682
1585
|
|
1683
1586
|
@overload
|
1684
1587
|
async def lease(
|
@@ -1711,7 +1614,6 @@ class BlobContainersOperations:
|
|
1711
1614
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1712
1615
|
Default value is "application/json".
|
1713
1616
|
:paramtype content_type: str
|
1714
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1715
1617
|
:return: LeaseContainerResponse or the result of cls(response)
|
1716
1618
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
|
1717
1619
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1723,7 +1625,7 @@ class BlobContainersOperations:
|
|
1723
1625
|
resource_group_name: str,
|
1724
1626
|
account_name: str,
|
1725
1627
|
container_name: str,
|
1726
|
-
parameters: Optional[IO] = None,
|
1628
|
+
parameters: Optional[IO[bytes]] = None,
|
1727
1629
|
*,
|
1728
1630
|
content_type: str = "application/json",
|
1729
1631
|
**kwargs: Any
|
@@ -1744,11 +1646,10 @@ class BlobContainersOperations:
|
|
1744
1646
|
by a letter or number. Required.
|
1745
1647
|
:type container_name: str
|
1746
1648
|
:param parameters: Lease Container request body. Default value is None.
|
1747
|
-
:type parameters: IO
|
1649
|
+
:type parameters: IO[bytes]
|
1748
1650
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1749
1651
|
Default value is "application/json".
|
1750
1652
|
:paramtype content_type: str
|
1751
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1752
1653
|
:return: LeaseContainerResponse or the result of cls(response)
|
1753
1654
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
|
1754
1655
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1760,7 +1661,7 @@ class BlobContainersOperations:
|
|
1760
1661
|
resource_group_name: str,
|
1761
1662
|
account_name: str,
|
1762
1663
|
container_name: str,
|
1763
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
1664
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
1764
1665
|
**kwargs: Any
|
1765
1666
|
) -> _models.LeaseContainerResponse:
|
1766
1667
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -1778,18 +1679,14 @@ class BlobContainersOperations:
|
|
1778
1679
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1779
1680
|
by a letter or number. Required.
|
1780
1681
|
:type container_name: str
|
1781
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
1782
|
-
type. Default value is None.
|
1783
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerRequest or IO
|
1784
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1785
|
-
Default value is None.
|
1786
|
-
:paramtype content_type: str
|
1787
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1682
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
1683
|
+
IO[bytes] type. Default value is None.
|
1684
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerRequest or IO[bytes]
|
1788
1685
|
:return: LeaseContainerResponse or the result of cls(response)
|
1789
1686
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
|
1790
1687
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1791
1688
|
"""
|
1792
|
-
error_map = {
|
1689
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1793
1690
|
401: ClientAuthenticationError,
|
1794
1691
|
404: ResourceNotFoundError,
|
1795
1692
|
409: ResourceExistsError,
|
@@ -1815,7 +1712,7 @@ class BlobContainersOperations:
|
|
1815
1712
|
else:
|
1816
1713
|
_json = None
|
1817
1714
|
|
1818
|
-
|
1715
|
+
_request = build_lease_request(
|
1819
1716
|
resource_group_name=resource_group_name,
|
1820
1717
|
account_name=account_name,
|
1821
1718
|
container_name=container_name,
|
@@ -1824,16 +1721,15 @@ class BlobContainersOperations:
|
|
1824
1721
|
content_type=content_type,
|
1825
1722
|
json=_json,
|
1826
1723
|
content=_content,
|
1827
|
-
template_url=self.lease.metadata["url"],
|
1828
1724
|
headers=_headers,
|
1829
1725
|
params=_params,
|
1830
1726
|
)
|
1831
|
-
|
1832
|
-
|
1727
|
+
_request = _convert_request(_request)
|
1728
|
+
_request.url = self._client.format_url(_request.url)
|
1833
1729
|
|
1834
1730
|
_stream = False
|
1835
1731
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1836
|
-
|
1732
|
+
_request, stream=_stream, **kwargs
|
1837
1733
|
)
|
1838
1734
|
|
1839
1735
|
response = pipeline_response.http_response
|
@@ -1845,10 +1741,6 @@ class BlobContainersOperations:
|
|
1845
1741
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
1846
1742
|
|
1847
1743
|
if cls:
|
1848
|
-
return cls(pipeline_response, deserialized, {})
|
1849
|
-
|
1850
|
-
return deserialized
|
1744
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1851
1745
|
|
1852
|
-
|
1853
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
1854
|
-
}
|
1746
|
+
return deserialized # type: ignore
|