OlvmPowerManagement¶
- class oci.cloud_migrations.models.OlvmPowerManagement(**kwargs)¶
Bases:
objectOLVM Power management definitions
Attributes:
A constant which can be used with the status property of a OlvmPowerManagement.
A constant which can be used with the status property of a OlvmPowerManagement.
A constant which can be used with the status property of a OlvmPowerManagement.
Gets the address of this OlvmPowerManagement.
Gets the agents of this OlvmPowerManagement.
Gets the is_automatic_pm_enabled of this OlvmPowerManagement.
Gets the is_enabled of this OlvmPowerManagement.
Gets the is_k_dump_detection of this OlvmPowerManagement.
Gets the pm_proxies of this OlvmPowerManagement.
Gets the status of this OlvmPowerManagement.
Gets the type of this OlvmPowerManagement.
Gets the username of this OlvmPowerManagement.
Methods:
__init__(**kwargs)Initializes a new OlvmPowerManagement object with values from keyword arguments.
- STATUS_OFF = 'OFF'¶
A constant which can be used with the status property of a OlvmPowerManagement. This constant has a value of “OFF”
- STATUS_ON = 'ON'¶
A constant which can be used with the status property of a OlvmPowerManagement. This constant has a value of “ON”
- STATUS_UNKNOWN = 'UNKNOWN'¶
A constant which can be used with the status property of a OlvmPowerManagement. This constant has a value of “UNKNOWN”
- __init__(**kwargs)¶
Initializes a new OlvmPowerManagement object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
address (str) – The value to assign to the address property of this OlvmPowerManagement.
agents (list[oci.cloud_migrations.models.OlvmAgent]) – The value to assign to the agents property of this OlvmPowerManagement.
is_automatic_pm_enabled (bool) – The value to assign to the is_automatic_pm_enabled property of this OlvmPowerManagement.
is_enabled (bool) – The value to assign to the is_enabled property of this OlvmPowerManagement.
is_k_dump_detection (bool) – The value to assign to the is_k_dump_detection property of this OlvmPowerManagement.
pm_proxies (list[oci.cloud_migrations.models.OlvmPmProxy]) – The value to assign to the pm_proxies property of this OlvmPowerManagement.
status (str) – The value to assign to the status property of this OlvmPowerManagement. Allowed values for this property are: “OFF”, “ON”, “UNKNOWN”
type (str) – The value to assign to the type property of this OlvmPowerManagement.
username (str) – The value to assign to the username property of this OlvmPowerManagement.
- property address¶
Gets the address of this OlvmPowerManagement. Address of power management
- Returns
The address of this OlvmPowerManagement.
- Return type
str
- property agents¶
Gets the agents of this OlvmPowerManagement. Supported sources of random number generator.
- Returns
The agents of this OlvmPowerManagement.
- Return type
- property is_automatic_pm_enabled¶
Gets the is_automatic_pm_enabled of this OlvmPowerManagement. Toggles the automated power control of the host in order to save energy.
- Returns
The is_automatic_pm_enabled of this OlvmPowerManagement.
- Return type
bool
- property is_enabled¶
Gets the is_enabled of this OlvmPowerManagement. Indicates whether power management configuration is enabled or disabled.
- Returns
The is_enabled of this OlvmPowerManagement.
- Return type
bool
- property is_k_dump_detection¶
Gets the is_k_dump_detection of this OlvmPowerManagement. Toggles whether to determine if kdump is running on the host before it is shut down.
- Returns
The is_k_dump_detection of this OlvmPowerManagement.
- Return type
bool
- property pm_proxies¶
Gets the pm_proxies of this OlvmPowerManagement. Determines the power management proxy.
- Returns
The pm_proxies of this OlvmPowerManagement.
- Return type
- property status¶
Gets the status of this OlvmPowerManagement. Determines the power status of the host.
Allowed values for this property are: “OFF”, “ON”, “UNKNOWN”
- Returns
The status of this OlvmPowerManagement.
- Return type
str
- property type¶
Gets the type of this OlvmPowerManagement. Fencing device code.
- Returns
The type of this OlvmPowerManagement.
- Return type
str
- property username¶
Gets the username of this OlvmPowerManagement. A valid user name for power management.
- Returns
The username of this OlvmPowerManagement.
- Return type
str