azure-mgmt-storage 21.1.0__py3-none-any.whl → 21.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azure/mgmt/storage/_configuration.py +2 -3
- azure/mgmt/storage/_serialization.py +41 -49
- azure/mgmt/storage/_storage_management_client.py +142 -2
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_configuration.py +2 -3
- azure/mgmt/storage/aio/_storage_management_client.py +142 -2
- azure/mgmt/storage/models.py +1 -1
- azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
- azure/mgmt/storage/v2015_06_15/_version.py +1 -1
- azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
- azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2016_01_01/_version.py +1 -1
- azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
- azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2016_12_01/_version.py +1 -1
- azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
- azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_06_01/_version.py +1 -1
- azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_10_01/_version.py +1 -1
- azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_02_01/_version.py +1 -1
- azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
- azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
- azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
- azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_07_01/_version.py +1 -1
- azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
- azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_11_01/_version.py +1 -1
- azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
- azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
- azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
- azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
- azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_04_01/_version.py +1 -1
- azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
- azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
- azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
- azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_06_01/_version.py +1 -1
- azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
- azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_01_01/_version.py +1 -1
- azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_02_01/_version.py +1 -1
- azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
- azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_04_01/_version.py +1 -1
- azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
- azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_06_01/_version.py +1 -1
- azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_08_01/_version.py +1 -1
- azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
- azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_09_01/_version.py +1 -1
- azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_05_01/_version.py +1 -1
- azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_09_01/_version.py +1 -1
- azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2023_01_01/_version.py +1 -1
- azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
- azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
- azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
- azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
- azure/mgmt/storage/v2023_05_01/_version.py +9 -0
- azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
- azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
- azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
- azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
- azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
- azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
- azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
- azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
- azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
- azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
- azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
- azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
- azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
- azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
1
|
+
# pylint: disable=too-many-lines,too-many-statements
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -7,7 +7,8 @@
|
|
7
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
8
|
# --------------------------------------------------------------------------
|
9
9
|
from io import IOBase
|
10
|
-
|
10
|
+
import sys
|
11
|
+
from typing import Any, Callable, Dict, IO, Optional, Type, TypeVar, Union, overload
|
11
12
|
|
12
13
|
from azure.core.exceptions import (
|
13
14
|
ClientAuthenticationError,
|
@@ -42,6 +43,10 @@ from ...operations._blob_containers_operations import (
|
|
42
43
|
build_update_request,
|
43
44
|
)
|
44
45
|
|
46
|
+
if sys.version_info >= (3, 9):
|
47
|
+
from collections.abc import MutableMapping
|
48
|
+
else:
|
49
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
45
50
|
T = TypeVar("T")
|
46
51
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
47
52
|
|
@@ -78,12 +83,11 @@ class BlobContainersOperations:
|
|
78
83
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
79
84
|
lower-case letters only. Required.
|
80
85
|
:type account_name: str
|
81
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
82
86
|
:return: ListContainerItems or the result of cls(response)
|
83
87
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ListContainerItems
|
84
88
|
:raises ~azure.core.exceptions.HttpResponseError:
|
85
89
|
"""
|
86
|
-
error_map = {
|
90
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
87
91
|
401: ClientAuthenticationError,
|
88
92
|
404: ResourceNotFoundError,
|
89
93
|
409: ResourceExistsError,
|
@@ -97,21 +101,20 @@ class BlobContainersOperations:
|
|
97
101
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
98
102
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
99
103
|
|
100
|
-
|
104
|
+
_request = build_list_request(
|
101
105
|
resource_group_name=resource_group_name,
|
102
106
|
account_name=account_name,
|
103
107
|
subscription_id=self._config.subscription_id,
|
104
108
|
api_version=api_version,
|
105
|
-
template_url=self.list.metadata["url"],
|
106
109
|
headers=_headers,
|
107
110
|
params=_params,
|
108
111
|
)
|
109
|
-
|
110
|
-
|
112
|
+
_request = _convert_request(_request)
|
113
|
+
_request.url = self._client.format_url(_request.url)
|
111
114
|
|
112
115
|
_stream = False
|
113
116
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
114
|
-
|
117
|
+
_request, stream=_stream, **kwargs
|
115
118
|
)
|
116
119
|
|
117
120
|
response = pipeline_response.http_response
|
@@ -123,13 +126,9 @@ class BlobContainersOperations:
|
|
123
126
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
124
127
|
|
125
128
|
if cls:
|
126
|
-
return cls(pipeline_response, deserialized, {})
|
127
|
-
|
128
|
-
return deserialized
|
129
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
129
130
|
|
130
|
-
|
131
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
132
|
-
}
|
131
|
+
return deserialized # type: ignore
|
133
132
|
|
134
133
|
@overload
|
135
134
|
async def create(
|
@@ -163,7 +162,6 @@ class BlobContainersOperations:
|
|
163
162
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
164
163
|
Default value is "application/json".
|
165
164
|
:paramtype content_type: str
|
166
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
167
165
|
:return: BlobContainer or the result of cls(response)
|
168
166
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
169
167
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -175,7 +173,7 @@ class BlobContainersOperations:
|
|
175
173
|
resource_group_name: str,
|
176
174
|
account_name: str,
|
177
175
|
container_name: str,
|
178
|
-
blob_container: IO,
|
176
|
+
blob_container: IO[bytes],
|
179
177
|
*,
|
180
178
|
content_type: str = "application/json",
|
181
179
|
**kwargs: Any
|
@@ -197,11 +195,10 @@ class BlobContainersOperations:
|
|
197
195
|
by a letter or number. Required.
|
198
196
|
:type container_name: str
|
199
197
|
:param blob_container: Properties of the blob container to create. Required.
|
200
|
-
:type blob_container: IO
|
198
|
+
:type blob_container: IO[bytes]
|
201
199
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
202
200
|
Default value is "application/json".
|
203
201
|
:paramtype content_type: str
|
204
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
205
202
|
:return: BlobContainer or the result of cls(response)
|
206
203
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
207
204
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -213,7 +210,7 @@ class BlobContainersOperations:
|
|
213
210
|
resource_group_name: str,
|
214
211
|
account_name: str,
|
215
212
|
container_name: str,
|
216
|
-
blob_container: Union[_models.BlobContainer, IO],
|
213
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
217
214
|
**kwargs: Any
|
218
215
|
) -> _models.BlobContainer:
|
219
216
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -233,17 +230,13 @@ class BlobContainersOperations:
|
|
233
230
|
by a letter or number. Required.
|
234
231
|
:type container_name: str
|
235
232
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
236
|
-
type or a IO type. Required.
|
237
|
-
:type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO
|
238
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
239
|
-
Default value is None.
|
240
|
-
:paramtype content_type: str
|
241
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
233
|
+
type or a IO[bytes] type. Required.
|
234
|
+
:type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO[bytes]
|
242
235
|
:return: BlobContainer or the result of cls(response)
|
243
236
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
244
237
|
:raises ~azure.core.exceptions.HttpResponseError:
|
245
238
|
"""
|
246
|
-
error_map = {
|
239
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
247
240
|
401: ClientAuthenticationError,
|
248
241
|
404: ResourceNotFoundError,
|
249
242
|
409: ResourceExistsError,
|
@@ -266,7 +259,7 @@ class BlobContainersOperations:
|
|
266
259
|
else:
|
267
260
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
268
261
|
|
269
|
-
|
262
|
+
_request = build_create_request(
|
270
263
|
resource_group_name=resource_group_name,
|
271
264
|
account_name=account_name,
|
272
265
|
container_name=container_name,
|
@@ -275,16 +268,15 @@ class BlobContainersOperations:
|
|
275
268
|
content_type=content_type,
|
276
269
|
json=_json,
|
277
270
|
content=_content,
|
278
|
-
template_url=self.create.metadata["url"],
|
279
271
|
headers=_headers,
|
280
272
|
params=_params,
|
281
273
|
)
|
282
|
-
|
283
|
-
|
274
|
+
_request = _convert_request(_request)
|
275
|
+
_request.url = self._client.format_url(_request.url)
|
284
276
|
|
285
277
|
_stream = False
|
286
278
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
287
|
-
|
279
|
+
_request, stream=_stream, **kwargs
|
288
280
|
)
|
289
281
|
|
290
282
|
response = pipeline_response.http_response
|
@@ -304,10 +296,6 @@ class BlobContainersOperations:
|
|
304
296
|
|
305
297
|
return deserialized # type: ignore
|
306
298
|
|
307
|
-
create.metadata = {
|
308
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
309
|
-
}
|
310
|
-
|
311
299
|
@overload
|
312
300
|
async def update(
|
313
301
|
self,
|
@@ -339,7 +327,6 @@ class BlobContainersOperations:
|
|
339
327
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
340
328
|
Default value is "application/json".
|
341
329
|
:paramtype content_type: str
|
342
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
343
330
|
:return: BlobContainer or the result of cls(response)
|
344
331
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
345
332
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -351,7 +338,7 @@ class BlobContainersOperations:
|
|
351
338
|
resource_group_name: str,
|
352
339
|
account_name: str,
|
353
340
|
container_name: str,
|
354
|
-
blob_container: IO,
|
341
|
+
blob_container: IO[bytes],
|
355
342
|
*,
|
356
343
|
content_type: str = "application/json",
|
357
344
|
**kwargs: Any
|
@@ -372,11 +359,10 @@ class BlobContainersOperations:
|
|
372
359
|
by a letter or number. Required.
|
373
360
|
:type container_name: str
|
374
361
|
:param blob_container: Properties to update for the blob container. Required.
|
375
|
-
:type blob_container: IO
|
362
|
+
:type blob_container: IO[bytes]
|
376
363
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
377
364
|
Default value is "application/json".
|
378
365
|
:paramtype content_type: str
|
379
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
380
366
|
:return: BlobContainer or the result of cls(response)
|
381
367
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
382
368
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -388,7 +374,7 @@ class BlobContainersOperations:
|
|
388
374
|
resource_group_name: str,
|
389
375
|
account_name: str,
|
390
376
|
container_name: str,
|
391
|
-
blob_container: Union[_models.BlobContainer, IO],
|
377
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
392
378
|
**kwargs: Any
|
393
379
|
) -> _models.BlobContainer:
|
394
380
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -407,17 +393,13 @@ class BlobContainersOperations:
|
|
407
393
|
by a letter or number. Required.
|
408
394
|
:type container_name: str
|
409
395
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
410
|
-
type or a IO type. Required.
|
411
|
-
:type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO
|
412
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
413
|
-
Default value is None.
|
414
|
-
:paramtype content_type: str
|
415
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
396
|
+
type or a IO[bytes] type. Required.
|
397
|
+
:type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO[bytes]
|
416
398
|
:return: BlobContainer or the result of cls(response)
|
417
399
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
418
400
|
:raises ~azure.core.exceptions.HttpResponseError:
|
419
401
|
"""
|
420
|
-
error_map = {
|
402
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
421
403
|
401: ClientAuthenticationError,
|
422
404
|
404: ResourceNotFoundError,
|
423
405
|
409: ResourceExistsError,
|
@@ -440,7 +422,7 @@ class BlobContainersOperations:
|
|
440
422
|
else:
|
441
423
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
442
424
|
|
443
|
-
|
425
|
+
_request = build_update_request(
|
444
426
|
resource_group_name=resource_group_name,
|
445
427
|
account_name=account_name,
|
446
428
|
container_name=container_name,
|
@@ -449,16 +431,15 @@ class BlobContainersOperations:
|
|
449
431
|
content_type=content_type,
|
450
432
|
json=_json,
|
451
433
|
content=_content,
|
452
|
-
template_url=self.update.metadata["url"],
|
453
434
|
headers=_headers,
|
454
435
|
params=_params,
|
455
436
|
)
|
456
|
-
|
457
|
-
|
437
|
+
_request = _convert_request(_request)
|
438
|
+
_request.url = self._client.format_url(_request.url)
|
458
439
|
|
459
440
|
_stream = False
|
460
441
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
461
|
-
|
442
|
+
_request, stream=_stream, **kwargs
|
462
443
|
)
|
463
444
|
|
464
445
|
response = pipeline_response.http_response
|
@@ -470,13 +451,9 @@ class BlobContainersOperations:
|
|
470
451
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
471
452
|
|
472
453
|
if cls:
|
473
|
-
return cls(pipeline_response, deserialized, {})
|
474
|
-
|
475
|
-
return deserialized
|
454
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
476
455
|
|
477
|
-
|
478
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
479
|
-
}
|
456
|
+
return deserialized # type: ignore
|
480
457
|
|
481
458
|
@distributed_trace_async
|
482
459
|
async def get(
|
@@ -496,12 +473,11 @@ class BlobContainersOperations:
|
|
496
473
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
497
474
|
by a letter or number. Required.
|
498
475
|
:type container_name: str
|
499
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
500
476
|
:return: BlobContainer or the result of cls(response)
|
501
477
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
|
502
478
|
:raises ~azure.core.exceptions.HttpResponseError:
|
503
479
|
"""
|
504
|
-
error_map = {
|
480
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
505
481
|
401: ClientAuthenticationError,
|
506
482
|
404: ResourceNotFoundError,
|
507
483
|
409: ResourceExistsError,
|
@@ -515,22 +491,21 @@ class BlobContainersOperations:
|
|
515
491
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
516
492
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
517
493
|
|
518
|
-
|
494
|
+
_request = build_get_request(
|
519
495
|
resource_group_name=resource_group_name,
|
520
496
|
account_name=account_name,
|
521
497
|
container_name=container_name,
|
522
498
|
subscription_id=self._config.subscription_id,
|
523
499
|
api_version=api_version,
|
524
|
-
template_url=self.get.metadata["url"],
|
525
500
|
headers=_headers,
|
526
501
|
params=_params,
|
527
502
|
)
|
528
|
-
|
529
|
-
|
503
|
+
_request = _convert_request(_request)
|
504
|
+
_request.url = self._client.format_url(_request.url)
|
530
505
|
|
531
506
|
_stream = False
|
532
507
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
533
|
-
|
508
|
+
_request, stream=_stream, **kwargs
|
534
509
|
)
|
535
510
|
|
536
511
|
response = pipeline_response.http_response
|
@@ -542,13 +517,9 @@ class BlobContainersOperations:
|
|
542
517
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
543
518
|
|
544
519
|
if cls:
|
545
|
-
return cls(pipeline_response, deserialized, {})
|
546
|
-
|
547
|
-
return deserialized
|
520
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
548
521
|
|
549
|
-
|
550
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
551
|
-
}
|
522
|
+
return deserialized # type: ignore
|
552
523
|
|
553
524
|
@distributed_trace_async
|
554
525
|
async def delete( # pylint: disable=inconsistent-return-statements
|
@@ -568,12 +539,11 @@ class BlobContainersOperations:
|
|
568
539
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
569
540
|
by a letter or number. Required.
|
570
541
|
:type container_name: str
|
571
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
572
542
|
:return: None or the result of cls(response)
|
573
543
|
:rtype: None
|
574
544
|
:raises ~azure.core.exceptions.HttpResponseError:
|
575
545
|
"""
|
576
|
-
error_map = {
|
546
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
577
547
|
401: ClientAuthenticationError,
|
578
548
|
404: ResourceNotFoundError,
|
579
549
|
409: ResourceExistsError,
|
@@ -587,22 +557,21 @@ class BlobContainersOperations:
|
|
587
557
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
588
558
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
589
559
|
|
590
|
-
|
560
|
+
_request = build_delete_request(
|
591
561
|
resource_group_name=resource_group_name,
|
592
562
|
account_name=account_name,
|
593
563
|
container_name=container_name,
|
594
564
|
subscription_id=self._config.subscription_id,
|
595
565
|
api_version=api_version,
|
596
|
-
template_url=self.delete.metadata["url"],
|
597
566
|
headers=_headers,
|
598
567
|
params=_params,
|
599
568
|
)
|
600
|
-
|
601
|
-
|
569
|
+
_request = _convert_request(_request)
|
570
|
+
_request.url = self._client.format_url(_request.url)
|
602
571
|
|
603
572
|
_stream = False
|
604
573
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
605
|
-
|
574
|
+
_request, stream=_stream, **kwargs
|
606
575
|
)
|
607
576
|
|
608
577
|
response = pipeline_response.http_response
|
@@ -612,11 +581,7 @@ class BlobContainersOperations:
|
|
612
581
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
613
582
|
|
614
583
|
if cls:
|
615
|
-
return cls(pipeline_response, None, {})
|
616
|
-
|
617
|
-
delete.metadata = {
|
618
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
619
|
-
}
|
584
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
620
585
|
|
621
586
|
@overload
|
622
587
|
async def set_legal_hold(
|
@@ -650,7 +615,6 @@ class BlobContainersOperations:
|
|
650
615
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
651
616
|
Default value is "application/json".
|
652
617
|
:paramtype content_type: str
|
653
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
654
618
|
:return: LegalHold or the result of cls(response)
|
655
619
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
656
620
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -662,7 +626,7 @@ class BlobContainersOperations:
|
|
662
626
|
resource_group_name: str,
|
663
627
|
account_name: str,
|
664
628
|
container_name: str,
|
665
|
-
legal_hold: IO,
|
629
|
+
legal_hold: IO[bytes],
|
666
630
|
*,
|
667
631
|
content_type: str = "application/json",
|
668
632
|
**kwargs: Any
|
@@ -684,11 +648,10 @@ class BlobContainersOperations:
|
|
684
648
|
by a letter or number. Required.
|
685
649
|
:type container_name: str
|
686
650
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
687
|
-
:type legal_hold: IO
|
651
|
+
:type legal_hold: IO[bytes]
|
688
652
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
689
653
|
Default value is "application/json".
|
690
654
|
:paramtype content_type: str
|
691
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
692
655
|
:return: LegalHold or the result of cls(response)
|
693
656
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
694
657
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -700,7 +663,7 @@ class BlobContainersOperations:
|
|
700
663
|
resource_group_name: str,
|
701
664
|
account_name: str,
|
702
665
|
container_name: str,
|
703
|
-
legal_hold: Union[_models.LegalHold, IO],
|
666
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
704
667
|
**kwargs: Any
|
705
668
|
) -> _models.LegalHold:
|
706
669
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -720,17 +683,13 @@ class BlobContainersOperations:
|
|
720
683
|
by a letter or number. Required.
|
721
684
|
:type container_name: str
|
722
685
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
723
|
-
LegalHold type or a IO type. Required.
|
724
|
-
:type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO
|
725
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
726
|
-
Default value is None.
|
727
|
-
:paramtype content_type: str
|
728
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
686
|
+
LegalHold type or a IO[bytes] type. Required.
|
687
|
+
:type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO[bytes]
|
729
688
|
:return: LegalHold or the result of cls(response)
|
730
689
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
731
690
|
:raises ~azure.core.exceptions.HttpResponseError:
|
732
691
|
"""
|
733
|
-
error_map = {
|
692
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
734
693
|
401: ClientAuthenticationError,
|
735
694
|
404: ResourceNotFoundError,
|
736
695
|
409: ResourceExistsError,
|
@@ -753,7 +712,7 @@ class BlobContainersOperations:
|
|
753
712
|
else:
|
754
713
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
755
714
|
|
756
|
-
|
715
|
+
_request = build_set_legal_hold_request(
|
757
716
|
resource_group_name=resource_group_name,
|
758
717
|
account_name=account_name,
|
759
718
|
container_name=container_name,
|
@@ -762,16 +721,15 @@ class BlobContainersOperations:
|
|
762
721
|
content_type=content_type,
|
763
722
|
json=_json,
|
764
723
|
content=_content,
|
765
|
-
template_url=self.set_legal_hold.metadata["url"],
|
766
724
|
headers=_headers,
|
767
725
|
params=_params,
|
768
726
|
)
|
769
|
-
|
770
|
-
|
727
|
+
_request = _convert_request(_request)
|
728
|
+
_request.url = self._client.format_url(_request.url)
|
771
729
|
|
772
730
|
_stream = False
|
773
731
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
774
|
-
|
732
|
+
_request, stream=_stream, **kwargs
|
775
733
|
)
|
776
734
|
|
777
735
|
response = pipeline_response.http_response
|
@@ -783,13 +741,9 @@ class BlobContainersOperations:
|
|
783
741
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
784
742
|
|
785
743
|
if cls:
|
786
|
-
return cls(pipeline_response, deserialized, {})
|
787
|
-
|
788
|
-
return deserialized
|
744
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
789
745
|
|
790
|
-
|
791
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
792
|
-
}
|
746
|
+
return deserialized # type: ignore
|
793
747
|
|
794
748
|
@overload
|
795
749
|
async def clear_legal_hold(
|
@@ -822,7 +776,6 @@ class BlobContainersOperations:
|
|
822
776
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
823
777
|
Default value is "application/json".
|
824
778
|
:paramtype content_type: str
|
825
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
826
779
|
:return: LegalHold or the result of cls(response)
|
827
780
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
828
781
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -834,7 +787,7 @@ class BlobContainersOperations:
|
|
834
787
|
resource_group_name: str,
|
835
788
|
account_name: str,
|
836
789
|
container_name: str,
|
837
|
-
legal_hold: IO,
|
790
|
+
legal_hold: IO[bytes],
|
838
791
|
*,
|
839
792
|
content_type: str = "application/json",
|
840
793
|
**kwargs: Any
|
@@ -855,11 +808,10 @@ class BlobContainersOperations:
|
|
855
808
|
by a letter or number. Required.
|
856
809
|
:type container_name: str
|
857
810
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
858
|
-
:type legal_hold: IO
|
811
|
+
:type legal_hold: IO[bytes]
|
859
812
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
860
813
|
Default value is "application/json".
|
861
814
|
:paramtype content_type: str
|
862
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
863
815
|
:return: LegalHold or the result of cls(response)
|
864
816
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
865
817
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -871,7 +823,7 @@ class BlobContainersOperations:
|
|
871
823
|
resource_group_name: str,
|
872
824
|
account_name: str,
|
873
825
|
container_name: str,
|
874
|
-
legal_hold: Union[_models.LegalHold, IO],
|
826
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
875
827
|
**kwargs: Any
|
876
828
|
) -> _models.LegalHold:
|
877
829
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -890,17 +842,13 @@ class BlobContainersOperations:
|
|
890
842
|
by a letter or number. Required.
|
891
843
|
:type container_name: str
|
892
844
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
893
|
-
LegalHold type or a IO type. Required.
|
894
|
-
:type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO
|
895
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
896
|
-
Default value is None.
|
897
|
-
:paramtype content_type: str
|
898
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
845
|
+
LegalHold type or a IO[bytes] type. Required.
|
846
|
+
:type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO[bytes]
|
899
847
|
:return: LegalHold or the result of cls(response)
|
900
848
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
|
901
849
|
:raises ~azure.core.exceptions.HttpResponseError:
|
902
850
|
"""
|
903
|
-
error_map = {
|
851
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
904
852
|
401: ClientAuthenticationError,
|
905
853
|
404: ResourceNotFoundError,
|
906
854
|
409: ResourceExistsError,
|
@@ -923,7 +871,7 @@ class BlobContainersOperations:
|
|
923
871
|
else:
|
924
872
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
925
873
|
|
926
|
-
|
874
|
+
_request = build_clear_legal_hold_request(
|
927
875
|
resource_group_name=resource_group_name,
|
928
876
|
account_name=account_name,
|
929
877
|
container_name=container_name,
|
@@ -932,16 +880,15 @@ class BlobContainersOperations:
|
|
932
880
|
content_type=content_type,
|
933
881
|
json=_json,
|
934
882
|
content=_content,
|
935
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
936
883
|
headers=_headers,
|
937
884
|
params=_params,
|
938
885
|
)
|
939
|
-
|
940
|
-
|
886
|
+
_request = _convert_request(_request)
|
887
|
+
_request.url = self._client.format_url(_request.url)
|
941
888
|
|
942
889
|
_stream = False
|
943
890
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
944
|
-
|
891
|
+
_request, stream=_stream, **kwargs
|
945
892
|
)
|
946
893
|
|
947
894
|
response = pipeline_response.http_response
|
@@ -953,13 +900,9 @@ class BlobContainersOperations:
|
|
953
900
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
954
901
|
|
955
902
|
if cls:
|
956
|
-
return cls(pipeline_response, deserialized, {})
|
957
|
-
|
958
|
-
return deserialized
|
903
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
959
904
|
|
960
|
-
|
961
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
962
|
-
}
|
905
|
+
return deserialized # type: ignore
|
963
906
|
|
964
907
|
@overload
|
965
908
|
async def create_or_update_immutability_policy(
|
@@ -1002,7 +945,6 @@ class BlobContainersOperations:
|
|
1002
945
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1003
946
|
Default value is "application/json".
|
1004
947
|
:paramtype content_type: str
|
1005
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1006
948
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1007
949
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1008
950
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1016,7 +958,7 @@ class BlobContainersOperations:
|
|
1016
958
|
container_name: str,
|
1017
959
|
immutability_policy_name: Union[str, _models.Enum10],
|
1018
960
|
if_match: Optional[str] = None,
|
1019
|
-
parameters: Optional[IO] = None,
|
961
|
+
parameters: Optional[IO[bytes]] = None,
|
1020
962
|
*,
|
1021
963
|
content_type: str = "application/json",
|
1022
964
|
**kwargs: Any
|
@@ -1045,11 +987,10 @@ class BlobContainersOperations:
|
|
1045
987
|
:type if_match: str
|
1046
988
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1047
989
|
container. Default value is None.
|
1048
|
-
:type parameters: IO
|
990
|
+
:type parameters: IO[bytes]
|
1049
991
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1050
992
|
Default value is "application/json".
|
1051
993
|
:paramtype content_type: str
|
1052
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1053
994
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1054
995
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1055
996
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1063,7 +1004,7 @@ class BlobContainersOperations:
|
|
1063
1004
|
container_name: str,
|
1064
1005
|
immutability_policy_name: Union[str, _models.Enum10],
|
1065
1006
|
if_match: Optional[str] = None,
|
1066
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1007
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1067
1008
|
**kwargs: Any
|
1068
1009
|
) -> _models.ImmutabilityPolicy:
|
1069
1010
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1089,17 +1030,13 @@ class BlobContainersOperations:
|
|
1089
1030
|
omitted, this operation will always be applied. Default value is None.
|
1090
1031
|
:type if_match: str
|
1091
1032
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1092
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1093
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO
|
1094
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1095
|
-
Default value is None.
|
1096
|
-
:paramtype content_type: str
|
1097
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1033
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1034
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO[bytes]
|
1098
1035
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1099
1036
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1100
1037
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1101
1038
|
"""
|
1102
|
-
error_map = {
|
1039
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1103
1040
|
401: ClientAuthenticationError,
|
1104
1041
|
404: ResourceNotFoundError,
|
1105
1042
|
409: ResourceExistsError,
|
@@ -1125,7 +1062,7 @@ class BlobContainersOperations:
|
|
1125
1062
|
else:
|
1126
1063
|
_json = None
|
1127
1064
|
|
1128
|
-
|
1065
|
+
_request = build_create_or_update_immutability_policy_request(
|
1129
1066
|
resource_group_name=resource_group_name,
|
1130
1067
|
account_name=account_name,
|
1131
1068
|
container_name=container_name,
|
@@ -1136,16 +1073,15 @@ class BlobContainersOperations:
|
|
1136
1073
|
content_type=content_type,
|
1137
1074
|
json=_json,
|
1138
1075
|
content=_content,
|
1139
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1140
1076
|
headers=_headers,
|
1141
1077
|
params=_params,
|
1142
1078
|
)
|
1143
|
-
|
1144
|
-
|
1079
|
+
_request = _convert_request(_request)
|
1080
|
+
_request.url = self._client.format_url(_request.url)
|
1145
1081
|
|
1146
1082
|
_stream = False
|
1147
1083
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1148
|
-
|
1084
|
+
_request, stream=_stream, **kwargs
|
1149
1085
|
)
|
1150
1086
|
|
1151
1087
|
response = pipeline_response.http_response
|
@@ -1160,13 +1096,9 @@ class BlobContainersOperations:
|
|
1160
1096
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1161
1097
|
|
1162
1098
|
if cls:
|
1163
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1099
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1164
1100
|
|
1165
|
-
return deserialized
|
1166
|
-
|
1167
|
-
create_or_update_immutability_policy.metadata = {
|
1168
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1169
|
-
}
|
1101
|
+
return deserialized # type: ignore
|
1170
1102
|
|
1171
1103
|
@distributed_trace_async
|
1172
1104
|
async def get_immutability_policy(
|
@@ -1200,12 +1132,11 @@ class BlobContainersOperations:
|
|
1200
1132
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1201
1133
|
omitted, this operation will always be applied. Default value is None.
|
1202
1134
|
:type if_match: str
|
1203
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1204
1135
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1205
1136
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1206
1137
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1207
1138
|
"""
|
1208
|
-
error_map = {
|
1139
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1209
1140
|
401: ClientAuthenticationError,
|
1210
1141
|
404: ResourceNotFoundError,
|
1211
1142
|
409: ResourceExistsError,
|
@@ -1219,7 +1150,7 @@ class BlobContainersOperations:
|
|
1219
1150
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1220
1151
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1221
1152
|
|
1222
|
-
|
1153
|
+
_request = build_get_immutability_policy_request(
|
1223
1154
|
resource_group_name=resource_group_name,
|
1224
1155
|
account_name=account_name,
|
1225
1156
|
container_name=container_name,
|
@@ -1227,16 +1158,15 @@ class BlobContainersOperations:
|
|
1227
1158
|
subscription_id=self._config.subscription_id,
|
1228
1159
|
if_match=if_match,
|
1229
1160
|
api_version=api_version,
|
1230
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1231
1161
|
headers=_headers,
|
1232
1162
|
params=_params,
|
1233
1163
|
)
|
1234
|
-
|
1235
|
-
|
1164
|
+
_request = _convert_request(_request)
|
1165
|
+
_request.url = self._client.format_url(_request.url)
|
1236
1166
|
|
1237
1167
|
_stream = False
|
1238
1168
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1239
|
-
|
1169
|
+
_request, stream=_stream, **kwargs
|
1240
1170
|
)
|
1241
1171
|
|
1242
1172
|
response = pipeline_response.http_response
|
@@ -1251,13 +1181,9 @@ class BlobContainersOperations:
|
|
1251
1181
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1252
1182
|
|
1253
1183
|
if cls:
|
1254
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1184
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1255
1185
|
|
1256
|
-
return deserialized
|
1257
|
-
|
1258
|
-
get_immutability_policy.metadata = {
|
1259
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1260
|
-
}
|
1186
|
+
return deserialized # type: ignore
|
1261
1187
|
|
1262
1188
|
@distributed_trace_async
|
1263
1189
|
async def delete_immutability_policy(
|
@@ -1293,12 +1219,11 @@ class BlobContainersOperations:
|
|
1293
1219
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1294
1220
|
omitted, this operation will always be applied. Required.
|
1295
1221
|
:type if_match: str
|
1296
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1297
1222
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1298
1223
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1299
1224
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1300
1225
|
"""
|
1301
|
-
error_map = {
|
1226
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1302
1227
|
401: ClientAuthenticationError,
|
1303
1228
|
404: ResourceNotFoundError,
|
1304
1229
|
409: ResourceExistsError,
|
@@ -1312,7 +1237,7 @@ class BlobContainersOperations:
|
|
1312
1237
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1313
1238
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1314
1239
|
|
1315
|
-
|
1240
|
+
_request = build_delete_immutability_policy_request(
|
1316
1241
|
resource_group_name=resource_group_name,
|
1317
1242
|
account_name=account_name,
|
1318
1243
|
container_name=container_name,
|
@@ -1320,16 +1245,15 @@ class BlobContainersOperations:
|
|
1320
1245
|
subscription_id=self._config.subscription_id,
|
1321
1246
|
if_match=if_match,
|
1322
1247
|
api_version=api_version,
|
1323
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1324
1248
|
headers=_headers,
|
1325
1249
|
params=_params,
|
1326
1250
|
)
|
1327
|
-
|
1328
|
-
|
1251
|
+
_request = _convert_request(_request)
|
1252
|
+
_request.url = self._client.format_url(_request.url)
|
1329
1253
|
|
1330
1254
|
_stream = False
|
1331
1255
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1332
|
-
|
1256
|
+
_request, stream=_stream, **kwargs
|
1333
1257
|
)
|
1334
1258
|
|
1335
1259
|
response = pipeline_response.http_response
|
@@ -1344,13 +1268,9 @@ class BlobContainersOperations:
|
|
1344
1268
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1345
1269
|
|
1346
1270
|
if cls:
|
1347
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1271
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1348
1272
|
|
1349
|
-
return deserialized
|
1350
|
-
|
1351
|
-
delete_immutability_policy.metadata = {
|
1352
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1353
|
-
}
|
1273
|
+
return deserialized # type: ignore
|
1354
1274
|
|
1355
1275
|
@distributed_trace_async
|
1356
1276
|
async def lock_immutability_policy(
|
@@ -1375,12 +1295,11 @@ class BlobContainersOperations:
|
|
1375
1295
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1376
1296
|
omitted, this operation will always be applied. Required.
|
1377
1297
|
:type if_match: str
|
1378
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1379
1298
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1380
1299
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1381
1300
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1382
1301
|
"""
|
1383
|
-
error_map = {
|
1302
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1384
1303
|
401: ClientAuthenticationError,
|
1385
1304
|
404: ResourceNotFoundError,
|
1386
1305
|
409: ResourceExistsError,
|
@@ -1394,23 +1313,22 @@ class BlobContainersOperations:
|
|
1394
1313
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
|
1395
1314
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1396
1315
|
|
1397
|
-
|
1316
|
+
_request = build_lock_immutability_policy_request(
|
1398
1317
|
resource_group_name=resource_group_name,
|
1399
1318
|
account_name=account_name,
|
1400
1319
|
container_name=container_name,
|
1401
1320
|
subscription_id=self._config.subscription_id,
|
1402
1321
|
if_match=if_match,
|
1403
1322
|
api_version=api_version,
|
1404
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1405
1323
|
headers=_headers,
|
1406
1324
|
params=_params,
|
1407
1325
|
)
|
1408
|
-
|
1409
|
-
|
1326
|
+
_request = _convert_request(_request)
|
1327
|
+
_request.url = self._client.format_url(_request.url)
|
1410
1328
|
|
1411
1329
|
_stream = False
|
1412
1330
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1413
|
-
|
1331
|
+
_request, stream=_stream, **kwargs
|
1414
1332
|
)
|
1415
1333
|
|
1416
1334
|
response = pipeline_response.http_response
|
@@ -1425,13 +1343,9 @@ class BlobContainersOperations:
|
|
1425
1343
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1426
1344
|
|
1427
1345
|
if cls:
|
1428
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1346
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1429
1347
|
|
1430
|
-
return deserialized
|
1431
|
-
|
1432
|
-
lock_immutability_policy.metadata = {
|
1433
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
1434
|
-
}
|
1348
|
+
return deserialized # type: ignore
|
1435
1349
|
|
1436
1350
|
@overload
|
1437
1351
|
async def extend_immutability_policy(
|
@@ -1471,7 +1385,6 @@ class BlobContainersOperations:
|
|
1471
1385
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1472
1386
|
Default value is "application/json".
|
1473
1387
|
:paramtype content_type: str
|
1474
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1475
1388
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1476
1389
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1477
1390
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1484,7 +1397,7 @@ class BlobContainersOperations:
|
|
1484
1397
|
account_name: str,
|
1485
1398
|
container_name: str,
|
1486
1399
|
if_match: str,
|
1487
|
-
parameters: Optional[IO] = None,
|
1400
|
+
parameters: Optional[IO[bytes]] = None,
|
1488
1401
|
*,
|
1489
1402
|
content_type: str = "application/json",
|
1490
1403
|
**kwargs: Any
|
@@ -1511,11 +1424,10 @@ class BlobContainersOperations:
|
|
1511
1424
|
:type if_match: str
|
1512
1425
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1513
1426
|
container. Default value is None.
|
1514
|
-
:type parameters: IO
|
1427
|
+
:type parameters: IO[bytes]
|
1515
1428
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1516
1429
|
Default value is "application/json".
|
1517
1430
|
:paramtype content_type: str
|
1518
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1519
1431
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1520
1432
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1521
1433
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1528,7 +1440,7 @@ class BlobContainersOperations:
|
|
1528
1440
|
account_name: str,
|
1529
1441
|
container_name: str,
|
1530
1442
|
if_match: str,
|
1531
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1443
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1532
1444
|
**kwargs: Any
|
1533
1445
|
) -> _models.ImmutabilityPolicy:
|
1534
1446
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -1552,17 +1464,13 @@ class BlobContainersOperations:
|
|
1552
1464
|
omitted, this operation will always be applied. Required.
|
1553
1465
|
:type if_match: str
|
1554
1466
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1555
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1556
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO
|
1557
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1558
|
-
Default value is None.
|
1559
|
-
:paramtype content_type: str
|
1560
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1467
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1468
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO[bytes]
|
1561
1469
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1562
1470
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
|
1563
1471
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1564
1472
|
"""
|
1565
|
-
error_map = {
|
1473
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1566
1474
|
401: ClientAuthenticationError,
|
1567
1475
|
404: ResourceNotFoundError,
|
1568
1476
|
409: ResourceExistsError,
|
@@ -1588,7 +1496,7 @@ class BlobContainersOperations:
|
|
1588
1496
|
else:
|
1589
1497
|
_json = None
|
1590
1498
|
|
1591
|
-
|
1499
|
+
_request = build_extend_immutability_policy_request(
|
1592
1500
|
resource_group_name=resource_group_name,
|
1593
1501
|
account_name=account_name,
|
1594
1502
|
container_name=container_name,
|
@@ -1598,16 +1506,15 @@ class BlobContainersOperations:
|
|
1598
1506
|
content_type=content_type,
|
1599
1507
|
json=_json,
|
1600
1508
|
content=_content,
|
1601
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
1602
1509
|
headers=_headers,
|
1603
1510
|
params=_params,
|
1604
1511
|
)
|
1605
|
-
|
1606
|
-
|
1512
|
+
_request = _convert_request(_request)
|
1513
|
+
_request.url = self._client.format_url(_request.url)
|
1607
1514
|
|
1608
1515
|
_stream = False
|
1609
1516
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1610
|
-
|
1517
|
+
_request, stream=_stream, **kwargs
|
1611
1518
|
)
|
1612
1519
|
|
1613
1520
|
response = pipeline_response.http_response
|
@@ -1622,13 +1529,9 @@ class BlobContainersOperations:
|
|
1622
1529
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1623
1530
|
|
1624
1531
|
if cls:
|
1625
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1532
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1626
1533
|
|
1627
|
-
return deserialized
|
1628
|
-
|
1629
|
-
extend_immutability_policy.metadata = {
|
1630
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
1631
|
-
}
|
1534
|
+
return deserialized # type: ignore
|
1632
1535
|
|
1633
1536
|
@overload
|
1634
1537
|
async def lease(
|
@@ -1661,7 +1564,6 @@ class BlobContainersOperations:
|
|
1661
1564
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1662
1565
|
Default value is "application/json".
|
1663
1566
|
:paramtype content_type: str
|
1664
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1665
1567
|
:return: LeaseContainerResponse or the result of cls(response)
|
1666
1568
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
|
1667
1569
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1673,7 +1575,7 @@ class BlobContainersOperations:
|
|
1673
1575
|
resource_group_name: str,
|
1674
1576
|
account_name: str,
|
1675
1577
|
container_name: str,
|
1676
|
-
parameters: Optional[IO] = None,
|
1578
|
+
parameters: Optional[IO[bytes]] = None,
|
1677
1579
|
*,
|
1678
1580
|
content_type: str = "application/json",
|
1679
1581
|
**kwargs: Any
|
@@ -1694,11 +1596,10 @@ class BlobContainersOperations:
|
|
1694
1596
|
by a letter or number. Required.
|
1695
1597
|
:type container_name: str
|
1696
1598
|
:param parameters: Lease Container request body. Default value is None.
|
1697
|
-
:type parameters: IO
|
1599
|
+
:type parameters: IO[bytes]
|
1698
1600
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1699
1601
|
Default value is "application/json".
|
1700
1602
|
:paramtype content_type: str
|
1701
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1702
1603
|
:return: LeaseContainerResponse or the result of cls(response)
|
1703
1604
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
|
1704
1605
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1710,7 +1611,7 @@ class BlobContainersOperations:
|
|
1710
1611
|
resource_group_name: str,
|
1711
1612
|
account_name: str,
|
1712
1613
|
container_name: str,
|
1713
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
1614
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
1714
1615
|
**kwargs: Any
|
1715
1616
|
) -> _models.LeaseContainerResponse:
|
1716
1617
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -1728,18 +1629,14 @@ class BlobContainersOperations:
|
|
1728
1629
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1729
1630
|
by a letter or number. Required.
|
1730
1631
|
:type container_name: str
|
1731
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
1732
|
-
type. Default value is None.
|
1733
|
-
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerRequest or IO
|
1734
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1735
|
-
Default value is None.
|
1736
|
-
:paramtype content_type: str
|
1737
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1632
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
1633
|
+
IO[bytes] type. Default value is None.
|
1634
|
+
:type parameters: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerRequest or IO[bytes]
|
1738
1635
|
:return: LeaseContainerResponse or the result of cls(response)
|
1739
1636
|
:rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
|
1740
1637
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1741
1638
|
"""
|
1742
|
-
error_map = {
|
1639
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1743
1640
|
401: ClientAuthenticationError,
|
1744
1641
|
404: ResourceNotFoundError,
|
1745
1642
|
409: ResourceExistsError,
|
@@ -1765,7 +1662,7 @@ class BlobContainersOperations:
|
|
1765
1662
|
else:
|
1766
1663
|
_json = None
|
1767
1664
|
|
1768
|
-
|
1665
|
+
_request = build_lease_request(
|
1769
1666
|
resource_group_name=resource_group_name,
|
1770
1667
|
account_name=account_name,
|
1771
1668
|
container_name=container_name,
|
@@ -1774,16 +1671,15 @@ class BlobContainersOperations:
|
|
1774
1671
|
content_type=content_type,
|
1775
1672
|
json=_json,
|
1776
1673
|
content=_content,
|
1777
|
-
template_url=self.lease.metadata["url"],
|
1778
1674
|
headers=_headers,
|
1779
1675
|
params=_params,
|
1780
1676
|
)
|
1781
|
-
|
1782
|
-
|
1677
|
+
_request = _convert_request(_request)
|
1678
|
+
_request.url = self._client.format_url(_request.url)
|
1783
1679
|
|
1784
1680
|
_stream = False
|
1785
1681
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1786
|
-
|
1682
|
+
_request, stream=_stream, **kwargs
|
1787
1683
|
)
|
1788
1684
|
|
1789
1685
|
response = pipeline_response.http_response
|
@@ -1795,10 +1691,6 @@ class BlobContainersOperations:
|
|
1795
1691
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
1796
1692
|
|
1797
1693
|
if cls:
|
1798
|
-
return cls(pipeline_response, deserialized, {})
|
1799
|
-
|
1800
|
-
return deserialized
|
1694
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1801
1695
|
|
1802
|
-
|
1803
|
-
"url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
1804
|
-
}
|
1696
|
+
return deserialized # type: ignore
|