Compute Engine v1 API - Class LicenseResourceCommitment (2.5.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
Int64

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
Boolean

HasCoresPerLicense

public bool HasCoresPerLicense { get; }

Gets whether the "cores_per_license" field is set

Property Value
TypeDescription
Boolean

HasLicense

public bool HasLicense { get; }

Gets whether the "license" field is set

Property Value
TypeDescription
Boolean

License

public string License { get; set; }

Any applicable license URI.

Property Value
TypeDescription
String