ResourceCommitmentComputeV1 constructor
const
ResourceCommitmentComputeV1({
- Input<
String> ? acceleratorType, - Input<
String> ? amount, - Input<
ResourceCommitmentTypeComputeV1> ? type,
Creates a new ResourceCommitmentComputeV1.
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.
Implementation
const ResourceCommitmentComputeV1({
this.acceleratorType,
this.amount,
this.type,
});