OlvmPowerManagement¶
-
class
oci.cloud_migrations.models.OlvmPowerManagement(**kwargs)¶ Bases:
objectOLVM Power management definitions
Attributes
STATUS_OFFA constant which can be used with the status property of a OlvmPowerManagement. STATUS_ONA constant which can be used with the status property of a OlvmPowerManagement. STATUS_UNKNOWNA constant which can be used with the status property of a OlvmPowerManagement. addressGets the address of this OlvmPowerManagement. agentsGets the agents of this OlvmPowerManagement. is_automatic_pm_enabledGets the is_automatic_pm_enabled of this OlvmPowerManagement. is_enabledGets the is_enabled of this OlvmPowerManagement. is_k_dump_detectionGets the is_k_dump_detection of this OlvmPowerManagement. pm_proxiesGets the pm_proxies of this OlvmPowerManagement. statusGets the status of this OlvmPowerManagement. typeGets the type of this OlvmPowerManagement. usernameGets 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.
-
address¶ Gets the address of this OlvmPowerManagement. Address of power management
Returns: The address of this OlvmPowerManagement. Return type: str
-
agents¶ Gets the agents of this OlvmPowerManagement. Supported sources of random number generator.
Returns: The agents of this OlvmPowerManagement. Return type: list[oci.cloud_migrations.models.OlvmAgent]
-
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
-
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
-
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
-
pm_proxies¶ Gets the pm_proxies of this OlvmPowerManagement. Determines the power management proxy.
Returns: The pm_proxies of this OlvmPowerManagement. Return type: list[oci.cloud_migrations.models.OlvmPmProxy]
-
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
-
type¶ Gets the type of this OlvmPowerManagement. Fencing device code.
Returns: The type of this OlvmPowerManagement. Return type: str
-
username¶ Gets the username of this OlvmPowerManagement. A valid user name for power management.
Returns: The username of this OlvmPowerManagement. Return type: str
-