ResourceCommitment
import type { ResourceCommitment } from "https://googleapis.deno.dev/v1/compute:v1.ts";
Commitment for a particular hardware resource (a commitment is composed of one or more of these).
interface ResourceCommitment {
acceleratorType?: string;
amount?: bigint;
type?:
} | "ACCELERATOR"
| "LOCAL_SSD"
| "MEMORY"
| "UNSPECIFIED"
| "VCPU";
§Properties
§
acceleratorType?: string
[src]Name of the accelerator type or GPU resource. Specify this field only when the type of hardware resource is ACCELERATOR.
§
amount?: bigint
[src]The quantity of the hardware resource that you want to commit to purchasing (in a type-dependent unit). - For vCPUs, you must specify an integer value. - For memory, you specify the amount of MB that you want. The value you specify must be a multiple of 256 MB, with up to 6.5 GB of memory per every vCPU. - For GPUs, you must specify an integer value. - For Local SSD disks, you must specify the amount in GB. The size of a single Local SSD disk is 375 GB.