ClusterConfigurationUpgradeDescription Class

Describes the parameters for a standalone cluster configuration upgrade.

All required parameters must be populated in order to send to Azure.

Inheritance
ClusterConfigurationUpgradeDescription

Constructor

ClusterConfigurationUpgradeDescription(*, cluster_config: str, health_check_retry_timeout='PT0H0M0S', health_check_wait_duration_in_seconds='PT0H0M0S', health_check_stable_duration_in_seconds='PT0H0M0S', upgrade_domain_timeout_in_seconds='PT0H0M0S', upgrade_timeout_in_seconds='PT0H0M0S', max_percent_unhealthy_applications: int = 0, max_percent_unhealthy_nodes: int = 0, max_percent_delta_unhealthy_nodes: int = 0, max_percent_upgrade_domain_delta_unhealthy_nodes: int = 0, application_health_policies=None, **kwargs)

Parameters

cluster_config
str
Required

Required. The cluster configuration as a JSON string. For example, this file contains JSON describing the nodes and other properties of the cluster.

health_check_retry_timeout
<xref:timedelta>
Required

The length of time between attempts to perform health checks if the application or cluster is not healthy. Default value: "PT0H0M0S" .

health_check_wait_duration_in_seconds
<xref:timedelta>
Required

The length of time to wait after completing an upgrade domain before starting the health checks process. Default value: "PT0H0M0S" .

health_check_stable_duration_in_seconds
<xref:timedelta>
Required

The length of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. Default value: "PT0H0M0S" .

upgrade_domain_timeout_in_seconds
<xref:timedelta>
Required

The timeout for the upgrade domain. Default value: "PT0H0M0S" .

upgrade_timeout_in_seconds
<xref:timedelta>
Required

The upgrade timeout. Default value: "PT0H0M0S" .

max_percent_unhealthy_applications
int
Required

The maximum allowed percentage of unhealthy applications during the upgrade. Allowed values are integer values from zero to 100. Default value: 0 .

max_percent_unhealthy_nodes
int
Required

The maximum allowed percentage of unhealthy nodes during the upgrade. Allowed values are integer values from zero to 100. Default value: 0 .

max_percent_delta_unhealthy_nodes
int
Required

The maximum allowed percentage of delta health degradation during the upgrade. Allowed values are integer values from zero to 100. Default value: 0 .

max_percent_upgrade_domain_delta_unhealthy_nodes
int
Required

The maximum allowed percentage of upgrade domain delta health degradation during the upgrade. Allowed values are integer values from zero to 100. Default value: 0 .

application_health_policies
ApplicationHealthPolicies
Required

Defines the application health policy map used to evaluate the health of an application or one of its children entities.