InstanceAgentPlugin¶
-
class
oci.compute_instance_agent.models.
InstanceAgentPlugin
(**kwargs)¶ Bases:
object
An Oracle Cloud Agent plugin.
Attributes
STATUS_INVALID
A constant which can be used with the status property of a InstanceAgentPlugin. STATUS_NOT_SUPPORTED
A constant which can be used with the status property of a InstanceAgentPlugin. STATUS_RUNNING
A constant which can be used with the status property of a InstanceAgentPlugin. STATUS_STOPPED
A constant which can be used with the status property of a InstanceAgentPlugin. message
Gets the message of this InstanceAgentPlugin. name
[Required] Gets the name of this InstanceAgentPlugin. status
[Required] Gets the status of this InstanceAgentPlugin. time_last_updated_utc
[Required] Gets the time_last_updated_utc of this InstanceAgentPlugin. Methods
__init__
(**kwargs)Initializes a new InstanceAgentPlugin object with values from keyword arguments. -
STATUS_INVALID
= 'INVALID'¶ A constant which can be used with the status property of a InstanceAgentPlugin. This constant has a value of “INVALID”
-
STATUS_NOT_SUPPORTED
= 'NOT_SUPPORTED'¶ A constant which can be used with the status property of a InstanceAgentPlugin. This constant has a value of “NOT_SUPPORTED”
-
STATUS_RUNNING
= 'RUNNING'¶ A constant which can be used with the status property of a InstanceAgentPlugin. This constant has a value of “RUNNING”
-
STATUS_STOPPED
= 'STOPPED'¶ A constant which can be used with the status property of a InstanceAgentPlugin. This constant has a value of “STOPPED”
-
__init__
(**kwargs)¶ Initializes a new InstanceAgentPlugin object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this InstanceAgentPlugin.
- status (str) – The value to assign to the status property of this InstanceAgentPlugin. Allowed values for this property are: “RUNNING”, “STOPPED”, “NOT_SUPPORTED”, “INVALID”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_last_updated_utc (datetime) – The value to assign to the time_last_updated_utc property of this InstanceAgentPlugin.
- message (str) – The value to assign to the message property of this InstanceAgentPlugin.
-
message
¶ Gets the message of this InstanceAgentPlugin. An optional message from the plugin.
Returns: The message of this InstanceAgentPlugin. Return type: str
-
name
¶ [Required] Gets the name of this InstanceAgentPlugin. The plugin name.
Returns: The name of this InstanceAgentPlugin. Return type: str
-
status
¶ [Required] Gets the status of this InstanceAgentPlugin. The plugin status.
These are the available statuses: * RUNNING - The plugin is running. * STOPPED - The plugin is stopped. * NOT_SUPPORTED - The plugin is not supported on this platform. * INVALID - The plugin status is not recognizable by the service.
To determine whether the plugin is enabled, use the
get_instance()
operation in the Core Services API. To enable or disable the plugin, use theupdate_instance()
operation in the Core Services API.Allowed values for this property are: “RUNNING”, “STOPPED”, “NOT_SUPPORTED”, “INVALID”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this InstanceAgentPlugin. Return type: str
-
time_last_updated_utc
¶ [Required] Gets the time_last_updated_utc of this InstanceAgentPlugin. The last updated time of the plugin, in UTC.
Returns: The time_last_updated_utc of this InstanceAgentPlugin. Return type: datetime
-