Show / Hide Table of Contents

Class OlvmTemplateProperties

OLVM Template properties.

Inheritance
object
OlvmTemplateProperties
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CloudmigrationsService.Models
Assembly: OCI.DotNetSDK.Cloudmigrations.dll
Syntax
public class OlvmTemplateProperties

Properties

AutoPinningPolicy

Declaration
[JsonProperty(PropertyName = "autoPinningPolicy")]
[JsonConverter(typeof(StringEnumConverter))]
public OlvmTemplateProperties.AutoPinningPolicyEnum? AutoPinningPolicy { get; set; }
Property Value
Type Description
OlvmTemplateProperties.AutoPinningPolicyEnum?

Specifies if and how the auto CPU and NUMA configuration is applied.

Bios

Declaration
[JsonProperty(PropertyName = "bios")]
public OlvmBios Bios { get; set; }
Property Value
Type Description
OlvmBios

Comment

Declaration
[JsonProperty(PropertyName = "comment")]
public string Comment { get; set; }
Property Value
Type Description
string

Free text containing comments about this object.

Console

Declaration
[JsonProperty(PropertyName = "console")]
public OlvmConsole Console { get; set; }
Property Value
Type Description
OlvmConsole

Cpu

Declaration
[JsonProperty(PropertyName = "cpu")]
public OlvmCpu Cpu { get; set; }
Property Value
Type Description
OlvmCpu

CpuPinningPolicy

Declaration
[JsonProperty(PropertyName = "cpuPinningPolicy")]
[JsonConverter(typeof(StringEnumConverter))]
public OlvmTemplateProperties.CpuPinningPolicyEnum? CpuPinningPolicy { get; set; }
Property Value
Type Description
OlvmTemplateProperties.CpuPinningPolicyEnum?

Type representing the CPU and NUMA pinning policy.

CpuShares

Declaration
[JsonProperty(PropertyName = "cpuShares")]
public int? CpuShares { get; set; }
Property Value
Type Description
int?

Number of CPU Shares

CustomCompatibilityVersion

Declaration
[JsonProperty(PropertyName = "customCompatibilityVersion")]
public OlvmVersion CustomCompatibilityVersion { get; set; }
Property Value
Type Description
OlvmVersion

CustomCpuModel

Declaration
[JsonProperty(PropertyName = "customCpuModel")]
public string CustomCpuModel { get; set; }
Property Value
Type Description
string

Custom CPU model

CustomEmulatedMachine

Declaration
[JsonProperty(PropertyName = "customEmulatedMachine")]
public string CustomEmulatedMachine { get; set; }
Property Value
Type Description
string

Custom Emulated machine

CustomProperties

Declaration
[JsonProperty(PropertyName = "customProperties")]
public List<OlvmCustomProperty> CustomProperties { get; set; }
Property Value
Type Description
List<OlvmCustomProperty>

Custom properties applied to the vNIC profile.

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

A human-readable description in plain text.

Display

Declaration
[JsonProperty(PropertyName = "display")]
public OlvmDisplay Display { get; set; }
Property Value
Type Description
OlvmDisplay

Domain

Declaration
[JsonProperty(PropertyName = "domain")]
public OlvmDomain Domain { get; set; }
Property Value
Type Description
OlvmDomain

HighAvailability

Declaration
[JsonProperty(PropertyName = "highAvailability")]
public OlvmHighAvailability HighAvailability { get; set; }
Property Value
Type Description
OlvmHighAvailability

Initialization

Declaration
[JsonProperty(PropertyName = "initialization")]
public OlvmInitialization Initialization { get; set; }
Property Value
Type Description
OlvmInitialization

IoThreads

Declaration
[JsonProperty(PropertyName = "ioThreads")]
public int? IoThreads { get; set; }
Property Value
Type Description
int?

For performance tuning of IO threading.

IsDeleteProtected

Declaration
[JsonProperty(PropertyName = "isDeleteProtected")]
public bool? IsDeleteProtected { get; set; }
Property Value
Type Description
bool?

If true, the virtual machine cannot be deleted.

IsMultiQueuesEnabled

Declaration
[JsonProperty(PropertyName = "isMultiQueuesEnabled")]
public bool? IsMultiQueuesEnabled { get; set; }
Property Value
Type Description
bool?

If true, each virtual interface will get the optimal number of queues, depending on the available virtual Cpus.

IsSoundcardEnabled

Declaration
[JsonProperty(PropertyName = "isSoundcardEnabled")]
public bool? IsSoundcardEnabled { get; set; }
Property Value
Type Description
bool?

If true, the sound card is added to the virtual machine.

IsStartPaused

Declaration
[JsonProperty(PropertyName = "isStartPaused")]
public bool? IsStartPaused { get; set; }
Property Value
Type Description
bool?

If true, the virtual machine will be initially in 'paused' state after start.

IsStateless

Declaration
[JsonProperty(PropertyName = "isStateless")]
public bool? IsStateless { get; set; }
Property Value
Type Description
bool?

If true, the virtual machine is stateless - it???s state (disks) are rolled-back after shutdown.

IsTpmEnabled

Declaration
[JsonProperty(PropertyName = "isTpmEnabled")]
public bool? IsTpmEnabled { get; set; }
Property Value
Type Description
bool?

If true, a TPM device is added to the virtual machine.

