azure-mgmt-storage 23.0.0__tar.gz → 23.1.0__tar.gz

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 (98) hide show
  1. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/CHANGELOG.md +35 -0
  2. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/MANIFEST.in +0 -1
  3. {azure_mgmt_storage-23.0.0/azure_mgmt_storage.egg-info → azure_mgmt_storage-23.1.0}/PKG-INFO +51 -3
  4. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/_configuration.py +2 -2
  5. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/_storage_management_client.py +1 -1
  6. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/_version.py +1 -1
  7. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/_configuration.py +2 -2
  8. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/_storage_management_client.py +1 -1
  9. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_blob_containers_operations.py +2 -15
  10. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_blob_inventory_policies_operations.py +2 -2
  11. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_blob_services_operations.py +2 -2
  12. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_deleted_accounts_operations.py +2 -2
  13. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_encryption_scopes_operations.py +2 -2
  14. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_file_services_operations.py +2 -2
  15. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_file_shares_operations.py +2 -2
  16. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_local_users_operations.py +2 -2
  17. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_network_security_perimeter_configurations_operations.py +2 -2
  18. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_object_replication_policies_operations.py +2 -2
  19. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_operations.py +2 -2
  20. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_private_endpoint_connections_operations.py +2 -2
  21. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_queue_operations.py +2 -2
  22. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_skus_operations.py +2 -2
  23. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_storage_accounts_operations.py +3 -16
  24. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_storage_task_assignment_instances_report_operations.py +2 -2
  25. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_storage_task_assignments_instances_report_operations.py +2 -2
  26. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_storage_task_assignments_operations.py +17 -5
  27. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_table_operations.py +2 -2
  28. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_usages_operations.py +2 -2
  29. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/models/__init__.py +18 -0
  30. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/models/_models_py3.py +420 -47
  31. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/models/_storage_management_client_enums.py +21 -1
  32. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_blob_containers_operations.py +17 -17
  33. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_blob_inventory_policies_operations.py +7 -7
  34. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_blob_services_operations.py +6 -6
  35. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_deleted_accounts_operations.py +5 -5
  36. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_encryption_scopes_operations.py +7 -7
  37. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_file_services_operations.py +8 -8
  38. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_file_shares_operations.py +10 -10
  39. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_local_users_operations.py +9 -9
  40. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_management_policies_operations.py +4 -4
  41. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_network_security_perimeter_configurations_operations.py +6 -6
  42. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_object_replication_policies_operations.py +7 -7
  43. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_operations.py +4 -4
  44. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_private_endpoint_connections_operations.py +7 -7
  45. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_private_link_resources_operations.py +2 -2
  46. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_queue_operations.py +8 -8
  47. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_queue_services_operations.py +4 -4
  48. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_skus_operations.py +4 -4
  49. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_storage_accounts_operations.py +22 -22
  50. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_storage_task_assignment_instances_report_operations.py +4 -4
  51. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_storage_task_assignments_instances_report_operations.py +4 -4
  52. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_storage_task_assignments_operations.py +20 -11
  53. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_table_operations.py +8 -8
  54. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_table_services_operations.py +4 -4
  55. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_usages_operations.py +4 -4
  56. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0/azure_mgmt_storage.egg-info}/PKG-INFO +51 -3
  57. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure_mgmt_storage.egg-info/SOURCES.txt +0 -1
  58. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure_mgmt_storage.egg-info/requires.txt +1 -1
  59. azure_mgmt_storage-23.1.0/pyproject.toml +16 -0
  60. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/setup.py +2 -1
  61. azure_mgmt_storage-23.0.0/_meta.json +0 -33
  62. azure_mgmt_storage-23.0.0/pyproject.toml +0 -6
  63. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/LICENSE +0 -0
  64. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/README.md +0 -0
  65. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/__init__.py +0 -0
  66. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/__init__.py +0 -0
  67. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/__init__.py +0 -0
  68. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/_patch.py +0 -0
  69. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/_utils/__init__.py +0 -0
  70. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/_utils/serialization.py +0 -0
  71. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/__init__.py +0 -0
  72. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/_patch.py +0 -0
  73. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/__init__.py +0 -0
  74. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_management_policies_operations.py +0 -0
  75. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_patch.py +0 -0
  76. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_private_link_resources_operations.py +0 -0
  77. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_queue_services_operations.py +0 -0
  78. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/aio/operations/_table_services_operations.py +0 -0
  79. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/models/_patch.py +0 -0
  80. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/__init__.py +0 -0
  81. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/operations/_patch.py +0 -0
  82. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure/mgmt/storage/py.typed +0 -0
  83. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure_mgmt_storage.egg-info/dependency_links.txt +0 -0
  84. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure_mgmt_storage.egg-info/not-zip-safe +0 -0
  85. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/azure_mgmt_storage.egg-info/top_level.txt +0 -0
  86. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/setup.cfg +0 -0
  87. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/tests/_aio_testcase.py +0 -0
  88. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/tests/conftest.py +0 -0
  89. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/tests/disable_test_cli_mgmt_storage.py +0 -0
  90. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/tests/disable_test_cli_mgmt_storage_async.py +0 -0
  91. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/tests/test_storage_management_deleted_accounts_operations_async_test.py +0 -0
  92. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/tests/test_storage_management_deleted_accounts_operations_test.py +0 -0
  93. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/tests/test_storage_management_operations_async_test.py +0 -0
  94. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/tests/test_storage_management_operations_test.py +0 -0
  95. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/tests/test_storage_management_skus_operations_async_test.py +0 -0
  96. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/tests/test_storage_management_skus_operations_test.py +0 -0
  97. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/tests/test_storage_management_storage_accounts_operations_async_test.py +0 -0
  98. {azure_mgmt_storage-23.0.0 → azure_mgmt_storage-23.1.0}/tests/test_storage_management_storage_accounts_operations_test.py +0 -0
