public sealed class LicenseResourceCommitment : IMessage<LicenseResourceCommitment>, IEquatable<LicenseResourceCommitment>, IDeepCloneable<LicenseResourceCommitment>, IBufferMessage, IMessageReference documentation and code samples for the Compute Engine v1 API class LicenseResourceCommitment.
Commitment for a particular license resource.
Implements
IMessageLicenseResourceCommitment, IEquatableLicenseResourceCommitment, IDeepCloneableLicenseResourceCommitment, 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 you plan to purchase.
| Property Value | |
|---|---|
| Type | Description |
long |
|
CoresPerLicense
public string CoresPerLicense { get; set; }The number of cores per license.
| 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; }The applicable license URI.
| Property Value | |
|---|---|
| Type | Description |
string |
|