IsTunnelMigration

Declaration
[JsonProperty(PropertyName = "isTunnelMigration")]
public bool? IsTunnelMigration { get; set; }
Property Value
Type Description
bool?

If true, the network data transfer will be encrypted during virtual machine live migration.

IsVirtioScsiEnabled

Declaration
[JsonProperty(PropertyName = "isVirtioScsiEnabled")]
public bool? IsVirtioScsiEnabled { get; set; }
Property Value
Type Description
bool?

Indicates if Virtio SCSI Support is enabled.

IsVirtioScsiMultiQueuesEnabled

Declaration
[JsonProperty(PropertyName = "isVirtioScsiMultiQueuesEnabled")]
public bool? IsVirtioScsiMultiQueuesEnabled { get; set; }
Property Value
Type Description
bool?

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

LargeIcon

Declaration
[JsonProperty(PropertyName = "largeIcon")]
public OlvmIcon LargeIcon { get; set; }
Property Value
Type Description
OlvmIcon

MemoryInBytes

Declaration
[JsonProperty(PropertyName = "memoryInBytes")]
public long? MemoryInBytes { get; set; }
Property Value
Type Description
long?

The virtual machine???s memory, in bytes.

MemoryPolicy

Declaration
[JsonProperty(PropertyName = "memoryPolicy")]
public OlvmMemoryPolicy MemoryPolicy { get; set; }
Property Value
Type Description
OlvmMemoryPolicy

MigrationDowntimeInMs

Declaration
[JsonProperty(PropertyName = "migrationDowntimeInMs")]
public int? MigrationDowntimeInMs { get; set; }
Property Value
Type Description
int?

Maximum time the virtual machine can be non responsive during its live migration to another host in ms.

MigrationPolicy

Declaration
[JsonProperty(PropertyName = "migrationPolicy")]
public OlvmMigrationOptions MigrationPolicy { get; set; }
Property Value
Type Description
OlvmMigrationOptions

Origin

Declaration
[JsonProperty(PropertyName = "origin")]
public string Origin { get; set; }
Property Value
Type Description
string

The origin of this virtual machine.

Os

Declaration
[JsonProperty(PropertyName = "os")]
public OlvmOperatingSystem Os { get; set; }
Property Value
Type Description
OlvmOperatingSystem

PlacementPolicy

Declaration
[JsonProperty(PropertyName = "placementPolicy")]
public OlvmVmPlacementPolicy PlacementPolicy { get; set; }
Property Value
Type Description
OlvmVmPlacementPolicy

SerialNumber

Declaration
[JsonProperty(PropertyName = "serialNumber")]
public OlvmSerialNumber SerialNumber { get; set; }
Property Value
Type Description
OlvmSerialNumber

SmallIcon

Declaration
[JsonProperty(PropertyName = "smallIcon")]
public OlvmIcon SmallIcon { get; set; }
Property Value
Type Description
OlvmIcon

Status

Declaration
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(StringEnumConverter))]
public OlvmTemplateProperties.StatusEnum? Status { get; set; }
Property Value
Type Description
OlvmTemplateProperties.StatusEnum?

The status of the template.

StorageDomainLease

Declaration
[JsonProperty(PropertyName = "storageDomainLease")]
public OlvmStorageDomainProperties StorageDomainLease { get; set; }
Property Value
Type Description
OlvmStorageDomainProperties

StorageErrorResumeBehavior

Declaration
[JsonProperty(PropertyName = "storageErrorResumeBehavior")]
[JsonConverter(typeof(StringEnumConverter))]
public OlvmTemplateProperties.StorageErrorResumeBehaviorEnum? StorageErrorResumeBehavior { get; set; }
Property Value
Type Description
OlvmTemplateProperties.StorageErrorResumeBehaviorEnum?

Determines how the virtual machine will be resumed after storage error.

TemplateName

Declaration
[Required(ErrorMessage = "TemplateName is required.")]
[JsonProperty(PropertyName = "templateName")]
public string TemplateName { get; set; }
Property Value
Type Description
string

Name of the property.

Remarks

Required

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

Creation time.

Timezone

Declaration
[JsonProperty(PropertyName = "timezone")]
public string Timezone { get; set; }
Property Value
Type Description
string

Name of time zone.

Type

Declaration
[JsonProperty(PropertyName = "type")]
public OlvmVmType Type { get; set; }
Property Value
Type Description
OlvmVmType

Usb

Declaration
[JsonProperty(PropertyName = "usb")]
public OlvmUsb Usb { get; set; }
Property Value
Type Description
OlvmUsb

Version

Declaration
[JsonProperty(PropertyName = "version")]
public OlvmTemplateVersion Version { get; set; }
Property Value
Type Description
OlvmTemplateVersion

VirtioScsiMultiQueues

Declaration
[JsonProperty(PropertyName = "virtioScsiMultiQueues")]
public int? VirtioScsiMultiQueues { get; set; }
Property Value
Type Description
int?

Number of queues for a Virtio-SCSI contoller this field requires virtioScsiMultiQueuesEnabled to be true see virtioScsiMultiQueuesEnabled for more info

Vm

Declaration
[JsonProperty(PropertyName = "vm")]
public OlvmVirtualMachine Vm { get; set; }
Property Value
Type Description
OlvmVirtualMachine
In this article
Back to top