Skip to content

Commit 05074b6

Browse files
[AutoRelease] t2-storage-2025-08-14-49022(can only be merged by SDK owner) (#42515)
* code and test * update changelog * Update release date and add property in CHANGELOG --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent f458e1d commit 05074b6

File tree

262 files changed

+2035
-559
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+2035
-559
lines changed

sdk/storage/azure-mgmt-storage/CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Release History
22

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+
332
## 23.0.1 (2025-06-30)
433

534
### Other Changes
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "6c7bb299b1fb029d5f2c8d2c255cd517bc9ac58c",
2+
"commit": "1bdafdbace5d4cc7eb461433adac4a45af87c186",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.35.0",
6+
"@autorest/python@6.38.2",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/storage/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.35.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/storage/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --keep-setup-py=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.38.2 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/storage/resource-manager/readme.md"
1111
}

sdk/storage/azure-mgmt-storage/apiview-properties.json

Lines changed: 493 additions & 0 deletions
Large diffs are not rendered by default.

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ class StorageManagementClientConfiguration: # pylint: disable=too-many-instance
2727
:type credential: ~azure.core.credentials.TokenCredential
2828
:param subscription_id: The ID of the target subscription. Required.
2929
: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
3131
default value may result in unsupported behavior.
3232
:paramtype api_version: str
3333
"""
3434

3535
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")
3737

3838
if credential is None:
3939
raise ValueError("Parameter 'credential' must not be None.")

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class StorageManagementClient: # pylint: disable=too-many-instance-attributes
117117
:type subscription_id: str
118118
:param base_url: Service URL. Default value is None.
119119
: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
121121
default value may result in unsupported behavior.
122122
:paramtype api_version: str
123123
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# license information.
66
# --------------------------------------------------------------------------
77

8-
VERSION = "23.0.1"
8+
VERSION = "23.1.0"

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ class StorageManagementClientConfiguration: # pylint: disable=too-many-instance
2727
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
2828
:param subscription_id: The ID of the target subscription. Required.
2929
: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
3131
default value may result in unsupported behavior.
3232
:paramtype api_version: str
3333
"""
3434

3535
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")
3737

