OlvmTemplateProperties¶
- class oci.cloud_bridge.models.OlvmTemplateProperties(**kwargs)¶
Bases:
objectOLVM Template properties.
Attributes:
A constant which can be used with the auto_pinning_policy property of a OlvmTemplateProperties.
A constant which can be used with the auto_pinning_policy property of a OlvmTemplateProperties.
A constant which can be used with the auto_pinning_policy property of a OlvmTemplateProperties.
A constant which can be used with the cpu_pinning_policy property of a OlvmTemplateProperties.
A constant which can be used with the cpu_pinning_policy property of a OlvmTemplateProperties.
A constant which can be used with the cpu_pinning_policy property of a OlvmTemplateProperties.
A constant which can be used with the cpu_pinning_policy property of a OlvmTemplateProperties.
A constant which can be used with the cpu_pinning_policy property of a OlvmTemplateProperties.
A constant which can be used with the status property of a OlvmTemplateProperties.
A constant which can be used with the status property of a OlvmTemplateProperties.
A constant which can be used with the status property of a OlvmTemplateProperties.
A constant which can be used with the storage_error_resume_behavior property of a OlvmTemplateProperties.
A constant which can be used with the storage_error_resume_behavior property of a OlvmTemplateProperties.
A constant which can be used with the storage_error_resume_behavior property of a OlvmTemplateProperties.
Gets the auto_pinning_policy of this OlvmTemplateProperties.
Gets the bios of this OlvmTemplateProperties.
Gets the comment of this OlvmTemplateProperties.
Gets the console of this OlvmTemplateProperties.
Gets the cpu of this OlvmTemplateProperties.
Gets the cpu_pinning_policy of this OlvmTemplateProperties.
Gets the cpu_shares of this OlvmTemplateProperties.
Gets the custom_compatibility_version of this OlvmTemplateProperties.
Gets the custom_cpu_model of this OlvmTemplateProperties.
Gets the custom_emulated_machine of this OlvmTemplateProperties.
Gets the custom_properties of this OlvmTemplateProperties.
Gets the description of this OlvmTemplateProperties.
Gets the display of this OlvmTemplateProperties.
Gets the domain of this OlvmTemplateProperties.
Gets the high_availability of this OlvmTemplateProperties.
Gets the initialization of this OlvmTemplateProperties.
Gets the io_threads of this OlvmTemplateProperties.
Gets the is_delete_protected of this OlvmTemplateProperties.
Gets the is_multi_queues_enabled of this OlvmTemplateProperties.
Gets the is_soundcard_enabled of this OlvmTemplateProperties.
Gets the is_start_paused of this OlvmTemplateProperties.
Gets the is_stateless of this OlvmTemplateProperties.
Gets the is_tpm_enabled of this OlvmTemplateProperties.
Gets the is_tunnel_migration of this OlvmTemplateProperties.
Gets the is_virtio_scsi_enabled of this OlvmTemplateProperties.
Gets the is_virtio_scsi_multi_queues_enabled of this OlvmTemplateProperties.
Gets the large_icon of this OlvmTemplateProperties.
Gets the memory_in_bytes of this OlvmTemplateProperties.
Gets the memory_policy of this OlvmTemplateProperties.
Gets the migration_downtime_in_ms of this OlvmTemplateProperties.
Gets the migration_policy of this OlvmTemplateProperties.
Gets the origin of this OlvmTemplateProperties.
Gets the os of this OlvmTemplateProperties.
Gets the placement_policy of this OlvmTemplateProperties.
Gets the serial_number of this OlvmTemplateProperties.
Gets the small_icon of this OlvmTemplateProperties.
Gets the status of this OlvmTemplateProperties.
Gets the storage_domain_lease of this OlvmTemplateProperties.
Gets the storage_error_resume_behavior of this OlvmTemplateProperties.
[Required] Gets the template_name of this OlvmTemplateProperties.
Gets the time_created of this OlvmTemplateProperties.
Gets the timezone of this OlvmTemplateProperties.
Gets the type of this OlvmTemplateProperties.
Gets the usb of this OlvmTemplateProperties.
Gets the version of this OlvmTemplateProperties.
Gets the virtio_scsi_multi_queues of this OlvmTemplateProperties.
Gets 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_bridge.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_bridge.models.OlvmConsole) – The value to assign to the console property of this OlvmTemplateProperties.
cpu (oci.cloud_bridge.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_bridge.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_bridge.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_bridge.models.OlvmDisplay) – The value to assign to the display property of this OlvmTemplateProperties.
domain (oci.cloud_bridge.models.OlvmDomain) – The value to assign to the domain property of this OlvmTemplateProperties.
high_availability (oci.cloud_bridge.models.OlvmHighAvailability) – The value to assign to the high_availability property of this OlvmTemplateProperties.
initialization (oci.cloud_bridge.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_bridge.models.OlvmIcon) – The value to assign to the large_icon property of this OlvmTemplateProperties.
storage_domain_lease (oci.cloud_bridge.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_bridge.models.OlvmMemoryPolicy) – The value to assign to the memory_policy property of this OlvmTemplateProperties.
migration_policy (oci.cloud_bridge.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_bridge.models.OlvmOperatingSystem) – The value to assign to the os property of this OlvmTemplateProperties.
placement_policy (oci.cloud_bridge.models.OlvmVmPlacementPolicy) – The value to assign to the placement_policy property of this OlvmTemplateProperties.
serial_number (oci.cloud_bridge.models.OlvmSerialNumber) – The value to assign to the serial_number property of this OlvmTemplateProperties.
small_icon (oci.cloud_bridge.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_bridge.models.OlvmVmType) – The value to assign to the type property of this OlvmTemplateProperties.
usb (oci.cloud_bridge.models.OlvmUsb) – The value to assign to the usb property of this OlvmTemplateProperties.
version (oci.cloud_bridge.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_bridge.models.OlvmVirtualMachine) – The value to assign to the vm property of this OlvmTemplateProperties.
- property 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
- property bios¶
Gets the bios of this OlvmTemplateProperties.
- Returns
The bios of this OlvmTemplateProperties.
- Return type
- property comment¶
Gets the comment of this OlvmTemplateProperties. Free text containing comments about this object.
- Returns
The comment of this OlvmTemplateProperties.
- Return type
str
- property console¶
Gets the console of this OlvmTemplateProperties.
- Returns
The console of this OlvmTemplateProperties.
- Return type
- property cpu¶
Gets the cpu of this OlvmTemplateProperties.
- Returns
The cpu of this OlvmTemplateProperties.
- Return type
- property 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
- property custom_compatibility_version¶
Gets the custom_compatibility_version of this OlvmTemplateProperties.
- Returns
The custom_compatibility_version of this OlvmTemplateProperties.
- Return type
- property 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
- property 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
- property 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
- property description¶
Gets the description of this OlvmTemplateProperties. A human-readable description in plain text.
- Returns
The description of this OlvmTemplateProperties.
- Return type
str
- property display¶
Gets the display of this OlvmTemplateProperties.
- Returns
The display of this OlvmTemplateProperties.
- Return type
- property domain¶
Gets the domain of this OlvmTemplateProperties.
- Returns
The domain of this OlvmTemplateProperties.
- Return type
- property high_availability¶
Gets the high_availability of this OlvmTemplateProperties.
- Returns
The high_availability of this OlvmTemplateProperties.
- Return type
- property initialization¶
Gets the initialization of this OlvmTemplateProperties.
- Returns
The initialization of this OlvmTemplateProperties.
- Return type
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property large_icon¶
Gets the large_icon of this OlvmTemplateProperties.
- Returns
The large_icon of this OlvmTemplateProperties.
- Return type
- property 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
- property memory_policy¶
Gets the memory_policy of this OlvmTemplateProperties.
- Returns
The memory_policy of this OlvmTemplateProperties.
- Return type
- property 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
- property migration_policy¶
Gets the migration_policy of this OlvmTemplateProperties.
- Returns
The migration_policy of this OlvmTemplateProperties.
- Return type
- property origin¶
Gets the origin of this OlvmTemplateProperties. The origin of this virtual machine.
- Returns
The origin of this OlvmTemplateProperties.
- Return type
str
- property os¶
Gets the os of this OlvmTemplateProperties.
- Returns
The os of this OlvmTemplateProperties.
- Return type
- property placement_policy¶
Gets the placement_policy of this OlvmTemplateProperties.
- Returns
The placement_policy of this OlvmTemplateProperties.
- Return type
- property serial_number¶
Gets the serial_number of this OlvmTemplateProperties.
- Returns
The serial_number of this OlvmTemplateProperties.
- Return type
- property small_icon¶
Gets the small_icon of this OlvmTemplateProperties.
- Returns
The small_icon of this OlvmTemplateProperties.
- Return type
- property 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
- property storage_domain_lease¶
Gets the storage_domain_lease of this OlvmTemplateProperties.
- Returns
The storage_domain_lease of this OlvmTemplateProperties.
- Return type
- property 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
- property template_name¶
[Required] Gets the template_name of this OlvmTemplateProperties. Name of the property.
- Returns
The template_name of this OlvmTemplateProperties.
- Return type
str
- property time_created¶
Gets the time_created of this OlvmTemplateProperties. Creation time.
- Returns
The time_created of this OlvmTemplateProperties.
- Return type
datetime
- property timezone¶
Gets the timezone of this OlvmTemplateProperties. Name of time zone.
- Returns
The timezone of this OlvmTemplateProperties.
- Return type
str
- property type¶
Gets the type of this OlvmTemplateProperties.
- Returns
The type of this OlvmTemplateProperties.
- Return type
- property usb¶
Gets the usb of this OlvmTemplateProperties.
- Returns
The usb of this OlvmTemplateProperties.
- Return type
- property version¶
Gets the version of this OlvmTemplateProperties.
- Returns
The version of this OlvmTemplateProperties.
- Return type
- property 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
- property vm¶
Gets the vm of this OlvmTemplateProperties.
- Returns
The vm of this OlvmTemplateProperties.
- Return type