azure-mgmt-storage 22.2.0__py3-none-any.whl → 23.0.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/__init__.py +19 -7
- azure/mgmt/storage/_configuration.py +27 -29
- azure/mgmt/storage/{v2016_01_01/models/_patch.py → _patch.py} +5 -4
- azure/mgmt/storage/_storage_management_client.py +184 -499
- azure/mgmt/storage/{v2016_01_01/_version.py → _utils/__init__.py} +0 -3
- azure/mgmt/storage/{_serialization.py → _utils/serialization.py} +46 -131
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/__init__.py +21 -2
- azure/mgmt/storage/aio/_configuration.py +27 -29
- azure/mgmt/storage/{v2017_10_01/aio/operations → aio}/_patch.py +5 -4
- azure/mgmt/storage/aio/_storage_management_client.py +188 -497
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/__init__.py +1 -0
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_blob_containers_operations.py +66 -69
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_blob_inventory_policies_operations.py +26 -34
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_blob_services_operations.py +20 -22
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_deleted_accounts_operations.py +14 -17
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_encryption_scopes_operations.py +27 -30
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_file_services_operations.py +24 -27
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_file_shares_operations.py +36 -39
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_local_users_operations.py +26 -29
- azure/mgmt/storage/{v2019_06_01/aio → aio}/operations/_management_policies_operations.py +23 -30
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_network_security_perimeter_configurations_operations.py +16 -19
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_object_replication_policies_operations.py +21 -23
- azure/mgmt/storage/{v2017_10_01/aio → aio}/operations/_operations.py +12 -15
- azure/mgmt/storage/{v2016_01_01/aio → aio}/operations/_patch.py +5 -4
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_private_endpoint_connections_operations.py +21 -23
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_private_link_resources_operations.py +11 -13
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_queue_operations.py +27 -30
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_queue_services_operations.py +19 -21
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_skus_operations.py +12 -15
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_accounts_operations.py +80 -95
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_task_assignment_instances_report_operations.py +13 -15
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_task_assignments_instances_report_operations.py +13 -15
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_task_assignments_operations.py +30 -39
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_table_operations.py +27 -29
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_table_services_operations.py +19 -21
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_usages_operations.py +12 -14
- azure/mgmt/storage/{v2024_01_01/models → models}/_models_py3.py +855 -910
- azure/mgmt/storage/{v2016_01_01/operations → models}/_patch.py +5 -4
- azure/mgmt/storage/{v2024_01_01/operations → operations}/__init__.py +1 -0
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_blob_containers_operations.py +81 -84
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_blob_inventory_policies_operations.py +31 -39
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_blob_services_operations.py +24 -27
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_deleted_accounts_operations.py +16 -18
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_encryption_scopes_operations.py +32 -34
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_file_services_operations.py +30 -32
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_file_shares_operations.py +44 -47
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_local_users_operations.py +33 -35
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_management_policies_operations.py +27 -34
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_network_security_perimeter_configurations_operations.py +20 -22
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_object_replication_policies_operations.py +26 -29
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_operations.py +12 -15
- azure/mgmt/storage/operations/_patch.py +21 -0
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_private_endpoint_connections_operations.py +26 -29
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_private_link_resources_operations.py +13 -15
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_queue_operations.py +33 -35
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_queue_services_operations.py +23 -25
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_skus_operations.py +12 -15
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_storage_accounts_operations.py +97 -105
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_storage_task_assignment_instances_report_operations.py +14 -18
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_storage_task_assignments_instances_report_operations.py +14 -18
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_storage_task_assignments_operations.py +36 -47
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_table_operations.py +33 -35
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_table_services_operations.py +23 -25
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_usages_operations.py +13 -16
- {azure_mgmt_storage-22.2.0.dist-info → azure_mgmt_storage-23.0.0.dist-info}/METADATA +11 -6
- azure_mgmt_storage-23.0.0.dist-info/RECORD +73 -0
- azure/mgmt/storage/models.py +0 -8
- azure/mgmt/storage/v2016_01_01/__init__.py +0 -32
- azure/mgmt/storage/v2016_01_01/_configuration.py +0 -65
- azure/mgmt/storage/v2016_01_01/_patch.py +0 -32
- azure/mgmt/storage/v2016_01_01/_storage_management_client.py +0 -117
- azure/mgmt/storage/v2016_01_01/aio/__init__.py +0 -29
- azure/mgmt/storage/v2016_01_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2016_01_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +0 -120
- azure/mgmt/storage/v2016_01_01/aio/operations/__init__.py +0 -27
- azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +0 -1023
- azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +0 -130
- azure/mgmt/storage/v2016_01_01/models/__init__.py +0 -88
- azure/mgmt/storage/v2016_01_01/models/_models_py3.py +0 -829
- azure/mgmt/storage/v2016_01_01/models/_storage_management_client_enums.py +0 -99
- azure/mgmt/storage/v2016_01_01/operations/__init__.py +0 -27
- azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +0 -1278
- azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +0 -157
- azure/mgmt/storage/v2016_01_01/py.typed +0 -1
- azure/mgmt/storage/v2017_10_01/__init__.py +0 -32
- azure/mgmt/storage/v2017_10_01/_configuration.py +0 -65
- azure/mgmt/storage/v2017_10_01/_patch.py +0 -32
- azure/mgmt/storage/v2017_10_01/_storage_management.py +0 -121
- azure/mgmt/storage/v2017_10_01/_version.py +0 -9
- azure/mgmt/storage/v2017_10_01/aio/__init__.py +0 -29
- azure/mgmt/storage/v2017_10_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2017_10_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +0 -124
- azure/mgmt/storage/v2017_10_01/aio/operations/__init__.py +0 -31
- azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +0 -130
- azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +0 -1299
- azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +0 -130
- azure/mgmt/storage/v2017_10_01/models/__init__.py +0 -140
- azure/mgmt/storage/v2017_10_01/models/_models_py3.py +0 -1851
- azure/mgmt/storage/v2017_10_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2017_10_01/models/_storage_management_enums.py +0 -192
- azure/mgmt/storage/v2017_10_01/operations/__init__.py +0 -31
- azure/mgmt/storage/v2017_10_01/operations/_operations.py +0 -151
- azure/mgmt/storage/v2017_10_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +0 -157
- azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +0 -1638
- azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +0 -157
- azure/mgmt/storage/v2017_10_01/py.typed +0 -1
- azure/mgmt/storage/v2019_06_01/__init__.py +0 -32
- azure/mgmt/storage/v2019_06_01/_configuration.py +0 -64
- azure/mgmt/storage/v2019_06_01/_patch.py +0 -32
- azure/mgmt/storage/v2019_06_01/_storage_management_client.py +0 -213
- azure/mgmt/storage/v2019_06_01/_version.py +0 -9
- azure/mgmt/storage/v2019_06_01/aio/__init__.py +0 -29
- azure/mgmt/storage/v2019_06_01/aio/_configuration.py +0 -64
- azure/mgmt/storage/v2019_06_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +0 -217
- azure/mgmt/storage/v2019_06_01/aio/operations/__init__.py +0 -59
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +0 -1725
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +0 -437
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +0 -368
- azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +0 -538
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +0 -335
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +0 -771
- azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +0 -428
- azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +0 -130
- azure/mgmt/storage/v2019_06_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +0 -424
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +0 -113
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +0 -597
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +0 -335
- azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +0 -131
- azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +0 -1696
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +0 -394
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +0 -335
- azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +0 -134
- azure/mgmt/storage/v2019_06_01/models/__init__.py +0 -364
- azure/mgmt/storage/v2019_06_01/models/_models_py3.py +0 -6038
- azure/mgmt/storage/v2019_06_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -456
- azure/mgmt/storage/v2019_06_01/operations/__init__.py +0 -59
- azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +0 -2226
- azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +0 -582
- azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +0 -476
- azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +0 -677
- azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +0 -444
- azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +0 -1000
- azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +0 -453
- azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +0 -567
- azure/mgmt/storage/v2019_06_01/operations/_operations.py +0 -151
- azure/mgmt/storage/v2019_06_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +0 -575
- azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +0 -149
- azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +0 -805
- azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +0 -444
- azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +0 -157
- azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +0 -2122
- azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +0 -563
- azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +0 -444
- azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +0 -164
- azure/mgmt/storage/v2019_06_01/py.typed +0 -1
- azure/mgmt/storage/v2024_01_01/__init__.py +0 -32
- azure/mgmt/storage/v2024_01_01/_configuration.py +0 -64
- azure/mgmt/storage/v2024_01_01/_patch.py +0 -20
- azure/mgmt/storage/v2024_01_01/_storage_management_client.py +0 -256
- azure/mgmt/storage/v2024_01_01/_version.py +0 -9
- azure/mgmt/storage/v2024_01_01/aio/__init__.py +0 -29
- azure/mgmt/storage/v2024_01_01/aio/_configuration.py +0 -64
- azure/mgmt/storage/v2024_01_01/aio/_patch.py +0 -20
- azure/mgmt/storage/v2024_01_01/aio/_storage_management_client.py +0 -261
- azure/mgmt/storage/v2024_01_01/aio/operations/_management_policies_operations.py +0 -343
- azure/mgmt/storage/v2024_01_01/aio/operations/_operations.py +0 -130
- azure/mgmt/storage/v2024_01_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2024_01_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2024_01_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2024_01_01/py.typed +0 -1
- azure_mgmt_storage-22.2.0.dist-info/RECORD +0 -183
- /azure/mgmt/storage/{v2024_01_01/models → models}/__init__.py +0 -0
- /azure/mgmt/storage/{v2024_01_01/models → models}/_storage_management_client_enums.py +0 -0
- {azure_mgmt_storage-22.2.0.dist-info → azure_mgmt_storage-23.0.0.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-22.2.0.dist-info → azure_mgmt_storage-23.0.0.dist-info}/WHEEL +0 -0
- {azure_mgmt_storage-22.2.0.dist-info → azure_mgmt_storage-23.0.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
1
|
+
# pylint: disable=line-too-long,useless-suppression,too-many-lines
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -6,11 +6,12 @@
|
|
6
6
|
# Code generated by Microsoft (R) AutoRest Code Generator.
|
7
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
8
|
# --------------------------------------------------------------------------
|
9
|
+
from collections.abc import MutableMapping
|
9
10
|
from io import IOBase
|
10
|
-
import sys
|
11
11
|
from typing import Any, Callable, Dict, IO, Iterable, Iterator, Literal, Optional, TypeVar, Union, cast, overload
|
12
12
|
import urllib.parse
|
13
13
|
|
14
|
+
from azure.core import PipelineClient
|
14
15
|
from azure.core.exceptions import (
|
15
16
|
ClientAuthenticationError,
|
16
17
|
HttpResponseError,
|
@@ -31,12 +32,9 @@ from azure.mgmt.core.exceptions import ARMErrorFormat
|
|
31
32
|
from azure.mgmt.core.polling.arm_polling import ARMPolling
|
32
33
|
|
33
34
|
from .. import models as _models
|
34
|
-
from
|
35
|
+
from .._configuration import StorageManagementClientConfiguration
|
36
|
+
from .._utils.serialization import Deserializer, Serializer
|
35
37
|
|
36
|
-
if sys.version_info >= (3, 9):
|
37
|
-
from collections.abc import MutableMapping
|
38
|
-
else:
|
39
|
-
from typing import MutableMapping # type: ignore
|
40
38
|
T = TypeVar("T")
|
41
39
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
|
42
40
|
|
@@ -87,7 +85,7 @@ def build_create_request(
|
|
87
85
|
_url = kwargs.pop(
|
88
86
|
"template_url",
|
89
87
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
|
90
|
-
)
|
88
|
+
)
|
91
89
|
path_format_arguments = {
|
92
90
|
"resourceGroupName": _SERIALIZER.url(
|
93
91
|
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
@@ -121,7 +119,7 @@ def build_delete_request(
|
|
121
119
|
_url = kwargs.pop(
|
122
120
|
"template_url",
|
123
121
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
|
124
|
-
)
|
122
|
+
)
|
125
123
|
path_format_arguments = {
|
126
124
|
"resourceGroupName": _SERIALIZER.url(
|
127
125
|
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
@@ -158,7 +156,7 @@ def build_get_properties_request(
|
|
158
156
|
_url = kwargs.pop(
|
159
157
|
"template_url",
|
160
158
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
|
161
|
-
)
|
159
|
+
)
|
162
160
|
path_format_arguments = {
|
163
161
|
"resourceGroupName": _SERIALIZER.url(
|
164
162
|
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
@@ -196,7 +194,7 @@ def build_update_request(
|
|
196
194
|
_url = kwargs.pop(
|
197
195
|
"template_url",
|
198
196
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
|
199
|
-
)
|
197
|
+
)
|
200
198
|
path_format_arguments = {
|
201
199
|
"resourceGroupName": _SERIALIZER.url(
|
202
200
|
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
@@ -255,7 +253,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_
|
|
255
253
|
_url = kwargs.pop(
|
256
254
|
"template_url",
|
257
255
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts",
|
258
|
-
)
|
256
|
+
)
|
259
257
|
path_format_arguments = {
|
260
258
|
"resourceGroupName": _SERIALIZER.url(
|
261
259
|
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
@@ -292,7 +290,7 @@ def build_list_keys_request(
|
|
292
290
|
_url = kwargs.pop(
|
293
291
|
"template_url",
|
294
292
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys",
|
295
|
-
)
|
293
|
+
)
|
296
294
|
path_format_arguments = {
|
297
295
|
"resourceGroupName": _SERIALIZER.url(
|
298
296
|
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
@@ -330,7 +328,7 @@ def build_regenerate_key_request(
|
|
330
328
|
_url = kwargs.pop(
|
331
329
|
"template_url",
|
332
330
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey",
|
333
|
-
)
|
331
|
+
)
|
334
332
|
path_format_arguments = {
|
335
333
|
"resourceGroupName": _SERIALIZER.url(
|
336
334
|
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
@@ -368,7 +366,7 @@ def build_list_account_sas_request(
|
|
368
366
|
_url = kwargs.pop(
|
369
367
|
"template_url",
|
370
368
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas",
|
371
|
-
)
|
369
|
+
)
|
372
370
|
path_format_arguments = {
|
373
371
|
"resourceGroupName": _SERIALIZER.url(
|
374
372
|
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
@@ -406,7 +404,7 @@ def build_list_service_sas_request(
|
|
406
404
|
_url = kwargs.pop(
|
407
405
|
"template_url",
|
408
406
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas",
|
409
|
-
)
|
407
|
+
)
|
410
408
|
path_format_arguments = {
|
411
409
|
"resourceGroupName": _SERIALIZER.url(
|
412
410
|
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
@@ -445,7 +443,7 @@ def build_failover_request(
|
|
445
443
|
_url = kwargs.pop(
|
446
444
|
"template_url",
|
447
445
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover",
|
448
|
-
)
|
446
|
+
)
|
449
447
|
path_format_arguments = {
|
450
448
|
"resourceGroupName": _SERIALIZER.url(
|
451
449
|
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
@@ -479,7 +477,7 @@ def build_hierarchical_namespace_migration_request( # pylint: disable=name-too-
|
|
479
477
|
_url = kwargs.pop(
|
480
478
|
"template_url",
|
481
479
|
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration",
|
482
|
-
)
|
480
|
+
)
|
483
481
|
path_format_arguments = {
|
484
482
|
"resourceGroupName": _SERIALIZER.url(
|
485
483
|
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
@@ -515,7 +513,7 @@ def build_abort_hierarchical_namespace_migration_request( # pylint: disable=nam
|
|
515
513
|
_url = kwargs.pop(
|
516
514
|
"template_url",
|
517
515
|
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration",
|
518
|
-
)
|
516
|
+
)
|
519
517
|
path_format_arguments = {
|
520
518
|
"resourceGroupName": _SERIALIZER.url(
|
521
519
|
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
@@ -551,7 +549,7 @@ def build_customer_initiated_migration_request( # pylint: disable=name-too-long
|
|
551
549
|
_url = kwargs.pop(
|
552
550
|
"template_url",
|
553
551
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/startAccountMigration",
|
554
|
-
)
|
552
|
+
)
|
555
553
|
path_format_arguments = {
|
556
554
|
"resourceGroupName": _SERIALIZER.url(
|
557
555
|
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
@@ -592,7 +590,7 @@ def build_get_customer_initiated_migration_request( # pylint: disable=name-too-
|
|
592
590
|
_url = kwargs.pop(
|
593
591
|
"template_url",
|
594
592
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/accountMigrations/{migrationName}",
|
595
|
-
)
|
593
|
+
)
|
596
594
|
path_format_arguments = {
|
597
595
|
"resourceGroupName": _SERIALIZER.url(
|
598
596
|
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
@@ -629,7 +627,7 @@ def build_restore_blob_ranges_request(
|
|
629
627
|
_url = kwargs.pop(
|
630
628
|
"template_url",
|
631
629
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges",
|
632
|
-
)
|
630
|
+
)
|
633
631
|
path_format_arguments = {
|
634
632
|
"resourceGroupName": _SERIALIZER.url(
|
635
633
|
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
@@ -663,7 +661,7 @@ def build_revoke_user_delegation_keys_request( # pylint: disable=name-too-long
|
|
663
661
|
_url = kwargs.pop(
|
664
662
|
"template_url",
|
665
663
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys",
|
666
|
-
)
|
664
|
+
)
|
667
665
|
path_format_arguments = {
|
668
666
|
"resourceGroupName": _SERIALIZER.url(
|
669
667
|
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
@@ -686,7 +684,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
686
684
|
**DO NOT** instantiate this class directly.
|
687
685
|
|
688
686
|
Instead, you should access the following operations through
|
689
|
-
:class:`~azure.mgmt.storage.
|
687
|
+
:class:`~azure.mgmt.storage.StorageManagementClient`'s
|
690
688
|
:attr:`storage_accounts` attribute.
|
691
689
|
"""
|
692
690
|
|
@@ -694,11 +692,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
694
692
|
|
695
693
|
def __init__(self, *args, **kwargs):
|
696
694
|
input_args = list(args)
|
697
|
-
self._client = input_args.pop(0) if input_args else kwargs.pop("client")
|
698
|
-
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
699
|
-
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
700
|
-
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
701
|
-
self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
|
695
|
+
self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
|
696
|
+
self._config: StorageManagementClientConfiguration = input_args.pop(0) if input_args else kwargs.pop("config")
|
697
|
+
self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
698
|
+
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
702
699
|
|
703
700
|
@overload
|
704
701
|
def check_name_availability(
|
@@ -713,13 +710,12 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
713
710
|
:param account_name: The name of the storage account within the specified resource group.
|
714
711
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
715
712
|
lower-case letters only. Required.
|
716
|
-
:type account_name:
|
717
|
-
~azure.mgmt.storage.v2024_01_01.models.StorageAccountCheckNameAvailabilityParameters
|
713
|
+
:type account_name: ~azure.mgmt.storage.models.StorageAccountCheckNameAvailabilityParameters
|
718
714
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
719
715
|
Default value is "application/json".
|
720
716
|
:paramtype content_type: str
|
721
717
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
722
|
-
:rtype: ~azure.mgmt.storage.
|
718
|
+
:rtype: ~azure.mgmt.storage.models.CheckNameAvailabilityResult
|
723
719
|
:raises ~azure.core.exceptions.HttpResponseError:
|
724
720
|
"""
|
725
721
|
|
@@ -737,7 +733,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
737
733
|
Default value is "application/json".
|
738
734
|
:paramtype content_type: str
|
739
735
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
740
|
-
:rtype: ~azure.mgmt.storage.
|
736
|
+
:rtype: ~azure.mgmt.storage.models.CheckNameAvailabilityResult
|
741
737
|
:raises ~azure.core.exceptions.HttpResponseError:
|
742
738
|
"""
|
743
739
|
|
@@ -751,11 +747,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
751
747
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
752
748
|
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
753
749
|
IO[bytes] type. Required.
|
754
|
-
:type account_name:
|
755
|
-
~azure.mgmt.storage.v2024_01_01.models.StorageAccountCheckNameAvailabilityParameters or
|
750
|
+
:type account_name: ~azure.mgmt.storage.models.StorageAccountCheckNameAvailabilityParameters or
|
756
751
|
IO[bytes]
|
757
752
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
758
|
-
:rtype: ~azure.mgmt.storage.
|
753
|
+
:rtype: ~azure.mgmt.storage.models.CheckNameAvailabilityResult
|
759
754
|
:raises ~azure.core.exceptions.HttpResponseError:
|
760
755
|
"""
|
761
756
|
error_map: MutableMapping = {
|
@@ -769,7 +764,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
769
764
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
770
765
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
771
766
|
|
772
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
767
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
773
768
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
774
769
|
cls: ClsType[_models.CheckNameAvailabilityResult] = kwargs.pop("cls", None)
|
775
770
|
|
@@ -828,7 +823,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
828
823
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
829
824
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
830
825
|
|
831
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
826
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
832
827
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
833
828
|
cls: ClsType[Iterator[bytes]] = kwargs.pop("cls", None)
|
834
829
|
|
@@ -899,13 +894,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
899
894
|
lower-case letters only. Required.
|
900
895
|
:type account_name: str
|
901
896
|
:param parameters: The parameters to provide for the created account. Required.
|
902
|
-
:type parameters: ~azure.mgmt.storage.
|
897
|
+
:type parameters: ~azure.mgmt.storage.models.StorageAccountCreateParameters
|
903
898
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
904
899
|
Default value is "application/json".
|
905
900
|
:paramtype content_type: str
|
906
901
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
907
902
|
cls(response)
|
908
|
-
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.
|
903
|
+
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.models.StorageAccount]
|
909
904
|
:raises ~azure.core.exceptions.HttpResponseError:
|
910
905
|
"""
|
911
906
|
|
@@ -938,7 +933,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
938
933
|
:paramtype content_type: str
|
939
934
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
940
935
|
cls(response)
|
941
|
-
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.
|
936
|
+
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.models.StorageAccount]
|
942
937
|
:raises ~azure.core.exceptions.HttpResponseError:
|
943
938
|
"""
|
944
939
|
|
@@ -964,17 +959,16 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
964
959
|
:type account_name: str
|
965
960
|
:param parameters: The parameters to provide for the created account. Is either a
|
966
961
|
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
967
|
-
:type parameters: ~azure.mgmt.storage.
|
968
|
-
IO[bytes]
|
962
|
+
:type parameters: ~azure.mgmt.storage.models.StorageAccountCreateParameters or IO[bytes]
|
969
963
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
970
964
|
cls(response)
|
971
|
-
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.
|
965
|
+
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.models.StorageAccount]
|
972
966
|
:raises ~azure.core.exceptions.HttpResponseError:
|
973
967
|
"""
|
974
968
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
975
969
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
976
970
|
|
977
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
971
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
978
972
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
979
973
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
980
974
|
polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
|
@@ -1046,7 +1040,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1046
1040
|
_headers = kwargs.pop("headers", {}) or {}
|
1047
1041
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1048
1042
|
|
1049
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
1043
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
1050
1044
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1051
1045
|
|
1052
1046
|
_request = build_delete_request(
|
@@ -1096,9 +1090,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1096
1090
|
data is not included when fetching properties. Currently we only support geoReplicationStats
|
1097
1091
|
and blobRestoreStatus. Known values are: "geoReplicationStats" and "blobRestoreStatus". Default
|
1098
1092
|
value is None.
|
1099
|
-
:type expand: str or ~azure.mgmt.storage.
|
1093
|
+
:type expand: str or ~azure.mgmt.storage.models.StorageAccountExpand
|
1100
1094
|
:return: StorageAccount or the result of cls(response)
|
1101
|
-
:rtype: ~azure.mgmt.storage.
|
1095
|
+
:rtype: ~azure.mgmt.storage.models.StorageAccount
|
1102
1096
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1103
1097
|
"""
|
1104
1098
|
error_map: MutableMapping = {
|
@@ -1112,7 +1106,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1112
1106
|
_headers = kwargs.pop("headers", {}) or {}
|
1113
1107
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1114
1108
|
|
1115
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
1109
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
1116
1110
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
1117
1111
|
|
1118
1112
|
_request = build_get_properties_request(
|
@@ -1171,12 +1165,12 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1171
1165
|
lower-case letters only. Required.
|
1172
1166
|
:type account_name: str
|
1173
1167
|
:param parameters: The parameters to provide for the updated account. Required.
|
1174
|
-
:type parameters: ~azure.mgmt.storage.
|
1168
|
+
:type parameters: ~azure.mgmt.storage.models.StorageAccountUpdateParameters
|
1175
1169
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1176
1170
|
Default value is "application/json".
|
1177
1171
|
:paramtype content_type: str
|
1178
1172
|
:return: StorageAccount or the result of cls(response)
|
1179
|
-
:rtype: ~azure.mgmt.storage.
|
1173
|
+
:rtype: ~azure.mgmt.storage.models.StorageAccount
|
1180
1174
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1181
1175
|
"""
|
1182
1176
|
|
@@ -1212,7 +1206,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1212
1206
|
Default value is "application/json".
|
1213
1207
|
:paramtype content_type: str
|
1214
1208
|
:return: StorageAccount or the result of cls(response)
|
1215
|
-
:rtype: ~azure.mgmt.storage.
|
1209
|
+
:rtype: ~azure.mgmt.storage.models.StorageAccount
|
1216
1210
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1217
1211
|
"""
|
1218
1212
|
|
@@ -1242,10 +1236,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1242
1236
|
:type account_name: str
|
1243
1237
|
:param parameters: The parameters to provide for the updated account. Is either a
|
1244
1238
|
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
1245
|
-
:type parameters: ~azure.mgmt.storage.
|
1246
|
-
IO[bytes]
|
1239
|
+
:type parameters: ~azure.mgmt.storage.models.StorageAccountUpdateParameters or IO[bytes]
|
1247
1240
|
:return: StorageAccount or the result of cls(response)
|
1248
|
-
:rtype: ~azure.mgmt.storage.
|
1241
|
+
:rtype: ~azure.mgmt.storage.models.StorageAccount
|
1249
1242
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1250
1243
|
"""
|
1251
1244
|
error_map: MutableMapping = {
|
@@ -1259,7 +1252,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1259
1252
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1260
1253
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1261
1254
|
|
1262
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
1255
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
1263
1256
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1264
1257
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
1265
1258
|
|
@@ -1308,13 +1301,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1308
1301
|
returned; use the ListKeys operation for this.
|
1309
1302
|
|
1310
1303
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1311
|
-
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.
|
1304
|
+
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.models.StorageAccount]
|
1312
1305
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1313
1306
|
"""
|
1314
1307
|
_headers = kwargs.pop("headers", {}) or {}
|
1315
1308
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1316
1309
|
|
1317
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
1310
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
1318
1311
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1319
1312
|
|
1320
1313
|
error_map: MutableMapping = {
|
@@ -1345,7 +1338,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1345
1338
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1346
1339
|
}
|
1347
1340
|
)
|
1348
|
-
_next_request_params["api-version"] = self.
|
1341
|
+
_next_request_params["api-version"] = self._config.api_version
|
1349
1342
|
_request = HttpRequest(
|
1350
1343
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1351
1344
|
)
|
@@ -1386,13 +1379,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1386
1379
|
name is case insensitive. Required.
|
1387
1380
|
:type resource_group_name: str
|
1388
1381
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1389
|
-
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.
|
1382
|
+
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.models.StorageAccount]
|
1390
1383
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1391
1384
|
"""
|
1392
1385
|
_headers = kwargs.pop("headers", {}) or {}
|
1393
1386
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1394
1387
|
|
1395
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
1388
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
1396
1389
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1397
1390
|
|
1398
1391
|
error_map: MutableMapping = {
|
@@ -1424,7 +1417,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1424
1417
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1425
1418
|
}
|
1426
1419
|
)
|
1427
|
-
_next_request_params["api-version"] = self.
|
1420
|
+
_next_request_params["api-version"] = self._config.api_version
|
1428
1421
|
_request = HttpRequest(
|
1429
1422
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1430
1423
|
)
|
@@ -1474,7 +1467,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1474
1467
|
"kerb" and None. Default value is "kerb".
|
1475
1468
|
:type expand: str
|
1476
1469
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1477
|
-
:rtype: ~azure.mgmt.storage.
|
1470
|
+
:rtype: ~azure.mgmt.storage.models.StorageAccountListKeysResult
|
1478
1471
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1479
1472
|
"""
|
1480
1473
|
error_map: MutableMapping = {
|
@@ -1488,7 +1481,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1488
1481
|
_headers = kwargs.pop("headers", {}) or {}
|
1489
1482
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1490
1483
|
|
1491
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
1484
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
1492
1485
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
1493
1486
|
|
1494
1487
|
_request = build_list_keys_request(
|
@@ -1541,13 +1534,12 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1541
1534
|
:type account_name: str
|
1542
1535
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1543
1536
|
kerb1, kerb2. Required.
|
1544
|
-
:type regenerate_key:
|
1545
|
-
~azure.mgmt.storage.v2024_01_01.models.StorageAccountRegenerateKeyParameters
|
1537
|
+
:type regenerate_key: ~azure.mgmt.storage.models.StorageAccountRegenerateKeyParameters
|
1546
1538
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1547
1539
|
Default value is "application/json".
|
1548
1540
|
:paramtype content_type: str
|
1549
1541
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1550
|
-
:rtype: ~azure.mgmt.storage.
|
1542
|
+
:rtype: ~azure.mgmt.storage.models.StorageAccountListKeysResult
|
1551
1543
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1552
1544
|
"""
|
1553
1545
|
|
@@ -1577,7 +1569,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1577
1569
|
Default value is "application/json".
|
1578
1570
|
:paramtype content_type: str
|
1579
1571
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1580
|
-
:rtype: ~azure.mgmt.storage.
|
1572
|
+
:rtype: ~azure.mgmt.storage.models.StorageAccountListKeysResult
|
1581
1573
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1582
1574
|
"""
|
1583
1575
|
|
@@ -1601,10 +1593,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1601
1593
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
|
1602
1594
|
kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
|
1603
1595
|
Required.
|
1604
|
-
:type regenerate_key:
|
1605
|
-
|
1596
|
+
:type regenerate_key: ~azure.mgmt.storage.models.StorageAccountRegenerateKeyParameters or
|
1597
|
+
IO[bytes]
|
1606
1598
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1607
|
-
:rtype: ~azure.mgmt.storage.
|
1599
|
+
:rtype: ~azure.mgmt.storage.models.StorageAccountListKeysResult
|
1608
1600
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1609
1601
|
"""
|
1610
1602
|
error_map: MutableMapping = {
|
@@ -1618,7 +1610,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1618
1610
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1619
1611
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1620
1612
|
|
1621
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
1613
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
1622
1614
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1623
1615
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
1624
1616
|
|
@@ -1682,12 +1674,12 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1682
1674
|
:type account_name: str
|
1683
1675
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1684
1676
|
Required.
|
1685
|
-
:type parameters: ~azure.mgmt.storage.
|
1677
|
+
:type parameters: ~azure.mgmt.storage.models.AccountSasParameters
|
1686
1678
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1687
1679
|
Default value is "application/json".
|
1688
1680
|
:paramtype content_type: str
|
1689
1681
|
:return: ListAccountSasResponse or the result of cls(response)
|
1690
|
-
:rtype: ~azure.mgmt.storage.
|
1682
|
+
:rtype: ~azure.mgmt.storage.models.ListAccountSasResponse
|
1691
1683
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1692
1684
|
"""
|
1693
1685
|
|
@@ -1717,7 +1709,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1717
1709
|
Default value is "application/json".
|
1718
1710
|
:paramtype content_type: str
|
1719
1711
|
:return: ListAccountSasResponse or the result of cls(response)
|
1720
|
-
:rtype: ~azure.mgmt.storage.
|
1712
|
+
:rtype: ~azure.mgmt.storage.models.ListAccountSasResponse
|
1721
1713
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1722
1714
|
"""
|
1723
1715
|
|
@@ -1740,9 +1732,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1740
1732
|
:type account_name: str
|
1741
1733
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1742
1734
|
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1743
|
-
:type parameters: ~azure.mgmt.storage.
|
1735
|
+
:type parameters: ~azure.mgmt.storage.models.AccountSasParameters or IO[bytes]
|
1744
1736
|
:return: ListAccountSasResponse or the result of cls(response)
|
1745
|
-
:rtype: ~azure.mgmt.storage.
|
1737
|
+
:rtype: ~azure.mgmt.storage.models.ListAccountSasResponse
|
1746
1738
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1747
1739
|
"""
|
1748
1740
|
error_map: MutableMapping = {
|
@@ -1756,7 +1748,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1756
1748
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1757
1749
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1758
1750
|
|
1759
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
1751
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
1760
1752
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1761
1753
|
cls: ClsType[_models.ListAccountSasResponse] = kwargs.pop("cls", None)
|
1762
1754
|
|
@@ -1819,12 +1811,12 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1819
1811
|
lower-case letters only. Required.
|
1820
1812
|
:type account_name: str
|
1821
1813
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1822
|
-
:type parameters: ~azure.mgmt.storage.
|
1814
|
+
:type parameters: ~azure.mgmt.storage.models.ServiceSasParameters
|
1823
1815
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1824
1816
|
Default value is "application/json".
|
1825
1817
|
:paramtype content_type: str
|
1826
1818
|
:return: ListServiceSasResponse or the result of cls(response)
|
1827
|
-
:rtype: ~azure.mgmt.storage.
|
1819
|
+
:rtype: ~azure.mgmt.storage.models.ListServiceSasResponse
|
1828
1820
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1829
1821
|
"""
|
1830
1822
|
|
@@ -1853,7 +1845,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1853
1845
|
Default value is "application/json".
|
1854
1846
|
:paramtype content_type: str
|
1855
1847
|
:return: ListServiceSasResponse or the result of cls(response)
|
1856
|
-
:rtype: ~azure.mgmt.storage.
|
1848
|
+
:rtype: ~azure.mgmt.storage.models.ListServiceSasResponse
|
1857
1849
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1858
1850
|
"""
|
1859
1851
|
|
@@ -1876,9 +1868,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1876
1868
|
:type account_name: str
|
1877
1869
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1878
1870
|
ServiceSasParameters type or a IO[bytes] type. Required.
|
1879
|
-
:type parameters: ~azure.mgmt.storage.
|
1871
|
+
:type parameters: ~azure.mgmt.storage.models.ServiceSasParameters or IO[bytes]
|
1880
1872
|
:return: ListServiceSasResponse or the result of cls(response)
|
1881
|
-
:rtype: ~azure.mgmt.storage.
|
1873
|
+
:rtype: ~azure.mgmt.storage.models.ListServiceSasResponse
|
1882
1874
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1883
1875
|
"""
|
1884
1876
|
error_map: MutableMapping = {
|
@@ -1892,7 +1884,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1892
1884
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1893
1885
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1894
1886
|
|
1895
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
1887
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
1896
1888
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1897
1889
|
cls: ClsType[_models.ListServiceSasResponse] = kwargs.pop("cls", None)
|
1898
1890
|
|
@@ -1949,7 +1941,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
1949
1941
|
_headers = kwargs.pop("headers", {}) or {}
|
1950
1942
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1951
1943
|
|
1952
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
1944
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
1953
1945
|
cls: ClsType[Iterator[bytes]] = kwargs.pop("cls", None)
|
1954
1946
|
|
1955
1947
|
_request = build_failover_request(
|
@@ -2019,7 +2011,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2019
2011
|
_headers = kwargs.pop("headers", {}) or {}
|
2020
2012
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2021
2013
|
|
2022
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
2014
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
2023
2015
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
2024
2016
|
polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
|
2025
2017
|
lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
|
@@ -2073,7 +2065,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2073
2065
|
_headers = kwargs.pop("headers", {}) or {}
|
2074
2066
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2075
2067
|
|
2076
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
2068
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
2077
2069
|
cls: ClsType[Iterator[bytes]] = kwargs.pop("cls", None)
|
2078
2070
|
|
2079
2071
|
_request = build_hierarchical_namespace_migration_request(
|
@@ -2136,7 +2128,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2136
2128
|
_headers = kwargs.pop("headers", {}) or {}
|
2137
2129
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2138
2130
|
|
2139
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
2131
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
2140
2132
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
2141
2133
|
polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
|
2142
2134
|
lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
|
@@ -2190,7 +2182,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2190
2182
|
_headers = kwargs.pop("headers", {}) or {}
|
2191
2183
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2192
2184
|
|
2193
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
2185
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
2194
2186
|
cls: ClsType[Iterator[bytes]] = kwargs.pop("cls", None)
|
2195
2187
|
|
2196
2188
|
_request = build_abort_hierarchical_namespace_migration_request(
|
@@ -2247,7 +2239,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2247
2239
|
_headers = kwargs.pop("headers", {}) or {}
|
2248
2240
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2249
2241
|
|
2250
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
2242
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
2251
2243
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
2252
2244
|
polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
|
2253
2245
|
lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
|
@@ -2304,7 +2296,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2304
2296
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
2305
2297
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2306
2298
|
|
2307
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
2299
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
2308
2300
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
2309
2301
|
cls: ClsType[Iterator[bytes]] = kwargs.pop("cls", None)
|
2310
2302
|
|
@@ -2382,7 +2374,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2382
2374
|
:type account_name: str
|
2383
2375
|
:param parameters: The request parameters required to perform storage account migration.
|
2384
2376
|
Required.
|
2385
|
-
:type parameters: ~azure.mgmt.storage.
|
2377
|
+
:type parameters: ~azure.mgmt.storage.models.StorageAccountMigration
|
2386
2378
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2387
2379
|
Default value is "application/json".
|
2388
2380
|
:paramtype content_type: str
|
@@ -2448,7 +2440,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2448
2440
|
:type account_name: str
|
2449
2441
|
:param parameters: The request parameters required to perform storage account migration. Is
|
2450
2442
|
either a StorageAccountMigration type or a IO[bytes] type. Required.
|
2451
|
-
:type parameters: ~azure.mgmt.storage.
|
2443
|
+
:type parameters: ~azure.mgmt.storage.models.StorageAccountMigration or IO[bytes]
|
2452
2444
|
:return: An instance of LROPoller that returns either None or the result of cls(response)
|
2453
2445
|
:rtype: ~azure.core.polling.LROPoller[None]
|
2454
2446
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2456,7 +2448,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2456
2448
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
2457
2449
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2458
2450
|
|
2459
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
2451
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
2460
2452
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
2461
2453
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
2462
2454
|
polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
|
@@ -2517,9 +2509,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2517
2509
|
:type account_name: str
|
2518
2510
|
:param migration_name: The name of the Storage Account Migration. It should always be
|
2519
2511
|
'default'. "default" Required.
|
2520
|
-
:type migration_name: str or ~azure.mgmt.storage.
|
2512
|
+
:type migration_name: str or ~azure.mgmt.storage.models.MigrationName
|
2521
2513
|
:return: StorageAccountMigration or the result of cls(response)
|
2522
|
-
:rtype: ~azure.mgmt.storage.
|
2514
|
+
:rtype: ~azure.mgmt.storage.models.StorageAccountMigration
|
2523
2515
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2524
2516
|
"""
|
2525
2517
|
error_map: MutableMapping = {
|
@@ -2533,7 +2525,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2533
2525
|
_headers = kwargs.pop("headers", {}) or {}
|
2534
2526
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2535
2527
|
|
2536
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
2528
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
2537
2529
|
cls: ClsType[_models.StorageAccountMigration] = kwargs.pop("cls", None)
|
2538
2530
|
|
2539
2531
|
_request = build_get_customer_initiated_migration_request(
|
@@ -2584,7 +2576,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2584
2576
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
2585
2577
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2586
2578
|
|
2587
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
2579
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
2588
2580
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
2589
2581
|
cls: ClsType[Iterator[bytes]] = kwargs.pop("cls", None)
|
2590
2582
|
|
@@ -2652,13 +2644,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2652
2644
|
lower-case letters only. Required.
|
2653
2645
|
:type account_name: str
|
2654
2646
|
:param parameters: The parameters to provide for restore blob ranges. Required.
|
2655
|
-
:type parameters: ~azure.mgmt.storage.
|
2647
|
+
:type parameters: ~azure.mgmt.storage.models.BlobRestoreParameters
|
2656
2648
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2657
2649
|
Default value is "application/json".
|
2658
2650
|
:paramtype content_type: str
|
2659
2651
|
:return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
|
2660
2652
|
cls(response)
|
2661
|
-
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.
|
2653
|
+
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.models.BlobRestoreStatus]
|
2662
2654
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2663
2655
|
"""
|
2664
2656
|
|
@@ -2688,7 +2680,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2688
2680
|
:paramtype content_type: str
|
2689
2681
|
:return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
|
2690
2682
|
cls(response)
|
2691
|
-
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.
|
2683
|
+
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.models.BlobRestoreStatus]
|
2692
2684
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2693
2685
|
"""
|
2694
2686
|
|
@@ -2711,16 +2703,16 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2711
2703
|
:type account_name: str
|
2712
2704
|
:param parameters: The parameters to provide for restore blob ranges. Is either a
|
2713
2705
|
BlobRestoreParameters type or a IO[bytes] type. Required.
|
2714
|
-
:type parameters: ~azure.mgmt.storage.
|
2706
|
+
:type parameters: ~azure.mgmt.storage.models.BlobRestoreParameters or IO[bytes]
|
2715
2707
|
:return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
|
2716
2708
|
cls(response)
|
2717
|
-
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.
|
2709
|
+
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.models.BlobRestoreStatus]
|
2718
2710
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2719
2711
|
"""
|
2720
2712
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
2721
2713
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2722
2714
|
|
2723
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
2715
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
2724
2716
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
2725
2717
|
cls: ClsType[_models.BlobRestoreStatus] = kwargs.pop("cls", None)
|
2726
2718
|
polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
|
@@ -2794,7 +2786,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
2794
2786
|
_headers = kwargs.pop("headers", {}) or {}
|
2795
2787
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
2796
2788
|
|
2797
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
2789
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
2798
2790
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
2799
2791
|
|
2800
2792
|
_request = build_revoke_user_delegation_keys_request(
|