InstanceAgentPluginSummary

class oci.compute_instance_agent.models.InstanceAgentPluginSummary(**kwargs)

Bases: object

An Oracle Cloud Agent plugin.

Attributes:

STATUS_INVALID

A constant which can be used with the status property of a InstanceAgentPluginSummary.

STATUS_NOT_SUPPORTED

A constant which can be used with the status property of a InstanceAgentPluginSummary.

STATUS_RUNNING

A constant which can be used with the status property of a InstanceAgentPluginSummary.

STATUS_STOPPED

A constant which can be used with the status property of a InstanceAgentPluginSummary.

name

[Required] Gets the name of this InstanceAgentPluginSummary.

status

[Required] Gets the status of this InstanceAgentPluginSummary.

time_last_updated_utc

[Required] Gets the time_last_updated_utc of this InstanceAgentPluginSummary.

Methods:

__init__(**kwargs)

Initializes a new InstanceAgentPluginSummary object with values from keyword arguments.

STATUS_INVALID = 'INVALID'

A constant which can be used with the status property of a InstanceAgentPluginSummary. This constant has a value of “INVALID”

STATUS_NOT_SUPPORTED = 'NOT_SUPPORTED'

A constant which can be used with the status property of a InstanceAgentPluginSummary. This constant has a value of “NOT_SUPPORTED”

STATUS_RUNNING = 'RUNNING'

A constant which can be used with the status property of a InstanceAgentPluginSummary. This constant has a value of “RUNNING”

STATUS_STOPPED = 'STOPPED'

A constant which can be used with the status property of a InstanceAgentPluginSummary. This constant has a value of “STOPPED”

__init__(**kwargs)

Initializes a new InstanceAgentPluginSummary 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 InstanceAgentPluginSummary.

  • status (str) – The value to assign to the status property of this InstanceAgentPluginSummary. 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 InstanceAgentPluginSummary.

property name

[Required] Gets the name of this InstanceAgentPluginSummary. The plugin name.

Returns

The name of this InstanceAgentPluginSummary.

Return type

str

property status

[Required] Gets the status of this InstanceAgentPluginSummary. 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 the update_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 InstanceAgentPluginSummary.

Return type

str

property time_last_updated_utc

[Required] Gets the time_last_updated_utc of this InstanceAgentPluginSummary. The last updated time of the plugin, in UTC.

Returns

The time_last_updated_utc of this InstanceAgentPluginSummary.

Return type

datetime