Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

LicenseCode

import type { LicenseCode } from "https://googleapis.deno.dev/v1/compute:v1.ts";

Represents a License Code resource. A License Code is a unique identifier used to represent alicense resource. Caution This resource is intended for use only by third-party partners who are creatingCloud Marketplace images.

interface LicenseCode {
allowedReplacementLicenses?: string[];
appendableToDisk?: boolean;
readonly creationTimestamp?: string;
readonly description?: string;
readonly id?: bigint;
incompatibleLicenses?: string[];
readonly kind?: string;
licenseAlias?: LicenseCodeLicenseAlias[];
minimumRetention?: Duration;
multiTenantOnly?: boolean;
readonly name?: string;
osLicense?: boolean;
removableFromDisk?: boolean;
requiredCoattachedLicenses?: string[];
readonly selfLink?: string;
soleTenantOnly?: boolean;
readonly state?:
| "DISABLED"
| "ENABLED"
| "RESTRICTED"
| "STATE_UNSPECIFIED"
| "TERMINATED";
readonly transferable?: boolean;
readonly updateTimestamp?: string;
}

§Properties

§
allowedReplacementLicenses?: string[]
[src]

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

§
appendableToDisk?: boolean
[src]

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

§
readonly creationTimestamp?: string
[src]

Output only. [Output Only] Creation timestamp inRFC3339 text format.

§
readonly description?: string
[src]

Output only. [Output Only] Description of this License Code.

§
readonly id?: bigint
[src]

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

§
incompatibleLicenses?: string[]
[src]

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.

§
readonly kind?: string
[src]

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

§

[Output Only] URL and description aliases of Licenses with the same License Code.

§
minimumRetention?: Duration
[src]

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

§
multiTenantOnly?: boolean
[src]

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

§
readonly name?: string
[src]

Output only. [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer.

§
osLicense?: boolean
[src]

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

§
removableFromDisk?: boolean
[src]

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

§
requiredCoattachedLicenses?: string[]
[src]

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.

§
soleTenantOnly?: boolean
[src]

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

§
readonly state?: "DISABLED" | "ENABLED" | "RESTRICTED" | "STATE_UNSPECIFIED" | "TERMINATED"
[src]

Output only. [Output Only] Current state of this License Code.

§
readonly transferable?: boolean
[src]

Output only. [Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred.

§
readonly updateTimestamp?: string
[src]

Output only. [Output Only] Last update timestamp inRFC3339 text format.