ContainerResizePolicy class

ContainerResizePolicy represents resource resize policy for the container.

Constructors

ContainerResizePolicy({required Input<String> resourceName, required Input<String> restartPolicy})
Creates a new ContainerResizePolicy. resourceName Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. restartPolicy Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.
const
ContainerResizePolicy.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
resourceName → Input<String>
Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.
final
restartPolicy → Input<String>
Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited