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.v2020_08_01_preview.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.v2020_08_01_preview.models.ListContainerItem]
|
@@ -112,7 +116,7 @@ class BlobContainersOperations:
|
|
112
116
|
)
|
113
117
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
114
118
|
|
115
|
-
error_map = {
|
119
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
116
120
|
401: ClientAuthenticationError,
|
117
121
|
404: ResourceNotFoundError,
|
118
122
|
409: ResourceExistsError,
|
@@ -123,7 +127,7 @@ class BlobContainersOperations:
|
|
123
127
|
def prepare_request(next_link=None):
|
124
128
|
if not next_link:
|
125
129
|
|
126
|
-
|
130
|
+
_request = build_list_request(
|
127
131
|
resource_group_name=resource_group_name,
|
128
132
|
account_name=account_name,
|
129
133
|
subscription_id=self._config.subscription_id,
|
@@ -131,12 +135,11 @@ class BlobContainersOperations:
|
|
131
135
|
filter=filter,
|
132
136
|
include=include,
|
133
137
|
api_version=api_version,
|
134
|
-
template_url=self.list.metadata["url"],
|
135
138
|
headers=_headers,
|
136
139
|
params=_params,
|
137
140
|
)
|
138
|
-
|
139
|
-
|
141
|
+
_request = _convert_request(_request)
|
142
|
+
_request.url = self._client.format_url(_request.url)
|
140
143
|
|
141
144
|
else:
|
142
145
|
# make call to next link with the client's api-version
|
@@ -147,14 +150,14 @@ class BlobContainersOperations:
|
|
147
150
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
148
151
|
}
|
149
152
|
)
|
150
|
-
_next_request_params["api-version"] = self.
|
151
|
-
|
153
|
+
_next_request_params["api-version"] = self._api_version
|
154
|
+
_request = HttpRequest(
|
152
155
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
153
156
|
)
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
return
|
157
|
+
_request = _convert_request(_request)
|
158
|
+
_request.url = self._client.format_url(_request.url)
|
159
|
+
_request.method = "GET"
|
160
|
+
return _request
|
158
161
|
|
159
162
|
async def extract_data(pipeline_response):
|
160
163
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
@@ -164,11 +167,11 @@ class BlobContainersOperations:
|
|
164
167
|
return deserialized.next_link or None, AsyncList(list_of_elem)
|
165
168
|
|
166
169
|
async def get_next(next_link=None):
|
167
|
-
|
170
|
+
_request = prepare_request(next_link)
|
168
171
|
|
169
172
|
_stream = False
|
170
173
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
171
|
-
|
174
|
+
_request, stream=_stream, **kwargs
|
172
175
|
)
|
173
176
|
response = pipeline_response.http_response
|
174
177
|
|
@@ -180,10 +183,6 @@ class BlobContainersOperations:
|
|
180
183
|
|
181
184
|
return AsyncItemPaged(get_next, extract_data)
|
182
185
|
|
183
|
-
list.metadata = {
|
184
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
185
|
-
}
|
186
|
-
|
187
186
|
@overload
|
188
187
|
async def create(
|
189
188
|
self,
|
@@ -216,7 +215,6 @@ class BlobContainersOperations:
|
|
216
215
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
217
216
|
Default value is "application/json".
|
218
217
|
:paramtype content_type: str
|
219
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
220
218
|
:return: BlobContainer or the result of cls(response)
|
221
219
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
222
220
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -228,7 +226,7 @@ class BlobContainersOperations:
|
|
228
226
|
resource_group_name: str,
|
229
227
|
account_name: str,
|
230
228
|
container_name: str,
|
231
|
-
blob_container: IO,
|
229
|
+
blob_container: IO[bytes],
|
232
230
|
*,
|
233
231
|
content_type: str = "application/json",
|
234
232
|
**kwargs: Any
|
@@ -250,11 +248,10 @@ class BlobContainersOperations:
|
|
250
248
|
by a letter or number. Required.
|
251
249
|
:type container_name: str
|
252
250
|
:param blob_container: Properties of the blob container to create. Required.
|
253
|
-
:type blob_container: IO
|
251
|
+
:type blob_container: IO[bytes]
|
254
252
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
255
253
|
Default value is "application/json".
|
256
254
|
:paramtype content_type: str
|
257
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
258
255
|
:return: BlobContainer or the result of cls(response)
|
259
256
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
260
257
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -266,7 +263,7 @@ class BlobContainersOperations:
|
|
266
263
|
resource_group_name: str,
|
267
264
|
account_name: str,
|
268
265
|
container_name: str,
|
269
|
-
blob_container: Union[_models.BlobContainer, IO],
|
266
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
270
267
|
**kwargs: Any
|
271
268
|
) -> _models.BlobContainer:
|
272
269
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -286,17 +283,13 @@ class BlobContainersOperations:
|
|
286
283
|
by a letter or number. Required.
|
287
284
|
:type container_name: str
|
288
285
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
289
|
-
type or a IO type. Required.
|
290
|
-
:type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO
|
291
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
292
|
-
Default value is None.
|
293
|
-
:paramtype content_type: str
|
294
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
286
|
+
type or a IO[bytes] type. Required.
|
287
|
+
:type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO[bytes]
|
295
288
|
:return: BlobContainer or the result of cls(response)
|
296
289
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
297
290
|
:raises ~azure.core.exceptions.HttpResponseError:
|
298
291
|
"""
|
299
|
-
error_map = {
|
292
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
300
293
|
401: ClientAuthenticationError,
|
301
294
|
404: ResourceNotFoundError,
|
302
295
|
409: ResourceExistsError,
|
@@ -321,7 +314,7 @@ class BlobContainersOperations:
|
|
321
314
|
else:
|
322
315
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
323
316
|
|
324
|
-
|
317
|
+
_request = build_create_request(
|
325
318
|
resource_group_name=resource_group_name,
|
326
319
|
account_name=account_name,
|
327
320
|
container_name=container_name,
|
@@ -330,16 +323,15 @@ class BlobContainersOperations:
|
|
330
323
|
content_type=content_type,
|
331
324
|
json=_json,
|
332
325
|
content=_content,
|
333
|
-
template_url=self.create.metadata["url"],
|
334
326
|
headers=_headers,
|
335
327
|
params=_params,
|
336
328
|
)
|
337
|
-
|
338
|
-
|
329
|
+
_request = _convert_request(_request)
|
330
|
+
_request.url = self._client.format_url(_request.url)
|
339
331
|
|
340
332
|
_stream = False
|
341
333
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
342
|
-
|
334
|
+
_request, stream=_stream, **kwargs
|
343
335
|
)
|
344
336
|
|
345
337
|
response = pipeline_response.http_response
|
@@ -359,10 +351,6 @@ class BlobContainersOperations:
|
|
359
351
|
|
360
352
|
return deserialized # type: ignore
|
361
353
|
|
362
|
-
create.metadata = {
|
363
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
364
|
-
}
|
365
|
-
|
366
354
|
@overload
|
367
355
|
async def update(
|
368
356
|
self,
|
@@ -394,7 +382,6 @@ class BlobContainersOperations:
|
|
394
382
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
395
383
|
Default value is "application/json".
|
396
384
|
:paramtype content_type: str
|
397
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
398
385
|
:return: BlobContainer or the result of cls(response)
|
399
386
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
400
387
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -406,7 +393,7 @@ class BlobContainersOperations:
|
|
406
393
|
resource_group_name: str,
|
407
394
|
account_name: str,
|
408
395
|
container_name: str,
|
409
|
-
blob_container: IO,
|
396
|
+
blob_container: IO[bytes],
|
410
397
|
*,
|
411
398
|
content_type: str = "application/json",
|
412
399
|
**kwargs: Any
|
@@ -427,11 +414,10 @@ class BlobContainersOperations:
|
|
427
414
|
by a letter or number. Required.
|
428
415
|
:type container_name: str
|
429
416
|
:param blob_container: Properties to update for the blob container. Required.
|
430
|
-
:type blob_container: IO
|
417
|
+
:type blob_container: IO[bytes]
|
431
418
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
432
419
|
Default value is "application/json".
|
433
420
|
:paramtype content_type: str
|
434
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
435
421
|
:return: BlobContainer or the result of cls(response)
|
436
422
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
437
423
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -443,7 +429,7 @@ class BlobContainersOperations:
|
|
443
429
|
resource_group_name: str,
|
444
430
|
account_name: str,
|
445
431
|
container_name: str,
|
446
|
-
blob_container: Union[_models.BlobContainer, IO],
|
432
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
447
433
|
**kwargs: Any
|
448
434
|
) -> _models.BlobContainer:
|
449
435
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -462,17 +448,13 @@ class BlobContainersOperations:
|
|
462
448
|
by a letter or number. Required.
|
463
449
|
:type container_name: str
|
464
450
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
465
|
-
type or a IO type. Required.
|
466
|
-
:type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO
|
467
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
468
|
-
Default value is None.
|
469
|
-
:paramtype content_type: str
|
470
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
451
|
+
type or a IO[bytes] type. Required.
|
452
|
+
:type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO[bytes]
|
471
453
|
:return: BlobContainer or the result of cls(response)
|
472
454
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
473
455
|
:raises ~azure.core.exceptions.HttpResponseError:
|
474
456
|
"""
|
475
|
-
error_map = {
|
457
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
476
458
|
401: ClientAuthenticationError,
|
477
459
|
404: ResourceNotFoundError,
|
478
460
|
409: ResourceExistsError,
|
@@ -497,7 +479,7 @@ class BlobContainersOperations:
|
|
497
479
|
else:
|
498
480
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
499
481
|
|
500
|
-
|
482
|
+
_request = build_update_request(
|
501
483
|
resource_group_name=resource_group_name,
|
502
484
|
account_name=account_name,
|
503
485
|
container_name=container_name,
|
@@ -506,16 +488,15 @@ class BlobContainersOperations:
|
|
506
488
|
content_type=content_type,
|
507
489
|
json=_json,
|
508
490
|
content=_content,
|
509
|
-
template_url=self.update.metadata["url"],
|
510
491
|
headers=_headers,
|
511
492
|
params=_params,
|
512
493
|
)
|
513
|
-
|
514
|
-
|
494
|
+
_request = _convert_request(_request)
|
495
|
+
_request.url = self._client.format_url(_request.url)
|
515
496
|
|
516
497
|
_stream = False
|
517
498
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
518
|
-
|
499
|
+
_request, stream=_stream, **kwargs
|
519
500
|
)
|
520
501
|
|
521
502
|
response = pipeline_response.http_response
|
@@ -527,13 +508,9 @@ class BlobContainersOperations:
|
|
527
508
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
528
509
|
|
529
510
|
if cls:
|
530
|
-
return cls(pipeline_response, deserialized, {})
|
531
|
-
|
532
|
-
return deserialized
|
511
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
533
512
|
|
534
|
-
|
535
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
536
|
-
}
|
513
|
+
return deserialized # type: ignore
|
537
514
|
|
538
515
|
@distributed_trace_async
|
539
516
|
async def get(
|
@@ -553,12 +530,11 @@ class BlobContainersOperations:
|
|
553
530
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
554
531
|
by a letter or number. Required.
|
555
532
|
:type container_name: str
|
556
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
557
533
|
:return: BlobContainer or the result of cls(response)
|
558
534
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
559
535
|
:raises ~azure.core.exceptions.HttpResponseError:
|
560
536
|
"""
|
561
|
-
error_map = {
|
537
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
562
538
|
401: ClientAuthenticationError,
|
563
539
|
404: ResourceNotFoundError,
|
564
540
|
409: ResourceExistsError,
|
@@ -574,22 +550,21 @@ class BlobContainersOperations:
|
|
574
550
|
)
|
575
551
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
576
552
|
|
577
|
-
|
553
|
+
_request = build_get_request(
|
578
554
|
resource_group_name=resource_group_name,
|
579
555
|
account_name=account_name,
|
580
556
|
container_name=container_name,
|
581
557
|
subscription_id=self._config.subscription_id,
|
582
558
|
api_version=api_version,
|
583
|
-
template_url=self.get.metadata["url"],
|
584
559
|
headers=_headers,
|
585
560
|
params=_params,
|
586
561
|
)
|
587
|
-
|
588
|
-
|
562
|
+
_request = _convert_request(_request)
|
563
|
+
_request.url = self._client.format_url(_request.url)
|
589
564
|
|
590
565
|
_stream = False
|
591
566
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
592
|
-
|
567
|
+
_request, stream=_stream, **kwargs
|
593
568
|
)
|
594
569
|
|
595
570
|
response = pipeline_response.http_response
|
@@ -601,13 +576,9 @@ class BlobContainersOperations:
|
|
601
576
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
602
577
|
|
603
578
|
if cls:
|
604
|
-
return cls(pipeline_response, deserialized, {})
|
605
|
-
|
606
|
-
return deserialized
|
579
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
607
580
|
|
608
|
-
|
609
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
610
|
-
}
|
581
|
+
return deserialized # type: ignore
|
611
582
|
|
612
583
|
@distributed_trace_async
|
613
584
|
async def delete( # pylint: disable=inconsistent-return-statements
|
@@ -627,12 +598,11 @@ class BlobContainersOperations:
|
|
627
598
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
628
599
|
by a letter or number. Required.
|
629
600
|
:type container_name: str
|
630
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
631
601
|
:return: None or the result of cls(response)
|
632
602
|
:rtype: None
|
633
603
|
:raises ~azure.core.exceptions.HttpResponseError:
|
634
604
|
"""
|
635
|
-
error_map = {
|
605
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
636
606
|
401: ClientAuthenticationError,
|
637
607
|
404: ResourceNotFoundError,
|
638
608
|
409: ResourceExistsError,
|
@@ -648,22 +618,21 @@ class BlobContainersOperations:
|
|
648
618
|
)
|
649
619
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
650
620
|
|
651
|
-
|
621
|
+
_request = build_delete_request(
|
652
622
|
resource_group_name=resource_group_name,
|
653
623
|
account_name=account_name,
|
654
624
|
container_name=container_name,
|
655
625
|
subscription_id=self._config.subscription_id,
|
656
626
|
api_version=api_version,
|
657
|
-
template_url=self.delete.metadata["url"],
|
658
627
|
headers=_headers,
|
659
628
|
params=_params,
|
660
629
|
)
|
661
|
-
|
662
|
-
|
630
|
+
_request = _convert_request(_request)
|
631
|
+
_request.url = self._client.format_url(_request.url)
|
663
632
|
|
664
633
|
_stream = False
|
665
634
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
666
|
-
|
635
|
+
_request, stream=_stream, **kwargs
|
667
636
|
)
|
668
637
|
|
669
638
|
response = pipeline_response.http_response
|
@@ -673,11 +642,7 @@ class BlobContainersOperations:
|
|
673
642
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
674
643
|
|
675
644
|
if cls:
|
676
|
-
return cls(pipeline_response, None, {})
|
677
|
-
|
678
|
-
delete.metadata = {
|
679
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
680
|
-
}
|
645
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
681
646
|
|
682
647
|
@overload
|
683
648
|
async def set_legal_hold(
|
@@ -711,7 +676,6 @@ class BlobContainersOperations:
|
|
711
676
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
712
677
|
Default value is "application/json".
|
713
678
|
:paramtype content_type: str
|
714
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
715
679
|
:return: LegalHold or the result of cls(response)
|
716
680
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
717
681
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -723,7 +687,7 @@ class BlobContainersOperations:
|
|
723
687
|
resource_group_name: str,
|
724
688
|
account_name: str,
|
725
689
|
container_name: str,
|
726
|
-
legal_hold: IO,
|
690
|
+
legal_hold: IO[bytes],
|
727
691
|
*,
|
728
692
|
content_type: str = "application/json",
|
729
693
|
**kwargs: Any
|
@@ -745,11 +709,10 @@ class BlobContainersOperations:
|
|
745
709
|
by a letter or number. Required.
|
746
710
|
:type container_name: str
|
747
711
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
748
|
-
:type legal_hold: IO
|
712
|
+
:type legal_hold: IO[bytes]
|
749
713
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
750
714
|
Default value is "application/json".
|
751
715
|
:paramtype content_type: str
|
752
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
753
716
|
:return: LegalHold or the result of cls(response)
|
754
717
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
755
718
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -761,7 +724,7 @@ class BlobContainersOperations:
|
|
761
724
|
resource_group_name: str,
|
762
725
|
account_name: str,
|
763
726
|
container_name: str,
|
764
|
-
legal_hold: Union[_models.LegalHold, IO],
|
727
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
765
728
|
**kwargs: Any
|
766
729
|
) -> _models.LegalHold:
|
767
730
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -781,17 +744,13 @@ class BlobContainersOperations:
|
|
781
744
|
by a letter or number. Required.
|
782
745
|
:type container_name: str
|
783
746
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
784
|
-
LegalHold type or a IO type. Required.
|
785
|
-
:type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO
|
786
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
787
|
-
Default value is None.
|
788
|
-
:paramtype content_type: str
|
789
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
747
|
+
LegalHold type or a IO[bytes] type. Required.
|
748
|
+
:type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO[bytes]
|
790
749
|
:return: LegalHold or the result of cls(response)
|
791
750
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
792
751
|
:raises ~azure.core.exceptions.HttpResponseError:
|
793
752
|
"""
|
794
|
-
error_map = {
|
753
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
795
754
|
401: ClientAuthenticationError,
|
796
755
|
404: ResourceNotFoundError,
|
797
756
|
409: ResourceExistsError,
|
@@ -816,7 +775,7 @@ class BlobContainersOperations:
|
|
816
775
|
else:
|
817
776
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
818
777
|
|
819
|
-
|
778
|
+
_request = build_set_legal_hold_request(
|
820
779
|
resource_group_name=resource_group_name,
|
821
780
|
account_name=account_name,
|
822
781
|
container_name=container_name,
|
@@ -825,16 +784,15 @@ class BlobContainersOperations:
|
|
825
784
|
content_type=content_type,
|
826
785
|
json=_json,
|
827
786
|
content=_content,
|
828
|
-
template_url=self.set_legal_hold.metadata["url"],
|
829
787
|
headers=_headers,
|
830
788
|
params=_params,
|
831
789
|
)
|
832
|
-
|
833
|
-
|
790
|
+
_request = _convert_request(_request)
|
791
|
+
_request.url = self._client.format_url(_request.url)
|
834
792
|
|
835
793
|
_stream = False
|
836
794
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
837
|
-
|
795
|
+
_request, stream=_stream, **kwargs
|
838
796
|
)
|
839
797
|
|
840
798
|
response = pipeline_response.http_response
|
@@ -846,13 +804,9 @@ class BlobContainersOperations:
|
|
846
804
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
847
805
|
|
848
806
|
if cls:
|
849
|
-
return cls(pipeline_response, deserialized, {})
|
850
|
-
|
851
|
-
return deserialized
|
807
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
852
808
|
|
853
|
-
|
854
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
855
|
-
}
|
809
|
+
return deserialized # type: ignore
|
856
810
|
|
857
811
|
@overload
|
858
812
|
async def clear_legal_hold(
|
@@ -885,7 +839,6 @@ class BlobContainersOperations:
|
|
885
839
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
886
840
|
Default value is "application/json".
|
887
841
|
:paramtype content_type: str
|
888
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
889
842
|
:return: LegalHold or the result of cls(response)
|
890
843
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
891
844
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -897,7 +850,7 @@ class BlobContainersOperations:
|
|
897
850
|
resource_group_name: str,
|
898
851
|
account_name: str,
|
899
852
|
container_name: str,
|
900
|
-
legal_hold: IO,
|
853
|
+
legal_hold: IO[bytes],
|
901
854
|
*,
|
902
855
|
content_type: str = "application/json",
|
903
856
|
**kwargs: Any
|
@@ -918,11 +871,10 @@ class BlobContainersOperations:
|
|
918
871
|
by a letter or number. Required.
|
919
872
|
:type container_name: str
|
920
873
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
921
|
-
:type legal_hold: IO
|
874
|
+
:type legal_hold: IO[bytes]
|
922
875
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
923
876
|
Default value is "application/json".
|
924
877
|
:paramtype content_type: str
|
925
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
926
878
|
:return: LegalHold or the result of cls(response)
|
927
879
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
928
880
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -934,7 +886,7 @@ class BlobContainersOperations:
|
|
934
886
|
resource_group_name: str,
|
935
887
|
account_name: str,
|
936
888
|
container_name: str,
|
937
|
-
legal_hold: Union[_models.LegalHold, IO],
|
889
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
938
890
|
**kwargs: Any
|
939
891
|
) -> _models.LegalHold:
|
940
892
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -953,17 +905,13 @@ class BlobContainersOperations:
|
|
953
905
|
by a letter or number. Required.
|
954
906
|
:type container_name: str
|
955
907
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
956
|
-
LegalHold type or a IO type. Required.
|
957
|
-
:type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO
|
958
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
959
|
-
Default value is None.
|
960
|
-
:paramtype content_type: str
|
961
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
908
|
+
LegalHold type or a IO[bytes] type. Required.
|
909
|
+
:type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO[bytes]
|
962
910
|
:return: LegalHold or the result of cls(response)
|
963
911
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
964
912
|
:raises ~azure.core.exceptions.HttpResponseError:
|
965
913
|
"""
|
966
|
-
error_map = {
|
914
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
967
915
|
401: ClientAuthenticationError,
|
968
916
|
404: ResourceNotFoundError,
|
969
917
|
409: ResourceExistsError,
|
@@ -988,7 +936,7 @@ class BlobContainersOperations:
|
|
988
936
|
else:
|
989
937
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
990
938
|
|
991
|
-
|
939
|
+
_request = build_clear_legal_hold_request(
|
992
940
|
resource_group_name=resource_group_name,
|
993
941
|
account_name=account_name,
|
994
942
|
container_name=container_name,
|
@@ -997,16 +945,15 @@ class BlobContainersOperations:
|
|
997
945
|
content_type=content_type,
|
998
946
|
json=_json,
|
999
947
|
content=_content,
|
1000
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
1001
948
|
headers=_headers,
|
1002
949
|
params=_params,
|
1003
950
|
)
|
1004
|
-
|
1005
|
-
|
951
|
+
_request = _convert_request(_request)
|
952
|
+
_request.url = self._client.format_url(_request.url)
|
1006
953
|
|
1007
954
|
_stream = False
|
1008
955
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1009
|
-
|
956
|
+
_request, stream=_stream, **kwargs
|
1010
957
|
)
|
1011
958
|
|
1012
959
|
response = pipeline_response.http_response
|
@@ -1018,13 +965,9 @@ class BlobContainersOperations:
|
|
1018
965
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1019
966
|
|
1020
967
|
if cls:
|
1021
|
-
return cls(pipeline_response, deserialized, {})
|
1022
|
-
|
1023
|
-
return deserialized
|
968
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1024
969
|
|
1025
|
-
|
1026
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
1027
|
-
}
|
970
|
+
return deserialized # type: ignore
|
1028
971
|
|
1029
972
|
@overload
|
1030
973
|
async def create_or_update_immutability_policy(
|
@@ -1067,7 +1010,6 @@ class BlobContainersOperations:
|
|
1067
1010
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1068
1011
|
Default value is "application/json".
|
1069
1012
|
:paramtype content_type: str
|
1070
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1071
1013
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1072
1014
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1073
1015
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1081,7 +1023,7 @@ class BlobContainersOperations:
|
|
1081
1023
|
container_name: str,
|
1082
1024
|
immutability_policy_name: Union[str, _models.Enum28],
|
1083
1025
|
if_match: Optional[str] = None,
|
1084
|
-
parameters: Optional[IO] = None,
|
1026
|
+
parameters: Optional[IO[bytes]] = None,
|
1085
1027
|
*,
|
1086
1028
|
content_type: str = "application/json",
|
1087
1029
|
**kwargs: Any
|
@@ -1110,11 +1052,10 @@ class BlobContainersOperations:
|
|
1110
1052
|
:type if_match: str
|
1111
1053
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1112
1054
|
container. Default value is None.
|
1113
|
-
:type parameters: IO
|
1055
|
+
:type parameters: IO[bytes]
|
1114
1056
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1115
1057
|
Default value is "application/json".
|
1116
1058
|
:paramtype content_type: str
|
1117
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1118
1059
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1119
1060
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1120
1061
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1128,7 +1069,7 @@ class BlobContainersOperations:
|
|
1128
1069
|
container_name: str,
|
1129
1070
|
immutability_policy_name: Union[str, _models.Enum28],
|
1130
1071
|
if_match: Optional[str] = None,
|
1131
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1072
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1132
1073
|
**kwargs: Any
|
1133
1074
|
) -> _models.ImmutabilityPolicy:
|
1134
1075
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1154,17 +1095,14 @@ class BlobContainersOperations:
|
|
1154
1095
|
omitted, this operation will always be applied. Default value is None.
|
1155
1096
|
:type if_match: str
|
1156
1097
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1157
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1158
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or
|
1159
|
-
|
1160
|
-
Default value is None.
|
1161
|
-
:paramtype content_type: str
|
1162
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1098
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1099
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or
|
1100
|
+
IO[bytes]
|
1163
1101
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1164
1102
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1165
1103
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1166
1104
|
"""
|
1167
|
-
error_map = {
|
1105
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1168
1106
|
401: ClientAuthenticationError,
|
1169
1107
|
404: ResourceNotFoundError,
|
1170
1108
|
409: ResourceExistsError,
|
@@ -1192,7 +1130,7 @@ class BlobContainersOperations:
|
|
1192
1130
|
else:
|
1193
1131
|
_json = None
|
1194
1132
|
|
1195
|
-
|
1133
|
+
_request = build_create_or_update_immutability_policy_request(
|
1196
1134
|
resource_group_name=resource_group_name,
|
1197
1135
|
account_name=account_name,
|
1198
1136
|
container_name=container_name,
|
@@ -1203,16 +1141,15 @@ class BlobContainersOperations:
|
|
1203
1141
|
content_type=content_type,
|
1204
1142
|
json=_json,
|
1205
1143
|
content=_content,
|
1206
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1207
1144
|
headers=_headers,
|
1208
1145
|
params=_params,
|
1209
1146
|
)
|
1210
|
-
|
1211
|
-
|
1147
|
+
_request = _convert_request(_request)
|
1148
|
+
_request.url = self._client.format_url(_request.url)
|
1212
1149
|
|
1213
1150
|
_stream = False
|
1214
1151
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1215
|
-
|
1152
|
+
_request, stream=_stream, **kwargs
|
1216
1153
|
)
|
1217
1154
|
|
1218
1155
|
response = pipeline_response.http_response
|
@@ -1227,13 +1164,9 @@ class BlobContainersOperations:
|
|
1227
1164
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1228
1165
|
|
1229
1166
|
if cls:
|
1230
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1231
|
-
|
1232
|
-
return deserialized
|
1167
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1233
1168
|
|
1234
|
-
|
1235
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1236
|
-
}
|
1169
|
+
return deserialized # type: ignore
|
1237
1170
|
|
1238
1171
|
@distributed_trace_async
|
1239
1172
|
async def get_immutability_policy(
|
@@ -1267,12 +1200,11 @@ class BlobContainersOperations:
|
|
1267
1200
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1268
1201
|
omitted, this operation will always be applied. Default value is None.
|
1269
1202
|
:type if_match: str
|
1270
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1271
1203
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1272
1204
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1273
1205
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1274
1206
|
"""
|
1275
|
-
error_map = {
|
1207
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1276
1208
|
401: ClientAuthenticationError,
|
1277
1209
|
404: ResourceNotFoundError,
|
1278
1210
|
409: ResourceExistsError,
|
@@ -1288,7 +1220,7 @@ class BlobContainersOperations:
|
|
1288
1220
|
)
|
1289
1221
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1290
1222
|
|
1291
|
-
|
1223
|
+
_request = build_get_immutability_policy_request(
|
1292
1224
|
resource_group_name=resource_group_name,
|
1293
1225
|
account_name=account_name,
|
1294
1226
|
container_name=container_name,
|
@@ -1296,16 +1228,15 @@ class BlobContainersOperations:
|
|
1296
1228
|
subscription_id=self._config.subscription_id,
|
1297
1229
|
if_match=if_match,
|
1298
1230
|
api_version=api_version,
|
1299
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1300
1231
|
headers=_headers,
|
1301
1232
|
params=_params,
|
1302
1233
|
)
|
1303
|
-
|
1304
|
-
|
1234
|
+
_request = _convert_request(_request)
|
1235
|
+
_request.url = self._client.format_url(_request.url)
|
1305
1236
|
|
1306
1237
|
_stream = False
|
1307
1238
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1308
|
-
|
1239
|
+
_request, stream=_stream, **kwargs
|
1309
1240
|
)
|
1310
1241
|
|
1311
1242
|
response = pipeline_response.http_response
|
@@ -1320,13 +1251,9 @@ class BlobContainersOperations:
|
|
1320
1251
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1321
1252
|
|
1322
1253
|
if cls:
|
1323
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1324
|
-
|
1325
|
-
return deserialized
|
1254
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1326
1255
|
|
1327
|
-
|
1328
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1329
|
-
}
|
1256
|
+
return deserialized # type: ignore
|
1330
1257
|
|
1331
1258
|
@distributed_trace_async
|
1332
1259
|
async def delete_immutability_policy(
|
@@ -1362,12 +1289,11 @@ class BlobContainersOperations:
|
|
1362
1289
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1363
1290
|
omitted, this operation will always be applied. Required.
|
1364
1291
|
:type if_match: str
|
1365
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1366
1292
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1367
1293
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1368
1294
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1369
1295
|
"""
|
1370
|
-
error_map = {
|
1296
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1371
1297
|
401: ClientAuthenticationError,
|
1372
1298
|
404: ResourceNotFoundError,
|
1373
1299
|
409: ResourceExistsError,
|
@@ -1383,7 +1309,7 @@ class BlobContainersOperations:
|
|
1383
1309
|
)
|
1384
1310
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1385
1311
|
|
1386
|
-
|
1312
|
+
_request = build_delete_immutability_policy_request(
|
1387
1313
|
resource_group_name=resource_group_name,
|
1388
1314
|
account_name=account_name,
|
1389
1315
|
container_name=container_name,
|
@@ -1391,16 +1317,15 @@ class BlobContainersOperations:
|
|
1391
1317
|
subscription_id=self._config.subscription_id,
|
1392
1318
|
if_match=if_match,
|
1393
1319
|
api_version=api_version,
|
1394
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1395
1320
|
headers=_headers,
|
1396
1321
|
params=_params,
|
1397
1322
|
)
|
1398
|
-
|
1399
|
-
|
1323
|
+
_request = _convert_request(_request)
|
1324
|
+
_request.url = self._client.format_url(_request.url)
|
1400
1325
|
|
1401
1326
|
_stream = False
|
1402
1327
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1403
|
-
|
1328
|
+
_request, stream=_stream, **kwargs
|
1404
1329
|
)
|
1405
1330
|
|
1406
1331
|
response = pipeline_response.http_response
|
@@ -1415,13 +1340,9 @@ class BlobContainersOperations:
|
|
1415
1340
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1416
1341
|
|
1417
1342
|
if cls:
|
1418
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1419
|
-
|
1420
|
-
return deserialized
|
1343
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1421
1344
|
|
1422
|
-
|
1423
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1424
|
-
}
|
1345
|
+
return deserialized # type: ignore
|
1425
1346
|
|
1426
1347
|
@distributed_trace_async
|
1427
1348
|
async def lock_immutability_policy(
|
@@ -1446,12 +1367,11 @@ class BlobContainersOperations:
|
|
1446
1367
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1447
1368
|
omitted, this operation will always be applied. Required.
|
1448
1369
|
:type if_match: str
|
1449
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1450
1370
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1451
1371
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1452
1372
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1453
1373
|
"""
|
1454
|
-
error_map = {
|
1374
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1455
1375
|
401: ClientAuthenticationError,
|
1456
1376
|
404: ResourceNotFoundError,
|
1457
1377
|
409: ResourceExistsError,
|
@@ -1467,23 +1387,22 @@ class BlobContainersOperations:
|
|
1467
1387
|
)
|
1468
1388
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1469
1389
|
|
1470
|
-
|
1390
|
+
_request = build_lock_immutability_policy_request(
|
1471
1391
|
resource_group_name=resource_group_name,
|
1472
1392
|
account_name=account_name,
|
1473
1393
|
container_name=container_name,
|
1474
1394
|
subscription_id=self._config.subscription_id,
|
1475
1395
|
if_match=if_match,
|
1476
1396
|
api_version=api_version,
|
1477
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1478
1397
|
headers=_headers,
|
1479
1398
|
params=_params,
|
1480
1399
|
)
|
1481
|
-
|
1482
|
-
|
1400
|
+
_request = _convert_request(_request)
|
1401
|
+
_request.url = self._client.format_url(_request.url)
|
1483
1402
|
|
1484
1403
|
_stream = False
|
1485
1404
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1486
|
-
|
1405
|
+
_request, stream=_stream, **kwargs
|
1487
1406
|
)
|
1488
1407
|
|
1489
1408
|
response = pipeline_response.http_response
|
@@ -1498,13 +1417,9 @@ class BlobContainersOperations:
|
|
1498
1417
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1499
1418
|
|
1500
1419
|
if cls:
|
1501
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1502
|
-
|
1503
|
-
return deserialized
|
1420
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1504
1421
|
|
1505
|
-
|
1506
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
1507
|
-
}
|
1422
|
+
return deserialized # type: ignore
|
1508
1423
|
|
1509
1424
|
@overload
|
1510
1425
|
async def extend_immutability_policy(
|
@@ -1544,7 +1459,6 @@ class BlobContainersOperations:
|
|
1544
1459
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1545
1460
|
Default value is "application/json".
|
1546
1461
|
:paramtype content_type: str
|
1547
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1548
1462
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1549
1463
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1550
1464
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1557,7 +1471,7 @@ class BlobContainersOperations:
|
|
1557
1471
|
account_name: str,
|
1558
1472
|
container_name: str,
|
1559
1473
|
if_match: str,
|
1560
|
-
parameters: Optional[IO] = None,
|
1474
|
+
parameters: Optional[IO[bytes]] = None,
|
1561
1475
|
*,
|
1562
1476
|
content_type: str = "application/json",
|
1563
1477
|
**kwargs: Any
|
@@ -1584,11 +1498,10 @@ class BlobContainersOperations:
|
|
1584
1498
|
:type if_match: str
|
1585
1499
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1586
1500
|
container. Default value is None.
|
1587
|
-
:type parameters: IO
|
1501
|
+
:type parameters: IO[bytes]
|
1588
1502
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1589
1503
|
Default value is "application/json".
|
1590
1504
|
:paramtype content_type: str
|
1591
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1592
1505
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1593
1506
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1594
1507
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1601,7 +1514,7 @@ class BlobContainersOperations:
|
|
1601
1514
|
account_name: str,
|
1602
1515
|
container_name: str,
|
1603
1516
|
if_match: str,
|
1604
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1517
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1605
1518
|
**kwargs: Any
|
1606
1519
|
) -> _models.ImmutabilityPolicy:
|
1607
1520
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -1625,17 +1538,14 @@ class BlobContainersOperations:
|
|
1625
1538
|
omitted, this operation will always be applied. Required.
|
1626
1539
|
:type if_match: str
|
1627
1540
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1628
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1629
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or
|
1630
|
-
|
1631
|
-
Default value is None.
|
1632
|
-
:paramtype content_type: str
|
1633
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1541
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1542
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or
|
1543
|
+
IO[bytes]
|
1634
1544
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1635
1545
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1636
1546
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1637
1547
|
"""
|
1638
|
-
error_map = {
|
1548
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1639
1549
|
401: ClientAuthenticationError,
|
1640
1550
|
404: ResourceNotFoundError,
|
1641
1551
|
409: ResourceExistsError,
|
@@ -1663,7 +1573,7 @@ class BlobContainersOperations:
|
|
1663
1573
|
else:
|
1664
1574
|
_json = None
|
1665
1575
|
|
1666
|
-
|
1576
|
+
_request = build_extend_immutability_policy_request(
|
1667
1577
|
resource_group_name=resource_group_name,
|
1668
1578
|
account_name=account_name,
|
1669
1579
|
container_name=container_name,
|
@@ -1673,16 +1583,15 @@ class BlobContainersOperations:
|
|
1673
1583
|
content_type=content_type,
|
1674
1584
|
json=_json,
|
1675
1585
|
content=_content,
|
1676
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
1677
1586
|
headers=_headers,
|
1678
1587
|
params=_params,
|
1679
1588
|
)
|
1680
|
-
|
1681
|
-
|
1589
|
+
_request = _convert_request(_request)
|
1590
|
+
_request.url = self._client.format_url(_request.url)
|
1682
1591
|
|
1683
1592
|
_stream = False
|
1684
1593
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1685
|
-
|
1594
|
+
_request, stream=_stream, **kwargs
|
1686
1595
|
)
|
1687
1596
|
|
1688
1597
|
response = pipeline_response.http_response
|
@@ -1697,13 +1606,9 @@ class BlobContainersOperations:
|
|
1697
1606
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1698
1607
|
|
1699
1608
|
if cls:
|
1700
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1609
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1701
1610
|
|
1702
|
-
return deserialized
|
1703
|
-
|
1704
|
-
extend_immutability_policy.metadata = {
|
1705
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
1706
|
-
}
|
1611
|
+
return deserialized # type: ignore
|
1707
1612
|
|
1708
1613
|
@overload
|
1709
1614
|
async def lease(
|
@@ -1736,7 +1641,6 @@ class BlobContainersOperations:
|
|
1736
1641
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1737
1642
|
Default value is "application/json".
|
1738
1643
|
:paramtype content_type: str
|
1739
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1740
1644
|
:return: LeaseContainerResponse or the result of cls(response)
|
1741
1645
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerResponse
|
1742
1646
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1748,7 +1652,7 @@ class BlobContainersOperations:
|
|
1748
1652
|
resource_group_name: str,
|
1749
1653
|
account_name: str,
|
1750
1654
|
container_name: str,
|
1751
|
-
parameters: Optional[IO] = None,
|
1655
|
+
parameters: Optional[IO[bytes]] = None,
|
1752
1656
|
*,
|
1753
1657
|
content_type: str = "application/json",
|
1754
1658
|
**kwargs: Any
|
@@ -1769,11 +1673,10 @@ class BlobContainersOperations:
|
|
1769
1673
|
by a letter or number. Required.
|
1770
1674
|
:type container_name: str
|
1771
1675
|
:param parameters: Lease Container request body. Default value is None.
|
1772
|
-
:type parameters: IO
|
1676
|
+
:type parameters: IO[bytes]
|
1773
1677
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1774
1678
|
Default value is "application/json".
|
1775
1679
|
:paramtype content_type: str
|
1776
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1777
1680
|
:return: LeaseContainerResponse or the result of cls(response)
|
1778
1681
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerResponse
|
1779
1682
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1785,7 +1688,7 @@ class BlobContainersOperations:
|
|
1785
1688
|
resource_group_name: str,
|
1786
1689
|
account_name: str,
|
1787
1690
|
container_name: str,
|
1788
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
1691
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
1789
1692
|
**kwargs: Any
|
1790
1693
|
) -> _models.LeaseContainerResponse:
|
1791
1694
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -1803,18 +1706,15 @@ class BlobContainersOperations:
|
|
1803
1706
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1804
1707
|
by a letter or number. Required.
|
1805
1708
|
:type container_name: str
|
1806
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
1807
|
-
type. Default value is None.
|
1808
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerRequest or
|
1809
|
-
|
1810
|
-
Default value is None.
|
1811
|
-
:paramtype content_type: str
|
1812
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1709
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
1710
|
+
IO[bytes] type. Default value is None.
|
1711
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerRequest or
|
1712
|
+
IO[bytes]
|
1813
1713
|
:return: LeaseContainerResponse or the result of cls(response)
|
1814
1714
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerResponse
|
1815
1715
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1816
1716
|
"""
|
1817
|
-
error_map = {
|
1717
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1818
1718
|
401: ClientAuthenticationError,
|
1819
1719
|
404: ResourceNotFoundError,
|
1820
1720
|
409: ResourceExistsError,
|
@@ -1842,7 +1742,7 @@ class BlobContainersOperations:
|
|
1842
1742
|
else:
|
1843
1743
|
_json = None
|
1844
1744
|
|
1845
|
-
|
1745
|
+
_request = build_lease_request(
|
1846
1746
|
resource_group_name=resource_group_name,
|
1847
1747
|
account_name=account_name,
|
1848
1748
|
container_name=container_name,
|
@@ -1851,16 +1751,15 @@ class BlobContainersOperations:
|
|
1851
1751
|
content_type=content_type,
|
1852
1752
|
json=_json,
|
1853
1753
|
content=_content,
|
1854
|
-
template_url=self.lease.metadata["url"],
|
1855
1754
|
headers=_headers,
|
1856
1755
|
params=_params,
|
1857
1756
|
)
|
1858
|
-
|
1859
|
-
|
1757
|
+
_request = _convert_request(_request)
|
1758
|
+
_request.url = self._client.format_url(_request.url)
|
1860
1759
|
|
1861
1760
|
_stream = False
|
1862
1761
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1863
|
-
|
1762
|
+
_request, stream=_stream, **kwargs
|
1864
1763
|
)
|
1865
1764
|
|
1866
1765
|
response = pipeline_response.http_response
|
@@ -1872,10 +1771,6 @@ class BlobContainersOperations:
|
|
1872
1771
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
1873
1772
|
|
1874
1773
|
if cls:
|
1875
|
-
return cls(pipeline_response, deserialized, {})
|
1876
|
-
|
1877
|
-
return deserialized
|
1774
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1878
1775
|
|
1879
|
-
|
1880
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
1881
|
-
}
|
1776
|
+
return deserialized # type: ignore
|