azure-mgmt-storage 22.2.0__py3-none-any.whl → 23.0.1__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 +68 -84
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_blob_inventory_policies_operations.py +28 -36
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_blob_services_operations.py +22 -24
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_deleted_accounts_operations.py +16 -19
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_encryption_scopes_operations.py +29 -32
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_file_services_operations.py +26 -29
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_file_shares_operations.py +38 -41
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_local_users_operations.py +28 -31
- 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 +18 -21
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_object_replication_policies_operations.py +23 -25
- azure/mgmt/storage/{v2017_10_01/aio → aio}/operations/_operations.py +14 -17
- 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 +23 -25
- 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 +29 -32
- 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 +14 -17
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_accounts_operations.py +83 -111
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_task_assignment_instances_report_operations.py +15 -17
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_task_assignments_instances_report_operations.py +15 -17
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_task_assignments_operations.py +38 -44
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_table_operations.py +29 -31
- 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 +14 -16
- azure/mgmt/storage/{v2024_01_01/models → models}/_models_py3.py +857 -912
- 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 +84 -87
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_blob_inventory_policies_operations.py +34 -42
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_blob_services_operations.py +27 -30
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_deleted_accounts_operations.py +19 -21
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_encryption_scopes_operations.py +35 -37
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_file_services_operations.py +33 -35
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_file_shares_operations.py +47 -50
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_local_users_operations.py +36 -38
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_management_policies_operations.py +28 -35
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_network_security_perimeter_configurations_operations.py +23 -25
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_object_replication_policies_operations.py +29 -32
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_operations.py +15 -18
- azure/mgmt/storage/operations/_patch.py +21 -0
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_private_endpoint_connections_operations.py +29 -32
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_private_link_resources_operations.py +14 -16
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_queue_operations.py +36 -38
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_queue_services_operations.py +24 -26
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_skus_operations.py +15 -18
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_storage_accounts_operations.py +101 -109
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_storage_task_assignment_instances_report_operations.py +17 -21
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_storage_task_assignments_instances_report_operations.py +17 -21
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_storage_task_assignments_operations.py +42 -53
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_table_operations.py +36 -38
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_table_services_operations.py +24 -26
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_usages_operations.py +16 -19
- {azure_mgmt_storage-22.2.0.dist-info → azure_mgmt_storage-23.0.1.dist-info}/METADATA +17 -6
- azure_mgmt_storage-23.0.1.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.1.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-22.2.0.dist-info → azure_mgmt_storage-23.0.1.dist-info}/WHEEL +0 -0
- {azure_mgmt_storage-22.2.0.dist-info → azure_mgmt_storage-23.0.1.dist-info}/top_level.txt +0 -0
@@ -1,3 +1,4 @@
|
|
1
|
+
# pylint: disable=line-too-long,useless-suppression
|
1
2
|
# coding=utf-8
|
2
3
|
# --------------------------------------------------------------------------
|
3
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -5,10 +6,11 @@
|
|
5
6
|
# Code generated by Microsoft (R) AutoRest Code Generator.
|
6
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
8
|
# --------------------------------------------------------------------------
|
8
|
-
import
|
9
|
-
from typing import Any,
|
9
|
+
from collections.abc import MutableMapping
|
10
|
+
from typing import Any, Callable, Dict, Optional, TypeVar
|
10
11
|
import urllib.parse
|
11
12
|
|
13
|
+
from azure.core import AsyncPipelineClient
|
12
14
|
from azure.core.async_paging import AsyncItemPaged, AsyncList
|
13
15
|
from azure.core.exceptions import (
|
14
16
|
ClientAuthenticationError,
|
@@ -25,12 +27,10 @@ from azure.core.utils import case_insensitive_dict
|
|
25
27
|
from azure.mgmt.core.exceptions import ARMErrorFormat
|
26
28
|
|
27
29
|
from ... import models as _models
|
30
|
+
from ..._utils.serialization import Deserializer, Serializer
|
28
31
|
from ...operations._storage_task_assignment_instances_report_operations import build_list_request
|
32
|
+
from .._configuration import StorageManagementClientConfiguration
|
29
33
|
|
30
|
-
if sys.version_info >= (3, 9):
|
31
|
-
from collections.abc import MutableMapping
|
32
|
-
else:
|
33
|
-
from typing import MutableMapping # type: ignore
|
34
34
|
T = TypeVar("T")
|
35
35
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
36
36
|
|
@@ -41,7 +41,7 @@ class StorageTaskAssignmentInstancesReportOperations: # pylint: disable=name-to
|
|
41
41
|
**DO NOT** instantiate this class directly.
|
42
42
|
|
43
43
|
Instead, you should access the following operations through
|
44
|
-
:class:`~azure.mgmt.storage.
|
44
|
+
:class:`~azure.mgmt.storage.aio.StorageManagementClient`'s
|
45
45
|
:attr:`storage_task_assignment_instances_report` attribute.
|
46
46
|
"""
|
47
47
|
|
@@ -49,11 +49,10 @@ class StorageTaskAssignmentInstancesReportOperations: # pylint: disable=name-to
|
|
49
49
|
|
50
50
|
def __init__(self, *args, **kwargs) -> None:
|
51
51
|
input_args = list(args)
|
52
|
-
self._client = input_args.pop(0) if input_args else kwargs.pop("client")
|
53
|
-
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
54
|
-
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
55
|
-
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
56
|
-
self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
|
52
|
+
self._client: AsyncPipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
|
53
|
+
self._config: StorageManagementClientConfiguration = input_args.pop(0) if input_args else kwargs.pop("config")
|
54
|
+
self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
55
|
+
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
57
56
|
|
58
57
|
@distributed_trace
|
59
58
|
def list(
|
@@ -64,8 +63,7 @@ class StorageTaskAssignmentInstancesReportOperations: # pylint: disable=name-to
|
|
64
63
|
maxpagesize: Optional[int] = None,
|
65
64
|
filter: Optional[str] = None,
|
66
65
|
**kwargs: Any
|
67
|
-
) ->
|
68
|
-
# pylint: disable=line-too-long
|
66
|
+
) -> AsyncItemPaged["_models.StorageTaskReportInstance"]:
|
69
67
|
"""Fetch the report summary of a single storage task assignment's instances.
|
70
68
|
|
71
69
|
:param resource_group_name: The name of the resource group. The name is case insensitive.
|
@@ -90,13 +88,13 @@ class StorageTaskAssignmentInstancesReportOperations: # pylint: disable=name-to
|
|
90
88
|
:return: An iterator like instance of either StorageTaskReportInstance or the result of
|
91
89
|
cls(response)
|
92
90
|
:rtype:
|
93
|
-
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.
|
91
|
+
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.models.StorageTaskReportInstance]
|
94
92
|
:raises ~azure.core.exceptions.HttpResponseError:
|
95
93
|
"""
|
96
94
|
_headers = kwargs.pop("headers", {}) or {}
|
97
95
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
98
96
|
|
99
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
97
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
100
98
|
cls: ClsType[_models.StorageTaskReportSummary] = kwargs.pop("cls", None)
|
101
99
|
|
102
100
|
error_map: MutableMapping = {
|
@@ -132,7 +130,7 @@ class StorageTaskAssignmentInstancesReportOperations: # pylint: disable=name-to
|
|
132
130
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
133
131
|
}
|
134
132
|
)
|
135
|
-
_next_request_params["api-version"] = self.
|
133
|
+
_next_request_params["api-version"] = self._config.api_version
|
136
134
|
_request = HttpRequest(
|
137
135
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
138
136
|
)
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# pylint: disable=line-too-long,useless-suppression
|
1
2
|
# coding=utf-8
|
2
3
|
# --------------------------------------------------------------------------
|
3
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -5,10 +6,11 @@
|
|
5
6
|
# Code generated by Microsoft (R) AutoRest Code Generator.
|
6
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
8
|
# --------------------------------------------------------------------------
|
8
|
-
import
|
9
|
-
from typing import Any,
|
9
|
+
from collections.abc import MutableMapping
|
10
|
+
from typing import Any, Callable, Dict, Optional, TypeVar
|
10
11
|
import urllib.parse
|
11
12
|
|
13
|
+
from azure.core import AsyncPipelineClient
|
12
14
|
from azure.core.async_paging import AsyncItemPaged, AsyncList
|
13
15
|
from azure.core.exceptions import (
|
14
16
|
ClientAuthenticationError,
|
@@ -25,12 +27,10 @@ from azure.core.utils import case_insensitive_dict
|
|
25
27
|
from azure.mgmt.core.exceptions import ARMErrorFormat
|
26
28
|
|
27
29
|
from ... import models as _models
|
30
|
+
from ..._utils.serialization import Deserializer, Serializer
|
28
31
|
from ...operations._storage_task_assignments_instances_report_operations import build_list_request
|
32
|
+
from .._configuration import StorageManagementClientConfiguration
|
29
33
|
|
30
|
-
if sys.version_info >= (3, 9):
|
31
|
-
from collections.abc import MutableMapping
|
32
|
-
else:
|
33
|
-
from typing import MutableMapping # type: ignore
|
34
34
|
T = TypeVar("T")
|
35
35
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
36
36
|
|
@@ -41,7 +41,7 @@ class StorageTaskAssignmentsInstancesReportOperations: # pylint: disable=name-t
|
|
41
41
|
**DO NOT** instantiate this class directly.
|
42
42
|
|
43
43
|
Instead, you should access the following operations through
|
44
|
-
:class:`~azure.mgmt.storage.
|
44
|
+
:class:`~azure.mgmt.storage.aio.StorageManagementClient`'s
|
45
45
|
:attr:`storage_task_assignments_instances_report` attribute.
|
46
46
|
"""
|
47
47
|
|
@@ -49,11 +49,10 @@ class StorageTaskAssignmentsInstancesReportOperations: # pylint: disable=name-t
|
|
49
49
|
|
50
50
|
def __init__(self, *args, **kwargs) -> None:
|
51
51
|
input_args = list(args)
|
52
|
-
self._client = input_args.pop(0) if input_args else kwargs.pop("client")
|
53
|
-
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
54
|
-
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
55
|
-
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
56
|
-
self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
|
52
|
+
self._client: AsyncPipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
|
53
|
+
self._config: StorageManagementClientConfiguration = input_args.pop(0) if input_args else kwargs.pop("config")
|
54
|
+
self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
55
|
+
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
57
56
|
|
58
57
|
@distributed_trace
|
59
58
|
def list(
|
@@ -63,8 +62,7 @@ class StorageTaskAssignmentsInstancesReportOperations: # pylint: disable=name-t
|
|
63
62
|
maxpagesize: Optional[int] = None,
|
64
63
|
filter: Optional[str] = None,
|
65
64
|
**kwargs: Any
|
66
|
-
) ->
|
67
|
-
# pylint: disable=line-too-long
|
65
|
+
) -> AsyncItemPaged["_models.StorageTaskReportInstance"]:
|
68
66
|
"""Fetch the report summary of all the storage task assignments and instances in an account.
|
69
67
|
|
70
68
|
:param resource_group_name: The name of the resource group. The name is case insensitive.
|
@@ -85,13 +83,13 @@ class StorageTaskAssignmentsInstancesReportOperations: # pylint: disable=name-t
|
|
85
83
|
:return: An iterator like instance of either StorageTaskReportInstance or the result of
|
86
84
|
cls(response)
|
87
85
|
:rtype:
|
88
|
-
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.
|
86
|
+
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.models.StorageTaskReportInstance]
|
89
87
|
:raises ~azure.core.exceptions.HttpResponseError:
|
90
88
|
"""
|
91
89
|
_headers = kwargs.pop("headers", {}) or {}
|
92
90
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
93
91
|
|
94
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
92
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
95
93
|
cls: ClsType[_models.StorageTaskReportSummary] = kwargs.pop("cls", None)
|
96
94
|
|
97
95
|
error_map: MutableMapping = {
|
@@ -126,7 +124,7 @@ class StorageTaskAssignmentsInstancesReportOperations: # pylint: disable=name-t
|
|
126
124
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
127
125
|
}
|
128
126
|
)
|
129
|
-
_next_request_params["api-version"] = self.
|
127
|
+
_next_request_params["api-version"] = self._config.api_version
|
130
128
|
_request = HttpRequest(
|
131
129
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
132
130
|
)
|
azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_task_assignments_operations.py
RENAMED
@@ -5,11 +5,12 @@
|
|
5
5
|
# Code generated by Microsoft (R) AutoRest Code Generator.
|
6
6
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
# --------------------------------------------------------------------------
|
8
|
+
from collections.abc import MutableMapping
|
8
9
|
from io import IOBase
|
9
|
-
import
|
10
|
-
from typing import Any, AsyncIterable, AsyncIterator, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload
|
10
|
+
from typing import Any, AsyncIterator, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload
|
11
11
|
import urllib.parse
|
12
12
|
|
13
|
+
from azure.core import AsyncPipelineClient
|
13
14
|
from azure.core.async_paging import AsyncItemPaged, AsyncList
|
14
15
|
from azure.core.exceptions import (
|
15
16
|
ClientAuthenticationError,
|
@@ -31,6 +32,7 @@ from azure.mgmt.core.exceptions import ARMErrorFormat
|
|
31
32
|
from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling
|
32
33
|
|
33
34
|
from ... import models as _models
|
35
|
+
from ..._utils.serialization import Deserializer, Serializer
|
34
36
|
from ...operations._storage_task_assignments_operations import (
|
35
37
|
build_create_request,
|
36
38
|
build_delete_request,
|
@@ -38,11 +40,8 @@ from ...operations._storage_task_assignments_operations import (
|
|
38
40
|
build_list_request,
|
39
41
|
build_update_request,
|
40
42
|
)
|
43
|
+
from .._configuration import StorageManagementClientConfiguration
|
41
44
|
|
42
|
-
if sys.version_info >= (3, 9):
|
43
|
-
from collections.abc import MutableMapping
|
44
|
-
else:
|
45
|
-
from typing import MutableMapping # type: ignore
|
46
45
|
T = TypeVar("T")
|
47
46
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
48
47
|
|
@@ -53,7 +52,7 @@ class StorageTaskAssignmentsOperations:
|
|
53
52
|
**DO NOT** instantiate this class directly.
|
54
53
|
|
55
54
|
Instead, you should access the following operations through
|
56
|
-
:class:`~azure.mgmt.storage.
|
55
|
+
:class:`~azure.mgmt.storage.aio.StorageManagementClient`'s
|
57
56
|
:attr:`storage_task_assignments` attribute.
|
58
57
|
"""
|
59
58
|
|
@@ -61,11 +60,10 @@ class StorageTaskAssignmentsOperations:
|
|
61
60
|
|
62
61
|
def __init__(self, *args, **kwargs) -> None:
|
63
62
|
input_args = list(args)
|
64
|
-
self._client = input_args.pop(0) if input_args else kwargs.pop("client")
|
65
|
-
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
66
|
-
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
67
|
-
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
68
|
-
self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
|
63
|
+
self._client: AsyncPipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
|
64
|
+
self._config: StorageManagementClientConfiguration = input_args.pop(0) if input_args else kwargs.pop("config")
|
65
|
+
self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
66
|
+
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
69
67
|
|
70
68
|
async def _create_initial(
|
71
69
|
self,
|
@@ -86,7 +84,7 @@ class StorageTaskAssignmentsOperations:
|
|
86
84
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
87
85
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
88
86
|
|
89
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
87
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
90
88
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
91
89
|
cls: ClsType[AsyncIterator[bytes]] = kwargs.pop("cls", None)
|
92
90
|
|
@@ -169,14 +167,13 @@ class StorageTaskAssignmentsOperations:
|
|
169
167
|
length and use numbers and lower-case letters only. Required.
|
170
168
|
:type storage_task_assignment_name: str
|
171
169
|
:param parameters: The parameters to create a Storage Task Assignment. Required.
|
172
|
-
:type parameters: ~azure.mgmt.storage.
|
170
|
+
:type parameters: ~azure.mgmt.storage.models.StorageTaskAssignment
|
173
171
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
174
172
|
Default value is "application/json".
|
175
173
|
:paramtype content_type: str
|
176
174
|
:return: An instance of AsyncLROPoller that returns either StorageTaskAssignment or the result
|
177
175
|
of cls(response)
|
178
|
-
:rtype:
|
179
|
-
~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignment]
|
176
|
+
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.models.StorageTaskAssignment]
|
180
177
|
:raises ~azure.core.exceptions.HttpResponseError:
|
181
178
|
"""
|
182
179
|
|
@@ -215,8 +212,7 @@ class StorageTaskAssignmentsOperations:
|
|
215
212
|
:paramtype content_type: str
|
216
213
|
:return: An instance of AsyncLROPoller that returns either StorageTaskAssignment or the result
|
217
214
|
of cls(response)
|
218
|
-
:rtype:
|
219
|
-
~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignment]
|
215
|
+
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.models.StorageTaskAssignment]
|
220
216
|
:raises ~azure.core.exceptions.HttpResponseError:
|
221
217
|
"""
|
222
218
|
|
@@ -248,17 +244,16 @@ class StorageTaskAssignmentsOperations:
|
|
248
244
|
:type storage_task_assignment_name: str
|
249
245
|
:param parameters: The parameters to create a Storage Task Assignment. Is either a
|
250
246
|
StorageTaskAssignment type or a IO[bytes] type. Required.
|
251
|
-
:type parameters: ~azure.mgmt.storage.
|
247
|
+
:type parameters: ~azure.mgmt.storage.models.StorageTaskAssignment or IO[bytes]
|
252
248
|
:return: An instance of AsyncLROPoller that returns either StorageTaskAssignment or the result
|
253
249
|
of cls(response)
|
254
|
-
:rtype:
|
255
|
-
~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignment]
|
250
|
+
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.models.StorageTaskAssignment]
|
256
251
|
:raises ~azure.core.exceptions.HttpResponseError:
|
257
252
|
"""
|
258
253
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
259
254
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
260
255
|
|
261
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
256
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
262
257
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
263
258
|
cls: ClsType[_models.StorageTaskAssignment] = kwargs.pop("cls", None)
|
264
259
|
polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True)
|
@@ -288,7 +283,8 @@ class StorageTaskAssignmentsOperations:
|
|
288
283
|
|
289
284
|
if polling is True:
|
290
285
|
polling_method: AsyncPollingMethod = cast(
|
291
|
-
AsyncPollingMethod,
|
286
|
+
AsyncPollingMethod,
|
287
|
+
AsyncARMPolling(lro_delay, lro_options={"final-state-via": "azure-async-operation"}, **kwargs),
|
292
288
|
)
|
293
289
|
elif polling is False:
|
294
290
|
polling_method = cast(AsyncPollingMethod, AsyncNoPolling())
|
@@ -324,7 +320,7 @@ class StorageTaskAssignmentsOperations:
|
|
324
320
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
325
321
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
326
322
|
|
327
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
323
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
328
324
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
329
325
|
cls: ClsType[AsyncIterator[bytes]] = kwargs.pop("cls", None)
|
330
326
|
|
@@ -403,14 +399,13 @@ class StorageTaskAssignmentsOperations:
|
|
403
399
|
length and use numbers and lower-case letters only. Required.
|
404
400
|
:type storage_task_assignment_name: str
|
405
401
|
:param parameters: The parameters to update a Storage Task Assignment. Required.
|
406
|
-
:type parameters: ~azure.mgmt.storage.
|
402
|
+
:type parameters: ~azure.mgmt.storage.models.StorageTaskAssignmentUpdateParameters
|
407
403
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
408
404
|
Default value is "application/json".
|
409
405
|
:paramtype content_type: str
|
410
406
|
:return: An instance of AsyncLROPoller that returns either StorageTaskAssignment or the result
|
411
407
|
of cls(response)
|
412
|
-
:rtype:
|
413
|
-
~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignment]
|
408
|
+
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.models.StorageTaskAssignment]
|
414
409
|
:raises ~azure.core.exceptions.HttpResponseError:
|
415
410
|
"""
|
416
411
|
|
@@ -445,8 +440,7 @@ class StorageTaskAssignmentsOperations:
|
|
445
440
|
:paramtype content_type: str
|
446
441
|
:return: An instance of AsyncLROPoller that returns either StorageTaskAssignment or the result
|
447
442
|
of cls(response)
|
448
|
-
:rtype:
|
449
|
-
~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignment]
|
443
|
+
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.models.StorageTaskAssignment]
|
450
444
|
:raises ~azure.core.exceptions.HttpResponseError:
|
451
445
|
"""
|
452
446
|
|
@@ -474,18 +468,16 @@ class StorageTaskAssignmentsOperations:
|
|
474
468
|
:type storage_task_assignment_name: str
|
475
469
|
:param parameters: The parameters to update a Storage Task Assignment. Is either a
|
476
470
|
StorageTaskAssignmentUpdateParameters type or a IO[bytes] type. Required.
|
477
|
-
:type parameters: ~azure.mgmt.storage.
|
478
|
-
or IO[bytes]
|
471
|
+
:type parameters: ~azure.mgmt.storage.models.StorageTaskAssignmentUpdateParameters or IO[bytes]
|
479
472
|
:return: An instance of AsyncLROPoller that returns either StorageTaskAssignment or the result
|
480
473
|
of cls(response)
|
481
|
-
:rtype:
|
482
|
-
~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignment]
|
474
|
+
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.models.StorageTaskAssignment]
|
483
475
|
:raises ~azure.core.exceptions.HttpResponseError:
|
484
476
|
"""
|
485
477
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
486
478
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
487
479
|
|
488
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
480
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
489
481
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
490
482
|
cls: ClsType[_models.StorageTaskAssignment] = kwargs.pop("cls", None)
|
491
483
|
polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True)
|
@@ -515,7 +507,8 @@ class StorageTaskAssignmentsOperations:
|
|
515
507
|
|
516
508
|
if polling is True:
|
517
509
|
polling_method: AsyncPollingMethod = cast(
|
518
|
-
AsyncPollingMethod,
|
510
|
+
AsyncPollingMethod,
|
511
|
+
AsyncARMPolling(lro_delay, lro_options={"final-state-via": "azure-async-operation"}, **kwargs),
|
519
512
|
)
|
520
513
|
elif polling is False:
|
521
514
|
polling_method = cast(AsyncPollingMethod, AsyncNoPolling())
|
@@ -550,7 +543,7 @@ class StorageTaskAssignmentsOperations:
|
|
550
543
|
length and use numbers and lower-case letters only. Required.
|
551
544
|
:type storage_task_assignment_name: str
|
552
545
|
:return: StorageTaskAssignment or the result of cls(response)
|
553
|
-
:rtype: ~azure.mgmt.storage.
|
546
|
+
:rtype: ~azure.mgmt.storage.models.StorageTaskAssignment
|
554
547
|
:raises ~azure.core.exceptions.HttpResponseError:
|
555
548
|
"""
|
556
549
|
error_map: MutableMapping = {
|
@@ -564,7 +557,7 @@ class StorageTaskAssignmentsOperations:
|
|
564
557
|
_headers = kwargs.pop("headers", {}) or {}
|
565
558
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
566
559
|
|
567
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
560
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
568
561
|
cls: ClsType[_models.StorageTaskAssignment] = kwargs.pop("cls", None)
|
569
562
|
|
570
563
|
_request = build_get_request(
|
@@ -611,7 +604,7 @@ class StorageTaskAssignmentsOperations:
|
|
611
604
|
_headers = kwargs.pop("headers", {}) or {}
|
612
605
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
613
606
|
|
614
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
607
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
615
608
|
cls: ClsType[AsyncIterator[bytes]] = kwargs.pop("cls", None)
|
616
609
|
|
617
610
|
_request = build_delete_request(
|
@@ -677,7 +670,7 @@ class StorageTaskAssignmentsOperations:
|
|
677
670
|
_headers = kwargs.pop("headers", {}) or {}
|
678
671
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
679
672
|
|
680
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
673
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
681
674
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
682
675
|
polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True)
|
683
676
|
lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
|
@@ -702,7 +695,8 @@ class StorageTaskAssignmentsOperations:
|
|
702
695
|
|
703
696
|
if polling is True:
|
704
697
|
polling_method: AsyncPollingMethod = cast(
|
705
|
-
AsyncPollingMethod,
|
698
|
+
AsyncPollingMethod,
|
699
|
+
AsyncARMPolling(lro_delay, lro_options={"final-state-via": "azure-async-operation"}, **kwargs),
|
706
700
|
)
|
707
701
|
elif polling is False:
|
708
702
|
polling_method = cast(AsyncPollingMethod, AsyncNoPolling())
|
@@ -720,7 +714,7 @@ class StorageTaskAssignmentsOperations:
|
|
720
714
|
@distributed_trace
|
721
715
|
def list(
|
722
716
|
self, resource_group_name: str, account_name: str, maxpagesize: Optional[int] = None, **kwargs: Any
|
723
|
-
) ->
|
717
|
+
) -> AsyncItemPaged["_models.StorageTaskAssignment"]:
|
724
718
|
"""List all the storage task assignments in an account.
|
725
719
|
|
726
720
|
:param resource_group_name: The name of the resource group. The name is case insensitive.
|
@@ -736,13 +730,13 @@ class StorageTaskAssignmentsOperations:
|
|
736
730
|
:return: An iterator like instance of either StorageTaskAssignment or the result of
|
737
731
|
cls(response)
|
738
732
|
:rtype:
|
739
|
-
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.
|
733
|
+
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.models.StorageTaskAssignment]
|
740
734
|
:raises ~azure.core.exceptions.HttpResponseError:
|
741
735
|
"""
|
742
736
|
_headers = kwargs.pop("headers", {}) or {}
|
743
737
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
744
738
|
|
745
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self.
|
739
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
|
746
740
|
cls: ClsType[_models.StorageTaskAssignmentsList] = kwargs.pop("cls", None)
|
747
741
|
|
748
742
|
error_map: MutableMapping = {
|
@@ -776,7 +770,7 @@ class StorageTaskAssignmentsOperations:
|
|
776
770
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
777
771
|
}
|
778
772
|
)
|
779
|
-
_next_request_params["api-version"] = self.
|
773
|
+
_next_request_params["api-version"] = self._config.api_version
|
780
774
|
_request = HttpRequest(
|
781
775
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
782
776
|
)
|