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, Callable, Dict, IO, Optional, Type, TypeVar, Union, overload
|
11
12
|
|
12
13
|
from azure.core.exceptions import (
|
13
14
|
ClientAuthenticationError,
|
@@ -42,6 +43,10 @@ from ...operations._blob_containers_operations import (
|
|
42
43
|
build_update_request,
|
43
44
|
)
|
44
45
|
|
46
|
+
if sys.version_info >= (3, 9):
|
47
|
+
from collections.abc import MutableMapping
|
48
|
+
else:
|
49
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
45
50
|
T = TypeVar("T")
|
46
51
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
47
52
|
|
@@ -78,12 +83,11 @@ class BlobContainersOperations:
|
|
78
83
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
79
84
|
lower-case letters only. Required.
|
80
85
|
:type account_name: str
|
81
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
82
86
|
:return: ListContainerItems or the result of cls(response)
|
83
87
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListContainerItems
|
84
88
|
:raises ~azure.core.exceptions.HttpResponseError:
|
85
89
|
"""
|
86
|
-
error_map = {
|
90
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
87
91
|
401: ClientAuthenticationError,
|
88
92
|
404: ResourceNotFoundError,
|
89
93
|
409: ResourceExistsError,
|
@@ -99,21 +103,20 @@ class BlobContainersOperations:
|
|
99
103
|
)
|
100
104
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
101
105
|
|
102
|
-
|
106
|
+
_request = build_list_request(
|
103
107
|
resource_group_name=resource_group_name,
|
104
108
|
account_name=account_name,
|
105
109
|
subscription_id=self._config.subscription_id,
|
106
110
|
api_version=api_version,
|
107
|
-
template_url=self.list.metadata["url"],
|
108
111
|
headers=_headers,
|
109
112
|
params=_params,
|
110
113
|
)
|
111
|
-
|
112
|
-
|
114
|
+
_request = _convert_request(_request)
|
115
|
+
_request.url = self._client.format_url(_request.url)
|
113
116
|
|
114
117
|
_stream = False
|
115
118
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
116
|
-
|
119
|
+
_request, stream=_stream, **kwargs
|
117
120
|
)
|
118
121
|
|
119
122
|
response = pipeline_response.http_response
|
@@ -125,13 +128,9 @@ class BlobContainersOperations:
|
|
125
128
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
126
129
|
|
127
130
|
if cls:
|
128
|
-
return cls(pipeline_response, deserialized, {})
|
131
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
129
132
|
|
130
|
-
return deserialized
|
131
|
-
|
132
|
-
list.metadata = {
|
133
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
134
|
-
}
|
133
|
+
return deserialized # type: ignore
|
135
134
|
|
136
135
|
@overload
|
137
136
|
async def create(
|
@@ -165,7 +164,6 @@ class BlobContainersOperations:
|
|
165
164
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
166
165
|
Default value is "application/json".
|
167
166
|
:paramtype content_type: str
|
168
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
169
167
|
:return: BlobContainer or the result of cls(response)
|
170
168
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
|
171
169
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -177,7 +175,7 @@ class BlobContainersOperations:
|
|
177
175
|
resource_group_name: str,
|
178
176
|
account_name: str,
|
179
177
|
container_name: str,
|
180
|
-
blob_container: IO,
|
178
|
+
blob_container: IO[bytes],
|
181
179
|
*,
|
182
180
|
content_type: str = "application/json",
|
183
181
|
**kwargs: Any
|
@@ -199,11 +197,10 @@ class BlobContainersOperations:
|
|
199
197
|
by a letter or number. Required.
|
200
198
|
:type container_name: str
|
201
199
|
:param blob_container: Properties of the blob container to create. Required.
|
202
|
-
:type blob_container: IO
|
200
|
+
:type blob_container: IO[bytes]
|
203
201
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
204
202
|
Default value is "application/json".
|
205
203
|
:paramtype content_type: str
|
206
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
207
204
|
:return: BlobContainer or the result of cls(response)
|
208
205
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
|
209
206
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -215,7 +212,7 @@ class BlobContainersOperations:
|
|
215
212
|
resource_group_name: str,
|
216
213
|
account_name: str,
|
217
214
|
container_name: str,
|
218
|
-
blob_container: Union[_models.BlobContainer, IO],
|
215
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
219
216
|
**kwargs: Any
|
220
217
|
) -> _models.BlobContainer:
|
221
218
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -235,17 +232,13 @@ class BlobContainersOperations:
|
|
235
232
|
by a letter or number. Required.
|
236
233
|
:type container_name: str
|
237
234
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
238
|
-
type or a IO type. Required.
|
239
|
-
:type blob_container: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer or IO
|
240
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
241
|
-
Default value is None.
|
242
|
-
:paramtype content_type: str
|
243
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
235
|
+
type or a IO[bytes] type. Required.
|
236
|
+
:type blob_container: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer or IO[bytes]
|
244
237
|
:return: BlobContainer or the result of cls(response)
|
245
238
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
|
246
239
|
:raises ~azure.core.exceptions.HttpResponseError:
|
247
240
|
"""
|
248
|
-
error_map = {
|
241
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
249
242
|
401: ClientAuthenticationError,
|
250
243
|
404: ResourceNotFoundError,
|
251
244
|
409: ResourceExistsError,
|
@@ -270,7 +263,7 @@ class BlobContainersOperations:
|
|
270
263
|
else:
|
271
264
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
272
265
|
|
273
|
-
|
266
|
+
_request = build_create_request(
|
274
267
|
resource_group_name=resource_group_name,
|
275
268
|
account_name=account_name,
|
276
269
|
container_name=container_name,
|
@@ -279,16 +272,15 @@ class BlobContainersOperations:
|
|
279
272
|
content_type=content_type,
|
280
273
|
json=_json,
|
281
274
|
content=_content,
|
282
|
-
template_url=self.create.metadata["url"],
|
283
275
|
headers=_headers,
|
284
276
|
params=_params,
|
285
277
|
)
|
286
|
-
|
287
|
-
|
278
|
+
_request = _convert_request(_request)
|
279
|
+
_request.url = self._client.format_url(_request.url)
|
288
280
|
|
289
281
|
_stream = False
|
290
282
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
291
|
-
|
283
|
+
_request, stream=_stream, **kwargs
|
292
284
|
)
|
293
285
|
|
294
286
|
response = pipeline_response.http_response
|
@@ -300,13 +292,9 @@ class BlobContainersOperations:
|
|
300
292
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
301
293
|
|
302
294
|
if cls:
|
303
|
-
return cls(pipeline_response, deserialized, {})
|
304
|
-
|
305
|
-
return deserialized
|
295
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
306
296
|
|
307
|
-
|
308
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
309
|
-
}
|
297
|
+
return deserialized # type: ignore
|
310
298
|
|
311
299
|
@overload
|
312
300
|
async def update(
|
@@ -339,7 +327,6 @@ class BlobContainersOperations:
|
|
339
327
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
340
328
|
Default value is "application/json".
|
341
329
|
:paramtype content_type: str
|
342
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
343
330
|
:return: BlobContainer or the result of cls(response)
|
344
331
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
|
345
332
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -351,7 +338,7 @@ class BlobContainersOperations:
|
|
351
338
|
resource_group_name: str,
|
352
339
|
account_name: str,
|
353
340
|
container_name: str,
|
354
|
-
blob_container: IO,
|
341
|
+
blob_container: IO[bytes],
|
355
342
|
*,
|
356
343
|
content_type: str = "application/json",
|
357
344
|
**kwargs: Any
|
@@ -372,11 +359,10 @@ class BlobContainersOperations:
|
|
372
359
|
by a letter or number. Required.
|
373
360
|
:type container_name: str
|
374
361
|
:param blob_container: Properties to update for the blob container. Required.
|
375
|
-
:type blob_container: IO
|
362
|
+
:type blob_container: IO[bytes]
|
376
363
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
377
364
|
Default value is "application/json".
|
378
365
|
:paramtype content_type: str
|
379
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
380
366
|
:return: BlobContainer or the result of cls(response)
|
381
367
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
|
382
368
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -388,7 +374,7 @@ class BlobContainersOperations:
|
|
388
374
|
resource_group_name: str,
|
389
375
|
account_name: str,
|
390
376
|
container_name: str,
|
391
|
-
blob_container: Union[_models.BlobContainer, IO],
|
377
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
392
378
|
**kwargs: Any
|
393
379
|
) -> _models.BlobContainer:
|
394
380
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -407,17 +393,13 @@ class BlobContainersOperations:
|
|
407
393
|
by a letter or number. Required.
|
408
394
|
:type container_name: str
|
409
395
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
410
|
-
type or a IO type. Required.
|
411
|
-
:type blob_container: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer or IO
|
412
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
413
|
-
Default value is None.
|
414
|
-
:paramtype content_type: str
|
415
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
396
|
+
type or a IO[bytes] type. Required.
|
397
|
+
:type blob_container: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer or IO[bytes]
|
416
398
|
:return: BlobContainer or the result of cls(response)
|
417
399
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
|
418
400
|
:raises ~azure.core.exceptions.HttpResponseError:
|
419
401
|
"""
|
420
|
-
error_map = {
|
402
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
421
403
|
401: ClientAuthenticationError,
|
422
404
|
404: ResourceNotFoundError,
|
423
405
|
409: ResourceExistsError,
|
@@ -442,7 +424,7 @@ class BlobContainersOperations:
|
|
442
424
|
else:
|
443
425
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
444
426
|
|
445
|
-
|
427
|
+
_request = build_update_request(
|
446
428
|
resource_group_name=resource_group_name,
|
447
429
|
account_name=account_name,
|
448
430
|
container_name=container_name,
|
@@ -451,16 +433,15 @@ class BlobContainersOperations:
|
|
451
433
|
content_type=content_type,
|
452
434
|
json=_json,
|
453
435
|
content=_content,
|
454
|
-
template_url=self.update.metadata["url"],
|
455
436
|
headers=_headers,
|
456
437
|
params=_params,
|
457
438
|
)
|
458
|
-
|
459
|
-
|
439
|
+
_request = _convert_request(_request)
|
440
|
+
_request.url = self._client.format_url(_request.url)
|
460
441
|
|
461
442
|
_stream = False
|
462
443
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
463
|
-
|
444
|
+
_request, stream=_stream, **kwargs
|
464
445
|
)
|
465
446
|
|
466
447
|
response = pipeline_response.http_response
|
@@ -472,13 +453,9 @@ class BlobContainersOperations:
|
|
472
453
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
473
454
|
|
474
455
|
if cls:
|
475
|
-
return cls(pipeline_response, deserialized, {})
|
476
|
-
|
477
|
-
return deserialized
|
456
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
478
457
|
|
479
|
-
|
480
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
481
|
-
}
|
458
|
+
return deserialized # type: ignore
|
482
459
|
|
483
460
|
@distributed_trace_async
|
484
461
|
async def get(
|
@@ -498,12 +475,11 @@ class BlobContainersOperations:
|
|
498
475
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
499
476
|
by a letter or number. Required.
|
500
477
|
:type container_name: str
|
501
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
502
478
|
:return: BlobContainer or the result of cls(response)
|
503
479
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
|
504
480
|
:raises ~azure.core.exceptions.HttpResponseError:
|
505
481
|
"""
|
506
|
-
error_map = {
|
482
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
507
483
|
401: ClientAuthenticationError,
|
508
484
|
404: ResourceNotFoundError,
|
509
485
|
409: ResourceExistsError,
|
@@ -519,22 +495,21 @@ class BlobContainersOperations:
|
|
519
495
|
)
|
520
496
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
521
497
|
|
522
|
-
|
498
|
+
_request = build_get_request(
|
523
499
|
resource_group_name=resource_group_name,
|
524
500
|
account_name=account_name,
|
525
501
|
container_name=container_name,
|
526
502
|
subscription_id=self._config.subscription_id,
|
527
503
|
api_version=api_version,
|
528
|
-
template_url=self.get.metadata["url"],
|
529
504
|
headers=_headers,
|
530
505
|
params=_params,
|
531
506
|
)
|
532
|
-
|
533
|
-
|
507
|
+
_request = _convert_request(_request)
|
508
|
+
_request.url = self._client.format_url(_request.url)
|
534
509
|
|
535
510
|
_stream = False
|
536
511
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
537
|
-
|
512
|
+
_request, stream=_stream, **kwargs
|
538
513
|
)
|
539
514
|
|
540
515
|
response = pipeline_response.http_response
|
@@ -546,13 +521,9 @@ class BlobContainersOperations:
|
|
546
521
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
547
522
|
|
548
523
|
if cls:
|
549
|
-
return cls(pipeline_response, deserialized, {})
|
524
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
550
525
|
|
551
|
-
return deserialized
|
552
|
-
|
553
|
-
get.metadata = {
|
554
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
555
|
-
}
|
526
|
+
return deserialized # type: ignore
|
556
527
|
|
557
528
|
@distributed_trace_async
|
558
529
|
async def delete( # pylint: disable=inconsistent-return-statements
|
@@ -572,12 +543,11 @@ class BlobContainersOperations:
|
|
572
543
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
573
544
|
by a letter or number. Required.
|
574
545
|
:type container_name: str
|
575
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
576
546
|
:return: None or the result of cls(response)
|
577
547
|
:rtype: None
|
578
548
|
:raises ~azure.core.exceptions.HttpResponseError:
|
579
549
|
"""
|
580
|
-
error_map = {
|
550
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
581
551
|
401: ClientAuthenticationError,
|
582
552
|
404: ResourceNotFoundError,
|
583
553
|
409: ResourceExistsError,
|
@@ -593,22 +563,21 @@ class BlobContainersOperations:
|
|
593
563
|
)
|
594
564
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
595
565
|
|
596
|
-
|
566
|
+
_request = build_delete_request(
|
597
567
|
resource_group_name=resource_group_name,
|
598
568
|
account_name=account_name,
|
599
569
|
container_name=container_name,
|
600
570
|
subscription_id=self._config.subscription_id,
|
601
571
|
api_version=api_version,
|
602
|
-
template_url=self.delete.metadata["url"],
|
603
572
|
headers=_headers,
|
604
573
|
params=_params,
|
605
574
|
)
|
606
|
-
|
607
|
-
|
575
|
+
_request = _convert_request(_request)
|
576
|
+
_request.url = self._client.format_url(_request.url)
|
608
577
|
|
609
578
|
_stream = False
|
610
579
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
611
|
-
|
580
|
+
_request, stream=_stream, **kwargs
|
612
581
|
)
|
613
582
|
|
614
583
|
response = pipeline_response.http_response
|
@@ -618,11 +587,7 @@ class BlobContainersOperations:
|
|
618
587
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
619
588
|
|
620
589
|
if cls:
|
621
|
-
return cls(pipeline_response, None, {})
|
622
|
-
|
623
|
-
delete.metadata = {
|
624
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
625
|
-
}
|
590
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
626
591
|
|
627
592
|
@overload
|
628
593
|
async def set_legal_hold(
|
@@ -656,7 +621,6 @@ class BlobContainersOperations:
|
|
656
621
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
657
622
|
Default value is "application/json".
|
658
623
|
:paramtype content_type: str
|
659
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
660
624
|
:return: LegalHold or the result of cls(response)
|
661
625
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
|
662
626
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -668,7 +632,7 @@ class BlobContainersOperations:
|
|
668
632
|
resource_group_name: str,
|
669
633
|
account_name: str,
|
670
634
|
container_name: str,
|
671
|
-
legal_hold: IO,
|
635
|
+
legal_hold: IO[bytes],
|
672
636
|
*,
|
673
637
|
content_type: str = "application/json",
|
674
638
|
**kwargs: Any
|
@@ -690,11 +654,10 @@ class BlobContainersOperations:
|
|
690
654
|
by a letter or number. Required.
|
691
655
|
:type container_name: str
|
692
656
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
693
|
-
:type legal_hold: IO
|
657
|
+
:type legal_hold: IO[bytes]
|
694
658
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
695
659
|
Default value is "application/json".
|
696
660
|
:paramtype content_type: str
|
697
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
698
661
|
:return: LegalHold or the result of cls(response)
|
699
662
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
|
700
663
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -706,7 +669,7 @@ class BlobContainersOperations:
|
|
706
669
|
resource_group_name: str,
|
707
670
|
account_name: str,
|
708
671
|
container_name: str,
|
709
|
-
legal_hold: Union[_models.LegalHold, IO],
|
672
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
710
673
|
**kwargs: Any
|
711
674
|
) -> _models.LegalHold:
|
712
675
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -726,17 +689,13 @@ class BlobContainersOperations:
|
|
726
689
|
by a letter or number. Required.
|
727
690
|
:type container_name: str
|
728
691
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
729
|
-
LegalHold type or a IO type. Required.
|
730
|
-
:type legal_hold: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold or IO
|
731
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
732
|
-
Default value is None.
|
733
|
-
:paramtype content_type: str
|
734
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
692
|
+
LegalHold type or a IO[bytes] type. Required.
|
693
|
+
:type legal_hold: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold or IO[bytes]
|
735
694
|
:return: LegalHold or the result of cls(response)
|
736
695
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
|
737
696
|
:raises ~azure.core.exceptions.HttpResponseError:
|
738
697
|
"""
|
739
|
-
error_map = {
|
698
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
740
699
|
401: ClientAuthenticationError,
|
741
700
|
404: ResourceNotFoundError,
|
742
701
|
409: ResourceExistsError,
|
@@ -761,7 +720,7 @@ class BlobContainersOperations:
|
|
761
720
|
else:
|
762
721
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
763
722
|
|
764
|
-
|
723
|
+
_request = build_set_legal_hold_request(
|
765
724
|
resource_group_name=resource_group_name,
|
766
725
|
account_name=account_name,
|
767
726
|
container_name=container_name,
|
@@ -770,16 +729,15 @@ class BlobContainersOperations:
|
|
770
729
|
content_type=content_type,
|
771
730
|
json=_json,
|
772
731
|
content=_content,
|
773
|
-
template_url=self.set_legal_hold.metadata["url"],
|
774
732
|
headers=_headers,
|
775
733
|
params=_params,
|
776
734
|
)
|
777
|
-
|
778
|
-
|
735
|
+
_request = _convert_request(_request)
|
736
|
+
_request.url = self._client.format_url(_request.url)
|
779
737
|
|
780
738
|
_stream = False
|
781
739
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
782
|
-
|
740
|
+
_request, stream=_stream, **kwargs
|
783
741
|
)
|
784
742
|
|
785
743
|
response = pipeline_response.http_response
|
@@ -791,13 +749,9 @@ class BlobContainersOperations:
|
|
791
749
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
792
750
|
|
793
751
|
if cls:
|
794
|
-
return cls(pipeline_response, deserialized, {})
|
752
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
795
753
|
|
796
|
-
return deserialized
|
797
|
-
|
798
|
-
set_legal_hold.metadata = {
|
799
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
800
|
-
}
|
754
|
+
return deserialized # type: ignore
|
801
755
|
|
802
756
|
@overload
|
803
757
|
async def clear_legal_hold(
|
@@ -830,7 +784,6 @@ class BlobContainersOperations:
|
|
830
784
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
831
785
|
Default value is "application/json".
|
832
786
|
:paramtype content_type: str
|
833
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
834
787
|
:return: LegalHold or the result of cls(response)
|
835
788
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
|
836
789
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -842,7 +795,7 @@ class BlobContainersOperations:
|
|
842
795
|
resource_group_name: str,
|
843
796
|
account_name: str,
|
844
797
|
container_name: str,
|
845
|
-
legal_hold: IO,
|
798
|
+
legal_hold: IO[bytes],
|
846
799
|
*,
|
847
800
|
content_type: str = "application/json",
|
848
801
|
**kwargs: Any
|
@@ -863,11 +816,10 @@ class BlobContainersOperations:
|
|
863
816
|
by a letter or number. Required.
|
864
817
|
:type container_name: str
|
865
818
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
866
|
-
:type legal_hold: IO
|
819
|
+
:type legal_hold: IO[bytes]
|
867
820
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
868
821
|
Default value is "application/json".
|
869
822
|
:paramtype content_type: str
|
870
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
871
823
|
:return: LegalHold or the result of cls(response)
|
872
824
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
|
873
825
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -879,7 +831,7 @@ class BlobContainersOperations:
|
|
879
831
|
resource_group_name: str,
|
880
832
|
account_name: str,
|
881
833
|
container_name: str,
|
882
|
-
legal_hold: Union[_models.LegalHold, IO],
|
834
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
883
835
|
**kwargs: Any
|
884
836
|
) -> _models.LegalHold:
|
885
837
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -898,17 +850,13 @@ class BlobContainersOperations:
|
|
898
850
|
by a letter or number. Required.
|
899
851
|
:type container_name: str
|
900
852
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
901
|
-
LegalHold type or a IO type. Required.
|
902
|
-
:type legal_hold: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold or IO
|
903
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
904
|
-
Default value is None.
|
905
|
-
:paramtype content_type: str
|
906
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
853
|
+
LegalHold type or a IO[bytes] type. Required.
|
854
|
+
:type legal_hold: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold or IO[bytes]
|
907
855
|
:return: LegalHold or the result of cls(response)
|
908
856
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
|
909
857
|
:raises ~azure.core.exceptions.HttpResponseError:
|
910
858
|
"""
|
911
|
-
error_map = {
|
859
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
912
860
|
401: ClientAuthenticationError,
|
913
861
|
404: ResourceNotFoundError,
|
914
862
|
409: ResourceExistsError,
|
@@ -933,7 +881,7 @@ class BlobContainersOperations:
|
|
933
881
|
else:
|
934
882
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
935
883
|
|
936
|
-
|
884
|
+
_request = build_clear_legal_hold_request(
|
937
885
|
resource_group_name=resource_group_name,
|
938
886
|
account_name=account_name,
|
939
887
|
container_name=container_name,
|
@@ -942,16 +890,15 @@ class BlobContainersOperations:
|
|
942
890
|
content_type=content_type,
|
943
891
|
json=_json,
|
944
892
|
content=_content,
|
945
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
946
893
|
headers=_headers,
|
947
894
|
params=_params,
|
948
895
|
)
|
949
|
-
|
950
|
-
|
896
|
+
_request = _convert_request(_request)
|
897
|
+
_request.url = self._client.format_url(_request.url)
|
951
898
|
|
952
899
|
_stream = False
|
953
900
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
954
|
-
|
901
|
+
_request, stream=_stream, **kwargs
|
955
902
|
)
|
956
903
|
|
957
904
|
response = pipeline_response.http_response
|
@@ -963,13 +910,9 @@ class BlobContainersOperations:
|
|
963
910
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
964
911
|
|
965
912
|
if cls:
|
966
|
-
return cls(pipeline_response, deserialized, {})
|
913
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
967
914
|
|
968
|
-
return deserialized
|
969
|
-
|
970
|
-
clear_legal_hold.metadata = {
|
971
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
972
|
-
}
|
915
|
+
return deserialized # type: ignore
|
973
916
|
|
974
917
|
@overload
|
975
918
|
async def create_or_update_immutability_policy(
|
@@ -1012,7 +955,6 @@ class BlobContainersOperations:
|
|
1012
955
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1013
956
|
Default value is "application/json".
|
1014
957
|
:paramtype content_type: str
|
1015
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1016
958
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1017
959
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
1018
960
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1026,7 +968,7 @@ class BlobContainersOperations:
|
|
1026
968
|
container_name: str,
|
1027
969
|
immutability_policy_name: Union[str, _models.Enum13],
|
1028
970
|
if_match: Optional[str] = None,
|
1029
|
-
parameters: Optional[IO] = None,
|
971
|
+
parameters: Optional[IO[bytes]] = None,
|
1030
972
|
*,
|
1031
973
|
content_type: str = "application/json",
|
1032
974
|
**kwargs: Any
|
@@ -1055,11 +997,10 @@ class BlobContainersOperations:
|
|
1055
997
|
:type if_match: str
|
1056
998
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1057
999
|
container. Default value is None.
|
1058
|
-
:type parameters: IO
|
1000
|
+
:type parameters: IO[bytes]
|
1059
1001
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1060
1002
|
Default value is "application/json".
|
1061
1003
|
:paramtype content_type: str
|
1062
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1063
1004
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1064
1005
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
1065
1006
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1073,7 +1014,7 @@ class BlobContainersOperations:
|
|
1073
1014
|
container_name: str,
|
1074
1015
|
immutability_policy_name: Union[str, _models.Enum13],
|
1075
1016
|
if_match: Optional[str] = None,
|
1076
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1017
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1077
1018
|
**kwargs: Any
|
1078
1019
|
) -> _models.ImmutabilityPolicy:
|
1079
1020
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1099,17 +1040,14 @@ class BlobContainersOperations:
|
|
1099
1040
|
omitted, this operation will always be applied. Default value is None.
|
1100
1041
|
:type if_match: str
|
1101
1042
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1102
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1103
|
-
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy or
|
1104
|
-
|
1105
|
-
Default value is None.
|
1106
|
-
:paramtype content_type: str
|
1107
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1043
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1044
|
+
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy or
|
1045
|
+
IO[bytes]
|
1108
1046
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1109
1047
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
1110
1048
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1111
1049
|
"""
|
1112
|
-
error_map = {
|
1050
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1113
1051
|
401: ClientAuthenticationError,
|
1114
1052
|
404: ResourceNotFoundError,
|
1115
1053
|
409: ResourceExistsError,
|
@@ -1137,7 +1075,7 @@ class BlobContainersOperations:
|
|
1137
1075
|
else:
|
1138
1076
|
_json = None
|
1139
1077
|
|
1140
|
-
|
1078
|
+
_request = build_create_or_update_immutability_policy_request(
|
1141
1079
|
resource_group_name=resource_group_name,
|
1142
1080
|
account_name=account_name,
|
1143
1081
|
container_name=container_name,
|
@@ -1148,16 +1086,15 @@ class BlobContainersOperations:
|
|
1148
1086
|
content_type=content_type,
|
1149
1087
|
json=_json,
|
1150
1088
|
content=_content,
|
1151
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1152
1089
|
headers=_headers,
|
1153
1090
|
params=_params,
|
1154
1091
|
)
|
1155
|
-
|
1156
|
-
|
1092
|
+
_request = _convert_request(_request)
|
1093
|
+
_request.url = self._client.format_url(_request.url)
|
1157
1094
|
|
1158
1095
|
_stream = False
|
1159
1096
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1160
|
-
|
1097
|
+
_request, stream=_stream, **kwargs
|
1161
1098
|
)
|
1162
1099
|
|
1163
1100
|
response = pipeline_response.http_response
|
@@ -1172,13 +1109,9 @@ class BlobContainersOperations:
|
|
1172
1109
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1173
1110
|
|
1174
1111
|
if cls:
|
1175
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1176
|
-
|
1177
|
-
return deserialized
|
1112
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1178
1113
|
|
1179
|
-
|
1180
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1181
|
-
}
|
1114
|
+
return deserialized # type: ignore
|
1182
1115
|
|
1183
1116
|
@distributed_trace_async
|
1184
1117
|
async def get_immutability_policy(
|
@@ -1212,12 +1145,11 @@ class BlobContainersOperations:
|
|
1212
1145
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1213
1146
|
omitted, this operation will always be applied. Default value is None.
|
1214
1147
|
:type if_match: str
|
1215
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1216
1148
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1217
1149
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
1218
1150
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1219
1151
|
"""
|
1220
|
-
error_map = {
|
1152
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1221
1153
|
401: ClientAuthenticationError,
|
1222
1154
|
404: ResourceNotFoundError,
|
1223
1155
|
409: ResourceExistsError,
|
@@ -1233,7 +1165,7 @@ class BlobContainersOperations:
|
|
1233
1165
|
)
|
1234
1166
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1235
1167
|
|
1236
|
-
|
1168
|
+
_request = build_get_immutability_policy_request(
|
1237
1169
|
resource_group_name=resource_group_name,
|
1238
1170
|
account_name=account_name,
|
1239
1171
|
container_name=container_name,
|
@@ -1241,16 +1173,15 @@ class BlobContainersOperations:
|
|
1241
1173
|
subscription_id=self._config.subscription_id,
|
1242
1174
|
if_match=if_match,
|
1243
1175
|
api_version=api_version,
|
1244
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1245
1176
|
headers=_headers,
|
1246
1177
|
params=_params,
|
1247
1178
|
)
|
1248
|
-
|
1249
|
-
|
1179
|
+
_request = _convert_request(_request)
|
1180
|
+
_request.url = self._client.format_url(_request.url)
|
1250
1181
|
|
1251
1182
|
_stream = False
|
1252
1183
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1253
|
-
|
1184
|
+
_request, stream=_stream, **kwargs
|
1254
1185
|
)
|
1255
1186
|
|
1256
1187
|
response = pipeline_response.http_response
|
@@ -1265,13 +1196,9 @@ class BlobContainersOperations:
|
|
1265
1196
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1266
1197
|
|
1267
1198
|
if cls:
|
1268
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1199
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1269
1200
|
|
1270
|
-
return deserialized
|
1271
|
-
|
1272
|
-
get_immutability_policy.metadata = {
|
1273
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1274
|
-
}
|
1201
|
+
return deserialized # type: ignore
|
1275
1202
|
|
1276
1203
|
@distributed_trace_async
|
1277
1204
|
async def delete_immutability_policy(
|
@@ -1307,12 +1234,11 @@ class BlobContainersOperations:
|
|
1307
1234
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1308
1235
|
omitted, this operation will always be applied. Required.
|
1309
1236
|
:type if_match: str
|
1310
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1311
1237
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1312
1238
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
1313
1239
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1314
1240
|
"""
|
1315
|
-
error_map = {
|
1241
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1316
1242
|
401: ClientAuthenticationError,
|
1317
1243
|
404: ResourceNotFoundError,
|
1318
1244
|
409: ResourceExistsError,
|
@@ -1328,7 +1254,7 @@ class BlobContainersOperations:
|
|
1328
1254
|
)
|
1329
1255
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1330
1256
|
|
1331
|
-
|
1257
|
+
_request = build_delete_immutability_policy_request(
|
1332
1258
|
resource_group_name=resource_group_name,
|
1333
1259
|
account_name=account_name,
|
1334
1260
|
container_name=container_name,
|
@@ -1336,16 +1262,15 @@ class BlobContainersOperations:
|
|
1336
1262
|
subscription_id=self._config.subscription_id,
|
1337
1263
|
if_match=if_match,
|
1338
1264
|
api_version=api_version,
|
1339
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1340
1265
|
headers=_headers,
|
1341
1266
|
params=_params,
|
1342
1267
|
)
|
1343
|
-
|
1344
|
-
|
1268
|
+
_request = _convert_request(_request)
|
1269
|
+
_request.url = self._client.format_url(_request.url)
|
1345
1270
|
|
1346
1271
|
_stream = False
|
1347
1272
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1348
|
-
|
1273
|
+
_request, stream=_stream, **kwargs
|
1349
1274
|
)
|
1350
1275
|
|
1351
1276
|
response = pipeline_response.http_response
|
@@ -1360,13 +1285,9 @@ class BlobContainersOperations:
|
|
1360
1285
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1361
1286
|
|
1362
1287
|
if cls:
|
1363
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1364
|
-
|
1365
|
-
return deserialized
|
1288
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1366
1289
|
|
1367
|
-
|
1368
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1369
|
-
}
|
1290
|
+
return deserialized # type: ignore
|
1370
1291
|
|
1371
1292
|
@distributed_trace_async
|
1372
1293
|
async def lock_immutability_policy(
|
@@ -1391,12 +1312,11 @@ class BlobContainersOperations:
|
|
1391
1312
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1392
1313
|
omitted, this operation will always be applied. Required.
|
1393
1314
|
:type if_match: str
|
1394
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1395
1315
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1396
1316
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
1397
1317
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1398
1318
|
"""
|
1399
|
-
error_map = {
|
1319
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1400
1320
|
401: ClientAuthenticationError,
|
1401
1321
|
404: ResourceNotFoundError,
|
1402
1322
|
409: ResourceExistsError,
|
@@ -1412,23 +1332,22 @@ class BlobContainersOperations:
|
|
1412
1332
|
)
|
1413
1333
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1414
1334
|
|
1415
|
-
|
1335
|
+
_request = build_lock_immutability_policy_request(
|
1416
1336
|
resource_group_name=resource_group_name,
|
1417
1337
|
account_name=account_name,
|
1418
1338
|
container_name=container_name,
|
1419
1339
|
subscription_id=self._config.subscription_id,
|
1420
1340
|
if_match=if_match,
|
1421
1341
|
api_version=api_version,
|
1422
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1423
1342
|
headers=_headers,
|
1424
1343
|
params=_params,
|
1425
1344
|
)
|
1426
|
-
|
1427
|
-
|
1345
|
+
_request = _convert_request(_request)
|
1346
|
+
_request.url = self._client.format_url(_request.url)
|
1428
1347
|
|
1429
1348
|
_stream = False
|
1430
1349
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1431
|
-
|
1350
|
+
_request, stream=_stream, **kwargs
|
1432
1351
|
)
|
1433
1352
|
|
1434
1353
|
response = pipeline_response.http_response
|
@@ -1443,13 +1362,9 @@ class BlobContainersOperations:
|
|
1443
1362
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1444
1363
|
|
1445
1364
|
if cls:
|
1446
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1365
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1447
1366
|
|
1448
|
-
return deserialized
|
1449
|
-
|
1450
|
-
lock_immutability_policy.metadata = {
|
1451
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
1452
|
-
}
|
1367
|
+
return deserialized # type: ignore
|
1453
1368
|
|
1454
1369
|
@overload
|
1455
1370
|
async def extend_immutability_policy(
|
@@ -1489,7 +1404,6 @@ class BlobContainersOperations:
|
|
1489
1404
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1490
1405
|
Default value is "application/json".
|
1491
1406
|
:paramtype content_type: str
|
1492
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1493
1407
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1494
1408
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
1495
1409
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1502,7 +1416,7 @@ class BlobContainersOperations:
|
|
1502
1416
|
account_name: str,
|
1503
1417
|
container_name: str,
|
1504
1418
|
if_match: str,
|
1505
|
-
parameters: Optional[IO] = None,
|
1419
|
+
parameters: Optional[IO[bytes]] = None,
|
1506
1420
|
*,
|
1507
1421
|
content_type: str = "application/json",
|
1508
1422
|
**kwargs: Any
|
@@ -1529,11 +1443,10 @@ class BlobContainersOperations:
|
|
1529
1443
|
:type if_match: str
|
1530
1444
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1531
1445
|
container. Default value is None.
|
1532
|
-
:type parameters: IO
|
1446
|
+
:type parameters: IO[bytes]
|
1533
1447
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1534
1448
|
Default value is "application/json".
|
1535
1449
|
:paramtype content_type: str
|
1536
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1537
1450
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1538
1451
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
1539
1452
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1546,7 +1459,7 @@ class BlobContainersOperations:
|
|
1546
1459
|
account_name: str,
|
1547
1460
|
container_name: str,
|
1548
1461
|
if_match: str,
|
1549
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1462
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1550
1463
|
**kwargs: Any
|
1551
1464
|
) -> _models.ImmutabilityPolicy:
|
1552
1465
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -1570,17 +1483,14 @@ class BlobContainersOperations:
|
|
1570
1483
|
omitted, this operation will always be applied. Required.
|
1571
1484
|
:type if_match: str
|
1572
1485
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1573
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1574
|
-
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy or
|
1575
|
-
|
1576
|
-
Default value is None.
|
1577
|
-
:paramtype content_type: str
|
1578
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1486
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1487
|
+
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy or
|
1488
|
+
IO[bytes]
|
1579
1489
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1580
1490
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
1581
1491
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1582
1492
|
"""
|
1583
|
-
error_map = {
|
1493
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1584
1494
|
401: ClientAuthenticationError,
|
1585
1495
|
404: ResourceNotFoundError,
|
1586
1496
|
409: ResourceExistsError,
|
@@ -1608,7 +1518,7 @@ class BlobContainersOperations:
|
|
1608
1518
|
else:
|
1609
1519
|
_json = None
|
1610
1520
|
|
1611
|
-
|
1521
|
+
_request = build_extend_immutability_policy_request(
|
1612
1522
|
resource_group_name=resource_group_name,
|
1613
1523
|
account_name=account_name,
|
1614
1524
|
container_name=container_name,
|
@@ -1618,16 +1528,15 @@ class BlobContainersOperations:
|
|
1618
1528
|
content_type=content_type,
|
1619
1529
|
json=_json,
|
1620
1530
|
content=_content,
|
1621
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
1622
1531
|
headers=_headers,
|
1623
1532
|
params=_params,
|
1624
1533
|
)
|
1625
|
-
|
1626
|
-
|
1534
|
+
_request = _convert_request(_request)
|
1535
|
+
_request.url = self._client.format_url(_request.url)
|
1627
1536
|
|
1628
1537
|
_stream = False
|
1629
1538
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1630
|
-
|
1539
|
+
_request, stream=_stream, **kwargs
|
1631
1540
|
)
|
1632
1541
|
|
1633
1542
|
response = pipeline_response.http_response
|
@@ -1642,13 +1551,9 @@ class BlobContainersOperations:
|
|
1642
1551
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1643
1552
|
|
1644
1553
|
if cls:
|
1645
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1646
|
-
|
1647
|
-
return deserialized
|
1554
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1648
1555
|
|
1649
|
-
|
1650
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
1651
|
-
}
|
1556
|
+
return deserialized # type: ignore
|
1652
1557
|
|
1653
1558
|
@overload
|
1654
1559
|
async def lease(
|
@@ -1681,7 +1586,6 @@ class BlobContainersOperations:
|
|
1681
1586
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1682
1587
|
Default value is "application/json".
|
1683
1588
|
:paramtype content_type: str
|
1684
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1685
1589
|
:return: LeaseContainerResponse or the result of cls(response)
|
1686
1590
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerResponse
|
1687
1591
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1693,7 +1597,7 @@ class BlobContainersOperations:
|
|
1693
1597
|
resource_group_name: str,
|
1694
1598
|
account_name: str,
|
1695
1599
|
container_name: str,
|
1696
|
-
parameters: Optional[IO] = None,
|
1600
|
+
parameters: Optional[IO[bytes]] = None,
|
1697
1601
|
*,
|
1698
1602
|
content_type: str = "application/json",
|
1699
1603
|
**kwargs: Any
|
@@ -1714,11 +1618,10 @@ class BlobContainersOperations:
|
|
1714
1618
|
by a letter or number. Required.
|
1715
1619
|
:type container_name: str
|
1716
1620
|
:param parameters: Lease Container request body. Default value is None.
|
1717
|
-
:type parameters: IO
|
1621
|
+
:type parameters: IO[bytes]
|
1718
1622
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1719
1623
|
Default value is "application/json".
|
1720
1624
|
:paramtype content_type: str
|
1721
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1722
1625
|
:return: LeaseContainerResponse or the result of cls(response)
|
1723
1626
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerResponse
|
1724
1627
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1730,7 +1633,7 @@ class BlobContainersOperations:
|
|
1730
1633
|
resource_group_name: str,
|
1731
1634
|
account_name: str,
|
1732
1635
|
container_name: str,
|
1733
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
1636
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
1734
1637
|
**kwargs: Any
|
1735
1638
|
) -> _models.LeaseContainerResponse:
|
1736
1639
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -1748,18 +1651,15 @@ class BlobContainersOperations:
|
|
1748
1651
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1749
1652
|
by a letter or number. Required.
|
1750
1653
|
:type container_name: str
|
1751
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
1752
|
-
type. Default value is None.
|
1753
|
-
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerRequest or
|
1754
|
-
|
1755
|
-
Default value is None.
|
1756
|
-
:paramtype content_type: str
|
1757
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1654
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
1655
|
+
IO[bytes] type. Default value is None.
|
1656
|
+
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerRequest or
|
1657
|
+
IO[bytes]
|
1758
1658
|
:return: LeaseContainerResponse or the result of cls(response)
|
1759
1659
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerResponse
|
1760
1660
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1761
1661
|
"""
|
1762
|
-
error_map = {
|
1662
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1763
1663
|
401: ClientAuthenticationError,
|
1764
1664
|
404: ResourceNotFoundError,
|
1765
1665
|
409: ResourceExistsError,
|
@@ -1787,7 +1687,7 @@ class BlobContainersOperations:
|
|
1787
1687
|
else:
|
1788
1688
|
_json = None
|
1789
1689
|
|
1790
|
-
|
1690
|
+
_request = build_lease_request(
|
1791
1691
|
resource_group_name=resource_group_name,
|
1792
1692
|
account_name=account_name,
|
1793
1693
|
container_name=container_name,
|
@@ -1796,16 +1696,15 @@ class BlobContainersOperations:
|
|
1796
1696
|
content_type=content_type,
|
1797
1697
|
json=_json,
|
1798
1698
|
content=_content,
|
1799
|
-
template_url=self.lease.metadata["url"],
|
1800
1699
|
headers=_headers,
|
1801
1700
|
params=_params,
|
1802
1701
|
)
|
1803
|
-
|
1804
|
-
|
1702
|
+
_request = _convert_request(_request)
|
1703
|
+
_request.url = self._client.format_url(_request.url)
|
1805
1704
|
|
1806
1705
|
_stream = False
|
1807
1706
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1808
|
-
|
1707
|
+
_request, stream=_stream, **kwargs
|
1809
1708
|
)
|
1810
1709
|
|
1811
1710
|
response = pipeline_response.http_response
|
@@ -1817,10 +1716,6 @@ class BlobContainersOperations:
|
|
1817
1716
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
1818
1717
|
|
1819
1718
|
if cls:
|
1820
|
-
return cls(pipeline_response, deserialized, {})
|
1821
|
-
|
1822
|
-
return deserialized
|
1719
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1823
1720
|
|
1824
|
-
|
1825
|
-
"url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
1826
|
-
}
|
1721
|
+
return deserialized # type: ignore
|