azure-mgmt-storage 21.1.0__py3-none-any.whl → 21.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azure/mgmt/storage/_configuration.py +2 -3
- azure/mgmt/storage/_serialization.py +41 -49
- azure/mgmt/storage/_storage_management_client.py +142 -2
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_configuration.py +2 -3
- azure/mgmt/storage/aio/_storage_management_client.py +142 -2
- azure/mgmt/storage/models.py +1 -1
- azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
- azure/mgmt/storage/v2015_06_15/_version.py +1 -1
- azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
- azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2016_01_01/_version.py +1 -1
- azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
- azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2016_12_01/_version.py +1 -1
- azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
- azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_06_01/_version.py +1 -1
- azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_10_01/_version.py +1 -1
- azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_02_01/_version.py +1 -1
- azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
- azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
- azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
- azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_07_01/_version.py +1 -1
- azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
- azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_11_01/_version.py +1 -1
- azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
- azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
- azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
- azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
- azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_04_01/_version.py +1 -1
- azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
- azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
- azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
- azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_06_01/_version.py +1 -1
- azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
- azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_01_01/_version.py +1 -1
- azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_02_01/_version.py +1 -1
- azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
- azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_04_01/_version.py +1 -1
- azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
- azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_06_01/_version.py +1 -1
- azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_08_01/_version.py +1 -1
- azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
- azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_09_01/_version.py +1 -1
- azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_05_01/_version.py +1 -1
- azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_09_01/_version.py +1 -1
- azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2023_01_01/_version.py +1 -1
- azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
- azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
- azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
- azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
- azure/mgmt/storage/v2023_05_01/_version.py +9 -0
- azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
- azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
- azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
- azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
- azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
- azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
- azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
- azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
- azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
- azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
- azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
- azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
- azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
- azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
1
|
+
# pylint: disable=too-many-lines,too-many-statements
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -7,7 +7,8 @@
|
|
7
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
8
|
# --------------------------------------------------------------------------
|
9
9
|
from io import IOBase
|
10
|
-
|
10
|
+
import sys
|
11
|
+
from typing import Any, Callable, Dict, IO, Optional, Type, TypeVar, Union, overload
|
11
12
|
|
12
13
|
from azure.core.exceptions import (
|
13
14
|
ClientAuthenticationError,
|
@@ -28,6 +29,10 @@ from .. import models as _models
|
|
28
29
|
from ..._serialization import Serializer
|
29
30
|
from .._vendor import _convert_request
|
30
31
|
|
32
|
+
if sys.version_info >= (3, 9):
|
33
|
+
from collections.abc import MutableMapping
|
34
|
+
else:
|
35
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
31
36
|
T = TypeVar("T")
|
32
37
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
|
33
38
|
|
@@ -276,7 +281,7 @@ def build_clear_legal_hold_request(
|
|
276
281
|
return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
|
277
282
|
|
278
283
|
|
279
|
-
def build_create_or_update_immutability_policy_request(
|
284
|
+
def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
|
280
285
|
resource_group_name: str,
|
281
286
|
account_name: str,
|
282
287
|
container_name: str,
|
@@ -564,12 +569,11 @@ class BlobContainersOperations:
|
|
564
569
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
565
570
|
lower-case letters only. Required.
|
566
571
|
:type account_name: str
|
567
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
568
572
|
:return: ListContainerItems or the result of cls(response)
|
569
573
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ListContainerItems
|
570
574
|
:raises ~azure.core.exceptions.HttpResponseError:
|
571
575
|
"""
|
572
|
-
error_map = {
|
576
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
573
577
|
401: ClientAuthenticationError,
|
574
578
|
404: ResourceNotFoundError,
|
575
579
|
409: ResourceExistsError,
|
@@ -583,21 +587,20 @@ class BlobContainersOperations:
|
|
583
587
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
584
588
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
585
589
|
|
586
|
-
|
590
|
+
_request = build_list_request(
|
587
591
|
resource_group_name=resource_group_name,
|
588
592
|
account_name=account_name,
|
589
593
|
subscription_id=self._config.subscription_id,
|
590
594
|
api_version=api_version,
|
591
|
-
template_url=self.list.metadata["url"],
|
592
595
|
headers=_headers,
|
593
596
|
params=_params,
|
594
597
|
)
|
595
|
-
|
596
|
-
|
598
|
+
_request = _convert_request(_request)
|
599
|
+
_request.url = self._client.format_url(_request.url)
|
597
600
|
|
598
601
|
_stream = False
|
599
602
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
600
|
-
|
603
|
+
_request, stream=_stream, **kwargs
|
601
604
|
)
|
602
605
|
|
603
606
|
response = pipeline_response.http_response
|
@@ -609,13 +612,9 @@ class BlobContainersOperations:
|
|
609
612
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
610
613
|
|
611
614
|
if cls:
|
612
|
-
return cls(pipeline_response, deserialized, {})
|
613
|
-
|
614
|
-
return deserialized
|
615
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
615
616
|
|
616
|
-
|
617
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
618
|
-
}
|
617
|
+
return deserialized # type: ignore
|
619
618
|
|
620
619
|
@overload
|
621
620
|
def create(
|
@@ -649,7 +648,6 @@ class BlobContainersOperations:
|
|
649
648
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
650
649
|
Default value is "application/json".
|
651
650
|
:paramtype content_type: str
|
652
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
653
651
|
:return: BlobContainer or the result of cls(response)
|
654
652
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
655
653
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -661,7 +659,7 @@ class BlobContainersOperations:
|
|
661
659
|
resource_group_name: str,
|
662
660
|
account_name: str,
|
663
661
|
container_name: str,
|
664
|
-
blob_container: IO,
|
662
|
+
blob_container: IO[bytes],
|
665
663
|
*,
|
666
664
|
content_type: str = "application/json",
|
667
665
|
**kwargs: Any
|
@@ -683,11 +681,10 @@ class BlobContainersOperations:
|
|
683
681
|
by a letter or number. Required.
|
684
682
|
:type container_name: str
|
685
683
|
:param blob_container: Properties of the blob container to create. Required.
|
686
|
-
:type blob_container: IO
|
684
|
+
:type blob_container: IO[bytes]
|
687
685
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
688
686
|
Default value is "application/json".
|
689
687
|
:paramtype content_type: str
|
690
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
691
688
|
:return: BlobContainer or the result of cls(response)
|
692
689
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
693
690
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -699,7 +696,7 @@ class BlobContainersOperations:
|
|
699
696
|
resource_group_name: str,
|
700
697
|
account_name: str,
|
701
698
|
container_name: str,
|
702
|
-
blob_container: Union[_models.BlobContainer, IO],
|
699
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
703
700
|
**kwargs: Any
|
704
701
|
) -> _models.BlobContainer:
|
705
702
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -719,17 +716,13 @@ class BlobContainersOperations:
|
|
719
716
|
by a letter or number. Required.
|
720
717
|
:type container_name: str
|
721
718
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
722
|
-
type or a IO type. Required.
|
723
|
-
:type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO
|
724
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
725
|
-
Default value is None.
|
726
|
-
:paramtype content_type: str
|
727
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
719
|
+
type or a IO[bytes] type. Required.
|
720
|
+
:type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO[bytes]
|
728
721
|
:return: BlobContainer or the result of cls(response)
|
729
722
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
730
723
|
:raises ~azure.core.exceptions.HttpResponseError:
|
731
724
|
"""
|
732
|
-
error_map = {
|
725
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
733
726
|
401: ClientAuthenticationError,
|
734
727
|
404: ResourceNotFoundError,
|
735
728
|
409: ResourceExistsError,
|
@@ -752,7 +745,7 @@ class BlobContainersOperations:
|
|
752
745
|
else:
|
753
746
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
754
747
|
|
755
|
-
|
748
|
+
_request = build_create_request(
|
756
749
|
resource_group_name=resource_group_name,
|
757
750
|
account_name=account_name,
|
758
751
|
container_name=container_name,
|
@@ -761,16 +754,15 @@ class BlobContainersOperations:
|
|
761
754
|
content_type=content_type,
|
762
755
|
json=_json,
|
763
756
|
content=_content,
|
764
|
-
template_url=self.create.metadata["url"],
|
765
757
|
headers=_headers,
|
766
758
|
params=_params,
|
767
759
|
)
|
768
|
-
|
769
|
-
|
760
|
+
_request = _convert_request(_request)
|
761
|
+
_request.url = self._client.format_url(_request.url)
|
770
762
|
|
771
763
|
_stream = False
|
772
764
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
773
|
-
|
765
|
+
_request, stream=_stream, **kwargs
|
774
766
|
)
|
775
767
|
|
776
768
|
response = pipeline_response.http_response
|
@@ -790,10 +782,6 @@ class BlobContainersOperations:
|
|
790
782
|
|
791
783
|
return deserialized # type: ignore
|
792
784
|
|
793
|
-
create.metadata = {
|
794
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
795
|
-
}
|
796
|
-
|
797
785
|
@overload
|
798
786
|
def update(
|
799
787
|
self,
|
@@ -825,7 +813,6 @@ class BlobContainersOperations:
|
|
825
813
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
826
814
|
Default value is "application/json".
|
827
815
|
:paramtype content_type: str
|
828
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
829
816
|
:return: BlobContainer or the result of cls(response)
|
830
817
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
831
818
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -837,7 +824,7 @@ class BlobContainersOperations:
|
|
837
824
|
resource_group_name: str,
|
838
825
|
account_name: str,
|
839
826
|
container_name: str,
|
840
|
-
blob_container: IO,
|
827
|
+
blob_container: IO[bytes],
|
841
828
|
*,
|
842
829
|
content_type: str = "application/json",
|
843
830
|
**kwargs: Any
|
@@ -858,11 +845,10 @@ class BlobContainersOperations:
|
|
858
845
|
by a letter or number. Required.
|
859
846
|
:type container_name: str
|
860
847
|
:param blob_container: Properties to update for the blob container. Required.
|
861
|
-
:type blob_container: IO
|
848
|
+
:type blob_container: IO[bytes]
|
862
849
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
863
850
|
Default value is "application/json".
|
864
851
|
:paramtype content_type: str
|
865
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
866
852
|
:return: BlobContainer or the result of cls(response)
|
867
853
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
868
854
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -874,7 +860,7 @@ class BlobContainersOperations:
|
|
874
860
|
resource_group_name: str,
|
875
861
|
account_name: str,
|
876
862
|
container_name: str,
|
877
|
-
blob_container: Union[_models.BlobContainer, IO],
|
863
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
878
864
|
**kwargs: Any
|
879
865
|
) -> _models.BlobContainer:
|
880
866
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -893,17 +879,13 @@ class BlobContainersOperations:
|
|
893
879
|
by a letter or number. Required.
|
894
880
|
:type container_name: str
|
895
881
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
896
|
-
type or a IO type. Required.
|
897
|
-
:type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO
|
898
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
899
|
-
Default value is None.
|
900
|
-
:paramtype content_type: str
|
901
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
882
|
+
type or a IO[bytes] type. Required.
|
883
|
+
:type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO[bytes]
|
902
884
|
:return: BlobContainer or the result of cls(response)
|
903
885
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
904
886
|
:raises ~azure.core.exceptions.HttpResponseError:
|
905
887
|
"""
|
906
|
-
error_map = {
|
888
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
907
889
|
401: ClientAuthenticationError,
|
908
890
|
404: ResourceNotFoundError,
|
909
891
|
409: ResourceExistsError,
|
@@ -926,7 +908,7 @@ class BlobContainersOperations:
|
|
926
908
|
else:
|
927
909
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
928
910
|
|
929
|
-
|
911
|
+
_request = build_update_request(
|
930
912
|
resource_group_name=resource_group_name,
|
931
913
|
account_name=account_name,
|
932
914
|
container_name=container_name,
|
@@ -935,16 +917,15 @@ class BlobContainersOperations:
|
|
935
917
|
content_type=content_type,
|
936
918
|
json=_json,
|
937
919
|
content=_content,
|
938
|
-
template_url=self.update.metadata["url"],
|
939
920
|
headers=_headers,
|
940
921
|
params=_params,
|
941
922
|
)
|
942
|
-
|
943
|
-
|
923
|
+
_request = _convert_request(_request)
|
924
|
+
_request.url = self._client.format_url(_request.url)
|
944
925
|
|
945
926
|
_stream = False
|
946
927
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
947
|
-
|
928
|
+
_request, stream=_stream, **kwargs
|
948
929
|
)
|
949
930
|
|
950
931
|
response = pipeline_response.http_response
|
@@ -956,13 +937,9 @@ class BlobContainersOperations:
|
|
956
937
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
957
938
|
|
958
939
|
if cls:
|
959
|
-
return cls(pipeline_response, deserialized, {})
|
960
|
-
|
961
|
-
return deserialized
|
940
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
962
941
|
|
963
|
-
|
964
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
965
|
-
}
|
942
|
+
return deserialized # type: ignore
|
966
943
|
|
967
944
|
@distributed_trace
|
968
945
|
def get(
|
@@ -982,12 +959,11 @@ class BlobContainersOperations:
|
|
982
959
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
983
960
|
by a letter or number. Required.
|
984
961
|
:type container_name: str
|
985
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
986
962
|
:return: BlobContainer or the result of cls(response)
|
987
963
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
988
964
|
:raises ~azure.core.exceptions.HttpResponseError:
|
989
965
|
"""
|
990
|
-
error_map = {
|
966
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
991
967
|
401: ClientAuthenticationError,
|
992
968
|
404: ResourceNotFoundError,
|
993
969
|
409: ResourceExistsError,
|
@@ -1001,22 +977,21 @@ class BlobContainersOperations:
|
|
1001
977
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1002
978
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
1003
979
|
|
1004
|
-
|
980
|
+
_request = build_get_request(
|
1005
981
|
resource_group_name=resource_group_name,
|
1006
982
|
account_name=account_name,
|
1007
983
|
container_name=container_name,
|
1008
984
|
subscription_id=self._config.subscription_id,
|
1009
985
|
api_version=api_version,
|
1010
|
-
template_url=self.get.metadata["url"],
|
1011
986
|
headers=_headers,
|
1012
987
|
params=_params,
|
1013
988
|
)
|
1014
|
-
|
1015
|
-
|
989
|
+
_request = _convert_request(_request)
|
990
|
+
_request.url = self._client.format_url(_request.url)
|
1016
991
|
|
1017
992
|
_stream = False
|
1018
993
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1019
|
-
|
994
|
+
_request, stream=_stream, **kwargs
|
1020
995
|
)
|
1021
996
|
|
1022
997
|
response = pipeline_response.http_response
|
@@ -1028,13 +1003,9 @@ class BlobContainersOperations:
|
|
1028
1003
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
1029
1004
|
|
1030
1005
|
if cls:
|
1031
|
-
return cls(pipeline_response, deserialized, {})
|
1032
|
-
|
1033
|
-
return deserialized
|
1006
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1034
1007
|
|
1035
|
-
|
1036
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1037
|
-
}
|
1008
|
+
return deserialized # type: ignore
|
1038
1009
|
|
1039
1010
|
@distributed_trace
|
1040
1011
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -1054,12 +1025,11 @@ class BlobContainersOperations:
|
|
1054
1025
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1055
1026
|
by a letter or number. Required.
|
1056
1027
|
:type container_name: str
|
1057
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1058
1028
|
:return: None or the result of cls(response)
|
1059
1029
|
:rtype: None
|
1060
1030
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1061
1031
|
"""
|
1062
|
-
error_map = {
|
1032
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1063
1033
|
401: ClientAuthenticationError,
|
1064
1034
|
404: ResourceNotFoundError,
|
1065
1035
|
409: ResourceExistsError,
|
@@ -1073,22 +1043,21 @@ class BlobContainersOperations:
|
|
1073
1043
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1074
1044
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1075
1045
|
|
1076
|
-
|
1046
|
+
_request = build_delete_request(
|
1077
1047
|
resource_group_name=resource_group_name,
|
1078
1048
|
account_name=account_name,
|
1079
1049
|
container_name=container_name,
|
1080
1050
|
subscription_id=self._config.subscription_id,
|
1081
1051
|
api_version=api_version,
|
1082
|
-
template_url=self.delete.metadata["url"],
|
1083
1052
|
headers=_headers,
|
1084
1053
|
params=_params,
|
1085
1054
|
)
|
1086
|
-
|
1087
|
-
|
1055
|
+
_request = _convert_request(_request)
|
1056
|
+
_request.url = self._client.format_url(_request.url)
|
1088
1057
|
|
1089
1058
|
_stream = False
|
1090
1059
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1091
|
-
|
1060
|
+
_request, stream=_stream, **kwargs
|
1092
1061
|
)
|
1093
1062
|
|
1094
1063
|
response = pipeline_response.http_response
|
@@ -1098,11 +1067,7 @@ class BlobContainersOperations:
|
|
1098
1067
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1099
1068
|
|
1100
1069
|
if cls:
|
1101
|
-
return cls(pipeline_response, None, {})
|
1102
|
-
|
1103
|
-
delete.metadata = {
|
1104
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1105
|
-
}
|
1070
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1106
1071
|
|
1107
1072
|
@overload
|
1108
1073
|
def set_legal_hold(
|
@@ -1136,7 +1101,6 @@ class BlobContainersOperations:
|
|
1136
1101
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1137
1102
|
Default value is "application/json".
|
1138
1103
|
:paramtype content_type: str
|
1139
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1140
1104
|
:return: LegalHold or the result of cls(response)
|
1141
1105
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
1142
1106
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1148,7 +1112,7 @@ class BlobContainersOperations:
|
|
1148
1112
|
resource_group_name: str,
|
1149
1113
|
account_name: str,
|
1150
1114
|
container_name: str,
|
1151
|
-
legal_hold: IO,
|
1115
|
+
legal_hold: IO[bytes],
|
1152
1116
|
*,
|
1153
1117
|
content_type: str = "application/json",
|
1154
1118
|
**kwargs: Any
|
@@ -1170,11 +1134,10 @@ class BlobContainersOperations:
|
|
1170
1134
|
by a letter or number. Required.
|
1171
1135
|
:type container_name: str
|
1172
1136
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
1173
|
-
:type legal_hold: IO
|
1137
|
+
:type legal_hold: IO[bytes]
|
1174
1138
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1175
1139
|
Default value is "application/json".
|
1176
1140
|
:paramtype content_type: str
|
1177
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1178
1141
|
:return: LegalHold or the result of cls(response)
|
1179
1142
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
1180
1143
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1186,7 +1149,7 @@ class BlobContainersOperations:
|
|
1186
1149
|
resource_group_name: str,
|
1187
1150
|
account_name: str,
|
1188
1151
|
container_name: str,
|
1189
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1152
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1190
1153
|
**kwargs: Any
|
1191
1154
|
) -> _models.LegalHold:
|
1192
1155
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -1206,17 +1169,13 @@ class BlobContainersOperations:
|
|
1206
1169
|
by a letter or number. Required.
|
1207
1170
|
:type container_name: str
|
1208
1171
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
1209
|
-
LegalHold type or a IO type. Required.
|
1210
|
-
:type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO
|
1211
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1212
|
-
Default value is None.
|
1213
|
-
:paramtype content_type: str
|
1214
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1172
|
+
LegalHold type or a IO[bytes] type. Required.
|
1173
|
+
:type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO[bytes]
|
1215
1174
|
:return: LegalHold or the result of cls(response)
|
1216
1175
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
1217
1176
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1218
1177
|
"""
|
1219
|
-
error_map = {
|
1178
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1220
1179
|
401: ClientAuthenticationError,
|
1221
1180
|
404: ResourceNotFoundError,
|
1222
1181
|
409: ResourceExistsError,
|
@@ -1239,7 +1198,7 @@ class BlobContainersOperations:
|
|
1239
1198
|
else:
|
1240
1199
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1241
1200
|
|
1242
|
-
|
1201
|
+
_request = build_set_legal_hold_request(
|
1243
1202
|
resource_group_name=resource_group_name,
|
1244
1203
|
account_name=account_name,
|
1245
1204
|
container_name=container_name,
|
@@ -1248,16 +1207,15 @@ class BlobContainersOperations:
|
|
1248
1207
|
content_type=content_type,
|
1249
1208
|
json=_json,
|
1250
1209
|
content=_content,
|
1251
|
-
template_url=self.set_legal_hold.metadata["url"],
|
1252
1210
|
headers=_headers,
|
1253
1211
|
params=_params,
|
1254
1212
|
)
|
1255
|
-
|
1256
|
-
|
1213
|
+
_request = _convert_request(_request)
|
1214
|
+
_request.url = self._client.format_url(_request.url)
|
1257
1215
|
|
1258
1216
|
_stream = False
|
1259
1217
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1260
|
-
|
1218
|
+
_request, stream=_stream, **kwargs
|
1261
1219
|
)
|
1262
1220
|
|
1263
1221
|
response = pipeline_response.http_response
|
@@ -1269,13 +1227,9 @@ class BlobContainersOperations:
|
|
1269
1227
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1270
1228
|
|
1271
1229
|
if cls:
|
1272
|
-
return cls(pipeline_response, deserialized, {})
|
1273
|
-
|
1274
|
-
return deserialized
|
1230
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1275
1231
|
|
1276
|
-
|
1277
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
1278
|
-
}
|
1232
|
+
return deserialized # type: ignore
|
1279
1233
|
|
1280
1234
|
@overload
|
1281
1235
|
def clear_legal_hold(
|
@@ -1308,7 +1262,6 @@ class BlobContainersOperations:
|
|
1308
1262
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1309
1263
|
Default value is "application/json".
|
1310
1264
|
:paramtype content_type: str
|
1311
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1312
1265
|
:return: LegalHold or the result of cls(response)
|
1313
1266
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
1314
1267
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1320,7 +1273,7 @@ class BlobContainersOperations:
|
|
1320
1273
|
resource_group_name: str,
|
1321
1274
|
account_name: str,
|
1322
1275
|
container_name: str,
|
1323
|
-
legal_hold: IO,
|
1276
|
+
legal_hold: IO[bytes],
|
1324
1277
|
*,
|
1325
1278
|
content_type: str = "application/json",
|
1326
1279
|
**kwargs: Any
|
@@ -1341,11 +1294,10 @@ class BlobContainersOperations:
|
|
1341
1294
|
by a letter or number. Required.
|
1342
1295
|
:type container_name: str
|
1343
1296
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
1344
|
-
:type legal_hold: IO
|
1297
|
+
:type legal_hold: IO[bytes]
|
1345
1298
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1346
1299
|
Default value is "application/json".
|
1347
1300
|
:paramtype content_type: str
|
1348
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1349
1301
|
:return: LegalHold or the result of cls(response)
|
1350
1302
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
1351
1303
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1357,7 +1309,7 @@ class BlobContainersOperations:
|
|
1357
1309
|
resource_group_name: str,
|
1358
1310
|
account_name: str,
|
1359
1311
|
container_name: str,
|
1360
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1312
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1361
1313
|
**kwargs: Any
|
1362
1314
|
) -> _models.LegalHold:
|
1363
1315
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -1376,17 +1328,13 @@ class BlobContainersOperations:
|
|
1376
1328
|
by a letter or number. Required.
|
1377
1329
|
:type container_name: str
|
1378
1330
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
1379
|
-
LegalHold type or a IO type. Required.
|
1380
|
-
:type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO
|
1381
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1382
|
-
Default value is None.
|
1383
|
-
:paramtype content_type: str
|
1384
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1331
|
+
LegalHold type or a IO[bytes] type. Required.
|
1332
|
+
:type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO[bytes]
|
1385
1333
|
:return: LegalHold or the result of cls(response)
|
1386
1334
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
1387
1335
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1388
1336
|
"""
|
1389
|
-
error_map = {
|
1337
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1390
1338
|
401: ClientAuthenticationError,
|
1391
1339
|
404: ResourceNotFoundError,
|
1392
1340
|
409: ResourceExistsError,
|
@@ -1409,7 +1357,7 @@ class BlobContainersOperations:
|
|
1409
1357
|
else:
|
1410
1358
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1411
1359
|
|
1412
|
-
|
1360
|
+
_request = build_clear_legal_hold_request(
|
1413
1361
|
resource_group_name=resource_group_name,
|
1414
1362
|
account_name=account_name,
|
1415
1363
|
container_name=container_name,
|
@@ -1418,16 +1366,15 @@ class BlobContainersOperations:
|
|
1418
1366
|
content_type=content_type,
|
1419
1367
|
json=_json,
|
1420
1368
|
content=_content,
|
1421
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
1422
1369
|
headers=_headers,
|
1423
1370
|
params=_params,
|
1424
1371
|
)
|
1425
|
-
|
1426
|
-
|
1372
|
+
_request = _convert_request(_request)
|
1373
|
+
_request.url = self._client.format_url(_request.url)
|
1427
1374
|
|
1428
1375
|
_stream = False
|
1429
1376
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1430
|
-
|
1377
|
+
_request, stream=_stream, **kwargs
|
1431
1378
|
)
|
1432
1379
|
|
1433
1380
|
response = pipeline_response.http_response
|
@@ -1439,13 +1386,9 @@ class BlobContainersOperations:
|
|
1439
1386
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1440
1387
|
|
1441
1388
|
if cls:
|
1442
|
-
return cls(pipeline_response, deserialized, {})
|
1443
|
-
|
1444
|
-
return deserialized
|
1389
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1445
1390
|
|
1446
|
-
|
1447
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
1448
|
-
}
|
1391
|
+
return deserialized # type: ignore
|
1449
1392
|
|
1450
1393
|
@overload
|
1451
1394
|
def create_or_update_immutability_policy(
|
@@ -1488,7 +1431,6 @@ class BlobContainersOperations:
|
|
1488
1431
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1489
1432
|
Default value is "application/json".
|
1490
1433
|
:paramtype content_type: str
|
1491
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1492
1434
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1493
1435
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1494
1436
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1502,7 +1444,7 @@ class BlobContainersOperations:
|
|
1502
1444
|
container_name: str,
|
1503
1445
|
immutability_policy_name: Union[str, _models.Enum10],
|
1504
1446
|
if_match: Optional[str] = None,
|
1505
|
-
parameters: Optional[IO] = None,
|
1447
|
+
parameters: Optional[IO[bytes]] = None,
|
1506
1448
|
*,
|
1507
1449
|
content_type: str = "application/json",
|
1508
1450
|
**kwargs: Any
|
@@ -1531,11 +1473,10 @@ class BlobContainersOperations:
|
|
1531
1473
|
:type if_match: str
|
1532
1474
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1533
1475
|
container. Default value is None.
|
1534
|
-
:type parameters: IO
|
1476
|
+
:type parameters: IO[bytes]
|
1535
1477
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1536
1478
|
Default value is "application/json".
|
1537
1479
|
:paramtype content_type: str
|
1538
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1539
1480
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1540
1481
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1541
1482
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1549,7 +1490,7 @@ class BlobContainersOperations:
|
|
1549
1490
|
container_name: str,
|
1550
1491
|
immutability_policy_name: Union[str, _models.Enum10],
|
1551
1492
|
if_match: Optional[str] = None,
|
1552
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1493
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1553
1494
|
**kwargs: Any
|
1554
1495
|
) -> _models.ImmutabilityPolicy:
|
1555
1496
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1575,17 +1516,13 @@ class BlobContainersOperations:
|
|
1575
1516
|
omitted, this operation will always be applied. Default value is None.
|
1576
1517
|
:type if_match: str
|
1577
1518
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1578
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1579
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO
|
1580
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1581
|
-
Default value is None.
|
1582
|
-
:paramtype content_type: str
|
1583
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1519
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1520
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO[bytes]
|
1584
1521
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1585
1522
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1586
1523
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1587
1524
|
"""
|
1588
|
-
error_map = {
|
1525
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1589
1526
|
401: ClientAuthenticationError,
|
1590
1527
|
404: ResourceNotFoundError,
|
1591
1528
|
409: ResourceExistsError,
|
@@ -1611,7 +1548,7 @@ class BlobContainersOperations:
|
|
1611
1548
|
else:
|
1612
1549
|
_json = None
|
1613
1550
|
|
1614
|
-
|
1551
|
+
_request = build_create_or_update_immutability_policy_request(
|
1615
1552
|
resource_group_name=resource_group_name,
|
1616
1553
|
account_name=account_name,
|
1617
1554
|
container_name=container_name,
|
@@ -1622,16 +1559,15 @@ class BlobContainersOperations:
|
|
1622
1559
|
content_type=content_type,
|
1623
1560
|
json=_json,
|
1624
1561
|
content=_content,
|
1625
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1626
1562
|
headers=_headers,
|
1627
1563
|
params=_params,
|
1628
1564
|
)
|
1629
|
-
|
1630
|
-
|
1565
|
+
_request = _convert_request(_request)
|
1566
|
+
_request.url = self._client.format_url(_request.url)
|
1631
1567
|
|
1632
1568
|
_stream = False
|
1633
1569
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1634
|
-
|
1570
|
+
_request, stream=_stream, **kwargs
|
1635
1571
|
)
|
1636
1572
|
|
1637
1573
|
response = pipeline_response.http_response
|
@@ -1646,13 +1582,9 @@ class BlobContainersOperations:
|
|
1646
1582
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1647
1583
|
|
1648
1584
|
if cls:
|
1649
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1585
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1650
1586
|
|
1651
|
-
return deserialized
|
1652
|
-
|
1653
|
-
create_or_update_immutability_policy.metadata = {
|
1654
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1655
|
-
}
|
1587
|
+
return deserialized # type: ignore
|
1656
1588
|
|
1657
1589
|
@distributed_trace
|
1658
1590
|
def get_immutability_policy(
|
@@ -1686,12 +1618,11 @@ class BlobContainersOperations:
|
|
1686
1618
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1687
1619
|
omitted, this operation will always be applied. Default value is None.
|
1688
1620
|
:type if_match: str
|
1689
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1690
1621
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1691
1622
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1692
1623
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1693
1624
|
"""
|
1694
|
-
error_map = {
|
1625
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1695
1626
|
401: ClientAuthenticationError,
|
1696
1627
|
404: ResourceNotFoundError,
|
1697
1628
|
409: ResourceExistsError,
|
@@ -1705,7 +1636,7 @@ class BlobContainersOperations:
|
|
1705
1636
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1706
1637
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1707
1638
|
|
1708
|
-
|
1639
|
+
_request = build_get_immutability_policy_request(
|
1709
1640
|
resource_group_name=resource_group_name,
|
1710
1641
|
account_name=account_name,
|
1711
1642
|
container_name=container_name,
|
@@ -1713,16 +1644,15 @@ class BlobContainersOperations:
|
|
1713
1644
|
subscription_id=self._config.subscription_id,
|
1714
1645
|
if_match=if_match,
|
1715
1646
|
api_version=api_version,
|
1716
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1717
1647
|
headers=_headers,
|
1718
1648
|
params=_params,
|
1719
1649
|
)
|
1720
|
-
|
1721
|
-
|
1650
|
+
_request = _convert_request(_request)
|
1651
|
+
_request.url = self._client.format_url(_request.url)
|
1722
1652
|
|
1723
1653
|
_stream = False
|
1724
1654
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1725
|
-
|
1655
|
+
_request, stream=_stream, **kwargs
|
1726
1656
|
)
|
1727
1657
|
|
1728
1658
|
response = pipeline_response.http_response
|
@@ -1737,13 +1667,9 @@ class BlobContainersOperations:
|
|
1737
1667
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1738
1668
|
|
1739
1669
|
if cls:
|
1740
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1670
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1741
1671
|
|
1742
|
-
return deserialized
|
1743
|
-
|
1744
|
-
get_immutability_policy.metadata = {
|
1745
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1746
|
-
}
|
1672
|
+
return deserialized # type: ignore
|
1747
1673
|
|
1748
1674
|
@distributed_trace
|
1749
1675
|
def delete_immutability_policy(
|
@@ -1779,12 +1705,11 @@ class BlobContainersOperations:
|
|
1779
1705
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1780
1706
|
omitted, this operation will always be applied. Required.
|
1781
1707
|
:type if_match: str
|
1782
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1783
1708
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1784
1709
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1785
1710
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1786
1711
|
"""
|
1787
|
-
error_map = {
|
1712
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1788
1713
|
401: ClientAuthenticationError,
|
1789
1714
|
404: ResourceNotFoundError,
|
1790
1715
|
409: ResourceExistsError,
|
@@ -1798,7 +1723,7 @@ class BlobContainersOperations:
|
|
1798
1723
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1799
1724
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1800
1725
|
|
1801
|
-
|
1726
|
+
_request = build_delete_immutability_policy_request(
|
1802
1727
|
resource_group_name=resource_group_name,
|
1803
1728
|
account_name=account_name,
|
1804
1729
|
container_name=container_name,
|
@@ -1806,16 +1731,15 @@ class BlobContainersOperations:
|
|
1806
1731
|
subscription_id=self._config.subscription_id,
|
1807
1732
|
if_match=if_match,
|
1808
1733
|
api_version=api_version,
|
1809
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1810
1734
|
headers=_headers,
|
1811
1735
|
params=_params,
|
1812
1736
|
)
|
1813
|
-
|
1814
|
-
|
1737
|
+
_request = _convert_request(_request)
|
1738
|
+
_request.url = self._client.format_url(_request.url)
|
1815
1739
|
|
1816
1740
|
_stream = False
|
1817
1741
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1818
|
-
|
1742
|
+
_request, stream=_stream, **kwargs
|
1819
1743
|
)
|
1820
1744
|
|
1821
1745
|
response = pipeline_response.http_response
|
@@ -1830,13 +1754,9 @@ class BlobContainersOperations:
|
|
1830
1754
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1831
1755
|
|
1832
1756
|
if cls:
|
1833
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1757
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1834
1758
|
|
1835
|
-
return deserialized
|
1836
|
-
|
1837
|
-
delete_immutability_policy.metadata = {
|
1838
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1839
|
-
}
|
1759
|
+
return deserialized # type: ignore
|
1840
1760
|
|
1841
1761
|
@distributed_trace
|
1842
1762
|
def lock_immutability_policy(
|
@@ -1861,12 +1781,11 @@ class BlobContainersOperations:
|
|
1861
1781
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1862
1782
|
omitted, this operation will always be applied. Required.
|
1863
1783
|
:type if_match: str
|
1864
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1865
1784
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1866
1785
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1867
1786
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1868
1787
|
"""
|
1869
|
-
error_map = {
|
1788
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1870
1789
|
401: ClientAuthenticationError,
|
1871
1790
|
404: ResourceNotFoundError,
|
1872
1791
|
409: ResourceExistsError,
|
@@ -1880,23 +1799,22 @@ class BlobContainersOperations:
|
|
1880
1799
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1881
1800
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1882
1801
|
|
1883
|
-
|
1802
|
+
_request = build_lock_immutability_policy_request(
|
1884
1803
|
resource_group_name=resource_group_name,
|
1885
1804
|
account_name=account_name,
|
1886
1805
|
container_name=container_name,
|
1887
1806
|
subscription_id=self._config.subscription_id,
|
1888
1807
|
if_match=if_match,
|
1889
1808
|
api_version=api_version,
|
1890
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1891
1809
|
headers=_headers,
|
1892
1810
|
params=_params,
|
1893
1811
|
)
|
1894
|
-
|
1895
|
-
|
1812
|
+
_request = _convert_request(_request)
|
1813
|
+
_request.url = self._client.format_url(_request.url)
|
1896
1814
|
|
1897
1815
|
_stream = False
|
1898
1816
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1899
|
-
|
1817
|
+
_request, stream=_stream, **kwargs
|
1900
1818
|
)
|
1901
1819
|
|
1902
1820
|
response = pipeline_response.http_response
|
@@ -1911,13 +1829,9 @@ class BlobContainersOperations:
|
|
1911
1829
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1912
1830
|
|
1913
1831
|
if cls:
|
1914
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1832
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1915
1833
|
|
1916
|
-
return deserialized
|
1917
|
-
|
1918
|
-
lock_immutability_policy.metadata = {
|
1919
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
1920
|
-
}
|
1834
|
+
return deserialized # type: ignore
|
1921
1835
|
|
1922
1836
|
@overload
|
1923
1837
|
def extend_immutability_policy(
|
@@ -1957,7 +1871,6 @@ class BlobContainersOperations:
|
|
1957
1871
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1958
1872
|
Default value is "application/json".
|
1959
1873
|
:paramtype content_type: str
|
1960
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1961
1874
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1962
1875
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1963
1876
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1970,7 +1883,7 @@ class BlobContainersOperations:
|
|
1970
1883
|
account_name: str,
|
1971
1884
|
container_name: str,
|
1972
1885
|
if_match: str,
|
1973
|
-
parameters: Optional[IO] = None,
|
1886
|
+
parameters: Optional[IO[bytes]] = None,
|
1974
1887
|
*,
|
1975
1888
|
content_type: str = "application/json",
|
1976
1889
|
**kwargs: Any
|
@@ -1997,11 +1910,10 @@ class BlobContainersOperations:
|
|
1997
1910
|
:type if_match: str
|
1998
1911
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1999
1912
|
container. Default value is None.
|
2000
|
-
:type parameters: IO
|
1913
|
+
:type parameters: IO[bytes]
|
2001
1914
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2002
1915
|
Default value is "application/json".
|
2003
1916
|
:paramtype content_type: str
|
2004
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2005
1917
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2006
1918
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
2007
1919
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2014,7 +1926,7 @@ class BlobContainersOperations:
|
|
2014
1926
|
account_name: str,
|
2015
1927
|
container_name: str,
|
2016
1928
|
if_match: str,
|
2017
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1929
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
2018
1930
|
**kwargs: Any
|
2019
1931
|
) -> _models.ImmutabilityPolicy:
|
2020
1932
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -2038,17 +1950,13 @@ class BlobContainersOperations:
|
|
2038
1950
|
omitted, this operation will always be applied. Required.
|
2039
1951
|
:type if_match: str
|
2040
1952
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2041
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
2042
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO
|
2043
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2044
|
-
Default value is None.
|
2045
|
-
:paramtype content_type: str
|
2046
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1953
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1954
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO[bytes]
|
2047
1955
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2048
1956
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
2049
1957
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2050
1958
|
"""
|
2051
|
-
error_map = {
|
1959
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2052
1960
|
401: ClientAuthenticationError,
|
2053
1961
|
404: ResourceNotFoundError,
|
2054
1962
|
409: ResourceExistsError,
|
@@ -2074,7 +1982,7 @@ class BlobContainersOperations:
|
|
2074
1982
|
else:
|
2075
1983
|
_json = None
|
2076
1984
|
|
2077
|
-
|
1985
|
+
_request = build_extend_immutability_policy_request(
|
2078
1986
|
resource_group_name=resource_group_name,
|
2079
1987
|
account_name=account_name,
|
2080
1988
|
container_name=container_name,
|
@@ -2084,16 +1992,15 @@ class BlobContainersOperations:
|
|
2084
1992
|
content_type=content_type,
|
2085
1993
|
json=_json,
|
2086
1994
|
content=_content,
|
2087
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
2088
1995
|
headers=_headers,
|
2089
1996
|
params=_params,
|
2090
1997
|
)
|
2091
|
-
|
2092
|
-
|
1998
|
+
_request = _convert_request(_request)
|
1999
|
+
_request.url = self._client.format_url(_request.url)
|
2093
2000
|
|
2094
2001
|
_stream = False
|
2095
2002
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2096
|
-
|
2003
|
+
_request, stream=_stream, **kwargs
|
2097
2004
|
)
|
2098
2005
|
|
2099
2006
|
response = pipeline_response.http_response
|
@@ -2108,13 +2015,9 @@ class BlobContainersOperations:
|
|
2108
2015
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
2109
2016
|
|
2110
2017
|
if cls:
|
2111
|
-
return cls(pipeline_response, deserialized, response_headers)
|
2112
|
-
|
2113
|
-
return deserialized
|
2018
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
2114
2019
|
|
2115
|
-
|
2116
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
2117
|
-
}
|
2020
|
+
return deserialized # type: ignore
|
2118
2021
|
|
2119
2022
|
@overload
|
2120
2023
|
def lease(
|
@@ -2147,7 +2050,6 @@ class BlobContainersOperations:
|
|
2147
2050
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2148
2051
|
Default value is "application/json".
|
2149
2052
|
:paramtype content_type: str
|
2150
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2151
2053
|
:return: LeaseContainerResponse or the result of cls(response)
|
2152
2054
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
|
2153
2055
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2159,7 +2061,7 @@ class BlobContainersOperations:
|
|
2159
2061
|
resource_group_name: str,
|
2160
2062
|
account_name: str,
|
2161
2063
|
container_name: str,
|
2162
|
-
parameters: Optional[IO] = None,
|
2064
|
+
parameters: Optional[IO[bytes]] = None,
|
2163
2065
|
*,
|
2164
2066
|
content_type: str = "application/json",
|
2165
2067
|
**kwargs: Any
|
@@ -2180,11 +2082,10 @@ class BlobContainersOperations:
|
|
2180
2082
|
by a letter or number. Required.
|
2181
2083
|
:type container_name: str
|
2182
2084
|
:param parameters: Lease Container request body. Default value is None.
|
2183
|
-
:type parameters: IO
|
2085
|
+
:type parameters: IO[bytes]
|
2184
2086
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2185
2087
|
Default value is "application/json".
|
2186
2088
|
:paramtype content_type: str
|
2187
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2188
2089
|
:return: LeaseContainerResponse or the result of cls(response)
|
2189
2090
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
|
2190
2091
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2196,7 +2097,7 @@ class BlobContainersOperations:
|
|
2196
2097
|
resource_group_name: str,
|
2197
2098
|
account_name: str,
|
2198
2099
|
container_name: str,
|
2199
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
2100
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
2200
2101
|
**kwargs: Any
|
2201
2102
|
) -> _models.LeaseContainerResponse:
|
2202
2103
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -2214,18 +2115,14 @@ class BlobContainersOperations:
|
|
2214
2115
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
2215
2116
|
by a letter or number. Required.
|
2216
2117
|
:type container_name: str
|
2217
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2218
|
-
type. Default value is None.
|
2219
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerRequest or IO
|
2220
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2221
|
-
Default value is None.
|
2222
|
-
:paramtype content_type: str
|
2223
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2118
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2119
|
+
IO[bytes] type. Default value is None.
|
2120
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerRequest or IO[bytes]
|
2224
2121
|
:return: LeaseContainerResponse or the result of cls(response)
|
2225
2122
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
|
2226
2123
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2227
2124
|
"""
|
2228
|
-
error_map = {
|
2125
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2229
2126
|
401: ClientAuthenticationError,
|
2230
2127
|
404: ResourceNotFoundError,
|
2231
2128
|
409: ResourceExistsError,
|
@@ -2251,7 +2148,7 @@ class BlobContainersOperations:
|
|
2251
2148
|
else:
|
2252
2149
|
_json = None
|
2253
2150
|
|
2254
|
-
|
2151
|
+
_request = build_lease_request(
|
2255
2152
|
resource_group_name=resource_group_name,
|
2256
2153
|
account_name=account_name,
|
2257
2154
|
container_name=container_name,
|
@@ -2260,16 +2157,15 @@ class BlobContainersOperations:
|
|
2260
2157
|
content_type=content_type,
|
2261
2158
|
json=_json,
|
2262
2159
|
content=_content,
|
2263
|
-
template_url=self.lease.metadata["url"],
|
2264
2160
|
headers=_headers,
|
2265
2161
|
params=_params,
|
2266
2162
|
)
|
2267
|
-
|
2268
|
-
|
2163
|
+
_request = _convert_request(_request)
|
2164
|
+
_request.url = self._client.format_url(_request.url)
|
2269
2165
|
|
2270
2166
|
_stream = False
|
2271
2167
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2272
|
-
|
2168
|
+
_request, stream=_stream, **kwargs
|
2273
2169
|
)
|
2274
2170
|
|
2275
2171
|
response = pipeline_response.http_response
|
@@ -2281,10 +2177,6 @@ class BlobContainersOperations:
|
|
2281
2177
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
2282
2178
|
|
2283
2179
|
if cls:
|
2284
|
-
return cls(pipeline_response, deserialized, {})
|
2285
|
-
|
2286
|
-
return deserialized
|
2180
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
2287
2181
|
|
2288
|
-
|
2289
|
-
"url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
2290
|
-
}
|
2182
|
+
return deserialized # type: ignore
|