InstanceAgentPlugin¶
-
class
oci.compute_instance_agent.models.
InstanceAgentPlugin
(**kwargs)¶ Bases:
object
The 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. The optional message from the agent 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 Specified the plugin state on the instance * RUNNING - The plugin is in running state * STOPPED - The plugin is in stopped state * NOT_SUPPORTED - The plugin is not supported on this platform * INVALID - The plugin state is not recognizable by the service
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 update time of the plugin in UTC
Returns: The time_last_updated_utc of this InstanceAgentPlugin. Return type: datetime
-