Compute Engine v1 API - Class LicenseResourceCommitment (2.12.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
NameDescription
otherLicenseResourceCommitment

Properties

Amount

public long Amount { get; set; }

The number of licenses purchased.

Property Value
TypeDescription
long

CoresPerLicense

public string CoresPerLicense { get; set; }

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

Property Value
TypeDescription
string

HasAmount

public bool HasAmount { get; }

Gets whether the "amount" field is set

Property Value
TypeDescription
bool

HasCoresPerLicense

public bool HasCoresPerLicense { get; }

Gets whether the "cores_per_license" field is set

Property Value
TypeDescription
bool

HasLicense

public bool HasLicense { get; }

Gets whether the "license" field is set

Property Value
TypeDescription
bool

License

public string License { get; set; }

Any applicable license URI.

Property Value
TypeDescription
string