/** * 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"; /** * OLVM Template properties. */ export interface OlvmTemplateProperties { /** * Specifies if and how the auto CPU and NUMA configuration is applied. */ "autoPinningPolicy"?: OlvmTemplateProperties.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"?: OlvmTemplateProperties.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; "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. */ "templateName": string; /** * The origin of this virtual machine. */ "origin"?: string; "os"?: model.OlvmOperatingSystem; "placementPolicy"?: model.OlvmVmPlacementPolicy; "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; /** * If true, the virtual machine is stateless - it???s state (disks) are rolled-back after shutdown. */ "isStateless"?: boolean; /** * The status of the template. */ "status"?: OlvmTemplateProperties.Status; /** * Determines how the virtual machine will be resumed after storage error. */ "storageErrorResumeBehavior"?: OlvmTemplateProperties.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; "version"?: model.OlvmTemplateVersion; /** * 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; "vm"?: model.OlvmVirtualMachine; } export declare namespace OlvmTemplateProperties { 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 Status { Illegal = "ILLEGAL", Locked = "LOCKED", Ok = "OK" } enum StorageErrorResumeBehavior { AutoResume = "AUTO_RESUME", Kill = "KILL", LeavePaused = "LEAVE_PAUSED" } function getJsonObj(obj: OlvmTemplateProperties): object; function getDeserializedJsonObj(obj: OlvmTemplateProperties): object; }