3838
if credential is None:
3939
raise ValueError("Parameter 'credential' must not be None.")

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/_storage_management_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class StorageManagementClient: # pylint: disable=too-many-instance-attributes
119119
:type subscription_id: str
120120
:param base_url: Service URL. Default value is None.
121121
: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
123123
default value may result in unsupported behavior.
124124
:paramtype api_version: str
125125
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/operations/_storage_task_assignments_operations.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ async def _create_initial(
129129

130130
response_headers = {}
131131
if response.status_code == 202:
132+
response_headers["Azure-AsyncOperation"] = self._deserialize(
133+
"str", response.headers.get("Azure-AsyncOperation")
134+
)
132135
response_headers["Location"] = self._deserialize("str", response.headers.get("Location"))
133136

134137
deserialized = response.stream_download(self._client._pipeline, decompress=_decompress)
@@ -365,6 +368,9 @@ async def _update_initial(
365368

366369
response_headers = {}
367370
if response.status_code == 202:
371+
response_headers["Azure-AsyncOperation"] = self._deserialize(
372+
"str", response.headers.get("Azure-AsyncOperation")
373+
)
368374
response_headers["Location"] = self._deserialize("str", response.headers.get("Location"))
369375

370376
deserialized = response.stream_download(self._client._pipeline, decompress=_decompress)
@@ -637,6 +643,9 @@ async def _delete_initial(
637643

638644
response_headers = {}
639645
if response.status_code == 202:
646+
response_headers["Azure-AsyncOperation"] = self._deserialize(
647+
"str", response.headers.get("Azure-AsyncOperation")
648+
)
640649
response_headers["Location"] = self._deserialize("str", response.headers.get("Location"))
641650

642651
deserialized = response.stream_download(self._client._pipeline, decompress=_decompress)

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/models/__init__.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@
4949
DeletedAccountListResult,
5050
DeletedShare,
5151
Dimension,
52+
DualStackEndpointPreference,
5253
Encryption,
5354
EncryptionIdentity,
55+
EncryptionInTransit,
5456
EncryptionScope,
5557
EncryptionScopeKeyVaultProperties,
5658
EncryptionScopeListResult,
@@ -125,6 +127,7 @@
125127
NetworkSecurityPerimeterConfigurationList,
126128
NetworkSecurityPerimeterConfigurationPropertiesProfile,
127129
NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation,
130+
NfsSetting,
128131
NspAccessRule,
129132
NspAccessRuleProperties,
130133
NspAccessRulePropertiesSubscriptionsItem,
@@ -137,6 +140,7 @@
137140
OperationDisplay,
138141
OperationListResult,
139142
PermissionScope,
143+
Placement,
140144
PrivateEndpoint,
141145
PrivateEndpointConnection,
142146
PrivateEndpointConnectionListResult,
@@ -163,12 +167,15 @@
163167
SignedIdentifier,
164168
Sku,
165169
SkuInformation,
170+
SkuInformationLocationInfoItem,
171+
SmbOAuthSettings,
166172
SmbSetting,
167173
SshPublicKey,
168174
StorageAccount,
169175
StorageAccountCheckNameAvailabilityParameters,
170176
StorageAccountCreateParameters,
171177
StorageAccountInternetEndpoints,
178+
StorageAccountIpv6Endpoints,
172179
StorageAccountKey,
173180
StorageAccountListKeysResult,
174181
StorageAccountListResult,
@@ -235,6 +242,7 @@
235242
IdentityType,
236243
ImmutabilityPolicyState,
237244
ImmutabilityPolicyUpdateType,
245+
IntervalUnit,
238246
InventoryRuleType,
239247
IssueType,
240248
KeyPermission,
@@ -288,6 +296,7 @@
288296
StorageAccountExpand,
289297
TriggerType,
290298
UsageUnit,
299+
ZonePlacementPolicy,
291300
)
292301
from ._patch import __all__ as _patch_all
293302
from ._patch import *
@@ -329,8 +338,10 @@
329338
"DeletedAccountListResult",
330339
"DeletedShare",
331340
"Dimension",
341+
"DualStackEndpointPreference",
332342
"Encryption",
333343
"EncryptionIdentity",
344+
"EncryptionInTransit",
334345
"EncryptionScope",
335346
"EncryptionScopeKeyVaultProperties",
336347
"EncryptionScopeListResult",
@@ -405,6 +416,7 @@
405416
"NetworkSecurityPerimeterConfigurationList",
406417
"NetworkSecurityPerimeterConfigurationPropertiesProfile",
407418
"NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation",
419+
"NfsSetting",
408420
"NspAccessRule",
409421
"NspAccessRuleProperties",
410422
"NspAccessRulePropertiesSubscriptionsItem",
@@ -417,6 +429,7 @@
417429
"OperationDisplay",
418430
"OperationListResult",
419431
"PermissionScope",
432+
"Placement",
420433
"PrivateEndpoint",
421434
"PrivateEndpointConnection",
422435
"PrivateEndpointConnectionListResult",
@@ -443,12 +456,15 @@
443456
"SignedIdentifier",
444457
"Sku",
445458
"SkuInformation",
459+
"SkuInformationLocationInfoItem",
460+
"SmbOAuthSettings",
446461
"SmbSetting",
447462
"SshPublicKey",
448463
"StorageAccount",
449464
"StorageAccountCheckNameAvailabilityParameters",
450465
"StorageAccountCreateParameters",
451466
"StorageAccountInternetEndpoints",
467+
"StorageAccountIpv6Endpoints",
452468
"StorageAccountKey",
453469
"StorageAccountListKeysResult",
454470
"StorageAccountListResult",
@@ -512,6 +528,7 @@
512528
"IdentityType",
513529
"ImmutabilityPolicyState",
514530
"ImmutabilityPolicyUpdateType",
531+
"IntervalUnit",
515532
"InventoryRuleType",
516533
"IssueType",
517534
"KeyPermission",
@@ -565,6 +582,7 @@
565582
"StorageAccountExpand",
566583
"TriggerType",
567584
"UsageUnit",
585+
"ZonePlacementPolicy",
568586
]
569587
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
570588
_patch_sdk()

0 commit comments

Comments
 (0)