Skip to content

Commit 1ca2abb

Browse files
[AutoRelease] t2-purestorageblock-2025-06-23-37212(can only be merged by SDK owner) (#41714)
* code and test * Update CHANGELOG.md * Update _version.py * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com>
1 parent 4ba1cbd commit 1ca2abb

File tree

47 files changed

+116
-112
lines changed

Some content is hidden

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

47 files changed

+116
-112
lines changed

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

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

3+
## 1.0.0 (2025-06-30)
4+
5+
### Other Changes
6+
7+
- First GA
8+
39
## 1.0.0b1 (2025-05-27)
410

511
### Other Changes

sdk/purestorageblock/azure-mgmt-purestorageblock/MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
include _meta.json
21
recursive-include tests *.py *.json
32
recursive-include samples *.py *.md
43
include *.md
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2-
"commit": "70d66773d8c2cd474e2b4439e1ba8526180f3c52",
2+
"apiVersion": "2024-11-01",
3+
"commit": "5f272067844826380939c0b3f24ca3cc99dbe308",
34
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
45
"typespec_src": "specification/purestorage/PureStorage.Block.Management",
5-
"@azure-tools/typespec-python": "0.44.2"
6+
"emitterVersion": "0.45.2"
67
}

sdk/purestorageblock/azure-mgmt-purestorageblock/azure/mgmt/purestorageblock/_client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,8 @@ class PureStorageBlockMgmtClient: # pylint: disable=too-many-instance-attribute
5858
:type subscription_id: str
5959
:param base_url: Service host. Default value is None.
6060
:type base_url: str
61-
:keyword api_version: The API version to use for this operation. Default value is
62-
"2024-11-01-preview". Note that overriding this default value may result in unsupported
63-
behavior.
61+
:keyword api_version: The API version to use for this operation. Default value is "2024-11-01".
62+
Note that overriding this default value may result in unsupported behavior.
6463
:paramtype api_version: str
6564
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
6665
Retry-After header is present.

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ class PureStorageBlockMgmtClientConfiguration: # pylint: disable=too-many-insta
2929
:type subscription_id: str
3030
:param base_url: Service host. Default value is "https://management.azure.com".
3131
:type base_url: str
32-
:keyword api_version: The API version to use for this operation. Default value is
33-
"2024-11-01-preview". Note that overriding this default value may result in unsupported
34-
behavior.
32+
:keyword api_version: The API version to use for this operation. Default value is "2024-11-01".
33+
Note that overriding this default value may result in unsupported behavior.
3534
:paramtype api_version: str
3635
"""
3736

@@ -42,7 +41,7 @@ def __init__(
4241
base_url: str = "https://management.azure.com",
4342
**kwargs: Any
4443
) -> None:
45-
api_version: str = kwargs.pop("api_version", "2024-11-01-preview")
44+
api_version: str = kwargs.pop("api_version", "2024-11-01")
4645

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "1.0.0b1"
9+
VERSION = "1.0.0"

sdk/purestorageblock/azure-mgmt-purestorageblock/azure/mgmt/purestorageblock/aio/_client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,8 @@ class PureStorageBlockMgmtClient: # pylint: disable=too-many-instance-attribute
5858
:type subscription_id: str
5959
:param base_url: Service host. Default value is None.
6060
:type base_url: str
61-
:keyword api_version: The API version to use for this operation. Default value is
62-
"2024-11-01-preview". Note that overriding this default value may result in unsupported
63-
behavior.
61+
:keyword api_version: The API version to use for this operation. Default value is "2024-11-01".
62+
Note that overriding this default value may result in unsupported behavior.
6463
:paramtype api_version: str
6564
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
6665
Retry-After header is present.

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ class PureStorageBlockMgmtClientConfiguration: # pylint: disable=too-many-insta
2929
:type subscription_id: str
3030
:param base_url: Service host. Default value is "https://management.azure.com".
3131
:type base_url: str
32-
:keyword api_version: The API version to use for this operation. Default value is
33-
"2024-11-01-preview". Note that overriding this default value may result in unsupported
34-
behavior.
32+
:keyword api_version: The API version to use for this operation. Default value is "2024-11-01".
33+
Note that overriding this default value may result in unsupported behavior.
3534
:paramtype api_version: str
3635
"""
3736

@@ -42,7 +41,7 @@ def __init__(
4241
base_url: str = "https://management.azure.com",
4342
**kwargs: Any
4443
) -> None:
45-
api_version: str = kwargs.pop("api_version", "2024-11-01-preview")
44+
api_version: str = kwargs.pop("api_version", "2024-11-01")
4645

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

