Class VmResourceBasedCud
Specifies a resource-based committed use discount (CUD).
Implements
Inherited Members
Namespace: Google.Apis.Cloudbilling.v1beta.Data
Assembly: Google.Apis.Cloudbilling.v1beta.dll
Syntax
public class VmResourceBasedCud : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GuestAccelerator
Guest accelerator, known as GPU.
Declaration
[JsonProperty("guestAccelerator")]
public virtual GuestAccelerator GuestAccelerator { get; set; }
Property Value
Type | Description |
---|---|
GuestAccelerator |
MachineSeries
The machine series for CUD. For example: "n1" for general purpose N1 machine type commitments. "n2" for general purpose N2 machine type commitments. "e2" for general purpose E2 machine type commitments. "n2d" for general purpose N2D machine type commitments. "t2d" for general purpose T2D machine type commitments. "c2"/"c2d" for compute-optimized commitments. "m1"/"m2" for the memory-optimized commitments. "a2' for the accelerator-optimized commitments.
Declaration
[JsonProperty("machineSeries")]
public virtual string MachineSeries { get; set; }
Property Value
Type | Description |
---|---|
string |
MemorySizeGb
Memory size of the VM in GB (2^30 bytes). Must be an increment of 0.25 (256 MB).
Declaration
[JsonProperty("memorySizeGb")]
public virtual double? MemorySizeGb { get; set; }
Property Value
Type | Description |
---|---|
double? |
Plan
Commitment usage plan.
Declaration
[JsonProperty("plan")]
public virtual string Plan { get; set; }
Property Value
Type | Description |
---|---|
string |
Region
The region where the VM runs. For example: "us-central1"
Declaration
[JsonProperty("region")]
public virtual string Region { get; set; }
Property Value
Type | Description |
---|---|
string |
VirtualCpuCount
The number of vCPUs. The number of vCPUs must be an integer of 0 or more and can be even or odd.
Declaration
[JsonProperty("virtualCpuCount")]
public virtual long? VirtualCpuCount { get; set; }
Property Value
Type | Description |
---|---|
long? |