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.
Implements
IMessage<LicenseResourceCommitment>, IEquatable<LicenseResourceCommitment>, IDeepCloneable<LicenseResourceCommitment>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
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 |
Int64 |
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 |
Boolean |
HasCoresPerLicense
public bool HasCoresPerLicense { get; }
Gets whether the "cores_per_license" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasLicense
public bool HasLicense { get; }
Gets whether the "license" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
License
public string License { get; set; }
Any applicable license URI.
Property Value | |
---|---|
Type | Description |
String |