com.coralogix.zio.k8s.model.autoscaling.v2beta2
MetricValueStatus
Companion object MetricValueStatus
case class MetricValueStatus(averageUtilization: Optional[Int] = Optional.Absent, averageValue: Optional[Quantity] = Optional.Absent, value: Optional[Quantity] = Optional.Absent) extends Product with Serializable
MetricValueStatus holds the current value for a metric
- averageUtilization
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
- Alphabetic
- By Inheritance
- MetricValueStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
MetricValueStatus(averageUtilization: Optional[Int] = Optional.Absent, averageValue: Optional[Quantity] = Optional.Absent, value: Optional[Quantity] = Optional.Absent)
- averageUtilization
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
Value Members
- val averageUtilization: Optional[Int]
- val averageValue: Optional[Quantity]
-
def
getAverageUtilization: IO[K8sFailure, Int]
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getAverageValue: IO[K8sFailure, Quantity]
Gets averageValue.
Gets averageValue.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getValue: IO[K8sFailure, Quantity]
Gets value.
Gets value.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val value: Optional[Quantity]