ResourceCommitment class

Commitment for a particular resource (a Commitment is composed of one or more of these).

Constructors

ResourceCommitment({Input<String>? acceleratorType, Input<String>? amount, Input<ResourceCommitmentType>? type})
Creates a new ResourceCommitment. acceleratorType Name of the accelerator type resource. Applicable only when the type is ACCELERATOR. amount The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU. type Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
const
ResourceCommitment.fromMap(Map<String, dynamic> map)
factory

Properties

acceleratorType → Input<String>?
Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
final
amount → Input<String>?
The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Input<ResourceCommitmentType>?
Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
final

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