sdk/purestorageblock/azure-mgmt-purestorageblock/azure/mgmt/purestorageblock/aio/operations/_operations.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from collections.abc import MutableMapping
1010
from io import IOBase
1111
import json
12-
from typing import Any, AsyncIterable, AsyncIterator, Callable, Dict, IO, List, Optional, TypeVar, Union, cast, overload
12+
from typing import Any, AsyncIterator, Callable, Dict, IO, List, Optional, TypeVar, Union, cast, overload
1313
import urllib.parse
1414

1515
from azure.core import AsyncPipelineClient
@@ -104,7 +104,7 @@ def __init__(self, *args, **kwargs) -> None:
104104
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
105105

106106
@distributed_trace
107-
def list(self, **kwargs: Any) -> AsyncIterable["_models.Operation"]:
107+
def list(self, **kwargs: Any) -> AsyncItemPaged["_models.Operation"]:
108108
"""List the operations for the provider.
109109
110110
:return: An iterator like instance of Operation
@@ -851,7 +851,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-
851851
return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
852852

853853
@distributed_trace
854-
def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> AsyncIterable["_models.Reservation"]:
854+
def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> AsyncItemPaged["_models.Reservation"]:
855855
"""List reservations by resource group.
856856
857857
:param resource_group_name: The name of the resource group. The name is case insensitive.
@@ -940,7 +940,7 @@ async def get_next(next_link=None):
940940
return AsyncItemPaged(get_next, extract_data)
941941

942942
@distributed_trace
943-
def list_by_subscription(self, **kwargs: Any) -> AsyncIterable["_models.Reservation"]:
943+
def list_by_subscription(self, **kwargs: Any) -> AsyncItemPaged["_models.Reservation"]:
944944
"""List reservations by Azure subscription ID.
945945
946946
:return: An iterator like instance of Reservation
@@ -1919,7 +1919,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-
19191919
return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
19201920

19211921
@distributed_trace
1922-
def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> AsyncIterable["_models.StoragePool"]:
1922+
def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> AsyncItemPaged["_models.StoragePool"]:
19231923
"""List storage pools by resource group.
19241924
19251925
:param resource_group_name: The name of the resource group. The name is case insensitive.
@@ -2008,7 +2008,7 @@ async def get_next(next_link=None):
20082008
return AsyncItemPaged(get_next, extract_data)
20092009

20102010
@distributed_trace
2011-
def list_by_subscription(self, **kwargs: Any) -> AsyncIterable["_models.StoragePool"]:
2011+
def list_by_subscription(self, **kwargs: Any) -> AsyncItemPaged["_models.StoragePool"]:
20122012
"""List storage pools by Azure subscription ID.
20132013
20142014
:return: An iterator like instance of StoragePool
@@ -3195,7 +3195,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-
31953195
@distributed_trace
31963196
def list_by_storage_pool(
31973197
self, resource_group_name: str, storage_pool_name: str, **kwargs: Any
3198-
) -> AsyncIterable["_models.AvsStorageContainer"]:
3198+
) -> AsyncItemPaged["_models.AvsStorageContainer"]:
31993199
"""List AVS storage containers by storage pool.
32003200
32013201
:param resource_group_name: The name of the resource group. The name is case insensitive.
@@ -3788,7 +3788,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-
37883788
@distributed_trace
37893789
def list_by_avs_storage_container(
37903790
self, resource_group_name: str, storage_pool_name: str, storage_container_name: str, **kwargs: Any
3791-
) -> AsyncIterable["_models.AvsStorageContainerVolume"]:
3791+
) -> AsyncItemPaged["_models.AvsStorageContainerVolume"]:
37923792
"""List volumes in an AVS storage container.
37933793
37943794
:param resource_group_name: The name of the resource group. The name is case insensitive.
@@ -4341,7 +4341,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-
43414341
@distributed_trace
43424342
def list_by_storage_pool(
43434343
self, resource_group_name: str, storage_pool_name: str, **kwargs: Any
4344-
) -> AsyncIterable["_models.AvsVm"]:
4344+
) -> AsyncItemPaged["_models.AvsVm"]:
43454345
"""List AVS VMs by storage pool.
43464346
43474347
:param resource_group_name: The name of the resource group. The name is case insensitive.
@@ -4912,7 +4912,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-
49124912
@distributed_trace
49134913
def list_by_avs_vm(
49144914
self, resource_group_name: str, storage_pool_name: str, avs_vm_id: str, **kwargs: Any
4915-
) -> AsyncIterable["_models.AvsVmVolume"]:
4915+
) -> AsyncItemPaged["_models.AvsVmVolume"]:
49164916
"""List volumes in an AVS VM.
49174917
49184918
:param resource_group_name: The name of the resource group. The name is case insensitive.

0 commit comments

Comments
 (0)