Skip to content

[AutoRelease] t2-servicefabricmanagedclusters-2025-08-12-53724(can only be merged by SDK owner) #42475

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Release History

## 2.1.0b4 (2025-08-14)

### Features Added

- Model `ManagedClusterProperties` added property `enable_outbound_only_node_types`
- Model `NodeTypeProperties` added property `is_outbound_only`
- Model `ServiceEndpoint` added property `network_identifier`

## 2.1.0b3 (2025-06-26)

### Features Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"apiVersion": "2025-03-01-preview",
"commit": "ec896c71d24c943806bf4e5c8f9779aecdd9ca5a",
"apiVersion": "2025-06-01-preview",
"commit": "ba99beec358a40ee08dae7f12f6a989aad6ce6d1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/servicefabricmanagedclusters/ServiceFabricManagedClusters.Management",
"emitterVersion": "0.45.3"
"emitterVersion": "0.48.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class ServiceFabricManagedClustersManagementClient: # pylint: disable=too-many-
:param base_url: Service host. Default value is None.
:type base_url: str
:keyword api_version: The API version to use for this operation. Default value is
"2025-03-01-preview". Note that overriding this default value may result in unsupported
"2025-06-01-preview". Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ServiceFabricManagedClustersManagementClientConfiguration: # pylint: disa
:param base_url: Service host. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: The API version to use for this operation. Default value is
"2025-03-01-preview". Note that overriding this default value may result in unsupported
"2025-06-01-preview". Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
"""
Expand All @@ -43,7 +43,7 @@ def __init__(
base_url: str = "https://management.azure.com",
**kwargs: Any
) -> None:
api_version: str = kwargs.pop("api_version", "2025-03-01-preview")
api_version: str = kwargs.pop("api_version", "2025-06-01-preview")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
from azure.core import CaseInsensitiveEnumMeta
from azure.core.pipeline import PipelineResponse
from azure.core.serialization import _Null
from azure.core.rest import HttpResponse

_LOGGER = logging.getLogger(__name__)

Expand Down Expand Up @@ -940,13 +941,13 @@ def _deserialize(

def _failsafe_deserialize(
deserializer: typing.Any,
value: typing.Any,
response: HttpResponse,
module: typing.Optional[str] = None,
rf: typing.Optional["_RestField"] = None,
format: typing.Optional[str] = None,
) -> typing.Any:
try:
return _deserialize(deserializer, value, module, rf, format)
return _deserialize(deserializer, response.json(), module, rf, format)
except DeserializationError:
_LOGGER.warning(
"Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True
Expand All @@ -956,10 +957,10 @@ def _failsafe_deserialize(

def _failsafe_deserialize_xml(
deserializer: typing.Any,
value: typing.Any,
response: HttpResponse,
) -> typing.Any:
try:
return _deserialize_xml(deserializer, value)
return _deserialize_xml(deserializer, response.text())
except DeserializationError:
_LOGGER.warning(
"Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "2.1.0b3"
VERSION = "2.1.0b4"
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class ServiceFabricManagedClustersManagementClient: # pylint: disable=too-many-
:param base_url: Service host. Default value is None.
:type base_url: str
:keyword api_version: The API version to use for this operation. Default value is
"2025-03-01-preview". Note that overriding this default value may result in unsupported
"2025-06-01-preview". Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ServiceFabricManagedClustersManagementClientConfiguration: # pylint: disa
:param base_url: Service host. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: The API version to use for this operation. Default value is
"2025-03-01-preview". Note that overriding this default value may result in unsupported
"2025-06-01-preview". Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
"""
Expand All @@ -43,7 +43,7 @@ def __init__(
base_url: str = "https://management.azure.com",
**kwargs: Any
) -> None:
api_version: str = kwargs.pop("api_version", "2025-03-01-preview")
api_version: str = kwargs.pop("api_version", "2025-06-01-preview")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Loading