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

License

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

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.

interface License {
allowedReplacementLicenses?: string[];
appendableToDisk?: boolean;
chargesUseFee?: boolean;
creationTimestamp?: string;
description?: string;
id?: bigint;
incompatibleLicenses?: string[];
kind?: string;
licenseCode?: bigint;
minimumRetention?: Duration;
multiTenantOnly?: boolean;
name?: string;
osLicense?: boolean;
removableFromDisk?: boolean;
requiredCoattachedLicenses?: string[];
resourceRequirements?: LicenseResourceRequirements;
selfLink?: string;
selfLinkWithId?: string;
soleTenantOnly?: boolean;
transferable?: boolean;
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.

§
chargesUseFee?: boolean
[src]

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

§
creationTimestamp?: string
[src]

[Output Only] Creation timestamp in RFC3339 text format.

§
description?: string
[src]

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

§
id?: bigint
[src]

[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.

§
kind?: string
[src]

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

§
licenseCode?: bigint
[src]

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

§
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.

§
name?: string
[src]

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

§
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.

§
resourceRequirements?: LicenseResourceRequirements
[src]

[Input Only] Deprecated.

§
selfLinkWithId?: string
[src]

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

§
soleTenantOnly?: boolean
[src]

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

§
transferable?: boolean
[src]

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.

§
updateTimestamp?: string
[src]

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