azure-mgmt-storage 21.1.0__py3-none-any.whl → 21.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azure/mgmt/storage/_configuration.py +2 -3
- azure/mgmt/storage/_serialization.py +41 -49
- azure/mgmt/storage/_storage_management_client.py +142 -2
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_configuration.py +2 -3
- azure/mgmt/storage/aio/_storage_management_client.py +142 -2
- azure/mgmt/storage/models.py +1 -1
- azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
- azure/mgmt/storage/v2015_06_15/_version.py +1 -1
- azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
- azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2016_01_01/_version.py +1 -1
- azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
- azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2016_12_01/_version.py +1 -1
- azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
- azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_06_01/_version.py +1 -1
- azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_10_01/_version.py +1 -1
- azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_02_01/_version.py +1 -1
- azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
- azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
- azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
- azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_07_01/_version.py +1 -1
- azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
- azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_11_01/_version.py +1 -1
- azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
- azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
- azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
- azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
- azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_04_01/_version.py +1 -1
- azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
- azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
- azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
- azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_06_01/_version.py +1 -1
- azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
- azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_01_01/_version.py +1 -1
- azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_02_01/_version.py +1 -1
- azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
- azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_04_01/_version.py +1 -1
- azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
- azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_06_01/_version.py +1 -1
- azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_08_01/_version.py +1 -1
- azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
- azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_09_01/_version.py +1 -1
- azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_05_01/_version.py +1 -1
- azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_09_01/_version.py +1 -1
- azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2023_01_01/_version.py +1 -1
- azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
- azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
- azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
- azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
- azure/mgmt/storage/v2023_05_01/_version.py +9 -0
- azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
- azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
- azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
- azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
- azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
- azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
- azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
- azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
- azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
- azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
- azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
- azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
- azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
- azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
1
|
+
# pylint: disable=too-many-lines,too-many-statements
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -7,7 +7,8 @@
|
|
7
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
8
|
# --------------------------------------------------------------------------
|
9
9
|
from io import IOBase
|
10
|
-
|
10
|
+
import sys
|
11
|
+
from typing import Any, Callable, Dict, IO, Iterable, Optional, Type, TypeVar, Union, cast, overload
|
11
12
|
import urllib.parse
|
12
13
|
|
13
14
|
from azure.core.exceptions import (
|
@@ -32,6 +33,10 @@ from .. import models as _models
|
|
32
33
|
from ..._serialization import Serializer
|
33
34
|
from .._vendor import _convert_request
|
34
35
|
|
36
|
+
if sys.version_info >= (3, 9):
|
37
|
+
from collections.abc import MutableMapping
|
38
|
+
else:
|
39
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
35
40
|
T = TypeVar("T")
|
36
41
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
|
37
42
|
|
@@ -295,7 +300,7 @@ def build_clear_legal_hold_request(
|
|
295
300
|
return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
|
296
301
|
|
297
302
|
|
298
|
-
def build_create_or_update_immutability_policy_request(
|
303
|
+
def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
|
299
304
|
resource_group_name: str,
|
300
305
|
account_name: str,
|
301
306
|
container_name: str,
|
@@ -634,7 +639,6 @@ class BlobContainersOperations:
|
|
634
639
|
:param include: Optional, used to include the properties for soft deleted blob containers.
|
635
640
|
"deleted" Default value is None.
|
636
641
|
:type include: str or ~azure.mgmt.storage.v2021_04_01.models.ListContainersInclude
|
637
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
638
642
|
:return: An iterator like instance of either ListContainerItem or the result of cls(response)
|
639
643
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_04_01.models.ListContainerItem]
|
640
644
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -645,7 +649,7 @@ class BlobContainersOperations:
|
|
645
649
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
646
650
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
647
651
|
|
648
|
-
error_map = {
|
652
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
649
653
|
401: ClientAuthenticationError,
|
650
654
|
404: ResourceNotFoundError,
|
651
655
|
409: ResourceExistsError,
|
@@ -656,7 +660,7 @@ class BlobContainersOperations:
|
|
656
660
|
def prepare_request(next_link=None):
|
657
661
|
if not next_link:
|
658
662
|
|
659
|
-
|
663
|
+
_request = build_list_request(
|
660
664
|
resource_group_name=resource_group_name,
|
661
665
|
account_name=account_name,
|
662
666
|
subscription_id=self._config.subscription_id,
|
@@ -664,12 +668,11 @@ class BlobContainersOperations:
|
|
664
668
|
filter=filter,
|
665
669
|
include=include,
|
666
670
|
api_version=api_version,
|
667
|
-
template_url=self.list.metadata["url"],
|
668
671
|
headers=_headers,
|
669
672
|
params=_params,
|
670
673
|
)
|
671
|
-
|
672
|
-
|
674
|
+
_request = _convert_request(_request)
|
675
|
+
_request.url = self._client.format_url(_request.url)
|
673
676
|
|
674
677
|
else:
|
675
678
|
# make call to next link with the client's api-version
|
@@ -680,14 +683,14 @@ class BlobContainersOperations:
|
|
680
683
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
681
684
|
}
|
682
685
|
)
|
683
|
-
_next_request_params["api-version"] = self.
|
684
|
-
|
686
|
+
_next_request_params["api-version"] = self._api_version
|
687
|
+
_request = HttpRequest(
|
685
688
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
686
689
|
)
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
return
|
690
|
+
_request = _convert_request(_request)
|
691
|
+
_request.url = self._client.format_url(_request.url)
|
692
|
+
_request.method = "GET"
|
693
|
+
return _request
|
691
694
|
|
692
695
|
def extract_data(pipeline_response):
|
693
696
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
@@ -697,11 +700,11 @@ class BlobContainersOperations:
|
|
697
700
|
return deserialized.next_link or None, iter(list_of_elem)
|
698
701
|
|
699
702
|
def get_next(next_link=None):
|
700
|
-
|
703
|
+
_request = prepare_request(next_link)
|
701
704
|
|
702
705
|
_stream = False
|
703
706
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
704
|
-
|
707
|
+
_request, stream=_stream, **kwargs
|
705
708
|
)
|
706
709
|
response = pipeline_response.http_response
|
707
710
|
|
@@ -713,10 +716,6 @@ class BlobContainersOperations:
|
|
713
716
|
|
714
717
|
return ItemPaged(get_next, extract_data)
|
715
718
|
|
716
|
-
list.metadata = {
|
717
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
718
|
-
}
|
719
|
-
|
720
719
|
@overload
|
721
720
|
def create(
|
722
721
|
self,
|
@@ -749,7 +748,6 @@ class BlobContainersOperations:
|
|
749
748
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
750
749
|
Default value is "application/json".
|
751
750
|
:paramtype content_type: str
|
752
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
753
751
|
:return: BlobContainer or the result of cls(response)
|
754
752
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
755
753
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -761,7 +759,7 @@ class BlobContainersOperations:
|
|
761
759
|
resource_group_name: str,
|
762
760
|
account_name: str,
|
763
761
|
container_name: str,
|
764
|
-
blob_container: IO,
|
762
|
+
blob_container: IO[bytes],
|
765
763
|
*,
|
766
764
|
content_type: str = "application/json",
|
767
765
|
**kwargs: Any
|
@@ -783,11 +781,10 @@ class BlobContainersOperations:
|
|
783
781
|
by a letter or number. Required.
|
784
782
|
:type container_name: str
|
785
783
|
:param blob_container: Properties of the blob container to create. Required.
|
786
|
-
:type blob_container: IO
|
784
|
+
:type blob_container: IO[bytes]
|
787
785
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
788
786
|
Default value is "application/json".
|
789
787
|
:paramtype content_type: str
|
790
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
791
788
|
:return: BlobContainer or the result of cls(response)
|
792
789
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
793
790
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -799,7 +796,7 @@ class BlobContainersOperations:
|
|
799
796
|
resource_group_name: str,
|
800
797
|
account_name: str,
|
801
798
|
container_name: str,
|
802
|
-
blob_container: Union[_models.BlobContainer, IO],
|
799
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
803
800
|
**kwargs: Any
|
804
801
|
) -> _models.BlobContainer:
|
805
802
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -819,17 +816,13 @@ class BlobContainersOperations:
|
|
819
816
|
by a letter or number. Required.
|
820
817
|
:type container_name: str
|
821
818
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
822
|
-
type or a IO type. Required.
|
823
|
-
:type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO
|
824
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
825
|
-
Default value is None.
|
826
|
-
:paramtype content_type: str
|
827
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
819
|
+
type or a IO[bytes] type. Required.
|
820
|
+
:type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO[bytes]
|
828
821
|
:return: BlobContainer or the result of cls(response)
|
829
822
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
830
823
|
:raises ~azure.core.exceptions.HttpResponseError:
|
831
824
|
"""
|
832
|
-
error_map = {
|
825
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
833
826
|
401: ClientAuthenticationError,
|
834
827
|
404: ResourceNotFoundError,
|
835
828
|
409: ResourceExistsError,
|
@@ -852,7 +845,7 @@ class BlobContainersOperations:
|
|
852
845
|
else:
|
853
846
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
854
847
|
|
855
|
-
|
848
|
+
_request = build_create_request(
|
856
849
|
resource_group_name=resource_group_name,
|
857
850
|
account_name=account_name,
|
858
851
|
container_name=container_name,
|
@@ -861,16 +854,15 @@ class BlobContainersOperations:
|
|
861
854
|
content_type=content_type,
|
862
855
|
json=_json,
|
863
856
|
content=_content,
|
864
|
-
template_url=self.create.metadata["url"],
|
865
857
|
headers=_headers,
|
866
858
|
params=_params,
|
867
859
|
)
|
868
|
-
|
869
|
-
|
860
|
+
_request = _convert_request(_request)
|
861
|
+
_request.url = self._client.format_url(_request.url)
|
870
862
|
|
871
863
|
_stream = False
|
872
864
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
873
|
-
|
865
|
+
_request, stream=_stream, **kwargs
|
874
866
|
)
|
875
867
|
|
876
868
|
response = pipeline_response.http_response
|
@@ -890,10 +882,6 @@ class BlobContainersOperations:
|
|
890
882
|
|
891
883
|
return deserialized # type: ignore
|
892
884
|
|
893
|
-
create.metadata = {
|
894
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
895
|
-
}
|
896
|
-
|
897
885
|
@overload
|
898
886
|
def update(
|
899
887
|
self,
|
@@ -925,7 +913,6 @@ class BlobContainersOperations:
|
|
925
913
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
926
914
|
Default value is "application/json".
|
927
915
|
:paramtype content_type: str
|
928
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
929
916
|
:return: BlobContainer or the result of cls(response)
|
930
917
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
931
918
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -937,7 +924,7 @@ class BlobContainersOperations:
|
|
937
924
|
resource_group_name: str,
|
938
925
|
account_name: str,
|
939
926
|
container_name: str,
|
940
|
-
blob_container: IO,
|
927
|
+
blob_container: IO[bytes],
|
941
928
|
*,
|
942
929
|
content_type: str = "application/json",
|
943
930
|
**kwargs: Any
|
@@ -958,11 +945,10 @@ class BlobContainersOperations:
|
|
958
945
|
by a letter or number. Required.
|
959
946
|
:type container_name: str
|
960
947
|
:param blob_container: Properties to update for the blob container. Required.
|
961
|
-
:type blob_container: IO
|
948
|
+
:type blob_container: IO[bytes]
|
962
949
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
963
950
|
Default value is "application/json".
|
964
951
|
:paramtype content_type: str
|
965
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
966
952
|
:return: BlobContainer or the result of cls(response)
|
967
953
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
968
954
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -974,7 +960,7 @@ class BlobContainersOperations:
|
|
974
960
|
resource_group_name: str,
|
975
961
|
account_name: str,
|
976
962
|
container_name: str,
|
977
|
-
blob_container: Union[_models.BlobContainer, IO],
|
963
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
978
964
|
**kwargs: Any
|
979
965
|
) -> _models.BlobContainer:
|
980
966
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -993,17 +979,13 @@ class BlobContainersOperations:
|
|
993
979
|
by a letter or number. Required.
|
994
980
|
:type container_name: str
|
995
981
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
996
|
-
type or a IO type. Required.
|
997
|
-
:type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO
|
998
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
999
|
-
Default value is None.
|
1000
|
-
:paramtype content_type: str
|
1001
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
982
|
+
type or a IO[bytes] type. Required.
|
983
|
+
:type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO[bytes]
|
1002
984
|
:return: BlobContainer or the result of cls(response)
|
1003
985
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
1004
986
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1005
987
|
"""
|
1006
|
-
error_map = {
|
988
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1007
989
|
401: ClientAuthenticationError,
|
1008
990
|
404: ResourceNotFoundError,
|
1009
991
|
409: ResourceExistsError,
|
@@ -1026,7 +1008,7 @@ class BlobContainersOperations:
|
|
1026
1008
|
else:
|
1027
1009
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
1028
1010
|
|
1029
|
-
|
1011
|
+
_request = build_update_request(
|
1030
1012
|
resource_group_name=resource_group_name,
|
1031
1013
|
account_name=account_name,
|
1032
1014
|
container_name=container_name,
|
@@ -1035,16 +1017,15 @@ class BlobContainersOperations:
|
|
1035
1017
|
content_type=content_type,
|
1036
1018
|
json=_json,
|
1037
1019
|
content=_content,
|
1038
|
-
template_url=self.update.metadata["url"],
|
1039
1020
|
headers=_headers,
|
1040
1021
|
params=_params,
|
1041
1022
|
)
|
1042
|
-
|
1043
|
-
|
1023
|
+
_request = _convert_request(_request)
|
1024
|
+
_request.url = self._client.format_url(_request.url)
|
1044
1025
|
|
1045
1026
|
_stream = False
|
1046
1027
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1047
|
-
|
1028
|
+
_request, stream=_stream, **kwargs
|
1048
1029
|
)
|
1049
1030
|
|
1050
1031
|
response = pipeline_response.http_response
|
@@ -1056,13 +1037,9 @@ class BlobContainersOperations:
|
|
1056
1037
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
1057
1038
|
|
1058
1039
|
if cls:
|
1059
|
-
return cls(pipeline_response, deserialized, {})
|
1060
|
-
|
1061
|
-
return deserialized
|
1040
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1062
1041
|
|
1063
|
-
|
1064
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1065
|
-
}
|
1042
|
+
return deserialized # type: ignore
|
1066
1043
|
|
1067
1044
|
@distributed_trace
|
1068
1045
|
def get(
|
@@ -1082,12 +1059,11 @@ class BlobContainersOperations:
|
|
1082
1059
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1083
1060
|
by a letter or number. Required.
|
1084
1061
|
:type container_name: str
|
1085
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1086
1062
|
:return: BlobContainer or the result of cls(response)
|
1087
1063
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
|
1088
1064
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1089
1065
|
"""
|
1090
|
-
error_map = {
|
1066
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1091
1067
|
401: ClientAuthenticationError,
|
1092
1068
|
404: ResourceNotFoundError,
|
1093
1069
|
409: ResourceExistsError,
|
@@ -1101,22 +1077,21 @@ class BlobContainersOperations:
|
|
1101
1077
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1102
1078
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
1103
1079
|
|
1104
|
-
|
1080
|
+
_request = build_get_request(
|
1105
1081
|
resource_group_name=resource_group_name,
|
1106
1082
|
account_name=account_name,
|
1107
1083
|
container_name=container_name,
|
1108
1084
|
subscription_id=self._config.subscription_id,
|
1109
1085
|
api_version=api_version,
|
1110
|
-
template_url=self.get.metadata["url"],
|
1111
1086
|
headers=_headers,
|
1112
1087
|
params=_params,
|
1113
1088
|
)
|
1114
|
-
|
1115
|
-
|
1089
|
+
_request = _convert_request(_request)
|
1090
|
+
_request.url = self._client.format_url(_request.url)
|
1116
1091
|
|
1117
1092
|
_stream = False
|
1118
1093
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1119
|
-
|
1094
|
+
_request, stream=_stream, **kwargs
|
1120
1095
|
)
|
1121
1096
|
|
1122
1097
|
response = pipeline_response.http_response
|
@@ -1128,13 +1103,9 @@ class BlobContainersOperations:
|
|
1128
1103
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
1129
1104
|
|
1130
1105
|
if cls:
|
1131
|
-
return cls(pipeline_response, deserialized, {})
|
1132
|
-
|
1133
|
-
return deserialized
|
1106
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1134
1107
|
|
1135
|
-
|
1136
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1137
|
-
}
|
1108
|
+
return deserialized # type: ignore
|
1138
1109
|
|
1139
1110
|
@distributed_trace
|
1140
1111
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -1154,12 +1125,11 @@ class BlobContainersOperations:
|
|
1154
1125
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1155
1126
|
by a letter or number. Required.
|
1156
1127
|
:type container_name: str
|
1157
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1158
1128
|
:return: None or the result of cls(response)
|
1159
1129
|
:rtype: None
|
1160
1130
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1161
1131
|
"""
|
1162
|
-
error_map = {
|
1132
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1163
1133
|
401: ClientAuthenticationError,
|
1164
1134
|
404: ResourceNotFoundError,
|
1165
1135
|
409: ResourceExistsError,
|
@@ -1173,22 +1143,21 @@ class BlobContainersOperations:
|
|
1173
1143
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1174
1144
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1175
1145
|
|
1176
|
-
|
1146
|
+
_request = build_delete_request(
|
1177
1147
|
resource_group_name=resource_group_name,
|
1178
1148
|
account_name=account_name,
|
1179
1149
|
container_name=container_name,
|
1180
1150
|
subscription_id=self._config.subscription_id,
|
1181
1151
|
api_version=api_version,
|
1182
|
-
template_url=self.delete.metadata["url"],
|
1183
1152
|
headers=_headers,
|
1184
1153
|
params=_params,
|
1185
1154
|
)
|
1186
|
-
|
1187
|
-
|
1155
|
+
_request = _convert_request(_request)
|
1156
|
+
_request.url = self._client.format_url(_request.url)
|
1188
1157
|
|
1189
1158
|
_stream = False
|
1190
1159
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1191
|
-
|
1160
|
+
_request, stream=_stream, **kwargs
|
1192
1161
|
)
|
1193
1162
|
|
1194
1163
|
response = pipeline_response.http_response
|
@@ -1198,11 +1167,7 @@ class BlobContainersOperations:
|
|
1198
1167
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1199
1168
|
|
1200
1169
|
if cls:
|
1201
|
-
return cls(pipeline_response, None, {})
|
1202
|
-
|
1203
|
-
delete.metadata = {
|
1204
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1205
|
-
}
|
1170
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1206
1171
|
|
1207
1172
|
@overload
|
1208
1173
|
def set_legal_hold(
|
@@ -1236,7 +1201,6 @@ class BlobContainersOperations:
|
|
1236
1201
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1237
1202
|
Default value is "application/json".
|
1238
1203
|
:paramtype content_type: str
|
1239
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1240
1204
|
:return: LegalHold or the result of cls(response)
|
1241
1205
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
1242
1206
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1248,7 +1212,7 @@ class BlobContainersOperations:
|
|
1248
1212
|
resource_group_name: str,
|
1249
1213
|
account_name: str,
|
1250
1214
|
container_name: str,
|
1251
|
-
legal_hold: IO,
|
1215
|
+
legal_hold: IO[bytes],
|
1252
1216
|
*,
|
1253
1217
|
content_type: str = "application/json",
|
1254
1218
|
**kwargs: Any
|
@@ -1270,11 +1234,10 @@ class BlobContainersOperations:
|
|
1270
1234
|
by a letter or number. Required.
|
1271
1235
|
:type container_name: str
|
1272
1236
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
1273
|
-
:type legal_hold: IO
|
1237
|
+
:type legal_hold: IO[bytes]
|
1274
1238
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1275
1239
|
Default value is "application/json".
|
1276
1240
|
:paramtype content_type: str
|
1277
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1278
1241
|
:return: LegalHold or the result of cls(response)
|
1279
1242
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
1280
1243
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1286,7 +1249,7 @@ class BlobContainersOperations:
|
|
1286
1249
|
resource_group_name: str,
|
1287
1250
|
account_name: str,
|
1288
1251
|
container_name: str,
|
1289
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1252
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1290
1253
|
**kwargs: Any
|
1291
1254
|
) -> _models.LegalHold:
|
1292
1255
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -1306,17 +1269,13 @@ class BlobContainersOperations:
|
|
1306
1269
|
by a letter or number. Required.
|
1307
1270
|
:type container_name: str
|
1308
1271
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
1309
|
-
LegalHold type or a IO type. Required.
|
1310
|
-
:type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO
|
1311
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1312
|
-
Default value is None.
|
1313
|
-
:paramtype content_type: str
|
1314
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1272
|
+
LegalHold type or a IO[bytes] type. Required.
|
1273
|
+
:type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO[bytes]
|
1315
1274
|
:return: LegalHold or the result of cls(response)
|
1316
1275
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
1317
1276
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1318
1277
|
"""
|
1319
|
-
error_map = {
|
1278
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1320
1279
|
401: ClientAuthenticationError,
|
1321
1280
|
404: ResourceNotFoundError,
|
1322
1281
|
409: ResourceExistsError,
|
@@ -1339,7 +1298,7 @@ class BlobContainersOperations:
|
|
1339
1298
|
else:
|
1340
1299
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1341
1300
|
|
1342
|
-
|
1301
|
+
_request = build_set_legal_hold_request(
|
1343
1302
|
resource_group_name=resource_group_name,
|
1344
1303
|
account_name=account_name,
|
1345
1304
|
container_name=container_name,
|
@@ -1348,16 +1307,15 @@ class BlobContainersOperations:
|
|
1348
1307
|
content_type=content_type,
|
1349
1308
|
json=_json,
|
1350
1309
|
content=_content,
|
1351
|
-
template_url=self.set_legal_hold.metadata["url"],
|
1352
1310
|
headers=_headers,
|
1353
1311
|
params=_params,
|
1354
1312
|
)
|
1355
|
-
|
1356
|
-
|
1313
|
+
_request = _convert_request(_request)
|
1314
|
+
_request.url = self._client.format_url(_request.url)
|
1357
1315
|
|
1358
1316
|
_stream = False
|
1359
1317
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1360
|
-
|
1318
|
+
_request, stream=_stream, **kwargs
|
1361
1319
|
)
|
1362
1320
|
|
1363
1321
|
response = pipeline_response.http_response
|
@@ -1369,13 +1327,9 @@ class BlobContainersOperations:
|
|
1369
1327
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1370
1328
|
|
1371
1329
|
if cls:
|
1372
|
-
return cls(pipeline_response, deserialized, {})
|
1373
|
-
|
1374
|
-
return deserialized
|
1330
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1375
1331
|
|
1376
|
-
|
1377
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
1378
|
-
}
|
1332
|
+
return deserialized # type: ignore
|
1379
1333
|
|
1380
1334
|
@overload
|
1381
1335
|
def clear_legal_hold(
|
@@ -1408,7 +1362,6 @@ class BlobContainersOperations:
|
|
1408
1362
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1409
1363
|
Default value is "application/json".
|
1410
1364
|
:paramtype content_type: str
|
1411
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1412
1365
|
:return: LegalHold or the result of cls(response)
|
1413
1366
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
1414
1367
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1420,7 +1373,7 @@ class BlobContainersOperations:
|
|
1420
1373
|
resource_group_name: str,
|
1421
1374
|
account_name: str,
|
1422
1375
|
container_name: str,
|
1423
|
-
legal_hold: IO,
|
1376
|
+
legal_hold: IO[bytes],
|
1424
1377
|
*,
|
1425
1378
|
content_type: str = "application/json",
|
1426
1379
|
**kwargs: Any
|
@@ -1441,11 +1394,10 @@ class BlobContainersOperations:
|
|
1441
1394
|
by a letter or number. Required.
|
1442
1395
|
:type container_name: str
|
1443
1396
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
1444
|
-
:type legal_hold: IO
|
1397
|
+
:type legal_hold: IO[bytes]
|
1445
1398
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1446
1399
|
Default value is "application/json".
|
1447
1400
|
:paramtype content_type: str
|
1448
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1449
1401
|
:return: LegalHold or the result of cls(response)
|
1450
1402
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
1451
1403
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1457,7 +1409,7 @@ class BlobContainersOperations:
|
|
1457
1409
|
resource_group_name: str,
|
1458
1410
|
account_name: str,
|
1459
1411
|
container_name: str,
|
1460
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1412
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1461
1413
|
**kwargs: Any
|
1462
1414
|
) -> _models.LegalHold:
|
1463
1415
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -1476,17 +1428,13 @@ class BlobContainersOperations:
|
|
1476
1428
|
by a letter or number. Required.
|
1477
1429
|
:type container_name: str
|
1478
1430
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
1479
|
-
LegalHold type or a IO type. Required.
|
1480
|
-
:type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO
|
1481
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1482
|
-
Default value is None.
|
1483
|
-
:paramtype content_type: str
|
1484
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1431
|
+
LegalHold type or a IO[bytes] type. Required.
|
1432
|
+
:type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO[bytes]
|
1485
1433
|
:return: LegalHold or the result of cls(response)
|
1486
1434
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
|
1487
1435
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1488
1436
|
"""
|
1489
|
-
error_map = {
|
1437
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1490
1438
|
401: ClientAuthenticationError,
|
1491
1439
|
404: ResourceNotFoundError,
|
1492
1440
|
409: ResourceExistsError,
|
@@ -1509,7 +1457,7 @@ class BlobContainersOperations:
|
|
1509
1457
|
else:
|
1510
1458
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1511
1459
|
|
1512
|
-
|
1460
|
+
_request = build_clear_legal_hold_request(
|
1513
1461
|
resource_group_name=resource_group_name,
|
1514
1462
|
account_name=account_name,
|
1515
1463
|
container_name=container_name,
|
@@ -1518,16 +1466,15 @@ class BlobContainersOperations:
|
|
1518
1466
|
content_type=content_type,
|
1519
1467
|
json=_json,
|
1520
1468
|
content=_content,
|
1521
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
1522
1469
|
headers=_headers,
|
1523
1470
|
params=_params,
|
1524
1471
|
)
|
1525
|
-
|
1526
|
-
|
1472
|
+
_request = _convert_request(_request)
|
1473
|
+
_request.url = self._client.format_url(_request.url)
|
1527
1474
|
|
1528
1475
|
_stream = False
|
1529
1476
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1530
|
-
|
1477
|
+
_request, stream=_stream, **kwargs
|
1531
1478
|
)
|
1532
1479
|
|
1533
1480
|
response = pipeline_response.http_response
|
@@ -1539,13 +1486,9 @@ class BlobContainersOperations:
|
|
1539
1486
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1540
1487
|
|
1541
1488
|
if cls:
|
1542
|
-
return cls(pipeline_response, deserialized, {})
|
1543
|
-
|
1544
|
-
return deserialized
|
1489
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1545
1490
|
|
1546
|
-
|
1547
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
1548
|
-
}
|
1491
|
+
return deserialized # type: ignore
|
1549
1492
|
|
1550
1493
|
@overload
|
1551
1494
|
def create_or_update_immutability_policy(
|
@@ -1588,7 +1531,6 @@ class BlobContainersOperations:
|
|
1588
1531
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1589
1532
|
Default value is "application/json".
|
1590
1533
|
:paramtype content_type: str
|
1591
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1592
1534
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1593
1535
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1594
1536
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1602,7 +1544,7 @@ class BlobContainersOperations:
|
|
1602
1544
|
container_name: str,
|
1603
1545
|
immutability_policy_name: Union[str, _models.Enum35],
|
1604
1546
|
if_match: Optional[str] = None,
|
1605
|
-
parameters: Optional[IO] = None,
|
1547
|
+
parameters: Optional[IO[bytes]] = None,
|
1606
1548
|
*,
|
1607
1549
|
content_type: str = "application/json",
|
1608
1550
|
**kwargs: Any
|
@@ -1631,11 +1573,10 @@ class BlobContainersOperations:
|
|
1631
1573
|
:type if_match: str
|
1632
1574
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1633
1575
|
container. Default value is None.
|
1634
|
-
:type parameters: IO
|
1576
|
+
:type parameters: IO[bytes]
|
1635
1577
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1636
1578
|
Default value is "application/json".
|
1637
1579
|
:paramtype content_type: str
|
1638
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1639
1580
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1640
1581
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1641
1582
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1649,7 +1590,7 @@ class BlobContainersOperations:
|
|
1649
1590
|
container_name: str,
|
1650
1591
|
immutability_policy_name: Union[str, _models.Enum35],
|
1651
1592
|
if_match: Optional[str] = None,
|
1652
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1593
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1653
1594
|
**kwargs: Any
|
1654
1595
|
) -> _models.ImmutabilityPolicy:
|
1655
1596
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1675,17 +1616,13 @@ class BlobContainersOperations:
|
|
1675
1616
|
omitted, this operation will always be applied. Default value is None.
|
1676
1617
|
:type if_match: str
|
1677
1618
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1678
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1679
|
-
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO
|
1680
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1681
|
-
Default value is None.
|
1682
|
-
:paramtype content_type: str
|
1683
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1619
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1620
|
+
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO[bytes]
|
1684
1621
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1685
1622
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1686
1623
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1687
1624
|
"""
|
1688
|
-
error_map = {
|
1625
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1689
1626
|
401: ClientAuthenticationError,
|
1690
1627
|
404: ResourceNotFoundError,
|
1691
1628
|
409: ResourceExistsError,
|
@@ -1711,7 +1648,7 @@ class BlobContainersOperations:
|
|
1711
1648
|
else:
|
1712
1649
|
_json = None
|
1713
1650
|
|
1714
|
-
|
1651
|
+
_request = build_create_or_update_immutability_policy_request(
|
1715
1652
|
resource_group_name=resource_group_name,
|
1716
1653
|
account_name=account_name,
|
1717
1654
|
container_name=container_name,
|
@@ -1722,16 +1659,15 @@ class BlobContainersOperations:
|
|
1722
1659
|
content_type=content_type,
|
1723
1660
|
json=_json,
|
1724
1661
|
content=_content,
|
1725
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1726
1662
|
headers=_headers,
|
1727
1663
|
params=_params,
|
1728
1664
|
)
|
1729
|
-
|
1730
|
-
|
1665
|
+
_request = _convert_request(_request)
|
1666
|
+
_request.url = self._client.format_url(_request.url)
|
1731
1667
|
|
1732
1668
|
_stream = False
|
1733
1669
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1734
|
-
|
1670
|
+
_request, stream=_stream, **kwargs
|
1735
1671
|
)
|
1736
1672
|
|
1737
1673
|
response = pipeline_response.http_response
|
@@ -1746,13 +1682,9 @@ class BlobContainersOperations:
|
|
1746
1682
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1747
1683
|
|
1748
1684
|
if cls:
|
1749
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1750
|
-
|
1751
|
-
return deserialized
|
1685
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1752
1686
|
|
1753
|
-
|
1754
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1755
|
-
}
|
1687
|
+
return deserialized # type: ignore
|
1756
1688
|
|
1757
1689
|
@distributed_trace
|
1758
1690
|
def get_immutability_policy(
|
@@ -1786,12 +1718,11 @@ class BlobContainersOperations:
|
|
1786
1718
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1787
1719
|
omitted, this operation will always be applied. Default value is None.
|
1788
1720
|
:type if_match: str
|
1789
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1790
1721
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1791
1722
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1792
1723
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1793
1724
|
"""
|
1794
|
-
error_map = {
|
1725
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1795
1726
|
401: ClientAuthenticationError,
|
1796
1727
|
404: ResourceNotFoundError,
|
1797
1728
|
409: ResourceExistsError,
|
@@ -1805,7 +1736,7 @@ class BlobContainersOperations:
|
|
1805
1736
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1806
1737
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1807
1738
|
|
1808
|
-
|
1739
|
+
_request = build_get_immutability_policy_request(
|
1809
1740
|
resource_group_name=resource_group_name,
|
1810
1741
|
account_name=account_name,
|
1811
1742
|
container_name=container_name,
|
@@ -1813,16 +1744,15 @@ class BlobContainersOperations:
|
|
1813
1744
|
subscription_id=self._config.subscription_id,
|
1814
1745
|
if_match=if_match,
|
1815
1746
|
api_version=api_version,
|
1816
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1817
1747
|
headers=_headers,
|
1818
1748
|
params=_params,
|
1819
1749
|
)
|
1820
|
-
|
1821
|
-
|
1750
|
+
_request = _convert_request(_request)
|
1751
|
+
_request.url = self._client.format_url(_request.url)
|
1822
1752
|
|
1823
1753
|
_stream = False
|
1824
1754
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1825
|
-
|
1755
|
+
_request, stream=_stream, **kwargs
|
1826
1756
|
)
|
1827
1757
|
|
1828
1758
|
response = pipeline_response.http_response
|
@@ -1837,13 +1767,9 @@ class BlobContainersOperations:
|
|
1837
1767
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1838
1768
|
|
1839
1769
|
if cls:
|
1840
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1770
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1841
1771
|
|
1842
|
-
return deserialized
|
1843
|
-
|
1844
|
-
get_immutability_policy.metadata = {
|
1845
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1846
|
-
}
|
1772
|
+
return deserialized # type: ignore
|
1847
1773
|
|
1848
1774
|
@distributed_trace
|
1849
1775
|
def delete_immutability_policy(
|
@@ -1879,12 +1805,11 @@ class BlobContainersOperations:
|
|
1879
1805
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1880
1806
|
omitted, this operation will always be applied. Required.
|
1881
1807
|
:type if_match: str
|
1882
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1883
1808
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1884
1809
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1885
1810
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1886
1811
|
"""
|
1887
|
-
error_map = {
|
1812
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1888
1813
|
401: ClientAuthenticationError,
|
1889
1814
|
404: ResourceNotFoundError,
|
1890
1815
|
409: ResourceExistsError,
|
@@ -1898,7 +1823,7 @@ class BlobContainersOperations:
|
|
1898
1823
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1899
1824
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1900
1825
|
|
1901
|
-
|
1826
|
+
_request = build_delete_immutability_policy_request(
|
1902
1827
|
resource_group_name=resource_group_name,
|
1903
1828
|
account_name=account_name,
|
1904
1829
|
container_name=container_name,
|
@@ -1906,16 +1831,15 @@ class BlobContainersOperations:
|
|
1906
1831
|
subscription_id=self._config.subscription_id,
|
1907
1832
|
if_match=if_match,
|
1908
1833
|
api_version=api_version,
|
1909
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1910
1834
|
headers=_headers,
|
1911
1835
|
params=_params,
|
1912
1836
|
)
|
1913
|
-
|
1914
|
-
|
1837
|
+
_request = _convert_request(_request)
|
1838
|
+
_request.url = self._client.format_url(_request.url)
|
1915
1839
|
|
1916
1840
|
_stream = False
|
1917
1841
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1918
|
-
|
1842
|
+
_request, stream=_stream, **kwargs
|
1919
1843
|
)
|
1920
1844
|
|
1921
1845
|
response = pipeline_response.http_response
|
@@ -1930,13 +1854,9 @@ class BlobContainersOperations:
|
|
1930
1854
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1931
1855
|
|
1932
1856
|
if cls:
|
1933
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1857
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1934
1858
|
|
1935
|
-
return deserialized
|
1936
|
-
|
1937
|
-
delete_immutability_policy.metadata = {
|
1938
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1939
|
-
}
|
1859
|
+
return deserialized # type: ignore
|
1940
1860
|
|
1941
1861
|
@distributed_trace
|
1942
1862
|
def lock_immutability_policy(
|
@@ -1961,12 +1881,11 @@ class BlobContainersOperations:
|
|
1961
1881
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1962
1882
|
omitted, this operation will always be applied. Required.
|
1963
1883
|
:type if_match: str
|
1964
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1965
1884
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1966
1885
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
1967
1886
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1968
1887
|
"""
|
1969
|
-
error_map = {
|
1888
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1970
1889
|
401: ClientAuthenticationError,
|
1971
1890
|
404: ResourceNotFoundError,
|
1972
1891
|
409: ResourceExistsError,
|
@@ -1980,23 +1899,22 @@ class BlobContainersOperations:
|
|
1980
1899
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
1981
1900
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1982
1901
|
|
1983
|
-
|
1902
|
+
_request = build_lock_immutability_policy_request(
|
1984
1903
|
resource_group_name=resource_group_name,
|
1985
1904
|
account_name=account_name,
|
1986
1905
|
container_name=container_name,
|
1987
1906
|
subscription_id=self._config.subscription_id,
|
1988
1907
|
if_match=if_match,
|
1989
1908
|
api_version=api_version,
|
1990
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1991
1909
|
headers=_headers,
|
1992
1910
|
params=_params,
|
1993
1911
|
)
|
1994
|
-
|
1995
|
-
|
1912
|
+
_request = _convert_request(_request)
|
1913
|
+
_request.url = self._client.format_url(_request.url)
|
1996
1914
|
|
1997
1915
|
_stream = False
|
1998
1916
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1999
|
-
|
1917
|
+
_request, stream=_stream, **kwargs
|
2000
1918
|
)
|
2001
1919
|
|
2002
1920
|
response = pipeline_response.http_response
|
@@ -2011,13 +1929,9 @@ class BlobContainersOperations:
|
|
2011
1929
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
2012
1930
|
|
2013
1931
|
if cls:
|
2014
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1932
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
2015
1933
|
|
2016
|
-
return deserialized
|
2017
|
-
|
2018
|
-
lock_immutability_policy.metadata = {
|
2019
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
2020
|
-
}
|
1934
|
+
return deserialized # type: ignore
|
2021
1935
|
|
2022
1936
|
@overload
|
2023
1937
|
def extend_immutability_policy(
|
@@ -2057,7 +1971,6 @@ class BlobContainersOperations:
|
|
2057
1971
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2058
1972
|
Default value is "application/json".
|
2059
1973
|
:paramtype content_type: str
|
2060
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2061
1974
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2062
1975
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
2063
1976
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2070,7 +1983,7 @@ class BlobContainersOperations:
|
|
2070
1983
|
account_name: str,
|
2071
1984
|
container_name: str,
|
2072
1985
|
if_match: str,
|
2073
|
-
parameters: Optional[IO] = None,
|
1986
|
+
parameters: Optional[IO[bytes]] = None,
|
2074
1987
|
*,
|
2075
1988
|
content_type: str = "application/json",
|
2076
1989
|
**kwargs: Any
|
@@ -2097,11 +2010,10 @@ class BlobContainersOperations:
|
|
2097
2010
|
:type if_match: str
|
2098
2011
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2099
2012
|
container. Default value is None.
|
2100
|
-
:type parameters: IO
|
2013
|
+
:type parameters: IO[bytes]
|
2101
2014
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2102
2015
|
Default value is "application/json".
|
2103
2016
|
:paramtype content_type: str
|
2104
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2105
2017
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2106
2018
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
2107
2019
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2114,7 +2026,7 @@ class BlobContainersOperations:
|
|
2114
2026
|
account_name: str,
|
2115
2027
|
container_name: str,
|
2116
2028
|
if_match: str,
|
2117
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
2029
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
2118
2030
|
**kwargs: Any
|
2119
2031
|
) -> _models.ImmutabilityPolicy:
|
2120
2032
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -2138,17 +2050,13 @@ class BlobContainersOperations:
|
|
2138
2050
|
omitted, this operation will always be applied. Required.
|
2139
2051
|
:type if_match: str
|
2140
2052
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2141
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
2142
|
-
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO
|
2143
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2144
|
-
Default value is None.
|
2145
|
-
:paramtype content_type: str
|
2146
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2053
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
2054
|
+
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO[bytes]
|
2147
2055
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2148
2056
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
|
2149
2057
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2150
2058
|
"""
|
2151
|
-
error_map = {
|
2059
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2152
2060
|
401: ClientAuthenticationError,
|
2153
2061
|
404: ResourceNotFoundError,
|
2154
2062
|
409: ResourceExistsError,
|
@@ -2174,7 +2082,7 @@ class BlobContainersOperations:
|
|
2174
2082
|
else:
|
2175
2083
|
_json = None
|
2176
2084
|
|
2177
|
-
|
2085
|
+
_request = build_extend_immutability_policy_request(
|
2178
2086
|
resource_group_name=resource_group_name,
|
2179
2087
|
account_name=account_name,
|
2180
2088
|
container_name=container_name,
|
@@ -2184,16 +2092,15 @@ class BlobContainersOperations:
|
|
2184
2092
|
content_type=content_type,
|
2185
2093
|
json=_json,
|
2186
2094
|
content=_content,
|
2187
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
2188
2095
|
headers=_headers,
|
2189
2096
|
params=_params,
|
2190
2097
|
)
|
2191
|
-
|
2192
|
-
|
2098
|
+
_request = _convert_request(_request)
|
2099
|
+
_request.url = self._client.format_url(_request.url)
|
2193
2100
|
|
2194
2101
|
_stream = False
|
2195
2102
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2196
|
-
|
2103
|
+
_request, stream=_stream, **kwargs
|
2197
2104
|
)
|
2198
2105
|
|
2199
2106
|
response = pipeline_response.http_response
|
@@ -2208,13 +2115,9 @@ class BlobContainersOperations:
|
|
2208
2115
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
2209
2116
|
|
2210
2117
|
if cls:
|
2211
|
-
return cls(pipeline_response, deserialized, response_headers)
|
2212
|
-
|
2213
|
-
return deserialized
|
2118
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
2214
2119
|
|
2215
|
-
|
2216
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
2217
|
-
}
|
2120
|
+
return deserialized # type: ignore
|
2218
2121
|
|
2219
2122
|
@overload
|
2220
2123
|
def lease(
|
@@ -2247,7 +2150,6 @@ class BlobContainersOperations:
|
|
2247
2150
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2248
2151
|
Default value is "application/json".
|
2249
2152
|
:paramtype content_type: str
|
2250
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2251
2153
|
:return: LeaseContainerResponse or the result of cls(response)
|
2252
2154
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerResponse
|
2253
2155
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2259,7 +2161,7 @@ class BlobContainersOperations:
|
|
2259
2161
|
resource_group_name: str,
|
2260
2162
|
account_name: str,
|
2261
2163
|
container_name: str,
|
2262
|
-
parameters: Optional[IO] = None,
|
2164
|
+
parameters: Optional[IO[bytes]] = None,
|
2263
2165
|
*,
|
2264
2166
|
content_type: str = "application/json",
|
2265
2167
|
**kwargs: Any
|
@@ -2280,11 +2182,10 @@ class BlobContainersOperations:
|
|
2280
2182
|
by a letter or number. Required.
|
2281
2183
|
:type container_name: str
|
2282
2184
|
:param parameters: Lease Container request body. Default value is None.
|
2283
|
-
:type parameters: IO
|
2185
|
+
:type parameters: IO[bytes]
|
2284
2186
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2285
2187
|
Default value is "application/json".
|
2286
2188
|
:paramtype content_type: str
|
2287
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2288
2189
|
:return: LeaseContainerResponse or the result of cls(response)
|
2289
2190
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerResponse
|
2290
2191
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2296,7 +2197,7 @@ class BlobContainersOperations:
|
|
2296
2197
|
resource_group_name: str,
|
2297
2198
|
account_name: str,
|
2298
2199
|
container_name: str,
|
2299
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
2200
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
2300
2201
|
**kwargs: Any
|
2301
2202
|
) -> _models.LeaseContainerResponse:
|
2302
2203
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -2314,18 +2215,14 @@ class BlobContainersOperations:
|
|
2314
2215
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
2315
2216
|
by a letter or number. Required.
|
2316
2217
|
:type container_name: str
|
2317
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2318
|
-
type. Default value is None.
|
2319
|
-
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerRequest or IO
|
2320
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2321
|
-
Default value is None.
|
2322
|
-
:paramtype content_type: str
|
2323
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2218
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2219
|
+
IO[bytes] type. Default value is None.
|
2220
|
+
:type parameters: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerRequest or IO[bytes]
|
2324
2221
|
:return: LeaseContainerResponse or the result of cls(response)
|
2325
2222
|
:rtype: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerResponse
|
2326
2223
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2327
2224
|
"""
|
2328
|
-
error_map = {
|
2225
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2329
2226
|
401: ClientAuthenticationError,
|
2330
2227
|
404: ResourceNotFoundError,
|
2331
2228
|
409: ResourceExistsError,
|
@@ -2351,7 +2248,7 @@ class BlobContainersOperations:
|
|
2351
2248
|
else:
|
2352
2249
|
_json = None
|
2353
2250
|
|
2354
|
-
|
2251
|
+
_request = build_lease_request(
|
2355
2252
|
resource_group_name=resource_group_name,
|
2356
2253
|
account_name=account_name,
|
2357
2254
|
container_name=container_name,
|
@@ -2360,16 +2257,15 @@ class BlobContainersOperations:
|
|
2360
2257
|
content_type=content_type,
|
2361
2258
|
json=_json,
|
2362
2259
|
content=_content,
|
2363
|
-
template_url=self.lease.metadata["url"],
|
2364
2260
|
headers=_headers,
|
2365
2261
|
params=_params,
|
2366
2262
|
)
|
2367
|
-
|
2368
|
-
|
2263
|
+
_request = _convert_request(_request)
|
2264
|
+
_request.url = self._client.format_url(_request.url)
|
2369
2265
|
|
2370
2266
|
_stream = False
|
2371
2267
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2372
|
-
|
2268
|
+
_request, stream=_stream, **kwargs
|
2373
2269
|
)
|
2374
2270
|
|
2375
2271
|
response = pipeline_response.http_response
|
@@ -2381,18 +2277,14 @@ class BlobContainersOperations:
|
|
2381
2277
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
2382
2278
|
|
2383
2279
|
if cls:
|
2384
|
-
return cls(pipeline_response, deserialized, {})
|
2385
|
-
|
2386
|
-
return deserialized
|
2280
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
2387
2281
|
|
2388
|
-
|
2389
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
2390
|
-
}
|
2282
|
+
return deserialized # type: ignore
|
2391
2283
|
|
2392
2284
|
def _object_level_worm_initial( # pylint: disable=inconsistent-return-statements
|
2393
2285
|
self, resource_group_name: str, account_name: str, container_name: str, **kwargs: Any
|
2394
2286
|
) -> None:
|
2395
|
-
error_map = {
|
2287
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2396
2288
|
401: ClientAuthenticationError,
|
2397
2289
|
404: ResourceNotFoundError,
|
2398
2290
|
409: ResourceExistsError,
|
@@ -2406,22 +2298,21 @@ class BlobContainersOperations:
|
|
2406
2298
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
|
2407
2299
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
2408
2300
|
|
2409
|
-
|
2301
|
+
_request = build_object_level_worm_request(
|
2410
2302
|
resource_group_name=resource_group_name,
|
2411
2303
|
account_name=account_name,
|
2412
2304
|
container_name=container_name,
|
2413
2305
|
subscription_id=self._config.subscription_id,
|
2414
2306
|
api_version=api_version,
|
2415
|
-
template_url=self._object_level_worm_initial.metadata["url"],
|
2416
2307
|
headers=_headers,
|
2417
2308
|
params=_params,
|
2418
2309
|
)
|
2419
|
-
|
2420
|
-
|
2310
|
+
_request = _convert_request(_request)
|
2311
|
+
_request.url = self._client.format_url(_request.url)
|
2421
2312
|
|
2422
2313
|
_stream = False
|
2423
2314
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2424
|
-
|
2315
|
+
_request, stream=_stream, **kwargs
|
2425
2316
|
)
|
2426
2317
|
|
2427
2318
|
response = pipeline_response.http_response
|
@@ -2431,11 +2322,7 @@ class BlobContainersOperations:
|
|
2431
2322
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
2432
2323
|
|
2433
2324
|
if cls:
|
2434
|
-
return cls(pipeline_response, None, {})
|
2435
|
-
|
2436
|
-
_object_level_worm_initial.metadata = {
|
2437
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
|
2438
|
-
}
|
2325
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
2439
2326
|
|
2440
2327
|
@distributed_trace
|
2441
2328
|
def begin_object_level_worm(
|
@@ -2458,14 +2345,6 @@ class BlobContainersOperations:
|
|
2458
2345
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
2459
2346
|
by a letter or number. Required.
|
2460
2347
|
:type container_name: str
|
2461
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2462
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
2463
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
2464
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
2465
|
-
strategy.
|
2466
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
2467
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
2468
|
-
Retry-After header is present.
|
2469
2348
|
:return: An instance of LROPoller that returns either None or the result of cls(response)
|
2470
2349
|
:rtype: ~azure.core.polling.LROPoller[None]
|
2471
2350
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2493,7 +2372,7 @@ class BlobContainersOperations:
|
|
2493
2372
|
|
2494
2373
|
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
2495
2374
|
if cls:
|
2496
|
-
return cls(pipeline_response, None, {})
|
2375
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
2497
2376
|
|
2498
2377
|
if polling is True:
|
2499
2378
|
polling_method: PollingMethod = cast(
|
@@ -2504,14 +2383,10 @@ class BlobContainersOperations:
|
|
2504
2383
|
else:
|
2505
2384
|
polling_method = polling
|
2506
2385
|
if cont_token:
|
2507
|
-
return LROPoller.from_continuation_token(
|
2386
|
+
return LROPoller[None].from_continuation_token(
|
2508
2387
|
polling_method=polling_method,
|
2509
2388
|
continuation_token=cont_token,
|
2510
2389
|
client=self._client,
|
2511
2390
|
deserialization_callback=get_long_running_output,
|
2512
2391
|
)
|
2513
|
-
return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|
2514
|
-
|
2515
|
-
begin_object_level_worm.metadata = {
|
2516
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
|
2517
|
-
}
|
2392
|
+
return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|