@@ -1,5 +1,40 @@
1
1
  # Release History
2
2
 
3
+ ## 23.1.0 (2025-09-22)
4
+
5
+ ### Features Added
6
+
7
+ - Model `AzureFilesIdentityBasedAuthentication` added property `smb_o_auth_settings`
8
+ - Model `Endpoints` added property `ipv6_endpoints`
9
+ - Model `NetworkRuleSet` added property `ipv6_rules`
10
+ - Model `ProtocolSettings` added property `nfs`
11
+ - Model `SkuInformation` added property `location_info`
12
+ - Model `SmbSetting` added property `encryption_in_transit`
13
+ - Model `StorageAccount` added property `zones`
14
+ - Model `StorageAccount` added property `placement`
15
+ - Model `StorageAccount` added property `dual_stack_endpoint_preference`
16
+ - Model `StorageAccountCreateParameters` added property `zones`
17
+ - Model `StorageAccountCreateParameters` added property `placement`
18
+ - Model `StorageAccountCreateParameters` added property `dual_stack_endpoint_preference`
19
+ - Model `StorageAccountUpdateParameters` added property `zones`
20
+ - Model `StorageAccountUpdateParameters` added property `placement`
21
+ - Model `StorageAccountUpdateParameters` added property `dual_stack_endpoint_preference`
22
+ - Added model `DualStackEndpointPreference`
23
+ - Added model `EncryptionInTransit`
24
+ - Added enum `IntervalUnit`
25
+ - Added model `NfsSetting`
26
+ - Added model `Placement`
27
+ - Added model `SkuInformationLocationInfoItem`
28
+ - Added model `SmbOAuthSettings`
29
+ - Added model `StorageAccountIpv6Endpoints`
30
+ - Added enum `ZonePlacementPolicy`
31
+
32
+ ## 23.0.1 (2025-06-30)
33
+
34
+ ### Other Changes
35
+
36
+ - Fix for StorageTaskAssignmentsOperations
37
+
3
38
  ## 23.0.0 (2025-05-15)
4
39
 
5
40
  ### Breaking Changes
@@ -1,4 +1,3 @@
1
- include _meta.json
2
1
  recursive-include tests *.py *.json
3
2
  recursive-include samples *.py *.md
4
3
  include *.md
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: azure-mgmt-storage
3
- Version: 23.0.0
3
+ Version: 23.1.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
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python :: 3.9
15
15
  Classifier: Programming Language :: Python :: 3.10
16
16
  Classifier: Programming Language :: Python :: 3.11
17
17
  Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
18
19
  Classifier: License :: OSI Approved :: MIT License
19
20
  Requires-Python: >=3.9
20
21
  Description-Content-Type: text/markdown
@@ -22,7 +23,19 @@ License-File: LICENSE
22
23
  Requires-Dist: isodate>=0.6.1
23
24
  Requires-Dist: typing-extensions>=4.6.0
24
25
  Requires-Dist: azure-common>=1.1
25
- Requires-Dist: azure-mgmt-core>=1.5.0
26
+ Requires-Dist: azure-mgmt-core>=1.6.0
27
+ Dynamic: author
28
+ Dynamic: author-email
29
+ Dynamic: classifier
30
+ Dynamic: description
31
+ Dynamic: description-content-type
32
+ Dynamic: home-page
33
+ Dynamic: keywords
34
+ Dynamic: license
35
+ Dynamic: license-file
36
+ Dynamic: requires-dist
37
+ Dynamic: requires-python
38
+ Dynamic: summary
26
39
 
27
40
  # Microsoft Azure SDK for Python
28
41
 
@@ -89,6 +102,41 @@ section of the project.
89
102
 
90
103
  # Release History
91
104
 
