Show / Hide Table of Contents

Class License

Represents a License resource. A License represents billing and aggregate usage data for public and marketplace images. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.

Inheritance
object
License
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class License : IDirectResponseSchema

Properties

AllowedReplacementLicenses

Specifies licenseCodes of licenses that can replace this license. Note: such replacements are allowed even if removable_from_disk is false.

Declaration
[JsonProperty("allowedReplacementLicenses")]
public virtual IList<string> AllowedReplacementLicenses { get; set; }
Property Value
Type Description
IList<string>

AppendableToDisk

If true, this license can be appended to an existing disk's set of licenses.

Declaration
[JsonProperty("appendableToDisk")]
public virtual bool? AppendableToDisk { get; set; }
Property Value
Type Description
bool?

ChargesUseFee

[Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.

Declaration
[JsonProperty("chargesUseFee")]
public virtual bool? ChargesUseFee { get; set; }
Property Value
Type Description
bool?

CreationTimestamp

[Output Only] Creation timestamp in RFC3339 text format.

Declaration
[JsonProperty("creationTimestamp")]
public virtual string CreationTimestamp { get; set; }
Property Value
Type Description
string

Description

An optional textual description of the resource; provided by the client when the resource is created.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Id

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

Declaration
[JsonProperty("id")]
public virtual ulong? Id { get; set; }
Property Value
Type Description
ulong?

IncompatibleLicenses

Specifies licenseCodes of licenses that are incompatible with this license. If a license is incompatible with this license, it cannot be attached to the same disk or image.

Declaration
[JsonProperty("incompatibleLicenses")]
public virtual IList<string> IncompatibleLicenses { get; set; }
Property Value
Type Description
IList<string>

Kind

[Output Only] Type of resource. Always compute#license for licenses.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

LicenseCode

[Output Only] The unique code used to attach this license to images, snapshots, and disks.

Declaration
[JsonProperty("licenseCode")]
public virtual ulong? LicenseCode { get; set; }
Property Value
Type Description
ulong?

MinimumRetention

If set, this license will be unable to be removed or replaced once attached to a disk until the minimum_retention period has passed.

Declaration
[JsonProperty("minimumRetention")]
public virtual Duration MinimumRetention { get; set; }
Property Value
Type Description
Duration

MultiTenantOnly

If true, this license can only be used on VMs on multi tenant nodes.

Declaration
[JsonProperty("multiTenantOnly")]
public virtual bool? MultiTenantOnly { get; set; }
Property Value
Type Description
bool?

Name

Name of the resource. The name must be 1-63 characters long and comply with RFC1035.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

OsLicense

If true, indicates this is an OS license. Only one OS license can be attached to a disk or image at a time.

Declaration
[JsonProperty("osLicense")]
public virtual bool? OsLicense { get; set; }
Property Value
Type Description
bool?

RemovableFromDisk

If true, this license can be removed from a disk's set of licenses, with no replacement license needed.

Declaration
[JsonProperty("removableFromDisk")]
public virtual bool? RemovableFromDisk { get; set; }
Property Value
Type Description
bool?

RequiredCoattachedLicenses

Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license. At least one license from the set must be attached to the same disk or image as this license.

Declaration
[JsonProperty("requiredCoattachedLicenses")]
public virtual IList<string> RequiredCoattachedLicenses { get; set; }
Property Value
Type Description
IList<string>

ResourceRequirements

[Input Only] Deprecated.

Declaration
[JsonProperty("resourceRequirements")]
public virtual LicenseResourceRequirements ResourceRequirements { get; set; }
Property Value
Type Description
LicenseResourceRequirements

SelfLink

[Output Only] Server-defined URL for the resource.

Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type Description
string

SelfLinkWithId

[Output Only] Server-defined URL for this resource with the resource id.

Declaration
[JsonProperty("selfLinkWithId")]
public virtual string SelfLinkWithId { get; set; }
Property Value
Type Description
string

SoleTenantOnly

If true, this license can only be used on VMs on sole tenant nodes.

Declaration
[JsonProperty("soleTenantOnly")]
public virtual bool? SoleTenantOnly { get; set; }
Property Value
Type Description
bool?

Transferable

If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.

Declaration
[JsonProperty("transferable")]
public virtual bool? Transferable { get; set; }
Property Value
Type Description
bool?

UpdateTimestamp

[Output Only] Last update timestamp in RFC3339 text format.

Declaration
[JsonProperty("updateTimestamp")]
public virtual string UpdateTimestamp { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX