com.coralogix.zio.k8s.model.autoscaling.v2beta2
HPAScalingPolicy
Companion object HPAScalingPolicy
case class HPAScalingPolicy(periodSeconds: Int, type: String, value: Int) extends Product with Serializable
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
- periodSeconds
PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
- type
Type is used to specify the scaling policy.
- value
Value contains the amount of change which is permitted by the policy. It must be greater than zero
- Alphabetic
- By Inheritance
- HPAScalingPolicy
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
HPAScalingPolicy(periodSeconds: Int, type: String, value: Int)
- periodSeconds
PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
- type
Type is used to specify the scaling policy.
- value
Value contains the amount of change which is permitted by the policy. It must be greater than zero
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getPeriodSeconds: IO[K8sFailure, Int]
PeriodSeconds specifies the window of time for which the policy should hold true.
PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
This effect always succeeds, it is safe to use the field periodSeconds directly.
-
def
getType: IO[K8sFailure, String]
Type is used to specify the scaling policy.
Type is used to specify the scaling policy.
This effect always succeeds, it is safe to use the field type directly.
-
def
getValue: IO[K8sFailure, Int]
Value contains the amount of change which is permitted by the policy.
Value contains the amount of change which is permitted by the policy. It must be greater than zero
This effect always succeeds, it is safe to use the field value directly.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val periodSeconds: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val type: String
- val value: Int
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated