Skip to content

Commit 406233d

Browse files
[AutoRelease] t2-servicefabricmanagedclusters-2025-08-12-53724(can only be merged by SDK owner) (#42475)
* code and test * update changelog --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent d6d03e5 commit 406233d

File tree

94 files changed

+704
-395
lines changed

Some content is hidden

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

94 files changed

+704
-395
lines changed

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

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

3+
## 2.1.0b4 (2025-08-14)
4+
5+
### Features Added
6+
7+
- Model `ManagedClusterProperties` added property `enable_outbound_only_node_types`
8+
- Model `NodeTypeProperties` added property `is_outbound_only`
9+
- Model `ServiceEndpoint` added property `network_identifier`
10+
311
## 2.1.0b3 (2025-06-26)
412

513
### Features Added
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"apiVersion": "2025-03-01-preview",
3-
"commit": "ec896c71d24c943806bf4e5c8f9779aecdd9ca5a",
2+
"apiVersion": "2025-06-01-preview",
3+
"commit": "ba99beec358a40ee08dae7f12f6a989aad6ce6d1",
44
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
55
"typespec_src": "specification/servicefabricmanagedclusters/ServiceFabricManagedClusters.Management",
6-
"emitterVersion": "0.45.3"
6+
"emitterVersion": "0.48.1"
77
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class ServiceFabricManagedClustersManagementClient: # pylint: disable=too-many-
9393
:param base_url: Service host. Default value is None.
9494
:type base_url: str
9595
:keyword api_version: The API version to use for this operation. Default value is
96-
"2025-03-01-preview". Note that overriding this default value may result in unsupported
96+
"2025-06-01-preview". Note that overriding this default value may result in unsupported
9797
behavior.
9898
:paramtype api_version: str
9999
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ServiceFabricManagedClustersManagementClientConfiguration: # pylint: disa
3131
:param base_url: Service host. Default value is "https://management.azure.com".
3232
:type base_url: str
3333
:keyword api_version: The API version to use for this operation. Default value is
34-
"2025-03-01-preview". Note that overriding this default value may result in unsupported
34+
"2025-06-01-preview". Note that overriding this default value may result in unsupported
3535
behavior.
3636
:paramtype api_version: str
3737
"""
@@ -43,7 +43,7 @@ def __init__(
4343
base_url: str = "https://management.azure.com",
4444
**kwargs: Any
4545
) -> None:
46-
api_version: str = kwargs.pop("api_version", "2025-03-01-preview")
46+
api_version: str = kwargs.pop("api_version", "2025-06-01-preview")
4747

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

sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/_utils/model_base.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
from azure.core import CaseInsensitiveEnumMeta
3030
from azure.core.pipeline import PipelineResponse
3131
from azure.core.serialization import _Null
32+
from azure.core.rest import HttpResponse
3233

3334
_LOGGER = logging.getLogger(__name__)
3435

@@ -940,13 +941,13 @@ def _deserialize(
940941

941942
def _failsafe_deserialize(
942943
deserializer: typing.Any,
943-
value: typing.Any,
944+
response: HttpResponse,
944945
module: typing.Optional[str] = None,
945946
rf: typing.Optional["_RestField"] = None,
946947
format: typing.Optional[str] = None,
947948
) -> typing.Any:
948949
try:
949-
return _deserialize(deserializer, value, module, rf, format)
950+
return _deserialize(deserializer, response.json(), module, rf, format)
950951
except DeserializationError:
951952
_LOGGER.warning(
952953
"Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True
@@ -956,10 +957,10 @@ def _failsafe_deserialize(
956957

957958
def _failsafe_deserialize_xml(
958959
deserializer: typing.Any,
959-
value: typing.Any,
960+
response: HttpResponse,
960961
) -> typing.Any:
961962
try:
962-
return _deserialize_xml(deserializer, value)
963+
return _deserialize_xml(deserializer, response.text())
963964
except DeserializationError:
964965
_LOGGER.warning(
965966
"Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True

sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters/_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 = "2.1.0b3"
9+
VERSION = "2.1.0b4"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class ServiceFabricManagedClustersManagementClient: # pylint: disable=too-many-
9393
:param base_url: Service host. Default value is None.
9494
:type base_url: str
9595
:keyword api_version: The API version to use for this operation. Default value is
96-
"2025-03-01-preview". Note that overriding this default value may result in unsupported
96+
"2025-06-01-preview". Note that overriding this default value may result in unsupported
9797
behavior.
9898
:paramtype api_version: str
9999
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ServiceFabricManagedClustersManagementClientConfiguration: # pylint: disa
3131
:param base_url: Service host. Default value is "https://management.azure.com".
3232
:type base_url: str
3333
:keyword api_version: The API version to use for this operation. Default value is
34-
"2025-03-01-preview". Note that overriding this default value may result in unsupported
34+
"2025-06-01-preview". Note that overriding this default value may result in unsupported
3535
behavior.
3636
:paramtype api_version: str
3737
"""
@@ -43,7 +43,7 @@ def __init__(
4343
base_url: str = "https://management.azure.com",
4444
**kwargs: Any
4545
) -> None:
46-
api_version: str = kwargs.pop("api_version", "2025-03-01-preview")
46+
api_version: str = kwargs.pop("api_version", "2025-06-01-preview")
4747

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

0 commit comments

Comments
 (0)