OlvmTemplateProperties¶
-
class
oci.cloud_migrations.models.OlvmTemplateProperties(**kwargs)¶ Bases:
objectOLVM Template properties.
Attributes
AUTO_PINNING_POLICY_ADJUSTA constant which can be used with the auto_pinning_policy property of a OlvmTemplateProperties. AUTO_PINNING_POLICY_DISABLEDA constant which can be used with the auto_pinning_policy property of a OlvmTemplateProperties. AUTO_PINNING_POLICY_EXISTINGA constant which can be used with the auto_pinning_policy property of a OlvmTemplateProperties. CPU_PINNING_POLICY_DEDICATEDA constant which can be used with the cpu_pinning_policy property of a OlvmTemplateProperties. CPU_PINNING_POLICY_ISOLATED_THREADSA constant which can be used with the cpu_pinning_policy property of a OlvmTemplateProperties. CPU_PINNING_POLICY_MANUALA constant which can be used with the cpu_pinning_policy property of a OlvmTemplateProperties. CPU_PINNING_POLICY_NONEA constant which can be used with the cpu_pinning_policy property of a OlvmTemplateProperties. CPU_PINNING_POLICY_RESIZE_AND_PIN_NUMAA constant which can be used with the cpu_pinning_policy property of a OlvmTemplateProperties. STATUS_ILLEGALA constant which can be used with the status property of a OlvmTemplateProperties. STATUS_LOCKEDA constant which can be used with the status property of a OlvmTemplateProperties. STATUS_OKA constant which can be used with the status property of a OlvmTemplateProperties. STORAGE_ERROR_RESUME_BEHAVIOR_AUTO_RESUMEA constant which can be used with the storage_error_resume_behavior property of a OlvmTemplateProperties. STORAGE_ERROR_RESUME_BEHAVIOR_KILLA constant which can be used with the storage_error_resume_behavior property of a OlvmTemplateProperties. STORAGE_ERROR_RESUME_BEHAVIOR_LEAVE_PAUSEDA constant which can be used with the storage_error_resume_behavior property of a OlvmTemplateProperties. auto_pinning_policyGets the auto_pinning_policy of this OlvmTemplateProperties. biosGets the bios of this OlvmTemplateProperties. commentGets the comment of this OlvmTemplateProperties. consoleGets the console of this OlvmTemplateProperties. cpuGets the cpu of this OlvmTemplateProperties. cpu_pinning_policyGets the cpu_pinning_policy of this OlvmTemplateProperties. cpu_sharesGets the cpu_shares of this OlvmTemplateProperties. custom_compatibility_versionGets the custom_compatibility_version of this OlvmTemplateProperties. custom_cpu_modelGets the custom_cpu_model of this OlvmTemplateProperties. custom_emulated_machineGets the custom_emulated_machine of this OlvmTemplateProperties. custom_propertiesGets the custom_properties of this OlvmTemplateProperties. descriptionGets the description of this OlvmTemplateProperties. displayGets the display of this OlvmTemplateProperties. domainGets the domain of this OlvmTemplateProperties. high_availabilityGets the high_availability of this OlvmTemplateProperties. initializationGets the initialization of this OlvmTemplateProperties. io_threadsGets the io_threads of this OlvmTemplateProperties. is_delete_protectedGets the is_delete_protected of this OlvmTemplateProperties. is_multi_queues_enabledGets the is_multi_queues_enabled of this OlvmTemplateProperties. is_soundcard_enabledGets the is_soundcard_enabled of this OlvmTemplateProperties. is_start_pausedGets the is_start_paused of this OlvmTemplateProperties. is_statelessGets the is_stateless of this OlvmTemplateProperties. is_tpm_enabledGets the is_tpm_enabled of this OlvmTemplateProperties. is_tunnel_migrationGets the is_tunnel_migration of this OlvmTemplateProperties. is_virtio_scsi_enabledGets the is_virtio_scsi_enabled of this OlvmTemplateProperties. is_virtio_scsi_multi_queues_enabledGets the is_virtio_scsi_multi_queues_enabled of this OlvmTemplateProperties. large_iconGets the large_icon of this OlvmTemplateProperties. memory_in_bytesGets the memory_in_bytes of this OlvmTemplateProperties. memory_policyGets the memory_policy of this OlvmTemplateProperties. migration_downtime_in_msGets the migration_downtime_in_ms of this OlvmTemplateProperties. migration_policyGets the migration_policy of this OlvmTemplateProperties. originGets the origin of this OlvmTemplateProperties. osGets the os of this OlvmTemplateProperties. placement_policyGets the placement_policy of this OlvmTemplateProperties. serial_numberGets the serial_number of this OlvmTemplateProperties. small_iconGets the small_icon of this OlvmTemplateProperties. statusGets the status of this OlvmTemplateProperties. storage_domain_leaseGets the storage_domain_lease of this OlvmTemplateProperties. storage_error_resume_behaviorGets the storage_error_resume_behavior of this OlvmTemplateProperties. template_name[Required] Gets the template_name of this OlvmTemplateProperties. time_createdGets the time_created of this OlvmTemplateProperties. timezoneGets the timezone of this OlvmTemplateProperties. typeGets the type of this OlvmTemplateProperties. usbGets the usb of this OlvmTemplateProperties. versionGets the version of this OlvmTemplateProperties. virtio_scsi_multi_queuesGets the virtio_scsi_multi_queues of this OlvmTemplateProperties. vmGets the vm of this OlvmTemplateProperties. Methods
__init__(**kwargs)Initializes a new OlvmTemplateProperties object with values from keyword arguments. -
AUTO_PINNING_POLICY_ADJUST= 'ADJUST'¶ A constant which can be used with the auto_pinning_policy property of a OlvmTemplateProperties. This constant has a value of “ADJUST”
-
AUTO_PINNING_POLICY_DISABLED= 'DISABLED'¶ A constant which can be used with the auto_pinning_policy property of a OlvmTemplateProperties. This constant has a value of “DISABLED”
-
AUTO_PINNING_POLICY_EXISTING= 'EXISTING'¶ A constant which can be used with the auto_pinning_policy property of a OlvmTemplateProperties. This constant has a value of “EXISTING”
-
CPU_PINNING_POLICY_DEDICATED= 'DEDICATED'¶ A constant which can be used with the cpu_pinning_policy property of a OlvmTemplateProperties. This constant has a value of “DEDICATED”
-
CPU_PINNING_POLICY_ISOLATED_THREADS= 'ISOLATED_THREADS'¶ A constant which can be used with the cpu_pinning_policy property of a OlvmTemplateProperties. This constant has a value of “ISOLATED_THREADS”
-
CPU_PINNING_POLICY_MANUAL= 'MANUAL'¶ A constant which can be used with the cpu_pinning_policy property of a OlvmTemplateProperties. This constant has a value of “MANUAL”
-
CPU_PINNING_POLICY_NONE= 'NONE'¶ A constant which can be used with the cpu_pinning_policy property of a OlvmTemplateProperties. This constant has a value of “NONE”
-
CPU_PINNING_POLICY_RESIZE_AND_PIN_NUMA= 'RESIZE_AND_PIN_NUMA'¶ A constant which can be used with the cpu_pinning_policy property of a OlvmTemplateProperties. This constant has a value of “RESIZE_AND_PIN_NUMA”
-
STATUS_ILLEGAL= 'ILLEGAL'¶ A constant which can be used with the status property of a OlvmTemplateProperties. This constant has a value of “ILLEGAL”
-
STATUS_LOCKED= 'LOCKED'¶ A constant which can be used with the status property of a OlvmTemplateProperties. This constant has a value of “LOCKED”
-
STATUS_OK= 'OK'¶ A constant which can be used with the status property of a OlvmTemplateProperties. This constant has a value of “OK”
-
STORAGE_ERROR_RESUME_BEHAVIOR_AUTO_RESUME= 'AUTO_RESUME'¶ A constant which can be used with the storage_error_resume_behavior property of a OlvmTemplateProperties. This constant has a value of “AUTO_RESUME”
-
STORAGE_ERROR_RESUME_BEHAVIOR_KILL= 'KILL'¶ A constant which can be used with the storage_error_resume_behavior property of a OlvmTemplateProperties. This constant has a value of “KILL”
-
STORAGE_ERROR_RESUME_BEHAVIOR_LEAVE_PAUSED= 'LEAVE_PAUSED'¶ A constant which can be used with the storage_error_resume_behavior property of a OlvmTemplateProperties. This constant has a value of “LEAVE_PAUSED”
-
__init__(**kwargs)¶ Initializes a new OlvmTemplateProperties object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - auto_pinning_policy (str) – The value to assign to the auto_pinning_policy property of this OlvmTemplateProperties. Allowed values for this property are: “ADJUST”, “DISABLED”, “EXISTING”
- bios (oci.cloud_migrations.models.OlvmBios) – The value to assign to the bios property of this OlvmTemplateProperties.
- comment (str) – The value to assign to the comment property of this OlvmTemplateProperties.
- console (oci.cloud_migrations.models.OlvmConsole) – The value to assign to the console property of this OlvmTemplateProperties.
- cpu (oci.cloud_migrations.models.OlvmCpu) – The value to assign to the cpu property of this OlvmTemplateProperties.
- cpu_pinning_policy (str) – The value to assign to the cpu_pinning_policy property of this OlvmTemplateProperties. Allowed values for this property are: “DEDICATED”, “ISOLATED_THREADS”, “MANUAL”, “NONE”, “RESIZE_AND_PIN_NUMA”
- cpu_shares (int) – The value to assign to the cpu_shares property of this OlvmTemplateProperties.
- time_created (datetime) – The value to assign to the time_created property of this OlvmTemplateProperties.
- custom_compatibility_version (oci.cloud_migrations.models.OlvmVersion) – The value to assign to the custom_compatibility_version property of this OlvmTemplateProperties.
- custom_cpu_model (str) – The value to assign to the custom_cpu_model property of this OlvmTemplateProperties.
- custom_emulated_machine (str) – The value to assign to the custom_emulated_machine property of this OlvmTemplateProperties.
- custom_properties (list[oci.cloud_migrations.models.OlvmCustomProperty]) – The value to assign to the custom_properties property of this OlvmTemplateProperties.
- is_delete_protected (bool) – The value to assign to the is_delete_protected property of this OlvmTemplateProperties.
- description (str) – The value to assign to the description property of this OlvmTemplateProperties.
- display (oci.cloud_migrations.models.OlvmDisplay) – The value to assign to the display property of this OlvmTemplateProperties.
- domain (oci.cloud_migrations.models.OlvmDomain) – The value to assign to the domain property of this OlvmTemplateProperties.
- high_availability (oci.cloud_migrations.models.OlvmHighAvailability) – The value to assign to the high_availability property of this OlvmTemplateProperties.
- initialization (oci.cloud_migrations.models.OlvmInitialization) – The value to assign to the initialization property of this OlvmTemplateProperties.
- io_threads (int) – The value to assign to the io_threads property of this OlvmTemplateProperties.
- large_icon (oci.cloud_migrations.models.OlvmIcon) – The value to assign to the large_icon property of this OlvmTemplateProperties.
- storage_domain_lease (oci.cloud_migrations.models.OlvmStorageDomainProperties) – The value to assign to the storage_domain_lease property of this OlvmTemplateProperties.
- memory_in_bytes (int) – The value to assign to the memory_in_bytes property of this OlvmTemplateProperties.
- memory_policy (oci.cloud_migrations.models.OlvmMemoryPolicy) – The value to assign to the memory_policy property of this OlvmTemplateProperties.
- migration_policy (oci.cloud_migrations.models.OlvmMigrationOptions) – The value to assign to the migration_policy property of this OlvmTemplateProperties.
- migration_downtime_in_ms (int) – The value to assign to the migration_downtime_in_ms property of this OlvmTemplateProperties.
- is_multi_queues_enabled (bool) – The value to assign to the is_multi_queues_enabled property of this OlvmTemplateProperties.
- template_name (str) – The value to assign to the template_name property of this OlvmTemplateProperties.
- origin (str) – The value to assign to the origin property of this OlvmTemplateProperties.
- os (oci.cloud_migrations.models.OlvmOperatingSystem) – The value to assign to the os property of this OlvmTemplateProperties.
- placement_policy (oci.cloud_migrations.models.OlvmVmPlacementPolicy) – The value to assign to the placement_policy property of this OlvmTemplateProperties.
- serial_number (oci.cloud_migrations.models.OlvmSerialNumber) – The value to assign to the serial_number property of this OlvmTemplateProperties.
- small_icon (oci.cloud_migrations.models.OlvmIcon) – The value to assign to the small_icon property of this OlvmTemplateProperties.
- is_soundcard_enabled (bool) – The value to assign to the is_soundcard_enabled property of this OlvmTemplateProperties.
- is_start_paused (bool) – The value to assign to the is_start_paused property of this OlvmTemplateProperties.
- is_stateless (bool) – The value to assign to the is_stateless property of this OlvmTemplateProperties.
- status (str) – The value to assign to the status property of this OlvmTemplateProperties. Allowed values for this property are: “ILLEGAL”, “LOCKED”, “OK”
- storage_error_resume_behavior (str) – The value to assign to the storage_error_resume_behavior property of this OlvmTemplateProperties. Allowed values for this property are: “AUTO_RESUME”, “KILL”, “LEAVE_PAUSED”
- timezone (str) – The value to assign to the timezone property of this OlvmTemplateProperties.
- is_tpm_enabled (bool) – The value to assign to the is_tpm_enabled property of this OlvmTemplateProperties.
- is_tunnel_migration (bool) – The value to assign to the is_tunnel_migration property of this OlvmTemplateProperties.
- type (oci.cloud_migrations.models.OlvmVmType) – The value to assign to the type property of this OlvmTemplateProperties.
- usb (oci.cloud_migrations.models.OlvmUsb) – The value to assign to the usb property of this OlvmTemplateProperties.
- version (oci.cloud_migrations.models.OlvmTemplateVersion) – The value to assign to the version property of this OlvmTemplateProperties.
- is_virtio_scsi_enabled (bool) – The value to assign to the is_virtio_scsi_enabled property of this OlvmTemplateProperties.
- virtio_scsi_multi_queues (int) – The value to assign to the virtio_scsi_multi_queues property of this OlvmTemplateProperties.
- is_virtio_scsi_multi_queues_enabled (bool) – The value to assign to the is_virtio_scsi_multi_queues_enabled property of this OlvmTemplateProperties.
- vm (oci.cloud_migrations.models.OlvmVirtualMachine) – The value to assign to the vm property of this OlvmTemplateProperties.
-
auto_pinning_policy¶ Gets the auto_pinning_policy of this OlvmTemplateProperties. Specifies if and how the auto CPU and NUMA configuration is applied.
Allowed values for this property are: “ADJUST”, “DISABLED”, “EXISTING”
Returns: The auto_pinning_policy of this OlvmTemplateProperties. Return type: str
-
bios¶ Gets the bios of this OlvmTemplateProperties.
Returns: The bios of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmBios
-
comment¶ Gets the comment of this OlvmTemplateProperties. Free text containing comments about this object.
Returns: The comment of this OlvmTemplateProperties. Return type: str
-
console¶ Gets the console of this OlvmTemplateProperties.
Returns: The console of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmConsole
-
cpu¶ Gets the cpu of this OlvmTemplateProperties.
Returns: The cpu of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmCpu
-
cpu_pinning_policy¶ Gets the cpu_pinning_policy of this OlvmTemplateProperties. Type representing the CPU and NUMA pinning policy.
Allowed values for this property are: “DEDICATED”, “ISOLATED_THREADS”, “MANUAL”, “NONE”, “RESIZE_AND_PIN_NUMA”
Returns: The cpu_pinning_policy of this OlvmTemplateProperties. Return type: str
Gets the cpu_shares of this OlvmTemplateProperties. Number of CPU Shares
Returns: The cpu_shares of this OlvmTemplateProperties. Return type: int
-
custom_compatibility_version¶ Gets the custom_compatibility_version of this OlvmTemplateProperties.
Returns: The custom_compatibility_version of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmVersion
-
custom_cpu_model¶ Gets the custom_cpu_model of this OlvmTemplateProperties. Custom CPU model
Returns: The custom_cpu_model of this OlvmTemplateProperties. Return type: str
-
custom_emulated_machine¶ Gets the custom_emulated_machine of this OlvmTemplateProperties. Custom Emulated machine
Returns: The custom_emulated_machine of this OlvmTemplateProperties. Return type: str
-
custom_properties¶ Gets the custom_properties of this OlvmTemplateProperties. Custom properties applied to the vNIC profile.
Returns: The custom_properties of this OlvmTemplateProperties. Return type: list[oci.cloud_migrations.models.OlvmCustomProperty]
-
description¶ Gets the description of this OlvmTemplateProperties. A human-readable description in plain text.
Returns: The description of this OlvmTemplateProperties. Return type: str
-
display¶ Gets the display of this OlvmTemplateProperties.
Returns: The display of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmDisplay
-
domain¶ Gets the domain of this OlvmTemplateProperties.
Returns: The domain of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmDomain
-
high_availability¶ Gets the high_availability of this OlvmTemplateProperties.
Returns: The high_availability of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmHighAvailability
-
initialization¶ Gets the initialization of this OlvmTemplateProperties.
Returns: The initialization of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmInitialization
-
io_threads¶ Gets the io_threads of this OlvmTemplateProperties. For performance tuning of IO threading.
Returns: The io_threads of this OlvmTemplateProperties. Return type: int
-
is_delete_protected¶ Gets the is_delete_protected of this OlvmTemplateProperties. If true, the virtual machine cannot be deleted.
Returns: The is_delete_protected of this OlvmTemplateProperties. Return type: bool
-
is_multi_queues_enabled¶ Gets the is_multi_queues_enabled of this OlvmTemplateProperties. If true, each virtual interface will get the optimal number of queues, depending on the available virtual Cpus.
Returns: The is_multi_queues_enabled of this OlvmTemplateProperties. Return type: bool
-
is_soundcard_enabled¶ Gets the is_soundcard_enabled of this OlvmTemplateProperties. If true, the sound card is added to the virtual machine.
Returns: The is_soundcard_enabled of this OlvmTemplateProperties. Return type: bool
-
is_start_paused¶ Gets the is_start_paused of this OlvmTemplateProperties. If true, the virtual machine will be initially in ‘paused’ state after start.
Returns: The is_start_paused of this OlvmTemplateProperties. Return type: bool
-
is_stateless¶ Gets the is_stateless of this OlvmTemplateProperties. If true, the virtual machine is stateless - it???s state (disks) are rolled-back after shutdown.
Returns: The is_stateless of this OlvmTemplateProperties. Return type: bool
-
is_tpm_enabled¶ Gets the is_tpm_enabled of this OlvmTemplateProperties. If true, a TPM device is added to the virtual machine.
Returns: The is_tpm_enabled of this OlvmTemplateProperties. Return type: bool
-
is_tunnel_migration¶ Gets the is_tunnel_migration of this OlvmTemplateProperties. If true, the network data transfer will be encrypted during virtual machine live migration.
Returns: The is_tunnel_migration of this OlvmTemplateProperties. Return type: bool
-
is_virtio_scsi_enabled¶ Gets the is_virtio_scsi_enabled of this OlvmTemplateProperties. Indicates if Virtio SCSI Support is enabled.
Returns: The is_virtio_scsi_enabled of this OlvmTemplateProperties. Return type: bool
-
is_virtio_scsi_multi_queues_enabled¶ Gets the is_virtio_scsi_multi_queues_enabled of this OlvmTemplateProperties. 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
Returns: The is_virtio_scsi_multi_queues_enabled of this OlvmTemplateProperties. Return type: bool
-
large_icon¶ Gets the large_icon of this OlvmTemplateProperties.
Returns: The large_icon of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmIcon
-
memory_in_bytes¶ Gets the memory_in_bytes of this OlvmTemplateProperties. The virtual machine???s memory, in bytes.
Returns: The memory_in_bytes of this OlvmTemplateProperties. Return type: int
-
memory_policy¶ Gets the memory_policy of this OlvmTemplateProperties.
Returns: The memory_policy of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmMemoryPolicy
-
migration_downtime_in_ms¶ Gets the migration_downtime_in_ms of this OlvmTemplateProperties. Maximum time the virtual machine can be non responsive during its live migration to another host in ms.
Returns: The migration_downtime_in_ms of this OlvmTemplateProperties. Return type: int
-
migration_policy¶ Gets the migration_policy of this OlvmTemplateProperties.
Returns: The migration_policy of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmMigrationOptions
-
origin¶ Gets the origin of this OlvmTemplateProperties. The origin of this virtual machine.
Returns: The origin of this OlvmTemplateProperties. Return type: str
-
os¶ Gets the os of this OlvmTemplateProperties.
Returns: The os of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmOperatingSystem
-
placement_policy¶ Gets the placement_policy of this OlvmTemplateProperties.
Returns: The placement_policy of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmVmPlacementPolicy
-
serial_number¶ Gets the serial_number of this OlvmTemplateProperties.
Returns: The serial_number of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmSerialNumber
-
small_icon¶ Gets the small_icon of this OlvmTemplateProperties.
Returns: The small_icon of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmIcon
-
status¶ Gets the status of this OlvmTemplateProperties. The status of the template.
Allowed values for this property are: “ILLEGAL”, “LOCKED”, “OK”
Returns: The status of this OlvmTemplateProperties. Return type: str
-
storage_domain_lease¶ Gets the storage_domain_lease of this OlvmTemplateProperties.
Returns: The storage_domain_lease of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmStorageDomainProperties
-
storage_error_resume_behavior¶ Gets the storage_error_resume_behavior of this OlvmTemplateProperties. Determines how the virtual machine will be resumed after storage error.
Allowed values for this property are: “AUTO_RESUME”, “KILL”, “LEAVE_PAUSED”
Returns: The storage_error_resume_behavior of this OlvmTemplateProperties. Return type: str
-
template_name¶ [Required] Gets the template_name of this OlvmTemplateProperties. Name of the property.
Returns: The template_name of this OlvmTemplateProperties. Return type: str
-
time_created¶ Gets the time_created of this OlvmTemplateProperties. Creation time.
Returns: The time_created of this OlvmTemplateProperties. Return type: datetime
-
timezone¶ Gets the timezone of this OlvmTemplateProperties. Name of time zone.
Returns: The timezone of this OlvmTemplateProperties. Return type: str
-
type¶ Gets the type of this OlvmTemplateProperties.
Returns: The type of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmVmType
-
usb¶ Gets the usb of this OlvmTemplateProperties.
Returns: The usb of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmUsb
-
version¶ Gets the version of this OlvmTemplateProperties.
Returns: The version of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmTemplateVersion
-
virtio_scsi_multi_queues¶ Gets the virtio_scsi_multi_queues of this OlvmTemplateProperties. Number of queues for a Virtio-SCSI contoller this field requires virtioScsiMultiQueuesEnabled to be true see virtioScsiMultiQueuesEnabled for more info
Returns: The virtio_scsi_multi_queues of this OlvmTemplateProperties. Return type: int
-
vm¶ Gets the vm of this OlvmTemplateProperties.
Returns: The vm of this OlvmTemplateProperties. Return type: oci.cloud_migrations.models.OlvmVirtualMachine
-