105
+ ## 23.1.0 (2025-09-22)
106
+
107
+ ### Features Added
108
+
109
+ - Model `AzureFilesIdentityBasedAuthentication` added property `smb_o_auth_settings`
110
+ - Model `Endpoints` added property `ipv6_endpoints`
111
+ - Model `NetworkRuleSet` added property `ipv6_rules`
112
+ - Model `ProtocolSettings` added property `nfs`
113
+ - Model `SkuInformation` added property `location_info`
114
+ - Model `SmbSetting` added property `encryption_in_transit`
115
+ - Model `StorageAccount` added property `zones`
116
+ - Model `StorageAccount` added property `placement`
117
+ - Model `StorageAccount` added property `dual_stack_endpoint_preference`
118
+ - Model `StorageAccountCreateParameters` added property `zones`
119
+ - Model `StorageAccountCreateParameters` added property `placement`
120
+ - Model `StorageAccountCreateParameters` added property `dual_stack_endpoint_preference`
121
+ - Model `StorageAccountUpdateParameters` added property `zones`
122
+ - Model `StorageAccountUpdateParameters` added property `placement`
123
+ - Model `StorageAccountUpdateParameters` added property `dual_stack_endpoint_preference`
124
+ - Added model `DualStackEndpointPreference`
125
+ - Added model `EncryptionInTransit`
126
+ - Added enum `IntervalUnit`
127
+ - Added model `NfsSetting`
128
+ - Added model `Placement`
129
+ - Added model `SkuInformationLocationInfoItem`
130
+ - Added model `SmbOAuthSettings`
131
+ - Added model `StorageAccountIpv6Endpoints`
132
+ - Added enum `ZonePlacementPolicy`
133
+
134
+ ## 23.0.1 (2025-06-30)
135
+
136
+ ### Other Changes
137
+
138
+ - Fix for StorageTaskAssignmentsOperations
139
+
92
140
  ## 23.0.0 (2025-05-15)
93
141
 
94
142
  ### Breaking Changes
@@ -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 "2024-01-01". Note that overriding this
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", "2024-01-01")
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 "2024-01-01". Note that overriding this
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
@@ -5,4 +5,4 @@
5
5
  # license information.
6
6
  # --------------------------------------------------------------------------
7
7
 
8
- VERSION = "23.0.0"
8
+ VERSION = "23.1.0"
@@ -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 "2024-01-01". Note that overriding this
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", "2024-01-01")
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 "2024-01-01". Note that overriding this
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
- ) -> AsyncIterable["_models.ListContainerItem"]:
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, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
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
- ) -> AsyncIterable["_models.BlobInventoryPolicy"]:
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, AsyncIterable, Callable, Dict, IO, Literal, Optional, TypeVar, Union, overload
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
- ) -> AsyncIterable["_models.BlobServiceProperties"]:
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, AsyncIterable, Callable, Dict, Optional, TypeVar
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) -> AsyncIterable["_models.DeletedAccount"]:
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, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
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
- ) -> AsyncIterable["_models.EncryptionScope"]:
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, AsyncIterable, Callable, Dict, IO, Literal, Optional, TypeVar, Union, overload
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
- ) -> AsyncIterable["_models.FileServiceUsage"]:
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, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
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
- ) -> AsyncIterable["_models.FileShareItem"]:
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, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
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
- ) -> AsyncIterable["_models.LocalUser"]:
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, AsyncIterable, AsyncIterator, Callable, Dict, Optional, TypeVar, Union, cast
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
- ) -> AsyncIterable["_models.NetworkSecurityPerimeterConfiguration"]:
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, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
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
- ) -> AsyncIterable["_models.ObjectReplicationPolicy"]:
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, AsyncIterable, Callable, Dict, Optional, TypeVar
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) -> AsyncIterable["_models.Operation"]:
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, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
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
- ) -> AsyncIterable["_models.PrivateEndpointConnection"]:
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, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
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
- ) -> AsyncIterable["_models.ListQueue"]:
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, AsyncIterable, Callable, Dict, Optional, TypeVar
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) -> AsyncIterable["_models.SkuInformation"]:
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) -> AsyncIterable["_models.StorageAccount"]:
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
- ) -> AsyncIterable["_models.StorageAccount"]:
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, AsyncIterable, Callable, Dict, Optional, TypeVar
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
- ) -> AsyncIterable["_models.StorageTaskReportInstance"]:
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, AsyncIterable, Callable, Dict, Optional, TypeVar
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
- ) -> AsyncIterable["_models.StorageTaskReportInstance"]:
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, 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
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, AsyncARMPolling(lro_delay, lro_options={"final-state-via": "location"}, **kwargs)
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, AsyncARMPolling(lro_delay, lro_options={"final-state-via": "location"}, **kwargs)
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, AsyncARMPolling(lro_delay, lro_options={"final-state-via": "location"}, **kwargs)
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
- ) -> AsyncIterable["_models.StorageTaskAssignment"]:
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, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
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) -> AsyncIterable["_models.Table"]:
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