Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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,34 @@
# Release History

## 2.1.0b5 (2025-11-10)

### Features Added

- Model `ServiceFabricManagedClustersManagementClient` added parameter `cloud_setting` in method `__init__`
- Added model `ApplicationFetchHealthRequest`
- Added enum `HealthFilter`
- Added model `RestartDeployedCodePackageRequest`
- Added enum `RestartKind`
- Added model `RestartReplicaRequest`
- Added model `RuntimeApplicationHealthPolicy`
- Added enum `RuntimeFailureAction`
- Added enum `RuntimeRollingUpgradeMode`
- Added model `RuntimeRollingUpgradeUpdateMonitoringPolicy`
- Added model `RuntimeServiceTypeHealthPolicy`
- Added model `RuntimeUpdateApplicationUpgradeParameters`
- Added enum `RuntimeUpgradeKind`
- Model `ApplicationsOperations` added method `begin_fetch_health`
- Model `ApplicationsOperations` added method `begin_restart_deployed_code_package`
- Model `ApplicationsOperations` added method `begin_update`
- Model `ApplicationsOperations` added method `begin_update_upgrade`
- Model `ManagedClustersOperations` added method `begin_update`
- Model `ServicesOperations` added method `begin_restart_replica`

### Breaking Changes

- Deleted or renamed method `ApplicationsOperations.update`
- Deleted or renamed method `ManagedClustersOperations.update`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is rename breaking.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@msyyc, updated, please help review.


## 2.1.0b4 (2025-08-14)

