Plugin

class oci.cloud_bridge.models.Plugin(**kwargs)

Bases: object

Description of plugin

Attributes

DESIRED_STATE_DISABLED A constant which can be used with the desired_state property of a Plugin.
DESIRED_STATE_ENABLED A constant which can be used with the desired_state property of a Plugin.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a Plugin.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a Plugin.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a Plugin.
LIFECYCLE_STATE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a Plugin.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a Plugin.
agent_id [Required] Gets the agent_id of this Plugin.
defined_tags Gets the defined_tags of this Plugin.
desired_state Gets the desired_state of this Plugin.
freeform_tags Gets the freeform_tags of this Plugin.
lifecycle_details Gets the lifecycle_details of this Plugin.
lifecycle_state [Required] Gets the lifecycle_state of this Plugin.
name [Required] Gets the name of this Plugin.
plugin_version [Required] Gets the plugin_version of this Plugin.
system_tags Gets the system_tags of this Plugin.
time_created [Required] Gets the time_created of this Plugin.
time_updated Gets the time_updated of this Plugin.

Methods

__init__(**kwargs) Initializes a new Plugin object with values from keyword arguments.
DESIRED_STATE_DISABLED = 'DISABLED'

A constant which can be used with the desired_state property of a Plugin. This constant has a value of “DISABLED”

DESIRED_STATE_ENABLED = 'ENABLED'

A constant which can be used with the desired_state property of a Plugin. This constant has a value of “ENABLED”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a Plugin. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a Plugin. This constant has a value of “DELETED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a Plugin. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a Plugin. This constant has a value of “NEEDS_ATTENTION”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a Plugin. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new Plugin 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 Plugin.
  • agent_id (str) – The value to assign to the agent_id property of this Plugin.
  • plugin_version (str) – The value to assign to the plugin_version property of this Plugin.
  • desired_state (str) – The value to assign to the desired_state property of this Plugin. Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this Plugin.
  • time_updated (datetime) – The value to assign to the time_updated property of this Plugin.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this Plugin. Allowed values for this property are: “UPDATING”, “ACTIVE”, “INACTIVE”, “NEEDS_ATTENTION”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this Plugin.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Plugin.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Plugin.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this Plugin.
agent_id

[Required] Gets the agent_id of this Plugin. Agent identifier.

Returns:The agent_id of this Plugin.
Return type:str
defined_tags

Gets the defined_tags of this Plugin. The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this Plugin.
Return type:dict(str, dict(str, object))
desired_state

Gets the desired_state of this Plugin. State to which the customer wants the plugin to move to.

Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The desired_state of this Plugin.
Return type:str
freeform_tags

Gets the freeform_tags of this Plugin. The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this Plugin.
Return type:dict(str, str)
lifecycle_details

Gets the lifecycle_details of this Plugin. A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.

Returns:The lifecycle_details of this Plugin.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this Plugin. The current state of the plugin.

Allowed values for this property are: “UPDATING”, “ACTIVE”, “INACTIVE”, “NEEDS_ATTENTION”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this Plugin.
Return type:str
name

[Required] Gets the name of this Plugin. Plugin identifier, which can be renamed.

Returns:The name of this Plugin.
Return type:str
plugin_version

[Required] Gets the plugin_version of this Plugin. Plugin version.

Returns:The plugin_version of this Plugin.
Return type:str
system_tags

Gets the system_tags of this Plugin. The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

Returns:The system_tags of this Plugin.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this Plugin. The time when the Agent was created. An RFC3339 formatted datetime string.

Returns:The time_created of this Plugin.
Return type:datetime
time_updated

Gets the time_updated of this Plugin. The time when the Agent was updated. An RFC3339 formatted datetime string.

Returns:The time_updated of this Plugin.
Return type:datetime