ServiceTaskSpecResourcesReservation class
Constructors
-
ServiceTaskSpecResourcesReservation({Input<
ServiceTaskSpecResourcesReservationGenericResources?> ? genericResources, Input<int?> ? memoryBytes, Input<int?> ? nanoCpus}) -
Creates a new ServiceTaskSpecResourcesReservation.
genericResourcesUser-defined resources can be either Integer resources (e.g,SSD=3) or String resources (e.g, GPU=UUID1)memoryBytesThe amount of memory in bytes the container allocatesnanoCpusCPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least1000000const -
ServiceTaskSpecResourcesReservation.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
genericResources
→ Input<
ServiceTaskSpecResourcesReservationGenericResources?> ? -
User-defined resources can be either Integer resources (e.g,
SSD=3) or String resources (e.g, GPU=UUID1)final - hashCode → int
-
The hash code for this object.
no setterinherited
-
memoryBytes
→ Input<
int?> ? -
The amount of memory in bytes the container allocates
final
-
nanoCpus
→ Input<
int?> ? -
CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least
1000000final - 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