### Features Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
recursive-include tests *.py *.json
recursive-include samples *.py *.md
include *.md
include azure/__init__.py
include azure/mgmt/__init__.py
include LICENSE
include azure/mgmt/servicefabricmanagedclusters/py.typed
recursive-include tests *.py
recursive-include samples *.py *.md
include azure/__init__.py
include azure/mgmt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"apiVersion": "2025-06-01-preview",
"commit": "ba99beec358a40ee08dae7f12f6a989aad6ce6d1",
"apiVersion": "2025-10-01-preview",
"commit": "833aeb9992144f6e04d99de1316a7f37a001ee94",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/servicefabricmanagedclusters/ServiceFabricManagedClusters.Management",
"emitterVersion": "0.48.1"
"typespec_src": "specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters",
"emitterVersion": "0.53.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"azure.mgmt.servicefabricmanagedclusters.models.AdditionalNetworkInterfaceConfiguration": "Microsoft.ServiceFabric.AdditionalNetworkInterfaceConfiguration",
"azure.mgmt.servicefabricmanagedclusters.models.ScalingMechanism": "Microsoft.ServiceFabric.ScalingMechanism",
"azure.mgmt.servicefabricmanagedclusters.models.AddRemoveIncrementalNamedPartitionScalingMechanism": "Microsoft.ServiceFabric.AddRemoveIncrementalNamedPartitionScalingMechanism",
"azure.mgmt.servicefabricmanagedclusters.models.ApplicationFetchHealthRequest": "Microsoft.ServiceFabric.ApplicationFetchHealthRequest",
"azure.mgmt.servicefabricmanagedclusters.models.ApplicationHealthPolicy": "Microsoft.ServiceFabric.ApplicationHealthPolicy",
"azure.mgmt.servicefabricmanagedclusters.models.Resource": "Azure.ResourceManager.CommonTypes.Resource",
"azure.mgmt.servicefabricmanagedclusters.models.ProxyResource": "Azure.ResourceManager.CommonTypes.ProxyResource",
Expand All @@ -17,6 +18,7 @@
"azure.mgmt.servicefabricmanagedclusters.models.ApplicationTypeVersionsCleanupPolicy": "Microsoft.ServiceFabric.ApplicationTypeVersionsCleanupPolicy",
"azure.mgmt.servicefabricmanagedclusters.models.ApplicationTypeVersionUpdateParameters": "Microsoft.ServiceFabric.ApplicationTypeVersionUpdateParameters",
"azure.mgmt.servicefabricmanagedclusters.models.ApplicationUpdateParameters": "Microsoft.ServiceFabric.ApplicationUpdateParameters",
"azure.mgmt.servicefabricmanagedclusters.models.ApplicationUpdateParametersProperties": "Microsoft.ServiceFabric.ApplicationUpdateParametersProperties",
"azure.mgmt.servicefabricmanagedclusters.models.ApplicationUpgradePolicy": "Microsoft.ServiceFabric.ApplicationUpgradePolicy",
"azure.mgmt.servicefabricmanagedclusters.models.ApplicationUserAssignedIdentity": "Microsoft.ServiceFabric.ApplicationUserAssignedIdentity",
"azure.mgmt.servicefabricmanagedclusters.models.AvailableOperationDisplay": "Microsoft.ServiceFabric.AvailableOperationDisplay",
Expand Down Expand Up @@ -72,8 +74,14 @@
"azure.mgmt.servicefabricmanagedclusters.models.OperationResult": "Microsoft.ServiceFabric.OperationResult",
"azure.mgmt.servicefabricmanagedclusters.models.PartitionInstanceCountScaleMechanism": "Microsoft.ServiceFabric.PartitionInstanceCountScaleMechanism",
"azure.mgmt.servicefabricmanagedclusters.models.ResourceAzStatus": "Microsoft.ServiceFabric.ResourceAzStatus",
"azure.mgmt.servicefabricmanagedclusters.models.RestartDeployedCodePackageRequest": "Microsoft.ServiceFabric.RestartDeployedCodePackageRequest",
"azure.mgmt.servicefabricmanagedclusters.models.RestartReplicaRequest": "Microsoft.ServiceFabric.RestartReplicaRequest",
"azure.mgmt.servicefabricmanagedclusters.models.RollingUpgradeMonitoringPolicy": "Microsoft.ServiceFabric.RollingUpgradeMonitoringPolicy",
"azure.mgmt.servicefabricmanagedclusters.models.RuntimeApplicationHealthPolicy": "Microsoft.ServiceFabric.RuntimeApplicationHealthPolicy",
"azure.mgmt.servicefabricmanagedclusters.models.RuntimeResumeApplicationUpgradeParameters": "Microsoft.ServiceFabric.RuntimeResumeApplicationUpgradeParameters",
"azure.mgmt.servicefabricmanagedclusters.models.RuntimeRollingUpgradeUpdateMonitoringPolicy": "Microsoft.ServiceFabric.RuntimeRollingUpgradeUpdateMonitoringPolicy",
"azure.mgmt.servicefabricmanagedclusters.models.RuntimeServiceTypeHealthPolicy": "Microsoft.ServiceFabric.RuntimeServiceTypeHealthPolicy",
"azure.mgmt.servicefabricmanagedclusters.models.RuntimeUpdateApplicationUpgradeParameters": "Microsoft.ServiceFabric.RuntimeUpdateApplicationUpgradeParameters",
"azure.mgmt.servicefabricmanagedclusters.models.ScalingPolicy": "Microsoft.ServiceFabric.ScalingPolicy",
"azure.mgmt.servicefabricmanagedclusters.models.ServiceCorrelation": "Microsoft.ServiceFabric.ServiceCorrelation",
"azure.mgmt.servicefabricmanagedclusters.models.ServiceEndpoint": "Microsoft.ServiceFabric.ServiceEndpoint",
Expand Down Expand Up @@ -114,6 +122,10 @@
"azure.mgmt.servicefabricmanagedclusters.models.FailureAction": "Microsoft.ServiceFabric.FailureAction",
"azure.mgmt.servicefabricmanagedclusters.models.RollingUpgradeMode": "Microsoft.ServiceFabric.RollingUpgradeMode",
"azure.mgmt.servicefabricmanagedclusters.models.ManagedIdentityType": "Microsoft.ServiceFabric.ManagedIdentityType",
"azure.mgmt.servicefabricmanagedclusters.models.RuntimeUpgradeKind": "Microsoft.ServiceFabric.RuntimeUpgradeKind",
"azure.mgmt.servicefabricmanagedclusters.models.RuntimeRollingUpgradeMode": "Microsoft.ServiceFabric.RuntimeRollingUpgradeMode",
"azure.mgmt.servicefabricmanagedclusters.models.RuntimeFailureAction": "Microsoft.ServiceFabric.RuntimeFailureAction",
"azure.mgmt.servicefabricmanagedclusters.models.HealthFilter": "Microsoft.ServiceFabric.HealthFilter",
"azure.mgmt.servicefabricmanagedclusters.models.ServiceCorrelationScheme": "Microsoft.ServiceFabric.ServiceCorrelationScheme",
"azure.mgmt.servicefabricmanagedclusters.models.ServiceLoadMetricWeight": "Microsoft.ServiceFabric.ServiceLoadMetricWeight",
"azure.mgmt.servicefabricmanagedclusters.models.ServicePlacementPolicyType": "Microsoft.ServiceFabric.ServicePlacementPolicyType",
Expand All @@ -123,6 +135,7 @@
"azure.mgmt.servicefabricmanagedclusters.models.ServiceKind": "Microsoft.ServiceFabric.ServiceKind",
"azure.mgmt.servicefabricmanagedclusters.models.PartitionScheme": "Microsoft.ServiceFabric.PartitionScheme",
"azure.mgmt.servicefabricmanagedclusters.models.ServicePackageActivationMode": "Microsoft.ServiceFabric.ServicePackageActivationMode",
"azure.mgmt.servicefabricmanagedclusters.models.RestartKind": "Microsoft.ServiceFabric.RestartKind",
"azure.mgmt.servicefabricmanagedclusters.models.OsType": "Microsoft.ServiceFabric.OsType",
"azure.mgmt.servicefabricmanagedclusters.models.ManagedClusterVersionEnvironment": "Microsoft.ServiceFabric.ManagedClusterVersionEnvironment",
"azure.mgmt.servicefabricmanagedclusters.models.ClusterState": "Microsoft.ServiceFabric.ClusterState",
Expand Down Expand Up @@ -160,8 +173,8 @@
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ApplicationsOperations.get": "Microsoft.ServiceFabric.Applications.get",
"azure.mgmt.servicefabricmanagedclusters.operations.ApplicationsOperations.begin_create_or_update": "Microsoft.ServiceFabric.Applications.createOrUpdate",
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ApplicationsOperations.begin_create_or_update": "Microsoft.ServiceFabric.Applications.createOrUpdate",
"azure.mgmt.servicefabricmanagedclusters.operations.ApplicationsOperations.update": "Microsoft.ServiceFabric.Applications.update",
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ApplicationsOperations.update": "Microsoft.ServiceFabric.Applications.update",
"azure.mgmt.servicefabricmanagedclusters.operations.ApplicationsOperations.begin_update": "Microsoft.ServiceFabric.Applications.update",
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ApplicationsOperations.begin_update": "Microsoft.ServiceFabric.Applications.update",
"azure.mgmt.servicefabricmanagedclusters.operations.ApplicationsOperations.begin_delete": "Microsoft.ServiceFabric.Applications.delete",
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ApplicationsOperations.begin_delete": "Microsoft.ServiceFabric.Applications.delete",
"azure.mgmt.servicefabricmanagedclusters.operations.ApplicationsOperations.list": "Microsoft.ServiceFabric.Applications.list",
Expand All @@ -172,6 +185,12 @@
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ApplicationsOperations.begin_resume_upgrade": "Microsoft.ServiceFabric.Applications.resumeUpgrade",
"azure.mgmt.servicefabricmanagedclusters.operations.ApplicationsOperations.begin_start_rollback": "Microsoft.ServiceFabric.Applications.startRollback",
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ApplicationsOperations.begin_start_rollback": "Microsoft.ServiceFabric.Applications.startRollback",
"azure.mgmt.servicefabricmanagedclusters.operations.ApplicationsOperations.begin_update_upgrade": "Microsoft.ServiceFabric.Applications.updateUpgrade",
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ApplicationsOperations.begin_update_upgrade": "Microsoft.ServiceFabric.Applications.updateUpgrade",
"azure.mgmt.servicefabricmanagedclusters.operations.ApplicationsOperations.begin_fetch_health": "Microsoft.ServiceFabric.Applications.fetchHealth",
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ApplicationsOperations.begin_fetch_health": "Microsoft.ServiceFabric.Applications.fetchHealth",
"azure.mgmt.servicefabricmanagedclusters.operations.ApplicationsOperations.begin_restart_deployed_code_package": "Microsoft.ServiceFabric.Applications.restartDeployedCodePackage",
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ApplicationsOperations.begin_restart_deployed_code_package": "Microsoft.ServiceFabric.Applications.restartDeployedCodePackage",
"azure.mgmt.servicefabricmanagedclusters.operations.ApplicationTypesOperations.get": "Microsoft.ServiceFabric.ApplicationTypes.get",
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ApplicationTypesOperations.get": "Microsoft.ServiceFabric.ApplicationTypes.get",
"azure.mgmt.servicefabricmanagedclusters.operations.ApplicationTypesOperations.create_or_update": "Microsoft.ServiceFabric.ApplicationTypes.createOrUpdate",
Expand Down Expand Up @@ -202,6 +221,8 @@
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ServicesOperations.begin_delete": "Microsoft.ServiceFabric.Services.delete",
"azure.mgmt.servicefabricmanagedclusters.operations.ServicesOperations.list_by_applications": "Microsoft.ServiceFabric.Services.listByApplications",
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ServicesOperations.list_by_applications": "Microsoft.ServiceFabric.Services.listByApplications",
"azure.mgmt.servicefabricmanagedclusters.operations.ServicesOperations.begin_restart_replica": "Microsoft.ServiceFabric.Services.restartReplica",
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ServicesOperations.begin_restart_replica": "Microsoft.ServiceFabric.Services.restartReplica",
"azure.mgmt.servicefabricmanagedclusters.operations.ManagedClusterVersionOperations.get": "Microsoft.ServiceFabric.ManagedClusterVersion.get",
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ManagedClusterVersionOperations.get": "Microsoft.ServiceFabric.ManagedClusterVersion.get",
"azure.mgmt.servicefabricmanagedclusters.operations.ManagedClusterVersionOperations.list": "Microsoft.ServiceFabric.ManagedClusterVersion.list",
Expand All @@ -218,8 +239,8 @@
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ManagedClustersOperations.get": "Microsoft.ServiceFabric.ManagedClusters.get",
"azure.mgmt.servicefabricmanagedclusters.operations.ManagedClustersOperations.begin_create_or_update": "Microsoft.ServiceFabric.ManagedClusters.createOrUpdate",
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ManagedClustersOperations.begin_create_or_update": "Microsoft.ServiceFabric.ManagedClusters.createOrUpdate",
"azure.mgmt.servicefabricmanagedclusters.operations.ManagedClustersOperations.update": "Microsoft.ServiceFabric.ManagedClusters.update",
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ManagedClustersOperations.update": "Microsoft.ServiceFabric.ManagedClusters.update",
"azure.mgmt.servicefabricmanagedclusters.operations.ManagedClustersOperations.begin_update": "Microsoft.ServiceFabric.ManagedClusters.update",
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ManagedClustersOperations.begin_update": "Microsoft.ServiceFabric.ManagedClusters.update",
"azure.mgmt.servicefabricmanagedclusters.operations.ManagedClustersOperations.begin_delete": "Microsoft.ServiceFabric.ManagedClusters.delete",
"azure.mgmt.servicefabricmanagedclusters.aio.operations.ManagedClustersOperations.begin_delete": "Microsoft.ServiceFabric.ManagedClusters.delete",
"azure.mgmt.servicefabricmanagedclusters.operations.ManagedClustersOperations.list_by_resource_group": "Microsoft.ServiceFabric.ManagedClusters.listByResourceGroup",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
)

