ClusterUpgradeDeltaHealthPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. servicefabric. models. ClusterUpgradeDeltaHealthPolicy
- com.
public final class ClusterUpgradeDeltaHealthPolicy
Describes the delta health policies for the cluster upgrade.
Constructor Summary
Constructor | Description |
---|---|
ClusterUpgradeDeltaHealthPolicy() |
Creates an instance of Cluster |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Application |
applicationDeltaHealthPolicies()
Get the application |
int |
maxPercentDeltaUnhealthyApplications()
Get the max |
int |
maxPercentDeltaUnhealthyNodes()
Get the max |
int |
maxPercentUpgradeDomainDeltaUnhealthyNodes()
Get the max |
void |
validate()
Validates the instance. |
Cluster |
withApplicationDeltaHealthPolicies(Map<String,ApplicationDeltaHealthPolicy> applicationDeltaHealthPolicies)
Set the application |
Cluster |
withMaxPercentDeltaUnhealthyApplications(int maxPercentDeltaUnhealthyApplications)
Set the max |
Cluster |
withMaxPercentDeltaUnhealthyNodes(int maxPercentDeltaUnhealthyNodes)
Set the max |
Cluster |
withMaxPercentUpgradeDomainDeltaUnhealthyNodes(int maxPercentUpgradeDomainDeltaUnhealthyNodes)
Set the max |
Methods inherited from java.lang.Object
Constructor Details
ClusterUpgradeDeltaHealthPolicy
public ClusterUpgradeDeltaHealthPolicy()
Creates an instance of ClusterUpgradeDeltaHealthPolicy class.
Method Details
applicationDeltaHealthPolicies
public Map
Get the applicationDeltaHealthPolicies property: Defines the application delta health policy map used to evaluate the health of an application or one of its child entities when upgrading the cluster.
Returns:
maxPercentDeltaUnhealthyApplications
public int maxPercentDeltaUnhealthyApplications()
Get the maxPercentDeltaUnhealthyApplications property: The maximum allowed percentage of applications health degradation allowed during cluster upgrades. The delta is measured between the state of the applications at the beginning of upgrade and the state of the applications at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits. System services are not included in this.
Returns:
maxPercentDeltaUnhealthyNodes
public int maxPercentDeltaUnhealthyNodes()
Get the maxPercentDeltaUnhealthyNodes property: The maximum allowed percentage of nodes health degradation allowed during cluster upgrades. The delta is measured between the state of the nodes at the beginning of upgrade and the state of the nodes at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits.
Returns:
maxPercentUpgradeDomainDeltaUnhealthyNodes
public int maxPercentUpgradeDomainDeltaUnhealthyNodes()
Get the maxPercentUpgradeDomainDeltaUnhealthyNodes property: The maximum allowed percentage of upgrade domain nodes health degradation allowed during cluster upgrades. The delta is measured between the state of the upgrade domain nodes at the beginning of upgrade and the state of the upgrade domain nodes at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion for all completed upgrade domains to make sure the state of the upgrade domains is within tolerated limits.
Returns:
validate
public void validate()
Validates the instance.
withApplicationDeltaHealthPolicies
public ClusterUpgradeDeltaHealthPolicy withApplicationDeltaHealthPolicies(Map
Set the applicationDeltaHealthPolicies property: Defines the application delta health policy map used to evaluate the health of an application or one of its child entities when upgrading the cluster.
Parameters:
Returns:
withMaxPercentDeltaUnhealthyApplications
public ClusterUpgradeDeltaHealthPolicy withMaxPercentDeltaUnhealthyApplications(int maxPercentDeltaUnhealthyApplications)
Set the maxPercentDeltaUnhealthyApplications property: The maximum allowed percentage of applications health degradation allowed during cluster upgrades. The delta is measured between the state of the applications at the beginning of upgrade and the state of the applications at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits. System services are not included in this.
Parameters:
Returns:
withMaxPercentDeltaUnhealthyNodes
public ClusterUpgradeDeltaHealthPolicy withMaxPercentDeltaUnhealthyNodes(int maxPercentDeltaUnhealthyNodes)
Set the maxPercentDeltaUnhealthyNodes property: The maximum allowed percentage of nodes health degradation allowed during cluster upgrades. The delta is measured between the state of the nodes at the beginning of upgrade and the state of the nodes at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits.
Parameters:
Returns:
withMaxPercentUpgradeDomainDeltaUnhealthyNodes
public ClusterUpgradeDeltaHealthPolicy withMaxPercentUpgradeDomainDeltaUnhealthyNodes(int maxPercentUpgradeDomainDeltaUnhealthyNodes)
Set the maxPercentUpgradeDomainDeltaUnhealthyNodes property: The maximum allowed percentage of upgrade domain nodes health degradation allowed during cluster upgrades. The delta is measured between the state of the upgrade domain nodes at the beginning of upgrade and the state of the upgrade domain nodes at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion for all completed upgrade domains to make sure the state of the upgrade domains is within tolerated limits.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for