Compute Engine v1 API - Class LicenseResourceCommitment (3.1.0)

public sealed class LicenseResourceCommitment : IMessage<LicenseResourceCommitment>, IEquatable<LicenseResourceCommitment>, IDeepCloneable<LicenseResourceCommitment>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class LicenseResourceCommitment.

Commitment for a particular license resource.

Inheritance

object > LicenseResourceCommitment

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

LicenseResourceCommitment()

public LicenseResourceCommitment()

LicenseResourceCommitment(LicenseResourceCommitment)

public LicenseResourceCommitment(LicenseResourceCommitment other)
Parameter
Name Description
other LicenseResourceCommitment

Properties

Amount

public long Amount { get; set; }

The number of licenses purchased.

Property Value
Type Description
long

CoresPerLicense

public string CoresPerLicense { get; set; }

Specifies the core range of the instance for which this license applies.

Property Value
Type Description
string

HasAmount

public bool HasAmount { get; }

Gets whether the "amount" field is set

Property Value
Type Description
bool

HasCoresPerLicense

public bool HasCoresPerLicense { get; }

Gets whether the "cores_per_license" field is set

Property Value
Type Description
bool

HasLicense

public bool HasLicense { get; }

Gets whether the "license" field is set

Property Value
Type Description
bool

License

public string License { get; set; }

Any applicable license URI.

Property Value
Type Description
string