CreateAgentDetails

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

Bases: object

Information about the new Agent.

Methods:

__init__(**kwargs)

Initializes a new CreateAgentDetails object with values from keyword arguments.

Attributes:

agent_type

[Required] Gets the agent_type of this CreateAgentDetails.

agent_version

[Required] Gets the agent_version of this CreateAgentDetails.

compartment_id

[Required] Gets the compartment_id of this CreateAgentDetails.

defined_tags

Gets the defined_tags of this CreateAgentDetails.

display_name

[Required] Gets the display_name of this CreateAgentDetails.

environment_id

[Required] Gets the environment_id of this CreateAgentDetails.

freeform_tags

Gets the freeform_tags of this CreateAgentDetails.

os_version

[Required] Gets the os_version of this CreateAgentDetails.

__init__(**kwargs)

Initializes a new CreateAgentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • display_name (str) – The value to assign to the display_name property of this CreateAgentDetails.

  • agent_type (str) – The value to assign to the agent_type property of this CreateAgentDetails.

  • agent_version (str) – The value to assign to the agent_version property of this CreateAgentDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this CreateAgentDetails.

  • environment_id (str) – The value to assign to the environment_id property of this CreateAgentDetails.

  • os_version (str) – The value to assign to the os_version property of this CreateAgentDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateAgentDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateAgentDetails.

property agent_type

[Required] Gets the agent_type of this CreateAgentDetails. Agent identifier.

Returns

The agent_type of this CreateAgentDetails.

Return type

str

property agent_version

[Required] Gets the agent_version of this CreateAgentDetails. Agent identifier.

Returns

The agent_version of this CreateAgentDetails.

Return type

str

property compartment_id

[Required] Gets the compartment_id of this CreateAgentDetails. Compartment identifier.

Returns

The compartment_id of this CreateAgentDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateAgentDetails. 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 CreateAgentDetails.

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this CreateAgentDetails. Agent identifier.

Returns

The display_name of this CreateAgentDetails.

Return type

str

property environment_id

[Required] Gets the environment_id of this CreateAgentDetails. Environment identifier.

Returns

The environment_id of this CreateAgentDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateAgentDetails. 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 CreateAgentDetails.

Return type

dict(str, str)

property os_version

[Required] Gets the os_version of this CreateAgentDetails. OS version.

Returns

The os_version of this CreateAgentDetails.

Return type

str