
com.pulumi.azurenative.servicefabric.kotlin.inputs.ApplicationHealthPolicyArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.servicefabric.kotlin.inputs
import com.pulumi.azurenative.servicefabric.inputs.ApplicationHealthPolicyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Defines a health policy used to evaluate the health of an application or one of its children entities.
* @property considerWarningAsError Indicates whether warnings are treated with the same severity as errors.
* @property defaultServiceTypeHealthPolicy The health policy used by default to evaluate the health of a service type.
* @property maxPercentUnhealthyDeployedApplications The maximum allowed percentage of unhealthy deployed applications. Allowed values are Byte values from zero to 100.
* The percentage represents the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error.
* This is calculated by dividing the number of unhealthy deployed applications over the number of nodes where the application is currently deployed on in the cluster.
* The computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.
* @property serviceTypeHealthPolicyMap The map with service type health policy per service type name. The map is empty by default.
*/
public data class ApplicationHealthPolicyArgs(
public val considerWarningAsError: Output,
public val defaultServiceTypeHealthPolicy: Output? = null,
public val maxPercentUnhealthyDeployedApplications: Output,
public val serviceTypeHealthPolicyMap: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy