azure-mgmt-storage 22.1.1__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.
Files changed (184) hide show
  1. azure/mgmt/storage/__init__.py +19 -7
  2. azure/mgmt/storage/_configuration.py +27 -29
  3. azure/mgmt/storage/{v2016_01_01/models/_patch.py → _patch.py} +5 -4
  4. azure/mgmt/storage/_storage_management_client.py +184 -499
  5. azure/mgmt/storage/{v2016_01_01/_version.py → _utils/__init__.py} +0 -3
  6. azure/mgmt/storage/{_serialization.py → _utils/serialization.py} +46 -131
  7. azure/mgmt/storage/_version.py +1 -1
  8. azure/mgmt/storage/aio/__init__.py +21 -2
  9. azure/mgmt/storage/aio/_configuration.py +27 -29
  10. azure/mgmt/storage/{v2017_10_01/aio/operations → aio}/_patch.py +5 -4
  11. azure/mgmt/storage/aio/_storage_management_client.py +188 -497
  12. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/__init__.py +1 -0
  13. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_blob_containers_operations.py +66 -69
  14. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_blob_inventory_policies_operations.py +26 -34
  15. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_blob_services_operations.py +20 -22
  16. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_deleted_accounts_operations.py +14 -17
  17. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_encryption_scopes_operations.py +27 -30
  18. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_file_services_operations.py +24 -27
  19. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_file_shares_operations.py +36 -39
  20. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_local_users_operations.py +26 -29
  21. azure/mgmt/storage/{v2019_06_01/aio → aio}/operations/_management_policies_operations.py +23 -30
  22. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_network_security_perimeter_configurations_operations.py +16 -19
  23. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_object_replication_policies_operations.py +21 -23
  24. azure/mgmt/storage/{v2017_10_01/aio → aio}/operations/_operations.py +12 -15
  25. azure/mgmt/storage/{v2016_01_01/aio → aio}/operations/_patch.py +5 -4
  26. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_private_endpoint_connections_operations.py +21 -23
  27. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_private_link_resources_operations.py +11 -13
  28. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_queue_operations.py +27 -30
  29. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_queue_services_operations.py +19 -21
  30. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_skus_operations.py +12 -15
  31. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_accounts_operations.py +81 -96
  32. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_task_assignment_instances_report_operations.py +14 -16
  33. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_task_assignments_instances_report_operations.py +14 -16
  34. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_task_assignments_operations.py +30 -39
  35. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_table_operations.py +27 -29
  36. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_table_services_operations.py +19 -21
  37. azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_usages_operations.py +12 -14
  38. azure/mgmt/storage/{v2024_01_01/models → models}/_models_py3.py +870 -927
  39. azure/mgmt/storage/{v2016_01_01/operations → models}/_patch.py +5 -4
  40. azure/mgmt/storage/{v2024_01_01/models → models}/_storage_management_client_enums.py +1 -0
  41. azure/mgmt/storage/{v2024_01_01/operations → operations}/__init__.py +1 -0
  42. azure/mgmt/storage/{v2024_01_01/operations → operations}/_blob_containers_operations.py +81 -84
  43. azure/mgmt/storage/{v2024_01_01/operations → operations}/_blob_inventory_policies_operations.py +31 -39
  44. azure/mgmt/storage/{v2024_01_01/operations → operations}/_blob_services_operations.py +24 -27
  45. azure/mgmt/storage/{v2024_01_01/operations → operations}/_deleted_accounts_operations.py +16 -18
  46. azure/mgmt/storage/{v2024_01_01/operations → operations}/_encryption_scopes_operations.py +32 -34
  47. azure/mgmt/storage/{v2024_01_01/operations → operations}/_file_services_operations.py +30 -32
  48. azure/mgmt/storage/{v2024_01_01/operations → operations}/_file_shares_operations.py +44 -47
  49. azure/mgmt/storage/{v2024_01_01/operations → operations}/_local_users_operations.py +33 -35
  50. azure/mgmt/storage/{v2024_01_01/operations → operations}/_management_policies_operations.py +27 -34
  51. azure/mgmt/storage/{v2024_01_01/operations → operations}/_network_security_perimeter_configurations_operations.py +20 -22
  52. azure/mgmt/storage/{v2024_01_01/operations → operations}/_object_replication_policies_operations.py +26 -29
  53. azure/mgmt/storage/{v2024_01_01/operations → operations}/_operations.py +12 -15
  54. azure/mgmt/storage/operations/_patch.py +21 -0
  55. azure/mgmt/storage/{v2024_01_01/operations → operations}/_private_endpoint_connections_operations.py +26 -29
  56. azure/mgmt/storage/{v2024_01_01/operations → operations}/_private_link_resources_operations.py +13 -15
  57. azure/mgmt/storage/{v2024_01_01/operations → operations}/_queue_operations.py +33 -35
  58. azure/mgmt/storage/{v2024_01_01/operations → operations}/_queue_services_operations.py +23 -25
  59. azure/mgmt/storage/{v2024_01_01/operations → operations}/_skus_operations.py +12 -15
  60. azure/mgmt/storage/{v2024_01_01/operations → operations}/_storage_accounts_operations.py +98 -106
  61. azure/mgmt/storage/{v2024_01_01/operations → operations}/_storage_task_assignment_instances_report_operations.py +15 -19
  62. azure/mgmt/storage/{v2024_01_01/operations → operations}/_storage_task_assignments_instances_report_operations.py +15 -19
  63. azure/mgmt/storage/{v2024_01_01/operations → operations}/_storage_task_assignments_operations.py +36 -47
  64. azure/mgmt/storage/{v2024_01_01/operations → operations}/_table_operations.py +33 -35
  65. azure/mgmt/storage/{v2024_01_01/operations → operations}/_table_services_operations.py +23 -25
  66. azure/mgmt/storage/{v2024_01_01/operations → operations}/_usages_operations.py +13 -16
  67. {azure_mgmt_storage-22.1.1.dist-info → azure_mgmt_storage-23.0.0.dist-info}/METADATA +20 -10
  68. azure_mgmt_storage-23.0.0.dist-info/RECORD +73 -0
  69. {azure_mgmt_storage-22.1.1.dist-info → azure_mgmt_storage-23.0.0.dist-info}/WHEEL +1 -1
  70. azure/mgmt/storage/models.py +0 -8
  71. azure/mgmt/storage/v2016_01_01/__init__.py +0 -32
  72. azure/mgmt/storage/v2016_01_01/_configuration.py +0 -65
  73. azure/mgmt/storage/v2016_01_01/_patch.py +0 -32
  74. azure/mgmt/storage/v2016_01_01/_storage_management_client.py +0 -117
  75. azure/mgmt/storage/v2016_01_01/aio/__init__.py +0 -29
  76. azure/mgmt/storage/v2016_01_01/aio/_configuration.py +0 -65
  77. azure/mgmt/storage/v2016_01_01/aio/_patch.py +0 -32
  78. azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +0 -120
  79. azure/mgmt/storage/v2016_01_01/aio/operations/__init__.py +0 -27
  80. azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +0 -1023
  81. azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +0 -130
  82. azure/mgmt/storage/v2016_01_01/models/__init__.py +0 -88
  83. azure/mgmt/storage/v2016_01_01/models/_models_py3.py +0 -829
  84. azure/mgmt/storage/v2016_01_01/models/_storage_management_client_enums.py +0 -99
  85. azure/mgmt/storage/v2016_01_01/operations/__init__.py +0 -27
  86. azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +0 -1278
  87. azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +0 -157
  88. azure/mgmt/storage/v2016_01_01/py.typed +0 -1
  89. azure/mgmt/storage/v2017_10_01/__init__.py +0 -32
  90. azure/mgmt/storage/v2017_10_01/_configuration.py +0 -65
  91. azure/mgmt/storage/v2017_10_01/_patch.py +0 -32
  92. azure/mgmt/storage/v2017_10_01/_storage_management.py +0 -121
  93. azure/mgmt/storage/v2017_10_01/_version.py +0 -9
  94. azure/mgmt/storage/v2017_10_01/aio/__init__.py +0 -29
  95. azure/mgmt/storage/v2017_10_01/aio/_configuration.py +0 -65
  96. azure/mgmt/storage/v2017_10_01/aio/_patch.py +0 -32
  97. azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +0 -124
  98. azure/mgmt/storage/v2017_10_01/aio/operations/__init__.py +0 -31
  99. azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +0 -130
  100. azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +0 -1299
  101. azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +0 -130
  102. azure/mgmt/storage/v2017_10_01/models/__init__.py +0 -140
  103. azure/mgmt/storage/v2017_10_01/models/_models_py3.py +0 -1851
  104. azure/mgmt/storage/v2017_10_01/models/_patch.py +0 -20
  105. azure/mgmt/storage/v2017_10_01/models/_storage_management_enums.py +0 -192
  106. azure/mgmt/storage/v2017_10_01/operations/__init__.py +0 -31
  107. azure/mgmt/storage/v2017_10_01/operations/_operations.py +0 -151
  108. azure/mgmt/storage/v2017_10_01/operations/_patch.py +0 -20
  109. azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +0 -157
  110. azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +0 -1638
  111. azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +0 -157
  112. azure/mgmt/storage/v2017_10_01/py.typed +0 -1
  113. azure/mgmt/storage/v2019_06_01/__init__.py +0 -32
  114. azure/mgmt/storage/v2019_06_01/_configuration.py +0 -64
  115. azure/mgmt/storage/v2019_06_01/_patch.py +0 -32
  116. azure/mgmt/storage/v2019_06_01/_storage_management_client.py +0 -213
  117. azure/mgmt/storage/v2019_06_01/_version.py +0 -9
  118. azure/mgmt/storage/v2019_06_01/aio/__init__.py +0 -29
  119. azure/mgmt/storage/v2019_06_01/aio/_configuration.py +0 -64
  120. azure/mgmt/storage/v2019_06_01/aio/_patch.py +0 -32
  121. azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +0 -217
  122. azure/mgmt/storage/v2019_06_01/aio/operations/__init__.py +0 -59
  123. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +0 -1725
  124. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +0 -437
  125. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +0 -368
  126. azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +0 -538
  127. azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +0 -335
  128. azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +0 -771
  129. azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +0 -428
  130. azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +0 -130
  131. azure/mgmt/storage/v2019_06_01/aio/operations/_patch.py +0 -20
  132. azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +0 -424
  133. azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +0 -113
  134. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +0 -597
  135. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +0 -335
  136. azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +0 -131
  137. azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +0 -1696
  138. azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +0 -394
  139. azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +0 -335
  140. azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +0 -134
  141. azure/mgmt/storage/v2019_06_01/models/__init__.py +0 -364
  142. azure/mgmt/storage/v2019_06_01/models/_models_py3.py +0 -6038
  143. azure/mgmt/storage/v2019_06_01/models/_patch.py +0 -20
  144. azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -456
  145. azure/mgmt/storage/v2019_06_01/operations/__init__.py +0 -59
  146. azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +0 -2226
  147. azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +0 -582
  148. azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +0 -476
  149. azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +0 -677
  150. azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +0 -444
  151. azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +0 -1000
  152. azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +0 -453
  153. azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +0 -567
  154. azure/mgmt/storage/v2019_06_01/operations/_operations.py +0 -151
  155. azure/mgmt/storage/v2019_06_01/operations/_patch.py +0 -20
  156. azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +0 -575
  157. azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +0 -149
  158. azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +0 -805
  159. azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +0 -444
  160. azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +0 -157
  161. azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +0 -2122
  162. azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +0 -563
  163. azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +0 -444
  164. azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +0 -164
  165. azure/mgmt/storage/v2019_06_01/py.typed +0 -1
  166. azure/mgmt/storage/v2024_01_01/__init__.py +0 -32
  167. azure/mgmt/storage/v2024_01_01/_configuration.py +0 -64
  168. azure/mgmt/storage/v2024_01_01/_patch.py +0 -20
  169. azure/mgmt/storage/v2024_01_01/_storage_management_client.py +0 -256
  170. azure/mgmt/storage/v2024_01_01/_version.py +0 -9
  171. azure/mgmt/storage/v2024_01_01/aio/__init__.py +0 -29
  172. azure/mgmt/storage/v2024_01_01/aio/_configuration.py +0 -64
  173. azure/mgmt/storage/v2024_01_01/aio/_patch.py +0 -20
  174. azure/mgmt/storage/v2024_01_01/aio/_storage_management_client.py +0 -261
  175. azure/mgmt/storage/v2024_01_01/aio/operations/_management_policies_operations.py +0 -343
  176. azure/mgmt/storage/v2024_01_01/aio/operations/_operations.py +0 -130
  177. azure/mgmt/storage/v2024_01_01/aio/operations/_patch.py +0 -20
  178. azure/mgmt/storage/v2024_01_01/models/_patch.py +0 -20
  179. azure/mgmt/storage/v2024_01_01/operations/_patch.py +0 -20
  180. azure/mgmt/storage/v2024_01_01/py.typed +0 -1
  181. azure_mgmt_storage-22.1.1.dist-info/RECORD +0 -183
  182. /azure/mgmt/storage/{v2024_01_01/models → models}/__init__.py +0 -0
  183. {azure_mgmt_storage-22.1.1.dist-info → azure_mgmt_storage-23.0.0.dist-info}/LICENSE +0 -0
  184. {azure_mgmt_storage-22.1.1.dist-info → azure_mgmt_storage-23.0.0.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,11 +6,12 @@
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
  # --------------------------------------------------------------------------
9
+ from collections.abc import MutableMapping
8
10
  from io import IOBase
9
- import sys
10
11
  from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, overload
11
12
  import urllib.parse
12
13
 
14
+ from azure.core import PipelineClient
13
15
  from azure.core.exceptions import (
14
16
  ClientAuthenticationError,
15
17
  HttpResponseError,
@@ -26,12 +28,9 @@ from azure.core.utils import case_insensitive_dict
26
28
  from azure.mgmt.core.exceptions import ARMErrorFormat
27
29
 
28
30
  from .. import models as _models
29
- from ..._serialization import Serializer
31
+ from .._configuration import StorageManagementClientConfiguration
32
+ from .._utils.serialization import Deserializer, Serializer
30
33
 
31
- if sys.version_info >= (3, 9):
32
- from collections.abc import MutableMapping
33
- else:
34
- from typing import MutableMapping # type: ignore
35
34
  T = TypeVar("T")
36
35
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
37
36
 
@@ -53,7 +52,7 @@ def build_create_request(
53
52
  _url = kwargs.pop(
54
53
  "template_url",
55
54
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
56
- ) # pylint: disable=line-too-long
55
+ )
57
56
  path_format_arguments = {
58
57
  "resourceGroupName": _SERIALIZER.url(
59
58
  "resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
@@ -94,7 +93,7 @@ def build_update_request(
94
93
  _url = kwargs.pop(
95
94
  "template_url",
96
95
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
97
- ) # pylint: disable=line-too-long
96
+ )
98
97
  path_format_arguments = {
99
98
  "resourceGroupName": _SERIALIZER.url(
100
99
  "resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
@@ -134,7 +133,7 @@ def build_get_request(
134
133
  _url = kwargs.pop(
135
134
  "template_url",
136
135
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
137
- ) # pylint: disable=line-too-long
136
+ )
138
137
  path_format_arguments = {
139
138
  "resourceGroupName": _SERIALIZER.url(
140
139
  "resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
@@ -172,7 +171,7 @@ def build_delete_request(
172
171
  _url = kwargs.pop(
173
172
  "template_url",
174
173
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
175
- ) # pylint: disable=line-too-long
174
+ )
176
175
  path_format_arguments = {
177
176
  "resourceGroupName": _SERIALIZER.url(
178
177
  "resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
@@ -208,7 +207,7 @@ def build_list_request(resource_group_name: str, account_name: str, subscription
208
207
  _url = kwargs.pop(
209
208
  "template_url",
210
209
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables",
211
- ) # pylint: disable=line-too-long
210
+ )
212
211
  path_format_arguments = {
213
212
  "resourceGroupName": _SERIALIZER.url(
214
213
  "resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
@@ -236,7 +235,7 @@ class TableOperations:
236
235
  **DO NOT** instantiate this class directly.
237
236
 
238
237
  Instead, you should access the following operations through
239
- :class:`~azure.mgmt.storage.v2024_01_01.StorageManagementClient`'s
238
+ :class:`~azure.mgmt.storage.StorageManagementClient`'s
240
239
  :attr:`table` attribute.
241
240
  """
242
241
 
@@ -244,11 +243,10 @@ class TableOperations:
244
243
 
245
244
  def __init__(self, *args, **kwargs):
246
245
  input_args = list(args)
247
- self._client = input_args.pop(0) if input_args else kwargs.pop("client")
248
- self._config = input_args.pop(0) if input_args else kwargs.pop("config")
249
- self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
250
- self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
251
- self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
246
+ self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
247
+ self._config: StorageManagementClientConfiguration = input_args.pop(0) if input_args else kwargs.pop("config")
248
+ self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer")
249
+ self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
252
250
 
253
251
  @overload
254
252
  def create(
@@ -275,12 +273,12 @@ class TableOperations:
275
273
  with a numeric character. Required.
276
274
  :type table_name: str
277
275
  :param parameters: The parameters to provide to create a table. Default value is None.
278
- :type parameters: ~azure.mgmt.storage.v2024_01_01.models.Table
276
+ :type parameters: ~azure.mgmt.storage.models.Table
279
277
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
280
278
  Default value is "application/json".
281
279
  :paramtype content_type: str
282
280
  :return: Table or the result of cls(response)
283
- :rtype: ~azure.mgmt.storage.v2024_01_01.models.Table
281
+ :rtype: ~azure.mgmt.storage.models.Table
284
282
  :raises ~azure.core.exceptions.HttpResponseError:
285
283
  """
286
284
 
@@ -314,7 +312,7 @@ class TableOperations:
314
312
  Default value is "application/json".
315
313
  :paramtype content_type: str
316
314
  :return: Table or the result of cls(response)
317
- :rtype: ~azure.mgmt.storage.v2024_01_01.models.Table
315
+ :rtype: ~azure.mgmt.storage.models.Table
318
316
  :raises ~azure.core.exceptions.HttpResponseError:
319
317
  """
320
318
 
@@ -342,9 +340,9 @@ class TableOperations:
342
340
  :type table_name: str
343
341
  :param parameters: The parameters to provide to create a table. Is either a Table type or a
344
342
  IO[bytes] type. Default value is None.
345
- :type parameters: ~azure.mgmt.storage.v2024_01_01.models.Table or IO[bytes]
343
+ :type parameters: ~azure.mgmt.storage.models.Table or IO[bytes]
346
344
  :return: Table or the result of cls(response)
347
- :rtype: ~azure.mgmt.storage.v2024_01_01.models.Table
345
+ :rtype: ~azure.mgmt.storage.models.Table
348
346
  :raises ~azure.core.exceptions.HttpResponseError:
349
347
  """
350
348
  error_map: MutableMapping = {
@@ -358,7 +356,7 @@ class TableOperations:
358
356
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
359
357
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
360
358
 
361
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
359
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
362
360
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
363
361
  cls: ClsType[_models.Table] = kwargs.pop("cls", None)
364
362
 
@@ -430,12 +428,12 @@ class TableOperations:
430
428
  with a numeric character. Required.
431
429
  :type table_name: str
432
430
  :param parameters: The parameters to provide to create a table. Default value is None.
433
- :type parameters: ~azure.mgmt.storage.v2024_01_01.models.Table
431
+ :type parameters: ~azure.mgmt.storage.models.Table
434
432
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
435
433
  Default value is "application/json".
436
434
  :paramtype content_type: str
437
435
  :return: Table or the result of cls(response)
438
- :rtype: ~azure.mgmt.storage.v2024_01_01.models.Table
436
+ :rtype: ~azure.mgmt.storage.models.Table
439
437
  :raises ~azure.core.exceptions.HttpResponseError:
440
438
  """
441
439
 
@@ -469,7 +467,7 @@ class TableOperations:
469
467
  Default value is "application/json".
470
468
  :paramtype content_type: str
471
469
  :return: Table or the result of cls(response)
472
- :rtype: ~azure.mgmt.storage.v2024_01_01.models.Table
470
+ :rtype: ~azure.mgmt.storage.models.Table
473
471
  :raises ~azure.core.exceptions.HttpResponseError:
474
472
  """
475
473
 
@@ -497,9 +495,9 @@ class TableOperations:
497
495
  :type table_name: str
498
496
  :param parameters: The parameters to provide to create a table. Is either a Table type or a
499
497
  IO[bytes] type. Default value is None.
500
- :type parameters: ~azure.mgmt.storage.v2024_01_01.models.Table or IO[bytes]
498
+ :type parameters: ~azure.mgmt.storage.models.Table or IO[bytes]
501
499
  :return: Table or the result of cls(response)
502
- :rtype: ~azure.mgmt.storage.v2024_01_01.models.Table
500
+ :rtype: ~azure.mgmt.storage.models.Table
503
501
  :raises ~azure.core.exceptions.HttpResponseError:
504
502
  """
505
503
  error_map: MutableMapping = {
@@ -513,7 +511,7 @@ class TableOperations:
513
511
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
514
512
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
515
513
 
516
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
514
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
517
515
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
518
516
  cls: ClsType[_models.Table] = kwargs.pop("cls", None)
519
517
 
@@ -576,7 +574,7 @@ class TableOperations:
576
574
  with a numeric character. Required.
577
575
  :type table_name: str
578
576
  :return: Table or the result of cls(response)
579
- :rtype: ~azure.mgmt.storage.v2024_01_01.models.Table
577
+ :rtype: ~azure.mgmt.storage.models.Table
580
578
  :raises ~azure.core.exceptions.HttpResponseError:
581
579
  """
582
580
  error_map: MutableMapping = {
@@ -590,7 +588,7 @@ class TableOperations:
590
588
  _headers = kwargs.pop("headers", {}) or {}
591
589
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
592
590
 
593
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
591
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
594
592
  cls: ClsType[_models.Table] = kwargs.pop("cls", None)
595
593
 
596
594
  _request = build_get_request(
@@ -654,7 +652,7 @@ class TableOperations:
654
652
  _headers = kwargs.pop("headers", {}) or {}
655
653
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
656
654
 
657
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
655
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
658
656
  cls: ClsType[None] = kwargs.pop("cls", None)
659
657
 
660
658
  _request = build_delete_request(
@@ -694,13 +692,13 @@ class TableOperations:
694
692
  lower-case letters only. Required.
695
693
  :type account_name: str
696
694
  :return: An iterator like instance of either Table or the result of cls(response)
697
- :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2024_01_01.models.Table]
695
+ :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.models.Table]
698
696
  :raises ~azure.core.exceptions.HttpResponseError:
699
697
  """
700
698
  _headers = kwargs.pop("headers", {}) or {}
701
699
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
702
700
 
703
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
701
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
704
702
  cls: ClsType[_models.ListTableResource] = kwargs.pop("cls", None)
705
703
 
706
704
  error_map: MutableMapping = {
@@ -733,7 +731,7 @@ class TableOperations:
733
731
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
734
732
  }
735
733
  )
736
- _next_request_params["api-version"] = self._api_version
734
+ _next_request_params["api-version"] = self._config.api_version
737
735
  _request = HttpRequest(
738
736
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
739
737
  )
@@ -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
  # --------------------------------------------------------------------------
9
+ from collections.abc import MutableMapping
8
10
  from io import IOBase
9
- import sys
10
11
  from typing import Any, Callable, Dict, IO, Literal, Optional, TypeVar, Union, overload
11
12
 
13
+ from azure.core import PipelineClient
12
14
  from azure.core.exceptions import (
13
15
  ClientAuthenticationError,
14
16
  HttpResponseError,
@@ -24,12 +26,9 @@ from azure.core.utils import case_insensitive_dict
24
26
  from azure.mgmt.core.exceptions import ARMErrorFormat
25
27
 
26
28
  from .. import models as _models
27
- from ..._serialization import Serializer
29
+ from .._configuration import StorageManagementClientConfiguration
30
+ from .._utils.serialization import Deserializer, Serializer
28
31
 
29
- if sys.version_info >= (3, 9):
30
- from collections.abc import MutableMapping
31
- else:
32
- from typing import MutableMapping # type: ignore
33
32
  T = TypeVar("T")
34
33
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
35
34
 
@@ -48,7 +47,7 @@ def build_list_request(resource_group_name: str, account_name: str, subscription
48
47
  _url = kwargs.pop(
49
48
  "template_url",
50
49
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices",
51
- ) # pylint: disable=line-too-long
50
+ )
52
51
  path_format_arguments = {
53
52
  "resourceGroupName": _SERIALIZER.url(
54
53
  "resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
@@ -85,7 +84,7 @@ def build_set_service_properties_request(
85
84
  _url = kwargs.pop(
86
85
  "template_url",
87
86
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/{tableServiceName}",
88
- ) # pylint: disable=line-too-long
87
+ )
89
88
  path_format_arguments = {
90
89
  "resourceGroupName": _SERIALIZER.url(
91
90
  "resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
@@ -124,7 +123,7 @@ def build_get_service_properties_request(
124
123
  _url = kwargs.pop(
125
124
  "template_url",
126
125
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/{tableServiceName}",
127
- ) # pylint: disable=line-too-long
126
+ )
128
127
  path_format_arguments = {
129
128
  "resourceGroupName": _SERIALIZER.url(
130
129
  "resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
@@ -153,7 +152,7 @@ class TableServicesOperations:
153
152
  **DO NOT** instantiate this class directly.
154
153
 
155
154
  Instead, you should access the following operations through
156
- :class:`~azure.mgmt.storage.v2024_01_01.StorageManagementClient`'s
155
+ :class:`~azure.mgmt.storage.StorageManagementClient`'s
157
156
  :attr:`table_services` attribute.
158
157
  """
159
158
 
@@ -161,11 +160,10 @@ class TableServicesOperations:
161
160
 
162
161
  def __init__(self, *args, **kwargs):
163
162
  input_args = list(args)
164
- self._client = input_args.pop(0) if input_args else kwargs.pop("client")
165
- self._config = input_args.pop(0) if input_args else kwargs.pop("config")
166
- self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
167
- self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
168
- self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
163
+ self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
164
+ self._config: StorageManagementClientConfiguration = input_args.pop(0) if input_args else kwargs.pop("config")
165
+ self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer")
166
+ self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
169
167
 
170
168
  @distributed_trace
171
169
  def list(self, resource_group_name: str, account_name: str, **kwargs: Any) -> _models.ListTableServices:
@@ -179,7 +177,7 @@ class TableServicesOperations:
179
177
  lower-case letters only. Required.
180
178
  :type account_name: str
181
179
  :return: ListTableServices or the result of cls(response)
182
- :rtype: ~azure.mgmt.storage.v2024_01_01.models.ListTableServices
180
+ :rtype: ~azure.mgmt.storage.models.ListTableServices
183
181
  :raises ~azure.core.exceptions.HttpResponseError:
184
182
  """
185
183
  error_map: MutableMapping = {
@@ -193,7 +191,7 @@ class TableServicesOperations:
193
191
  _headers = kwargs.pop("headers", {}) or {}
194
192
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
195
193
 
196
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
194
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
197
195
  cls: ClsType[_models.ListTableServices] = kwargs.pop("cls", None)
198
196
 
199
197
  _request = build_list_request(
@@ -246,12 +244,12 @@ class TableServicesOperations:
246
244
  :type account_name: str
247
245
  :param parameters: The properties of a storage account’s Table service, only properties for
248
246
  Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. Required.
249
- :type parameters: ~azure.mgmt.storage.v2024_01_01.models.TableServiceProperties
247
+ :type parameters: ~azure.mgmt.storage.models.TableServiceProperties
250
248
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
251
249
  Default value is "application/json".
252
250
  :paramtype content_type: str
253
251
  :return: TableServiceProperties or the result of cls(response)
254
- :rtype: ~azure.mgmt.storage.v2024_01_01.models.TableServiceProperties
252
+ :rtype: ~azure.mgmt.storage.models.TableServiceProperties
255
253
  :raises ~azure.core.exceptions.HttpResponseError:
256
254
  """
257
255
 
@@ -282,7 +280,7 @@ class TableServicesOperations:
282
280
  Default value is "application/json".
283
281
  :paramtype content_type: str
284
282
  :return: TableServiceProperties or the result of cls(response)
285
- :rtype: ~azure.mgmt.storage.v2024_01_01.models.TableServiceProperties
283
+ :rtype: ~azure.mgmt.storage.models.TableServiceProperties
286
284
  :raises ~azure.core.exceptions.HttpResponseError:
287
285
  """
288
286
 
@@ -307,9 +305,9 @@ class TableServicesOperations:
307
305
  :param parameters: The properties of a storage account’s Table service, only properties for
308
306
  Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. Is either a
309
307
  TableServiceProperties type or a IO[bytes] type. Required.
310
- :type parameters: ~azure.mgmt.storage.v2024_01_01.models.TableServiceProperties or IO[bytes]
308
+ :type parameters: ~azure.mgmt.storage.models.TableServiceProperties or IO[bytes]
311
309
  :return: TableServiceProperties or the result of cls(response)
312
- :rtype: ~azure.mgmt.storage.v2024_01_01.models.TableServiceProperties
310
+ :rtype: ~azure.mgmt.storage.models.TableServiceProperties
313
311
  :raises ~azure.core.exceptions.HttpResponseError:
314
312
  """
315
313
  error_map: MutableMapping = {
@@ -323,7 +321,7 @@ class TableServicesOperations:
323
321
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
324
322
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
325
323
 
326
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
324
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
327
325
  table_service_name: Literal["default"] = kwargs.pop("table_service_name", "default")
328
326
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
329
327
  cls: ClsType[_models.TableServiceProperties] = kwargs.pop("cls", None)
@@ -383,7 +381,7 @@ class TableServicesOperations:
383
381
  lower-case letters only. Required.
384
382
  :type account_name: str
385
383
  :return: TableServiceProperties or the result of cls(response)
386
- :rtype: ~azure.mgmt.storage.v2024_01_01.models.TableServiceProperties
384
+ :rtype: ~azure.mgmt.storage.models.TableServiceProperties
387
385
  :raises ~azure.core.exceptions.HttpResponseError:
388
386
  """
389
387
  error_map: MutableMapping = {
@@ -397,7 +395,7 @@ class TableServicesOperations:
397
395
  _headers = kwargs.pop("headers", {}) or {}
398
396
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
399
397
 
400
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
398
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
401
399
  table_service_name: Literal["default"] = kwargs.pop("table_service_name", "default")
402
400
  cls: ClsType[_models.TableServiceProperties] = kwargs.pop("cls", None)
403
401
 
@@ -5,10 +5,11 @@
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
- import sys
8
+ from collections.abc import MutableMapping
9
9
  from typing import Any, Callable, Dict, Iterable, Optional, TypeVar
10
10
  import urllib.parse
11
11
 
12
+ from azure.core import PipelineClient
12
13
  from azure.core.exceptions import (
13
14
  ClientAuthenticationError,
14
15
  HttpResponseError,
@@ -25,12 +26,9 @@ from azure.core.utils import case_insensitive_dict
25
26
  from azure.mgmt.core.exceptions import ARMErrorFormat
26
27
 
27
28
  from .. import models as _models
28
- from ..._serialization import Serializer
29
+ from .._configuration import StorageManagementClientConfiguration
30
+ from .._utils.serialization import Deserializer, Serializer
29
31
 
30
- if sys.version_info >= (3, 9):
31
- from collections.abc import MutableMapping
32
- else:
33
- from typing import MutableMapping # type: ignore
34
32
  T = TypeVar("T")
35
33
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
36
34
 
@@ -48,7 +46,7 @@ def build_list_by_location_request(location: str, subscription_id: str, **kwargs
48
46
  # Construct URL
49
47
  _url = kwargs.pop(
50
48
  "template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages"
51
- ) # pylint: disable=line-too-long
49
+ )
52
50
  path_format_arguments = {
53
51
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
54
52
  "location": _SERIALIZER.url("location", location, "str"),
@@ -71,7 +69,7 @@ class UsagesOperations:
71
69
  **DO NOT** instantiate this class directly.
72
70
 
73
71
  Instead, you should access the following operations through
74
- :class:`~azure.mgmt.storage.v2024_01_01.StorageManagementClient`'s
72
+ :class:`~azure.mgmt.storage.StorageManagementClient`'s
75
73
  :attr:`usages` attribute.
76
74
  """
77
75
 
@@ -79,11 +77,10 @@ class UsagesOperations:
79
77
 
80
78
  def __init__(self, *args, **kwargs):
81
79
  input_args = list(args)
82
- self._client = input_args.pop(0) if input_args else kwargs.pop("client")
83
- self._config = input_args.pop(0) if input_args else kwargs.pop("config")
84
- self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
85
- self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
86
- self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
80
+ self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
81
+ self._config: StorageManagementClientConfiguration = input_args.pop(0) if input_args else kwargs.pop("config")
82
+ self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer")
83
+ self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
87
84
 
88
85
  @distributed_trace
89
86
  def list_by_location(self, location: str, **kwargs: Any) -> Iterable["_models.Usage"]:
@@ -93,13 +90,13 @@ class UsagesOperations:
93
90
  :param location: The location of the Azure Storage resource. Required.
94
91
  :type location: str
95
92
  :return: An iterator like instance of either Usage or the result of cls(response)
96
- :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2024_01_01.models.Usage]
93
+ :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.models.Usage]
97
94
  :raises ~azure.core.exceptions.HttpResponseError:
98
95
  """
99
96
  _headers = kwargs.pop("headers", {}) or {}
100
97
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
101
98
 
102
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
99
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
103
100
  cls: ClsType[_models.UsageListResult] = kwargs.pop("cls", None)
104
101
 
105
102
  error_map: MutableMapping = {
@@ -131,7 +128,7 @@ class UsagesOperations:
131
128
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
132
129
  }
133
130
  )
134
- _next_request_params["api-version"] = self._api_version
131
+ _next_request_params["api-version"] = self._config.api_version
135
132
  _request = HttpRequest(
136
133
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
137
134
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: azure-mgmt-storage
3
- Version: 22.1.1
3
+ Version: 23.0.0
4
4
  Summary: Microsoft Azure Storage Management Client Library for Python
5
5
  Home-page: https://github.com/Azure/azure-sdk-for-python
6
6
  Author: Microsoft Corporation
@@ -11,24 +11,23 @@ Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Programming Language :: Python
12
12
  Classifier: Programming Language :: Python :: 3 :: Only
13
13
  Classifier: Programming Language :: Python :: 3
14
- Classifier: Programming Language :: Python :: 3.8
15
14
  Classifier: Programming Language :: Python :: 3.9
16
15
  Classifier: Programming Language :: Python :: 3.10
17
16
  Classifier: Programming Language :: Python :: 3.11
18
17
  Classifier: Programming Language :: Python :: 3.12
19
18
  Classifier: License :: OSI Approved :: MIT License
20
- Requires-Python: >=3.8
19
+ Requires-Python: >=3.9
21
20
  Description-Content-Type: text/markdown
22
21
  License-File: LICENSE
23
- Requires-Dist: isodate >=0.6.1
24
- Requires-Dist: typing-extensions >=4.6.0
25
- Requires-Dist: azure-common >=1.1
26
- Requires-Dist: azure-mgmt-core >=1.3.2
22
+ Requires-Dist: isodate>=0.6.1
23
+ Requires-Dist: typing-extensions>=4.6.0
24
+ Requires-Dist: azure-common>=1.1
25
+ Requires-Dist: azure-mgmt-core>=1.5.0
27
26
 
28
27
  # Microsoft Azure SDK for Python
29
28
 
30
29
  This is the Microsoft Azure Storage Management Client Library.
31
- This package has been tested with Python 3.8+.
30
+ This package has been tested with Python 3.9+.
32
31
  For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
33
32
 
34
33
  ## _Disclaimer_
@@ -39,7 +38,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
39
38
 
40
39
  ### Prerequisites
41
40
 
42
- - Python 3.8+ is required to use this package.
41
+ - Python 3.9+ is required to use this package.
43
42
  - [Azure subscription](https://azure.microsoft.com/free/)
44
43
 
45
44
  ### Install the package
@@ -51,7 +50,7 @@ pip install azure-identity
51
50
 
52
51
  ### Authentication
53
52
 
54
- By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
53
+ By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
55
54
 
56
55
  - `AZURE_CLIENT_ID` for Azure client ID.
57
56
  - `AZURE_TENANT_ID` for Azure tenant ID.
@@ -90,6 +89,17 @@ section of the project.
90
89
 
91
90
  # Release History
92
91
 
92
+ ## 23.0.0 (2025-05-15)
93
+
94
+ ### Breaking Changes
95
+
96
+ - This package now only targets the latest Api-Version available on Azure and removes APIs of other Api-Version. After this change, the package can have much smaller size. If your application requires a specific and non-latest Api-Version, it's recommended to pin this package to the previous released version; If your application always only use latest Api-Version, please ignore this change.
97
+
98
+ ## 22.2.0 (2025-04-21)
99
+
100
+ ### Features Added
101
+ - Enum `ProvisioningState` added member `ACCEPTED`
102
+
93
103
  ## 22.1.1 (2025-02-27)
94
104
 
95
105
  ### Bugs Fixed
@@ -0,0 +1,73 @@
1
+ azure/mgmt/storage/__init__.py,sha256=anaPuy_M9WJzgg2lszSxU5JnlfORoG3js5p0jBaYY7k,1063
2
+ azure/mgmt/storage/_configuration.py,sha256=ueW5a5NL02MKrK9ldI1VrJHWCM_EtajIXy6AS3lFuMY,3359
3
+ azure/mgmt/storage/_patch.py,sha256=lNLUF-PrKQxqNd7ZZ6cvds5HfRzDZIF2FOiV0eW4sGY,847
4
+ azure/mgmt/storage/_storage_management_client.py,sha256=yBPRDxnFWAO5liHdqELumnm3mePNeWmWnl61Avnd8lc,13135
5
+ azure/mgmt/storage/_version.py,sha256=GI5TBgaYIRCxC0yMcrusehf_4Jy-RS_1yWmgBkmmUMg,346
6
+ azure/mgmt/storage/py.typed,sha256=dcrsqJrcYfTX-ckLFJMTaj6mD8aDe2u0tkQG-ZYxnEg,26
7
+ azure/mgmt/storage/_utils/__init__.py,sha256=sbjmEEjeH9Sr8xo3lkmUvyHuZkKo3xPbPehsxe7iQjE,452
8
+ azure/mgmt/storage/_utils/serialization.py,sha256=M0xRh7CzsPyQfr0h-Nbb14qAdUTjk2eMqxSGpBEWujI,81966
9
+ azure/mgmt/storage/aio/__init__.py,sha256=y3iibWAAHOz6PL7TZfbzKkWVdp3zcSebEwSvsuWCTzw,1010
10
+ azure/mgmt/storage/aio/_configuration.py,sha256=zOGd3GdE0M5_rHawiiKhqZAGA6jqOe4Y_9TihUXQJZ0,3407
11
+ azure/mgmt/storage/aio/_patch.py,sha256=lNLUF-PrKQxqNd7ZZ6cvds5HfRzDZIF2FOiV0eW4sGY,847
12
+ azure/mgmt/storage/aio/_storage_management_client.py,sha256=rjLSybK3pqnt4vEg9n5yotcup63h6XiSDEteMp3sPtg,13419
13
+ azure/mgmt/storage/aio/operations/__init__.py,sha256=-oxZ71XxQSsZVeT-58uAIsof8sdtZDxuwQNpRP3tI3s,3811
14
+ azure/mgmt/storage/aio/operations/_blob_containers_operations.py,sha256=dEog48BuOjfFU_RZFRltlXPEKIuw3Pe1MOTxaoT08FI,87922
15
+ azure/mgmt/storage/aio/operations/_blob_inventory_policies_operations.py,sha256=KHG_of2gyD6QNPezgUvfE5JJn4Wb5pzxJ4FndS2SAJo,19546
16
+ azure/mgmt/storage/aio/operations/_blob_services_operations.py,sha256=bYgGX9ZXYiphEh2_UtiFTWOpUAHnJh1tsTMaYEJjlsE,16228
17
+ azure/mgmt/storage/aio/operations/_deleted_accounts_operations.py,sha256=YZ2W0huJVtGKUb-25oMCl8iKZX08WS6Xn9s3ZYmroco,8233
18
+ azure/mgmt/storage/aio/operations/_encryption_scopes_operations.py,sha256=8L6R1sXZao9gT-_1HV4hGg8JkEH5OwDQYzRfdBmL7eo,26622
19
+ azure/mgmt/storage/aio/operations/_file_services_operations.py,sha256=6vdIVu-ltgfyq_7yIPB7yp5FG1XJlTBN19o97NuQ8mU,21909
20
+ azure/mgmt/storage/aio/operations/_file_shares_operations.py,sha256=JbOhSHuSjifU-tQEE2pFBNFWxmRBkWfcJzxafycMz34,45297
21
+ azure/mgmt/storage/aio/operations/_local_users_operations.py,sha256=e40trJ09-aZ2_izMT-ROjarh93QkVHFDDIMt55jrtNY,26002
22
+ azure/mgmt/storage/aio/operations/_management_policies_operations.py,sha256=DU0HyP__TpAscrDE6ZROfMgyQNzvdkDUDaW6cjRazGI,15063
23
+ azure/mgmt/storage/aio/operations/_network_security_perimeter_configurations_operations.py,sha256=inTZoZ54fnyef0x2OiIpvQ38GHnGlf2QUJJWn2PF5bM,15933
24
+ azure/mgmt/storage/aio/operations/_object_replication_policies_operations.py,sha256=07MgxYcdJ04bclEG6DM8dFQX9Jp7abCIkmvBWSPWdeQ,20848
25
+ azure/mgmt/storage/aio/operations/_operations.py,sha256=gcd3tAx12zkFsVfi-iMx-rJTDTIOkW1nyHvrpBSWEb0,5505
26
+ azure/mgmt/storage/aio/operations/_patch.py,sha256=lNLUF-PrKQxqNd7ZZ6cvds5HfRzDZIF2FOiV0eW4sGY,847
27
+ azure/mgmt/storage/aio/operations/_private_endpoint_connections_operations.py,sha256=6rSg-NDIz1qQTLx4P1jrsD4-xBMagKO_ybFGPMudgfQ,19503
28
+ azure/mgmt/storage/aio/operations/_private_link_resources_operations.py,sha256=Ni7gF-qPqT5GLDNd1Pvd-T8lvzmqp7bpOX2CnVKfVk4,4960
29
+ azure/mgmt/storage/aio/operations/_queue_operations.py,sha256=KKhYBZSkSK0s2BJywQdojs7QAdEusOc0uDnBc2ai9wY,26982
30
+ azure/mgmt/storage/aio/operations/_queue_services_operations.py,sha256=XWFV25QVYak63jeUiEkYKjgbi_geLwKvglQY8RxmJ4Y,14689
31
+ azure/mgmt/storage/aio/operations/_skus_operations.py,sha256=LmOzYAS7n0BYiSOdY7UH-K-xWrB9hzeFqW5hXtQzMR0,5615
32
+ azure/mgmt/storage/aio/operations/_storage_accounts_operations.py,sha256=exgAVlPjJ5okXSEw-WEOfIjh_ewFUmw7K2IAmbWxCw0,103310
33
+ azure/mgmt/storage/aio/operations/_storage_task_assignment_instances_report_operations.py,sha256=2Kx4SINqCxXdtpkdEKG1cGYsu2FxBjG18ugL8IfIAwM,7775
34
+ azure/mgmt/storage/aio/operations/_storage_task_assignments_instances_report_operations.py,sha256=HwArlu2phEt4m8ui7_fT4bb8bOzTyI29WoIQvWFFS7I,7353
35
+ azure/mgmt/storage/aio/operations/_storage_task_assignments_operations.py,sha256=vdiEpzCpzzbDTOEGkbVcRPLOEVPA6Qg8U0hNIeGcW14,38738
36
+ azure/mgmt/storage/aio/operations/_table_operations.py,sha256=2KHVd-uv15yIcNv8_n_Z5ROiedYKrWttcj7tL34bxrc,25806
37
+ azure/mgmt/storage/aio/operations/_table_services_operations.py,sha256=abuJt8L0kViJZU5SIzwFHz2uy5RXRZJiiTbPgzF_FQI,14689
38
+ azure/mgmt/storage/aio/operations/_usages_operations.py,sha256=9DE5G0ywZVxkcQXcJx5n18E906qEpTHyUqZc1MbX9zk,5810
39
+ azure/mgmt/storage/models/__init__.py,sha256=CdHsbSUsb_LsQkB4yRZIKzLin2E3fGvknFJJJ3N6ibE,15221
40
+ azure/mgmt/storage/models/_models_py3.py,sha256=Y2vIYQcRDfTH7ZgXPgbVa86HSbclw4qdemAHELddM2I,490625
41
+ azure/mgmt/storage/models/_patch.py,sha256=lNLUF-PrKQxqNd7ZZ6cvds5HfRzDZIF2FOiV0eW4sGY,847
42
+ azure/mgmt/storage/models/_storage_management_client_enums.py,sha256=BT5Q3gd6uOl1oPPtsaNrPBdSPrTwwx8Spjm1yHqzZhM,21630
43
+ azure/mgmt/storage/operations/__init__.py,sha256=-oxZ71XxQSsZVeT-58uAIsof8sdtZDxuwQNpRP3tI3s,3811
44
+ azure/mgmt/storage/operations/_blob_containers_operations.py,sha256=0vJfnQiBmpcGJtFelDq46oO4sUxjHMOm4R4XsuNp9c0,113200
45
+ azure/mgmt/storage/operations/_blob_inventory_policies_operations.py,sha256=Mvg8mH0RLeNnSmSIS5c4G2PGL76dTbjmA8dtPcw_NgY,26121
46
+ azure/mgmt/storage/operations/_blob_services_operations.py,sha256=-mYuegryssggkr8BgmYw4cuubkXTrCE2K1qhlw_qCYA,21013
47
+ azure/mgmt/storage/operations/_deleted_accounts_operations.py,sha256=L4_cUEnojYNCKHrmCszMhTk5CklYxB3ZjiXDDX0b9PU,10400
48
+ azure/mgmt/storage/operations/_encryption_scopes_operations.py,sha256=FgZdbhDfqnZFX0pANp-jkaPHCOqONCS7hLgM-yulVn0,33796
49
+ azure/mgmt/storage/operations/_file_services_operations.py,sha256=jyeHEbvWwJ3KFjVQYoClhzo2-yWaohzEuzhKh5jOzMw,30372
50
+ azure/mgmt/storage/operations/_file_shares_operations.py,sha256=KtX4MAaAY32JWUi1sDYUfQyeYzpVo7WL2rONJD2-LdI,58487
51
+ azure/mgmt/storage/operations/_local_users_operations.py,sha256=ljUUStsNRQH6tgn7PCjSOleaIkAJQkf_3EkPeh-e7e8,35883
52
+ azure/mgmt/storage/operations/_management_policies_operations.py,sha256=kV_py8FUq5G2LwMi-5MteFoIlSKzmskWbSa9xaAOPs8,20030
53
+ azure/mgmt/storage/operations/_network_security_perimeter_configurations_operations.py,sha256=HZb993lDSe6ou9fHizBxqi-TEF3e0dtQrgdQ9B-rWcA,20777
54
+ azure/mgmt/storage/operations/_object_replication_policies_operations.py,sha256=1KAplDiKUa-1udk8LmrOi6BrFaNP9-aZlLzk9adF01g,27412
55
+ azure/mgmt/storage/operations/_operations.py,sha256=99jebIBzbiPfUxTMyk592FBpsexCXAhhtbWT3TvVZM4,6154
56
+ azure/mgmt/storage/operations/_patch.py,sha256=lNLUF-PrKQxqNd7ZZ6cvds5HfRzDZIF2FOiV0eW4sGY,847
57
+ azure/mgmt/storage/operations/_private_endpoint_connections_operations.py,sha256=110VdNSnT2Zup8_YQqtUSDEW-U_i-anrobw_4PPzVys,26136
58
+ azure/mgmt/storage/operations/_private_link_resources_operations.py,sha256=eckhSQdaENhlgV_0_KU8c8Iw3tspvB4RFpw4uqMr3iw,6415
59
+ azure/mgmt/storage/operations/_queue_operations.py,sha256=gwwpPhEmBfWS9Quyy53UPWdJH25Nu40TyXNGOL3AFr4,35964
60
+ azure/mgmt/storage/operations/_queue_services_operations.py,sha256=cVc8CSqo1GsS0rVdxmQ0QpQfZObu0owKcPVPpPcemtE,19597
61
+ azure/mgmt/storage/operations/_skus_operations.py,sha256=aduOWkQV2xkeTW2NSOH5WNX_JpJ6XUszq2HUKKxxX1g,6512
62
+ azure/mgmt/storage/operations/_storage_accounts_operations.py,sha256=YbuHBKeR_Ztk3y9ofc5CQGO5eyhaaL_isaObYfdtm58,129021
63
+ azure/mgmt/storage/operations/_storage_task_assignment_instances_report_operations.py,sha256=H5Jtu5zN__5Un769q0RgEPaDIbcdUiPvUO9zBLQQKGE,9733
64
+ azure/mgmt/storage/operations/_storage_task_assignments_instances_report_operations.py,sha256=eNpLGhZ0K_W0W49hL7nmvyBkJ7lh2zlT5PZNCxemmyA,8956
65
+ azure/mgmt/storage/operations/_storage_task_assignments_operations.py,sha256=go3brWQDumnMtRXQ6lbG4brZRKMW4a5cFva-CNuXXQU,47232
66
+ azure/mgmt/storage/operations/_table_operations.py,sha256=CADc1J8-Yzb1JGTvJLDOsKvoDjoIgPTyOnXsA8Bc97E,34178
67
+ azure/mgmt/storage/operations/_table_services_operations.py,sha256=ISKJmOCDFMkzvjJ8iAuSXzyRB8tFy2nBdipg3K0cQ2g,19597
68
+ azure/mgmt/storage/operations/_usages_operations.py,sha256=d3yLnaTn1b9A0I-3Y6-9A9nmwHUuaRJSGdndIHEnlJI,6823
69
+ azure_mgmt_storage-23.0.0.dist-info/LICENSE,sha256=fHekSorNm0H9wgmGSoAWs9QwtdDgkwmBjVt0RDNt90Q,1074
70
+ azure_mgmt_storage-23.0.0.dist-info/METADATA,sha256=a4K6BhgSglVzWWogXVK_SaaOLUXHHap7OHgrhnY30UM,33929
71
+ azure_mgmt_storage-23.0.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
72
+ azure_mgmt_storage-23.0.0.dist-info/top_level.txt,sha256=S7DhWV9m80TBzAhOFjxDUiNbKszzoThbnrSz5MpbHSQ,6
73
+ azure_mgmt_storage-23.0.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (74.1.3)
2
+ Generator: setuptools (75.3.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5