OlvmOperatingSystem¶
- class oci.cloud_migrations.models.OlvmOperatingSystem(**kwargs)¶
Bases:
objectInformation describing the operating system. This is used for both virtual machines and hosts.
Methods:
__init__(**kwargs)Initializes a new OlvmOperatingSystem object with values from keyword arguments.
Attributes:
Gets the boot of this OlvmOperatingSystem.
Gets the cmd_line of this OlvmOperatingSystem.
Gets the custom_kernel_cmd_line of this OlvmOperatingSystem.
Gets the init_rd of this OlvmOperatingSystem.
Gets the kernel of this OlvmOperatingSystem.
Gets the reported_kernel_cmd_line of this OlvmOperatingSystem.
Gets the type of this OlvmOperatingSystem.
Gets the version of this OlvmOperatingSystem.
- __init__(**kwargs)¶
Initializes a new OlvmOperatingSystem object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
boot (list[oci.cloud_migrations.models.OlvmBootDevice]) – The value to assign to the boot property of this OlvmOperatingSystem.
cmd_line (str) – The value to assign to the cmd_line property of this OlvmOperatingSystem.
custom_kernel_cmd_line (str) – The value to assign to the custom_kernel_cmd_line property of this OlvmOperatingSystem.
init_rd (str) – The value to assign to the init_rd property of this OlvmOperatingSystem.
kernel (str) – The value to assign to the kernel property of this OlvmOperatingSystem.
reported_kernel_cmd_line (str) – The value to assign to the reported_kernel_cmd_line property of this OlvmOperatingSystem.
type (str) – The value to assign to the type property of this OlvmOperatingSystem.
version (oci.cloud_migrations.models.OlvmVersion) – The value to assign to the version property of this OlvmOperatingSystem.
- property boot¶
Gets the boot of this OlvmOperatingSystem. Configuration of the boot sequence of a virtual machine.
- Returns
The boot of this OlvmOperatingSystem.
- Return type
list[oci.cloud_migrations.models.OlvmBootDevice]
- property cmd_line¶
Gets the cmd_line of this OlvmOperatingSystem. Custom kernel parameters for starting the virtual machine if Linux operating system is used.
- Returns
The cmd_line of this OlvmOperatingSystem.
- Return type
str
- property custom_kernel_cmd_line¶
Gets the custom_kernel_cmd_line of this OlvmOperatingSystem. A custom part of the host kernel command line.
- Returns
The custom_kernel_cmd_line of this OlvmOperatingSystem.
- Return type
str
- property init_rd¶
Gets the init_rd of this OlvmOperatingSystem. Path to custom initial ramdisk on ISO storage domain if Linux operating system is used.
- Returns
The init_rd of this OlvmOperatingSystem.
- Return type
str
- property kernel¶
Gets the kernel of this OlvmOperatingSystem. Path to custom kernel on ISO storage domain if Linux operating system is used.
- Returns
The kernel of this OlvmOperatingSystem.
- Return type
str
- property reported_kernel_cmd_line¶
Gets the reported_kernel_cmd_line of this OlvmOperatingSystem. The host kernel command line as reported by a running host.
- Returns
The reported_kernel_cmd_line of this OlvmOperatingSystem.
- Return type
str
- property type¶
Gets the type of this OlvmOperatingSystem. Operating system name in human readable form
- Returns
The type of this OlvmOperatingSystem.
- Return type
str
- property version¶
Gets the version of this OlvmOperatingSystem.
- Returns
The version of this OlvmOperatingSystem.
- Return type