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