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

ComputeEngineTargetDefaults

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

ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project.

interface ComputeEngineTargetDefaults {
additionalLicenses?: string[];
readonly appliedLicense?: AppliedLicense;
bootConversion?: "BOOT_CONVERSION_UNSPECIFIED" | "NONE" | "BIOS_TO_EFI";
readonly bootOption?: "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED" | "COMPUTE_ENGINE_BOOT_OPTION_EFI" | "COMPUTE_ENGINE_BOOT_OPTION_BIOS";
computeScheduling?: ComputeScheduling;
diskReplicaZones?: string[];
diskType?:
| "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED"
| "COMPUTE_ENGINE_DISK_TYPE_STANDARD"
| "COMPUTE_ENGINE_DISK_TYPE_SSD"
| "COMPUTE_ENGINE_DISK_TYPE_BALANCED"
| "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED";
enableIntegrityMonitoring?: boolean;
enableVtpm?: boolean;
encryption?: Encryption;
hostname?: string;
labels?: {
[key: string]: string;
}
;
licenseType?: "COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT" | "COMPUTE_ENGINE_LICENSE_TYPE_PAYG" | "COMPUTE_ENGINE_LICENSE_TYPE_BYOL";
machineType?: string;
machineTypeSeries?: string;
metadata?: {
[key: string]: string;
}
;
networkInterfaces?: NetworkInterface[];
networkTags?: string[];
secureBoot?: boolean;
serviceAccount?: string;
targetProject?: string;
vmName?: string;
zone?: string;
}

§Properties

§
additionalLicenses?: string[]
[src]

Additional licenses to assign to the VM.

§
readonly appliedLicense?: AppliedLicense
[src]

Output only. The OS license returned from the adaptation module report.

§
bootConversion?: "BOOT_CONVERSION_UNSPECIFIED" | "NONE" | "BIOS_TO_EFI"
[src]

Optional. By default the virtual machine will keep its existing boot option. Setting this property will trigger an internal process which will convert the virtual machine from using the existing boot option to another.

§
readonly bootOption?: "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED" | "COMPUTE_ENGINE_BOOT_OPTION_EFI" | "COMPUTE_ENGINE_BOOT_OPTION_BIOS"
[src]

Output only. The VM Boot Option, as set in the source VM.

§
computeScheduling?: ComputeScheduling
[src]

Compute instance scheduling information (if empty default is used).

§
diskReplicaZones?: string[]
[src]

Optional. Additional replica zones of the target regional disks. If this list is not empty a regional disk will be created. The first supported zone would be the one stated in the zone field. The rest are taken from this list. Please refer to the regional disk creation API for further details about regional vs zonal disks. If not specified, a zonal disk will be created in the same zone the VM is created.

§
diskType?: "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED" | "COMPUTE_ENGINE_DISK_TYPE_STANDARD" | "COMPUTE_ENGINE_DISK_TYPE_SSD" | "COMPUTE_ENGINE_DISK_TYPE_BALANCED" | "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED"
[src]

The disk type to use in the VM.

§
enableIntegrityMonitoring?: boolean
[src]

Optional. Defines whether the instance has integrity monitoring enabled. This can be set to true only if the VM boot option is EFI, and vTPM is enabled.

§
enableVtpm?: boolean
[src]

Optional. Defines whether the instance has vTPM enabled. This can be set to true only if the VM boot option is EFI.

§
encryption?: Encryption
[src]

Optional. Immutable. The encryption to apply to the VM disks.

§
hostname?: string
[src]

The hostname to assign to the VM.

§
labels?: {
[key: string]: string;
}
[src]

A map of labels to associate with the VM.

§
licenseType?: "COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT" | "COMPUTE_ENGINE_LICENSE_TYPE_PAYG" | "COMPUTE_ENGINE_LICENSE_TYPE_BYOL"
[src]

The license type to use in OS adaptation.

§
machineType?: string
[src]

The machine type to create the VM with.

§
machineTypeSeries?: string
[src]

The machine type series to create the VM with.

§
metadata?: {
[key: string]: string;
}
[src]

The metadata key/value pairs to assign to the VM.

§
networkInterfaces?: NetworkInterface[]
[src]

List of NICs connected to this VM.

§
networkTags?: string[]
[src]

A list of network tags to associate with the VM.

§
secureBoot?: boolean
[src]

Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.

§
serviceAccount?: string
[src]

The service account to associate the VM with.

§
targetProject?: string
[src]

The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.

§
vmName?: string
[src]

The name of the VM to create.

§
zone?: string
[src]

The zone in which to create the VM.