ResourceCommitmentResponse class
Commitment for a particular resource (a Commitment is composed of one or more of these).
Constructors
-
ResourceCommitmentResponse({required Input<
String> acceleratorType, required Input<String> amount, required Input<String> type}) -
Creates a new ResourceCommitmentResponse.
acceleratorTypeName of the accelerator type resource. Applicable only when the type is ACCELERATOR.amountThe 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.typeType of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.const -
ResourceCommitmentResponse.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<
String> -
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