Show / Hide Table of Contents

Class ResourceCommitment

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

Inheritance
object
ResourceCommitment
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class ResourceCommitment : IDirectResponseSchema

Properties

AcceleratorType

Name of the accelerator type or GPU resource. Specify this field only when the type of hardware resource is ACCELERATOR.

Declaration
[JsonProperty("acceleratorType")]
public virtual string AcceleratorType { get; set; }
Property Value
Type Description
string

Amount

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.

Declaration
[JsonProperty("amount")]
public virtual long? Amount { get; set; }
Property Value
Type Description
long?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Type

The type of hardware resource that you want to specify. You can specify any of the following values: - VCPU

  • MEMORY - LOCAL_SSD - ACCELERATOR Specify as a separate entry in the list for each individual resource type.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX