/** * Oracle Cloud Migrations API * A description of the Oracle Cloud Migrations API. * OpenAPI spec version: 20220919 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * Represents a virtual machine. */ export interface OlvmVirtualMachine { /** * Specifies if and how the auto CPU and NUMA configuration is applied. */ "autoPinningPolicy"?: OlvmVirtualMachine.AutoPinningPolicy; "bios"?: model.OlvmBios; /** * Free text containing comments about this object. */ "comment"?: string; "console"?: model.OlvmConsole; "cpu"?: model.OlvmCpu; /** * Type representing the CPU and NUMA pinning policy. */ "cpuPinningPolicy"?: OlvmVirtualMachine.CpuPinningPolicy; /** * Number of CPU Shares Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "cpuShares"?: number; /** * Creation time. */ "timeCreated"?: Date; "customCompatibilityVersion"?: model.OlvmVersion; /** * Custom CPU model */ "customCpuModel"?: string; /** * Custom Emulated machine */ "customEmulatedMachine"?: string; /** * Custom properties applied to the vNIC profile. */ "customProperties"?: Array; /** * If true, the virtual machine cannot be deleted. */ "isDeleteProtected"?: boolean; /** * A human-readable description in plain text. */ "description"?: string; "display"?: model.OlvmDisplay; "domain"?: model.OlvmDomain; /** * Fully qualified domain name of the virtual machine. */ "fqdn"?: string; "guestOperatingSystem"?: model.OlvmGuestOperatingSystem; /** * What time zone is used by the virtual machine (as returned by guest agent). */ "guestTimeZone"?: string; /** * Indicates whether the virtual machine has snapshots with disks in ILLEGAL state. */ "isContainIllegalImages"?: boolean; "highAvailability"?: model.OlvmHighAvailability; "initialization"?: model.OlvmInitialization; /** * For performance tuning of IO threading. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "ioThreads"?: number; "largeIcon"?: model.OlvmIcon; "storageDomainLease"?: model.OlvmStorageDomainProperties; /** * The virtual machine???s memory, in bytes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryInBytes"?: number; "memoryPolicy"?: model.OlvmMemoryPolicy; "migrationPolicy"?: model.OlvmMigrationOptions; /** * Maximum time the virtual machine can be non responsive during its live migration to another host in ms. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "migrationDowntimeInMs"?: number; /** * If true, each virtual interface will get the optimal number of queues, depending on the available virtual Cpus. */ "isMultiQueuesEnabled"?: boolean; /** * Name of the property. */ "virtualMachineName"?: string; /** * Indicates if virtual machine configuration has been changed and requires restart of the virtual machine. */ "isNextRunConfigurationExists"?: boolean; /** * How the NUMA topology is applied. */ "numaTuneMode"?: OlvmVirtualMachine.NumaTuneMode; /** * The origin of this virtual machine. */ "origin"?: string; "os"?: model.OlvmOperatingSystem; "placementPolicy"?: model.OlvmVmPlacementPolicy; /** * If true, the virtual machine has been started using the run once command, meaning it???s configuration might differ from the stored one for the purpose of this single run. */ "isRunOnce"?: boolean; "serialNumber"?: model.OlvmSerialNumber; "smallIcon"?: model.OlvmIcon; /** * If true, the sound card is added to the virtual machine. */ "isSoundcardEnabled"?: boolean; /** * If true, the virtual machine will be initially in 'paused' state after start. */ "isStartPaused"?: boolean; /** * The date in which the virtual machine was started. */ "timeStart"?: Date; /** * If true, the virtual machine is stateless - it???s state (disks) are rolled-back after shutdown. */ "isStateless"?: boolean; "status"?: model.OlvmVmStatus; /** * Human readable detail of current status. */ "statusDetail"?: string; /** * The reason the virtual machine was stopped. */ "stopReason"?: string; /** * The date in which the virtual machine was stopped. */ "timeStop"?: Date; /** * Determines how the virtual machine will be resumed after storage error. */ "storageErrorResumeBehavior"?: OlvmVirtualMachine.StorageErrorResumeBehavior; /** * Name of time zone. */ "timezone"?: string; /** * If true, a TPM device is added to the virtual machine. */ "isTpmEnabled"?: boolean; /** * If true, the network data transfer will be encrypted during virtual machine live migration. */ "isTunnelMigration"?: boolean; "type"?: model.OlvmVmType; "usb"?: model.OlvmUsb; /** * If true, the virtual machine is reconfigured to the latest version of it???s template when it is started. */ "isUseLatestTemplateVersion"?: boolean; /** * Indicates if Virtio SCSI Support is enabled. */ "isVirtioScsiEnabled"?: boolean; /** * Number of queues for a Virtio-SCSI contoller this field requires virtioScsiMultiQueuesEnabled to be true see virtioScsiMultiQueuesEnabled for more info Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "virtioScsiMultiQueues"?: number; /** * If true, the Virtio-SCSI devices will obtain a number of multiple queues depending on the available virtual Cpus and disks, or according to the specified virtioScsiMultiQueues */ "isVirtioScsiMultiQueuesEnabled"?: boolean; } export declare namespace OlvmVirtualMachine { enum AutoPinningPolicy { Adjust = "ADJUST", Disabled = "DISABLED", Existing = "EXISTING" } enum CpuPinningPolicy { Dedicated = "DEDICATED", IsolatedThreads = "ISOLATED_THREADS", Manual = "MANUAL", None = "NONE", ResizeAndPinNuma = "RESIZE_AND_PIN_NUMA" } enum NumaTuneMode { Interleave = "INTERLEAVE", Preferred = "PREFERRED", Strict = "STRICT" } enum StorageErrorResumeBehavior { AutoResume = "AUTO_RESUME", Kill = "KILL", LeavePaused = "LEAVE_PAUSED" } function getJsonObj(obj: OlvmVirtualMachine): object; function getDeserializedJsonObj(obj: OlvmVirtualMachine): object; }