if TYPE_CHECKING:
from azure.core import AzureClouds
from azure.core.credentials import TokenCredential


Expand Down Expand Up @@ -92,19 +93,28 @@ class ServiceFabricManagedClustersManagementClient: # pylint: disable=too-many-
:type subscription_id: str
:param base_url: Service host. Default value is None.
:type base_url: str
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
:paramtype cloud_setting: ~azure.core.AzureClouds
:keyword api_version: The API version to use for this operation. Default value is
"2025-06-01-preview". Note that overriding this default value may result in unsupported
"2025-10-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
Retry-After header is present.
"""

def __init__(
self, credential: "TokenCredential", subscription_id: str, base_url: Optional[str] = None, **kwargs: Any
self,
credential: "TokenCredential",
subscription_id: str,
base_url: Optional[str] = None,
*,
cloud_setting: Optional["AzureClouds"] = None,
**kwargs: Any
) -> None:
_endpoint = "{endpoint}"
_cloud = kwargs.pop("cloud_setting", None) or settings.current.azure_cloud # type: ignore
_cloud = cloud_setting or settings.current.azure_cloud # type: ignore
_endpoints = get_arm_endpoints(_cloud)
if not base_url:
base_url = _endpoints["resource_manager"]
Expand All @@ -113,6 +123,7 @@ def __init__(
credential=credential,
subscription_id=subscription_id,
base_url=cast(str, base_url),
cloud_setting=cloud_setting,
credential_scopes=credential_scopes,
**kwargs
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from typing import Any, TYPE_CHECKING
from typing import Any, Optional, TYPE_CHECKING

from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMChallengeAuthenticationPolicy, ARMHttpLoggingPolicy

from ._version import VERSION

if TYPE_CHECKING:
from azure.core import AzureClouds
from azure.core.credentials import TokenCredential


Expand All @@ -30,8 +31,11 @@ class ServiceFabricManagedClustersManagementClientConfiguration: # pylint: disa
:type subscription_id: str
:param base_url: Service host. Default value is "https://management.azure.com".
:type base_url: str
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
:type cloud_setting: ~azure.core.AzureClouds
:keyword api_version: The API version to use for this operation. Default value is
"2025-06-01-preview". Note that overriding this default value may result in unsupported
"2025-10-01-preview". Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
"""
Expand All @@ -41,9 +45,10 @@ def __init__(
credential: "TokenCredential",
subscription_id: str,
base_url: str = "https://management.azure.com",
cloud_setting: Optional["AzureClouds"] = None,
**kwargs: Any
) -> None:
api_version: str = kwargs.pop("api_version", "2025-06-01-preview")
api_version: str = kwargs.pop("api_version", "2025-10-01-preview")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand All @@ -53,6 +58,7 @@ def __init__(
self.credential = credential
self.subscription_id = subscription_id
self.base_url = base_url
self.cloud_setting = cloud_setting
self.api_version = api_version
self.credential_scopes = kwargs.pop("credential_scopes", ["https://management.azure.com/.default"])
kwargs.setdefault("sdk_moniker", "mgmt-servicefabricmanagedclusters/{}".format(VERSION))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
"""
from typing import List

__all__: List[str] = [] # Add all objects you want publicly available to users at this package level

__all__: list[str] = [] # Add all objects you want publicly available to users at this package level


def patch_sdk():
Expand Down
Loading
Loading