InstanceAgentCommandSummary

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

Bases: object

Summary information for a command.

Methods:

__init__(**kwargs)

Initializes a new InstanceAgentCommandSummary object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this InstanceAgentCommandSummary.

display_name

Gets the display_name of this InstanceAgentCommandSummary.

instance_agent_command_id

[Required] Gets the instance_agent_command_id of this InstanceAgentCommandSummary.

is_canceled

Gets the is_canceled of this InstanceAgentCommandSummary.

time_created

[Required] Gets the time_created of this InstanceAgentCommandSummary.

time_updated

[Required] Gets the time_updated of this InstanceAgentCommandSummary.

__init__(**kwargs)

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

Parameters
  • instance_agent_command_id (str) – The value to assign to the instance_agent_command_id property of this InstanceAgentCommandSummary.

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

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

  • time_created (datetime) – The value to assign to the time_created property of this InstanceAgentCommandSummary.

  • time_updated (datetime) – The value to assign to the time_updated property of this InstanceAgentCommandSummary.

  • is_canceled (bool) – The value to assign to the is_canceled property of this InstanceAgentCommandSummary.

property compartment_id

[Required] Gets the compartment_id of this InstanceAgentCommandSummary. The OCID of the compartment containing the command.

Returns

The compartment_id of this InstanceAgentCommandSummary.

Return type

str

property display_name

Gets the display_name of this InstanceAgentCommandSummary. A user-friendly name. Does not have to be unique.

Returns

The display_name of this InstanceAgentCommandSummary.

Return type

str

property instance_agent_command_id

[Required] Gets the instance_agent_command_id of this InstanceAgentCommandSummary. The OCID of the command.

Returns

The instance_agent_command_id of this InstanceAgentCommandSummary.

Return type

str

property is_canceled

Gets the is_canceled of this InstanceAgentCommandSummary. Whether a request was made to cancel the command. Canceling a command is a best-effort attempt.

Returns

The is_canceled of this InstanceAgentCommandSummary.

Return type

bool

property time_created

[Required] Gets the time_created of this InstanceAgentCommandSummary. The date and time the command was created, in the format defined by RFC3339.

Returns

The time_created of this InstanceAgentCommandSummary.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this InstanceAgentCommandSummary. The date and time the command was last updated, in the format defined by RFC3339.

Returns

The time_updated of this InstanceAgentCommandSummary.

Return type

datetime