azure-mgmt-storage 23.0.0__py3-none-any.whl → 23.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azure/mgmt/storage/_configuration.py +2 -2
- azure/mgmt/storage/_storage_management_client.py +1 -1
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_configuration.py +2 -2
- azure/mgmt/storage/aio/_storage_management_client.py +1 -1
- azure/mgmt/storage/aio/operations/_blob_containers_operations.py +2 -15
- azure/mgmt/storage/aio/operations/_blob_inventory_policies_operations.py +2 -2
- azure/mgmt/storage/aio/operations/_blob_services_operations.py +2 -2
- azure/mgmt/storage/aio/operations/_deleted_accounts_operations.py +2 -2
- azure/mgmt/storage/aio/operations/_encryption_scopes_operations.py +2 -2
- azure/mgmt/storage/aio/operations/_file_services_operations.py +2 -2
- azure/mgmt/storage/aio/operations/_file_shares_operations.py +2 -2
- azure/mgmt/storage/aio/operations/_local_users_operations.py +2 -2
- azure/mgmt/storage/aio/operations/_network_security_perimeter_configurations_operations.py +2 -2
- azure/mgmt/storage/aio/operations/_object_replication_policies_operations.py +2 -2
- azure/mgmt/storage/aio/operations/_operations.py +2 -2
- azure/mgmt/storage/aio/operations/_private_endpoint_connections_operations.py +2 -2
- azure/mgmt/storage/aio/operations/_queue_operations.py +2 -2
- azure/mgmt/storage/aio/operations/_skus_operations.py +2 -2
- azure/mgmt/storage/aio/operations/_storage_accounts_operations.py +3 -16
- azure/mgmt/storage/aio/operations/_storage_task_assignment_instances_report_operations.py +2 -2
- azure/mgmt/storage/aio/operations/_storage_task_assignments_instances_report_operations.py +2 -2
- azure/mgmt/storage/aio/operations/_storage_task_assignments_operations.py +17 -5
- azure/mgmt/storage/aio/operations/_table_operations.py +2 -2
- azure/mgmt/storage/aio/operations/_usages_operations.py +2 -2
- azure/mgmt/storage/models/__init__.py +18 -0
- azure/mgmt/storage/models/_models_py3.py +420 -47
- azure/mgmt/storage/models/_storage_management_client_enums.py +21 -1
- azure/mgmt/storage/operations/_blob_containers_operations.py +17 -17
- azure/mgmt/storage/operations/_blob_inventory_policies_operations.py +7 -7
- azure/mgmt/storage/operations/_blob_services_operations.py +6 -6
- azure/mgmt/storage/operations/_deleted_accounts_operations.py +5 -5
- azure/mgmt/storage/operations/_encryption_scopes_operations.py +7 -7
- azure/mgmt/storage/operations/_file_services_operations.py +8 -8
- azure/mgmt/storage/operations/_file_shares_operations.py +10 -10
- azure/mgmt/storage/operations/_local_users_operations.py +9 -9
- azure/mgmt/storage/operations/_management_policies_operations.py +4 -4
- azure/mgmt/storage/operations/_network_security_perimeter_configurations_operations.py +6 -6
- azure/mgmt/storage/operations/_object_replication_policies_operations.py +7 -7
- azure/mgmt/storage/operations/_operations.py +4 -4
- azure/mgmt/storage/operations/_private_endpoint_connections_operations.py +7 -7
- azure/mgmt/storage/operations/_private_link_resources_operations.py +2 -2
- azure/mgmt/storage/operations/_queue_operations.py +8 -8
- azure/mgmt/storage/operations/_queue_services_operations.py +4 -4
- azure/mgmt/storage/operations/_skus_operations.py +4 -4
- azure/mgmt/storage/operations/_storage_accounts_operations.py +22 -22
- azure/mgmt/storage/operations/_storage_task_assignment_instances_report_operations.py +4 -4
- azure/mgmt/storage/operations/_storage_task_assignments_instances_report_operations.py +4 -4
- azure/mgmt/storage/operations/_storage_task_assignments_operations.py +20 -11
- azure/mgmt/storage/operations/_table_operations.py +8 -8
- azure/mgmt/storage/operations/_table_services_operations.py +4 -4
- azure/mgmt/storage/operations/_usages_operations.py +4 -4
- {azure_mgmt_storage-23.0.0.dist-info → azure_mgmt_storage-23.1.0.dist-info}/METADATA +51 -3
- azure_mgmt_storage-23.1.0.dist-info/RECORD +73 -0
- {azure_mgmt_storage-23.0.0.dist-info → azure_mgmt_storage-23.1.0.dist-info}/WHEEL +1 -1
- azure_mgmt_storage-23.0.0.dist-info/RECORD +0 -73
- {azure_mgmt_storage-23.0.0.dist-info → azure_mgmt_storage-23.1.0.dist-info/licenses}/LICENSE +0 -0
- {azure_mgmt_storage-23.0.0.dist-info → azure_mgmt_storage-23.1.0.dist-info}/top_level.txt +0 -0
|
@@ -27,13 +27,13 @@ class StorageManagementClientConfiguration: # pylint: disable=too-many-instance
|
|
|
27
27
|
:type credential: ~azure.core.credentials.TokenCredential
|
|
28
28
|
:param subscription_id: The ID of the target subscription. Required.
|
|
29
29
|
:type subscription_id: str
|
|
30
|
-
:keyword api_version: Api Version. Default value is "
|
|
30
|
+
:keyword api_version: Api Version. Default value is "2025-01-01". Note that overriding this
|
|
31
31
|
default value may result in unsupported behavior.
|
|
32
32
|
:paramtype api_version: str
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
35
|
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
|
|
36
|
-
api_version: str = kwargs.pop("api_version", "
|
|
36
|
+
api_version: str = kwargs.pop("api_version", "2025-01-01")
|
|
37
37
|
|
|
38
38
|
if credential is None:
|
|
39
39
|
raise ValueError("Parameter 'credential' must not be None.")
|
|
@@ -117,7 +117,7 @@ class StorageManagementClient: # pylint: disable=too-many-instance-attributes
|
|
|
117
117
|
:type subscription_id: str
|
|
118
118
|
:param base_url: Service URL. Default value is None.
|
|
119
119
|
:type base_url: str
|
|
120
|
-
:keyword api_version: Api Version. Default value is "
|
|
120
|
+
:keyword api_version: Api Version. Default value is "2025-01-01". Note that overriding this
|
|
121
121
|
default value may result in unsupported behavior.
|
|
122
122
|
:paramtype api_version: str
|
|
123
123
|
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
azure/mgmt/storage/_version.py
CHANGED
|
@@ -27,13 +27,13 @@ class StorageManagementClientConfiguration: # pylint: disable=too-many-instance
|
|
|
27
27
|
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
|
|
28
28
|
:param subscription_id: The ID of the target subscription. Required.
|
|
29
29
|
:type subscription_id: str
|
|
30
|
-
:keyword api_version: Api Version. Default value is "
|
|
30
|
+
:keyword api_version: Api Version. Default value is "2025-01-01". Note that overriding this
|
|
31
31
|
default value may result in unsupported behavior.
|
|
32
32
|
:paramtype api_version: str
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
35
|
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
|
|
36
|
-
api_version: str = kwargs.pop("api_version", "
|
|
36
|
+
api_version: str = kwargs.pop("api_version", "2025-01-01")
|
|
37
37
|
|
|
38
38
|
if credential is None:
|
|
39
39
|
raise ValueError("Parameter 'credential' must not be None.")
|
|
@@ -119,7 +119,7 @@ class StorageManagementClient: # pylint: disable=too-many-instance-attributes
|
|
|
119
119
|
:type subscription_id: str
|
|
120
120
|
:param base_url: Service URL. Default value is None.
|
|
121
121
|
:type base_url: str
|
|
122
|
-
:keyword api_version: Api Version. Default value is "
|
|
122
|
+
:keyword api_version: Api Version. Default value is "2025-01-01". Note that overriding this
|
|
123
123
|
default value may result in unsupported behavior.
|
|
124
124
|
:paramtype api_version: str
|
|
125
125
|
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
|
@@ -8,20 +8,7 @@
|
|
|
8
8
|
# --------------------------------------------------------------------------
|
|
9
9
|
from collections.abc import MutableMapping
|
|
10
10
|
from io import IOBase
|
|
11
|
-
from typing import
|
|
12
|
-
Any,
|
|
13
|
-
AsyncIterable,
|
|
14
|
-
AsyncIterator,
|
|
15
|
-
Callable,
|
|
16
|
-
Dict,
|
|
17
|
-
IO,
|
|
18
|
-
Literal,
|
|
19
|
-
Optional,
|
|
20
|
-
TypeVar,
|
|
21
|
-
Union,
|
|
22
|
-
cast,
|
|
23
|
-
overload,
|
|
24
|
-
)
|
|
11
|
+
from typing import Any, AsyncIterator, Callable, Dict, IO, Literal, Optional, TypeVar, Union, cast, overload
|
|
25
12
|
import urllib.parse
|
|
26
13
|
|
|
27
14
|
from azure.core import AsyncPipelineClient
|
|
@@ -97,7 +84,7 @@ class BlobContainersOperations:
|
|
|
97
84
|
filter: Optional[str] = None,
|
|
98
85
|
include: Optional[Union[str, _models.ListContainersInclude]] = None,
|
|
99
86
|
**kwargs: Any
|
|
100
|
-
) ->
|
|
87
|
+
) -> AsyncItemPaged["_models.ListContainerItem"]:
|
|
101
88
|
"""Lists all containers and does not support a prefix like data plane. Also SRP today does not
|
|
102
89
|
return continuation token.
|
|
103
90
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
from collections.abc import MutableMapping
|
|
9
9
|
from io import IOBase
|
|
10
|
-
from typing import Any,
|
|
10
|
+
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
|
|
11
11
|
import urllib.parse
|
|
12
12
|
|
|
13
13
|
from azure.core import AsyncPipelineClient
|
|
@@ -342,7 +342,7 @@ class BlobInventoryPoliciesOperations:
|
|
|
342
342
|
@distributed_trace
|
|
343
343
|
def list(
|
|
344
344
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
|
345
|
-
) ->
|
|
345
|
+
) -> AsyncItemPaged["_models.BlobInventoryPolicy"]:
|
|
346
346
|
"""Gets the blob inventory policy associated with the specified storage account.
|
|
347
347
|
|
|
348
348
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
from collections.abc import MutableMapping
|
|
9
9
|
from io import IOBase
|
|
10
|
-
from typing import Any,
|
|
10
|
+
from typing import Any, Callable, Dict, IO, Literal, Optional, TypeVar, Union, overload
|
|
11
11
|
import urllib.parse
|
|
12
12
|
|
|
13
13
|
from azure.core import AsyncPipelineClient
|
|
@@ -62,7 +62,7 @@ class BlobServicesOperations:
|
|
|
62
62
|
@distributed_trace
|
|
63
63
|
def list(
|
|
64
64
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
|
65
|
-
) ->
|
|
65
|
+
) -> AsyncItemPaged["_models.BlobServiceProperties"]:
|
|
66
66
|
"""List blob services of storage account. It returns a collection of one object named default.
|
|
67
67
|
|
|
68
68
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
from collections.abc import MutableMapping
|
|
9
|
-
from typing import Any,
|
|
9
|
+
from typing import Any, Callable, Dict, Optional, TypeVar
|
|
10
10
|
import urllib.parse
|
|
11
11
|
|
|
12
12
|
from azure.core import AsyncPipelineClient
|
|
@@ -55,7 +55,7 @@ class DeletedAccountsOperations:
|
|
|
55
55
|
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
|
56
56
|
|
|
57
57
|
@distributed_trace
|
|
58
|
-
def list(self, **kwargs: Any) ->
|
|
58
|
+
def list(self, **kwargs: Any) -> AsyncItemPaged["_models.DeletedAccount"]:
|
|
59
59
|
"""Lists deleted accounts under the subscription.
|
|
60
60
|
|
|
61
61
|
:return: An iterator like instance of either DeletedAccount or the result of cls(response)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
from collections.abc import MutableMapping
|
|
9
9
|
from io import IOBase
|
|
10
|
-
from typing import Any,
|
|
10
|
+
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
|
|
11
11
|
import urllib.parse
|
|
12
12
|
|
|
13
13
|
from azure.core import AsyncPipelineClient
|
|
@@ -458,7 +458,7 @@ class EncryptionScopesOperations:
|
|
|
458
458
|
filter: Optional[str] = None,
|
|
459
459
|
include: Optional[Union[str, _models.ListEncryptionScopesInclude]] = None,
|
|
460
460
|
**kwargs: Any
|
|
461
|
-
) ->
|
|
461
|
+
) -> AsyncItemPaged["_models.EncryptionScope"]:
|
|
462
462
|
"""Lists all the encryption scopes available under the specified storage account.
|
|
463
463
|
|
|
464
464
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
from collections.abc import MutableMapping
|
|
9
9
|
from io import IOBase
|
|
10
|
-
from typing import Any,
|
|
10
|
+
from typing import Any, Callable, Dict, IO, Literal, Optional, TypeVar, Union, overload
|
|
11
11
|
import urllib.parse
|
|
12
12
|
|
|
13
13
|
from azure.core import AsyncPipelineClient
|
|
@@ -327,7 +327,7 @@ class FileServicesOperations:
|
|
|
327
327
|
@distributed_trace
|
|
328
328
|
def list_service_usages(
|
|
329
329
|
self, resource_group_name: str, account_name: str, maxpagesize: Optional[int] = None, **kwargs: Any
|
|
330
|
-
) ->
|
|
330
|
+
) -> AsyncItemPaged["_models.FileServiceUsage"]:
|
|
331
331
|
"""Gets the usages of file service in storage account.
|
|
332
332
|
|
|
333
333
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
from collections.abc import MutableMapping
|
|
9
9
|
from io import IOBase
|
|
10
|
-
from typing import Any,
|
|
10
|
+
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
|
|
11
11
|
import urllib.parse
|
|
12
12
|
|
|
13
13
|
from azure.core import AsyncPipelineClient
|
|
@@ -72,7 +72,7 @@ class FileSharesOperations:
|
|
|
72
72
|
filter: Optional[str] = None,
|
|
73
73
|
expand: Optional[str] = None,
|
|
74
74
|
**kwargs: Any
|
|
75
|
-
) ->
|
|
75
|
+
) -> AsyncItemPaged["_models.FileShareItem"]:
|
|
76
76
|
"""Lists all shares.
|
|
77
77
|
|
|
78
78
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
from collections.abc import MutableMapping
|
|
9
9
|
from io import IOBase
|
|
10
|
-
from typing import Any,
|
|
10
|
+
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
|
|
11
11
|
import urllib.parse
|
|
12
12
|
|
|
13
13
|
from azure.core import AsyncPipelineClient
|
|
@@ -71,7 +71,7 @@ class LocalUsersOperations:
|
|
|
71
71
|
filter: Optional[str] = None,
|
|
72
72
|
include: Optional[Union[str, _models.ListLocalUserIncludeParam]] = None,
|
|
73
73
|
**kwargs: Any
|
|
74
|
-
) ->
|
|
74
|
+
) -> AsyncItemPaged["_models.LocalUser"]:
|
|
75
75
|
"""List the local users associated with the storage account.
|
|
76
76
|
|
|
77
77
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
from collections.abc import MutableMapping
|
|
9
|
-
from typing import Any,
|
|
9
|
+
from typing import Any, AsyncIterator, Callable, Dict, Optional, TypeVar, Union, cast
|
|
10
10
|
import urllib.parse
|
|
11
11
|
|
|
12
12
|
from azure.core import AsyncPipelineClient
|
|
@@ -65,7 +65,7 @@ class NetworkSecurityPerimeterConfigurationsOperations: # pylint: disable=name-
|
|
|
65
65
|
@distributed_trace
|
|
66
66
|
def list(
|
|
67
67
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
|
68
|
-
) ->
|
|
68
|
+
) -> AsyncItemPaged["_models.NetworkSecurityPerimeterConfiguration"]:
|
|
69
69
|
"""Gets list of effective NetworkSecurityPerimeterConfiguration for storage account.
|
|
70
70
|
|
|
71
71
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
from collections.abc import MutableMapping
|
|
9
9
|
from io import IOBase
|
|
10
|
-
from typing import Any,
|
|
10
|
+
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
|
|
11
11
|
import urllib.parse
|
|
12
12
|
|
|
13
13
|
from azure.core import AsyncPipelineClient
|
|
@@ -63,7 +63,7 @@ class ObjectReplicationPoliciesOperations:
|
|
|
63
63
|
@distributed_trace
|
|
64
64
|
def list(
|
|
65
65
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
|
66
|
-
) ->
|
|
66
|
+
) -> AsyncItemPaged["_models.ObjectReplicationPolicy"]:
|
|
67
67
|
"""List the object replication policies associated with the storage account.
|
|
68
68
|
|
|
69
69
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
from collections.abc import MutableMapping
|
|
9
|
-
from typing import Any,
|
|
9
|
+
from typing import Any, Callable, Dict, Optional, TypeVar
|
|
10
10
|
import urllib.parse
|
|
11
11
|
|
|
12
12
|
from azure.core import AsyncPipelineClient
|
|
@@ -54,7 +54,7 @@ class Operations:
|
|
|
54
54
|
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
|
55
55
|
|
|
56
56
|
@distributed_trace
|
|
57
|
-
def list(self, **kwargs: Any) ->
|
|
57
|
+
def list(self, **kwargs: Any) -> AsyncItemPaged["_models.Operation"]:
|
|
58
58
|
"""Lists all of the available Storage Rest API operations.
|
|
59
59
|
|
|
60
60
|
:return: An iterator like instance of either Operation or the result of cls(response)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
from collections.abc import MutableMapping
|
|
9
9
|
from io import IOBase
|
|
10
|
-
from typing import Any,
|
|
10
|
+
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
|
|
11
11
|
import urllib.parse
|
|
12
12
|
|
|
13
13
|
from azure.core import AsyncPipelineClient
|
|
@@ -63,7 +63,7 @@ class PrivateEndpointConnectionsOperations:
|
|
|
63
63
|
@distributed_trace
|
|
64
64
|
def list(
|
|
65
65
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
|
66
|
-
) ->
|
|
66
|
+
) -> AsyncItemPaged["_models.PrivateEndpointConnection"]:
|
|
67
67
|
"""List all the private endpoint connections associated with the storage account.
|
|
68
68
|
|
|
69
69
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
from collections.abc import MutableMapping
|
|
9
9
|
from io import IOBase
|
|
10
|
-
from typing import Any,
|
|
10
|
+
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
|
|
11
11
|
import urllib.parse
|
|
12
12
|
|
|
13
13
|
from azure.core import AsyncPipelineClient
|
|
@@ -503,7 +503,7 @@ class QueueOperations:
|
|
|
503
503
|
maxpagesize: Optional[str] = None,
|
|
504
504
|
filter: Optional[str] = None,
|
|
505
505
|
**kwargs: Any
|
|
506
|
-
) ->
|
|
506
|
+
) -> AsyncItemPaged["_models.ListQueue"]:
|
|
507
507
|
"""Gets a list of all the queues under the specified storage account.
|
|
508
508
|
|
|
509
509
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
from collections.abc import MutableMapping
|
|
9
|
-
from typing import Any,
|
|
9
|
+
from typing import Any, Callable, Dict, Optional, TypeVar
|
|
10
10
|
import urllib.parse
|
|
11
11
|
|
|
12
12
|
from azure.core import AsyncPipelineClient
|
|
@@ -54,7 +54,7 @@ class SkusOperations:
|
|
|
54
54
|
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
|
55
55
|
|
|
56
56
|
@distributed_trace
|
|
57
|
-
def list(self, **kwargs: Any) ->
|
|
57
|
+
def list(self, **kwargs: Any) -> AsyncItemPaged["_models.SkuInformation"]:
|
|
58
58
|
"""Lists the available SKUs supported by Microsoft.Storage for given subscription.
|
|
59
59
|
|
|
60
60
|
:return: An iterator like instance of either SkuInformation or the result of cls(response)
|
|
@@ -8,20 +8,7 @@
|
|
|
8
8
|
# --------------------------------------------------------------------------
|
|
9
9
|
from collections.abc import MutableMapping
|
|
10
10
|
from io import IOBase
|
|
11
|
-
from typing import
|
|
12
|
-
Any,
|
|
13
|
-
AsyncIterable,
|
|
14
|
-
AsyncIterator,
|
|
15
|
-
Callable,
|
|
16
|
-
Dict,
|
|
17
|
-
IO,
|
|
18
|
-
Literal,
|
|
19
|
-
Optional,
|
|
20
|
-
TypeVar,
|
|
21
|
-
Union,
|
|
22
|
-
cast,
|
|
23
|
-
overload,
|
|
24
|
-
)
|
|
11
|
+
from typing import Any, AsyncIterator, Callable, Dict, IO, Literal, Optional, TypeVar, Union, cast, overload
|
|
25
12
|
import urllib.parse
|
|
26
13
|
|
|
27
14
|
from azure.core import AsyncPipelineClient
|
|
@@ -689,7 +676,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
|
689
676
|
return deserialized # type: ignore
|
|
690
677
|
|
|
691
678
|
@distributed_trace
|
|
692
|
-
def list(self, **kwargs: Any) ->
|
|
679
|
+
def list(self, **kwargs: Any) -> AsyncItemPaged["_models.StorageAccount"]:
|
|
693
680
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
|
694
681
|
returned; use the ListKeys operation for this.
|
|
695
682
|
|
|
@@ -766,7 +753,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
|
|
|
766
753
|
@distributed_trace
|
|
767
754
|
def list_by_resource_group(
|
|
768
755
|
self, resource_group_name: str, **kwargs: Any
|
|
769
|
-
) ->
|
|
756
|
+
) -> AsyncItemPaged["_models.StorageAccount"]:
|
|
770
757
|
"""Lists all the storage accounts available under the given resource group. Note that storage keys
|
|
771
758
|
are not returned; use the ListKeys operation for this.
|
|
772
759
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
8
|
# --------------------------------------------------------------------------
|
|
9
9
|
from collections.abc import MutableMapping
|
|
10
|
-
from typing import Any,
|
|
10
|
+
from typing import Any, Callable, Dict, Optional, TypeVar
|
|
11
11
|
import urllib.parse
|
|
12
12
|
|
|
13
13
|
from azure.core import AsyncPipelineClient
|
|
@@ -63,7 +63,7 @@ class StorageTaskAssignmentInstancesReportOperations: # pylint: disable=name-to
|
|
|
63
63
|
maxpagesize: Optional[int] = None,
|
|
64
64
|
filter: Optional[str] = None,
|
|
65
65
|
**kwargs: Any
|
|
66
|
-
) ->
|
|
66
|
+
) -> AsyncItemPaged["_models.StorageTaskReportInstance"]:
|
|
67
67
|
"""Fetch the report summary of a single storage task assignment's instances.
|
|
68
68
|
|
|
69
69
|
:param resource_group_name: The name of the resource group. The name is case insensitive.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
8
|
# --------------------------------------------------------------------------
|
|
9
9
|
from collections.abc import MutableMapping
|
|
10
|
-
from typing import Any,
|
|
10
|
+
from typing import Any, Callable, Dict, Optional, TypeVar
|
|
11
11
|
import urllib.parse
|
|
12
12
|
|
|
13
13
|
from azure.core import AsyncPipelineClient
|
|
@@ -62,7 +62,7 @@ class StorageTaskAssignmentsInstancesReportOperations: # pylint: disable=name-t
|
|
|
62
62
|
maxpagesize: Optional[int] = None,
|
|
63
63
|
filter: Optional[str] = None,
|
|
64
64
|
**kwargs: Any
|
|
65
|
-
) ->
|
|
65
|
+
) -> AsyncItemPaged["_models.StorageTaskReportInstance"]:
|
|
66
66
|
"""Fetch the report summary of all the storage task assignments and instances in an account.
|
|
67
67
|
|
|
68
68
|
:param resource_group_name: The name of the resource group. The name is case insensitive.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
from collections.abc import MutableMapping
|
|
9
9
|
from io import IOBase
|
|
10
|
-
from typing import Any,
|
|
10
|
+
from typing import Any, AsyncIterator, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload
|
|
11
11
|
import urllib.parse
|
|
12
12
|
|
|
13
13
|
from azure.core import AsyncPipelineClient
|
|
@@ -129,6 +129,9 @@ class StorageTaskAssignmentsOperations:
|
|
|
129
129
|
|
|
130
130
|
response_headers = {}
|
|
131
131
|
if response.status_code == 202:
|
|
132
|
+
response_headers["Azure-AsyncOperation"] = self._deserialize(
|
|
133
|
+
"str", response.headers.get("Azure-AsyncOperation")
|
|
134
|
+
)
|
|
132
135
|
response_headers["Location"] = self._deserialize("str", response.headers.get("Location"))
|
|
133
136
|
|
|
134
137
|
deserialized = response.stream_download(self._client._pipeline, decompress=_decompress)
|
|
@@ -283,7 +286,8 @@ class StorageTaskAssignmentsOperations:
|
|
|
283
286
|
|
|
284
287
|
if polling is True:
|
|
285
288
|
polling_method: AsyncPollingMethod = cast(
|
|
286
|
-
AsyncPollingMethod,
|
|
289
|
+
AsyncPollingMethod,
|
|
290
|
+
AsyncARMPolling(lro_delay, lro_options={"final-state-via": "azure-async-operation"}, **kwargs),
|
|
287
291
|
)
|
|
288
292
|
elif polling is False:
|
|
289
293
|
polling_method = cast(AsyncPollingMethod, AsyncNoPolling())
|
|
@@ -364,6 +368,9 @@ class StorageTaskAssignmentsOperations:
|
|
|
364
368
|
|
|
365
369
|
response_headers = {}
|
|
366
370
|
if response.status_code == 202:
|
|
371
|
+
response_headers["Azure-AsyncOperation"] = self._deserialize(
|
|
372
|
+
"str", response.headers.get("Azure-AsyncOperation")
|
|
373
|
+
)
|
|
367
374
|
response_headers["Location"] = self._deserialize("str", response.headers.get("Location"))
|
|
368
375
|
|
|
369
376
|
deserialized = response.stream_download(self._client._pipeline, decompress=_decompress)
|
|
@@ -506,7 +513,8 @@ class StorageTaskAssignmentsOperations:
|
|
|
506
513
|
|
|
507
514
|
if polling is True:
|
|
508
515
|
polling_method: AsyncPollingMethod = cast(
|
|
509
|
-
AsyncPollingMethod,
|
|
516
|
+
AsyncPollingMethod,
|
|
517
|
+
AsyncARMPolling(lro_delay, lro_options={"final-state-via": "azure-async-operation"}, **kwargs),
|
|
510
518
|
)
|
|
511
519
|
elif polling is False:
|
|
512
520
|
polling_method = cast(AsyncPollingMethod, AsyncNoPolling())
|
|
@@ -635,6 +643,9 @@ class StorageTaskAssignmentsOperations:
|
|
|
635
643
|
|
|
636
644
|
response_headers = {}
|
|
637
645
|
if response.status_code == 202:
|
|
646
|
+
response_headers["Azure-AsyncOperation"] = self._deserialize(
|
|
647
|
+
"str", response.headers.get("Azure-AsyncOperation")
|
|
648
|
+
)
|
|
638
649
|
response_headers["Location"] = self._deserialize("str", response.headers.get("Location"))
|
|
639
650
|
|
|
640
651
|
deserialized = response.stream_download(self._client._pipeline, decompress=_decompress)
|
|
@@ -693,7 +704,8 @@ class StorageTaskAssignmentsOperations:
|
|
|
693
704
|
|
|
694
705
|
if polling is True:
|
|
695
706
|
polling_method: AsyncPollingMethod = cast(
|
|
696
|
-
AsyncPollingMethod,
|
|
707
|
+
AsyncPollingMethod,
|
|
708
|
+
AsyncARMPolling(lro_delay, lro_options={"final-state-via": "azure-async-operation"}, **kwargs),
|
|
697
709
|
)
|
|
698
710
|
elif polling is False:
|
|
699
711
|
polling_method = cast(AsyncPollingMethod, AsyncNoPolling())
|
|
@@ -711,7 +723,7 @@ class StorageTaskAssignmentsOperations:
|
|
|
711
723
|
@distributed_trace
|
|
712
724
|
def list(
|
|
713
725
|
self, resource_group_name: str, account_name: str, maxpagesize: Optional[int] = None, **kwargs: Any
|
|
714
|
-
) ->
|
|
726
|
+
) -> AsyncItemPaged["_models.StorageTaskAssignment"]:
|
|
715
727
|
"""List all the storage task assignments in an account.
|
|
716
728
|
|
|
717
729
|
:param resource_group_name: The name of the resource group. The name is case insensitive.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
from collections.abc import MutableMapping
|
|
9
9
|
from io import IOBase
|
|
10
|
-
from typing import Any,
|
|
10
|
+
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
|
|
11
11
|
import urllib.parse
|
|
12
12
|
|
|
13
13
|
from azure.core import AsyncPipelineClient
|
|
@@ -492,7 +492,7 @@ class TableOperations:
|
|
|
492
492
|
return cls(pipeline_response, None, {}) # type: ignore
|
|
493
493
|
|
|
494
494
|
@distributed_trace
|
|
495
|
-
def list(self, resource_group_name: str, account_name: str, **kwargs: Any) ->
|
|
495
|
+
def list(self, resource_group_name: str, account_name: str, **kwargs: Any) -> AsyncItemPaged["_models.Table"]:
|
|
496
496
|
"""Gets a list of all the tables under the specified storage account.
|
|
497
497
|
|
|
498
498
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
from collections.abc import MutableMapping
|
|
9
|
-
from typing import Any,
|
|
9
|
+
from typing import Any, Callable, Dict, Optional, TypeVar
|
|
10
10
|
import urllib.parse
|
|
11
11
|
|
|
12
12
|
from azure.core import AsyncPipelineClient
|
|
@@ -54,7 +54,7 @@ class UsagesOperations:
|
|
|
54
54
|
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
|
55
55
|
|
|
56
56
|
@distributed_trace
|
|
57
|
-
def list_by_location(self, location: str, **kwargs: Any) ->
|
|
57
|
+
def list_by_location(self, location: str, **kwargs: Any) -> AsyncItemPaged["_models.Usage"]:
|
|
58
58
|
"""Gets the current usage count and the limit for the resources of the location under the
|
|
59
59
|
subscription.
|
|
60
60
|
|
|
@@ -49,8 +49,10 @@ from ._models_py3 import ( # type: ignore
|
|
|
49
49
|
DeletedAccountListResult,
|
|
50
50
|
DeletedShare,
|
|
51
51
|
Dimension,
|
|
52
|
+
DualStackEndpointPreference,
|
|
52
53
|
Encryption,
|
|
53
54
|
EncryptionIdentity,
|
|
55
|
+
EncryptionInTransit,
|
|
54
56
|
EncryptionScope,
|
|
55
57
|
EncryptionScopeKeyVaultProperties,
|
|
56
58
|
EncryptionScopeListResult,
|
|
@@ -125,6 +127,7 @@ from ._models_py3 import ( # type: ignore
|
|
|
125
127
|
NetworkSecurityPerimeterConfigurationList,
|
|
126
128
|
NetworkSecurityPerimeterConfigurationPropertiesProfile,
|
|
127
129
|
NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation,
|
|
130
|
+
NfsSetting,
|
|
128
131
|
NspAccessRule,
|
|
129
132
|
NspAccessRuleProperties,
|
|
130
133
|
NspAccessRulePropertiesSubscriptionsItem,
|
|
@@ -137,6 +140,7 @@ from ._models_py3 import ( # type: ignore
|
|
|
137
140
|
OperationDisplay,
|
|
138
141
|
OperationListResult,
|
|
139
142
|
PermissionScope,
|
|
143
|
+
Placement,
|
|
140
144
|
PrivateEndpoint,
|
|
141
145
|
PrivateEndpointConnection,
|
|
142
146
|
PrivateEndpointConnectionListResult,
|
|
@@ -163,12 +167,15 @@ from ._models_py3 import ( # type: ignore
|
|
|
163
167
|
SignedIdentifier,
|
|
164
168
|
Sku,
|
|
165
169
|
SkuInformation,
|
|
170
|
+
SkuInformationLocationInfoItem,
|
|
171
|
+
SmbOAuthSettings,
|
|
166
172
|
SmbSetting,
|
|
167
173
|
SshPublicKey,
|
|
168
174
|
StorageAccount,
|
|
169
175
|
StorageAccountCheckNameAvailabilityParameters,
|
|
170
176
|
StorageAccountCreateParameters,
|
|
171
177
|
StorageAccountInternetEndpoints,
|
|
178
|
+
StorageAccountIpv6Endpoints,
|
|
172
179
|
StorageAccountKey,
|
|
173
180
|
StorageAccountListKeysResult,
|
|
174
181
|
StorageAccountListResult,
|
|
@@ -235,6 +242,7 @@ from ._storage_management_client_enums import ( # type: ignore
|
|
|
235
242
|
IdentityType,
|
|
236
243
|
ImmutabilityPolicyState,
|
|
237
244
|
ImmutabilityPolicyUpdateType,
|
|
245
|
+
IntervalUnit,
|
|
238
246
|
InventoryRuleType,
|
|
239
247
|
IssueType,
|
|
240
248
|
KeyPermission,
|
|
@@ -288,6 +296,7 @@ from ._storage_management_client_enums import ( # type: ignore
|
|
|
288
296
|
StorageAccountExpand,
|
|
289
297
|
TriggerType,
|
|
290
298
|
UsageUnit,
|
|
299
|
+
ZonePlacementPolicy,
|
|
291
300
|
)
|
|
292
301
|
from ._patch import __all__ as _patch_all
|
|
293
302
|
from ._patch import *
|
|
@@ -329,8 +338,10 @@ __all__ = [
|
|
|
329
338
|
"DeletedAccountListResult",
|
|
330
339
|
"DeletedShare",
|
|
331
340
|
"Dimension",
|
|
341
|
+
"DualStackEndpointPreference",
|
|
332
342
|
"Encryption",
|
|
333
343
|
"EncryptionIdentity",
|
|
344
|
+
"EncryptionInTransit",
|
|
334
345
|
"EncryptionScope",
|
|
335
346
|
"EncryptionScopeKeyVaultProperties",
|
|
336
347
|
"EncryptionScopeListResult",
|
|
@@ -405,6 +416,7 @@ __all__ = [
|
|
|
405
416
|
"NetworkSecurityPerimeterConfigurationList",
|
|
406
417
|
"NetworkSecurityPerimeterConfigurationPropertiesProfile",
|
|
407
418
|
"NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation",
|
|
419
|
+
"NfsSetting",
|
|
408
420
|
"NspAccessRule",
|
|
409
421
|
"NspAccessRuleProperties",
|
|
410
422
|
"NspAccessRulePropertiesSubscriptionsItem",
|
|
@@ -417,6 +429,7 @@ __all__ = [
|
|
|
417
429
|
"OperationDisplay",
|
|
418
430
|
"OperationListResult",
|
|
419
431
|
"PermissionScope",
|
|
432
|
+
"Placement",
|
|
420
433
|
"PrivateEndpoint",
|
|
421
434
|
"PrivateEndpointConnection",
|
|
422
435
|
"PrivateEndpointConnectionListResult",
|
|
@@ -443,12 +456,15 @@ __all__ = [
|
|
|
443
456
|
"SignedIdentifier",
|
|
444
457
|
"Sku",
|
|
445
458
|
"SkuInformation",
|
|
459
|
+
"SkuInformationLocationInfoItem",
|
|
460
|
+
"SmbOAuthSettings",
|
|
446
461
|
"SmbSetting",
|
|
447
462
|
"SshPublicKey",
|
|
448
463
|
"StorageAccount",
|
|
449
464
|
"StorageAccountCheckNameAvailabilityParameters",
|
|
450
465
|
"StorageAccountCreateParameters",
|
|
451
466
|
"StorageAccountInternetEndpoints",
|
|
467
|
+
"StorageAccountIpv6Endpoints",
|
|
452
468
|
"StorageAccountKey",
|
|
453
469
|
"StorageAccountListKeysResult",
|
|
454
470
|
"StorageAccountListResult",
|
|
@@ -512,6 +528,7 @@ __all__ = [
|
|
|
512
528
|
"IdentityType",
|
|
513
529
|
"ImmutabilityPolicyState",
|
|
514
530
|
"ImmutabilityPolicyUpdateType",
|
|
531
|
+
"IntervalUnit",
|
|
515
532
|
"InventoryRuleType",
|
|
516
533
|
"IssueType",
|
|
517
534
|
"KeyPermission",
|
|
@@ -565,6 +582,7 @@ __all__ = [
|
|
|
565
582
|
"StorageAccountExpand",
|
|
566
583
|
"TriggerType",
|
|
567
584
|
"UsageUnit",
|
|
585
|
+
"ZonePlacementPolicy",
|
|
568
586
|
]
|
|
569
587
|
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
|
|
570
588
|
_patch_sdk()
|