InstanceAgentCommandExecutionSummary¶
- class oci.compute_instance_agent.models.InstanceAgentCommandExecutionSummary(**kwargs)¶
Bases:
objectExecution details for a command.
Attributes:
A constant which can be used with the delivery_state property of a InstanceAgentCommandExecutionSummary.
A constant which can be used with the delivery_state property of a InstanceAgentCommandExecutionSummary.
A constant which can be used with the delivery_state property of a InstanceAgentCommandExecutionSummary.
A constant which can be used with the delivery_state property of a InstanceAgentCommandExecutionSummary.
A constant which can be used with the delivery_state property of a InstanceAgentCommandExecutionSummary.
A constant which can be used with the lifecycle_state property of a InstanceAgentCommandExecutionSummary.
A constant which can be used with the lifecycle_state property of a InstanceAgentCommandExecutionSummary.
A constant which can be used with the lifecycle_state property of a InstanceAgentCommandExecutionSummary.
A constant which can be used with the lifecycle_state property of a InstanceAgentCommandExecutionSummary.
A constant which can be used with the lifecycle_state property of a InstanceAgentCommandExecutionSummary.
A constant which can be used with the lifecycle_state property of a InstanceAgentCommandExecutionSummary.
[Required] Gets the content of this InstanceAgentCommandExecutionSummary.
[Required] Gets the delivery_state of this InstanceAgentCommandExecutionSummary. The command delivery state. * VISIBLE - The command is visible to the instance. * PENDING - The command is pending acknowledgment from the instance. * ACKED - The command has been received and acknowledged by the instance. * ACKED_CANCELED - The canceled command has been received and acknowledged by the instance. * EXPIRED - The instance has not requested for commands and the command's delivery has expired.
Gets the display_name of this InstanceAgentCommandExecutionSummary.
[Required] Gets the instance_agent_command_id of this InstanceAgentCommandExecutionSummary.
[Required] Gets the instance_id of this InstanceAgentCommandExecutionSummary.
[Required] Gets the lifecycle_state of this InstanceAgentCommandExecutionSummary.
[Required] Gets the sequence_number of this InstanceAgentCommandExecutionSummary.
[Required] Gets the time_created of this InstanceAgentCommandExecutionSummary.
[Required] Gets the time_updated of this InstanceAgentCommandExecutionSummary.
Methods:
__init__(**kwargs)Initializes a new InstanceAgentCommandExecutionSummary object with values from keyword arguments.
- DELIVERY_STATE_ACKED = 'ACKED'¶
A constant which can be used with the delivery_state property of a InstanceAgentCommandExecutionSummary. This constant has a value of “ACKED”
- DELIVERY_STATE_ACKED_CANCELED = 'ACKED_CANCELED'¶
A constant which can be used with the delivery_state property of a InstanceAgentCommandExecutionSummary. This constant has a value of “ACKED_CANCELED”
- DELIVERY_STATE_EXPIRED = 'EXPIRED'¶
A constant which can be used with the delivery_state property of a InstanceAgentCommandExecutionSummary. This constant has a value of “EXPIRED”
- DELIVERY_STATE_PENDING = 'PENDING'¶
A constant which can be used with the delivery_state property of a InstanceAgentCommandExecutionSummary. This constant has a value of “PENDING”
- DELIVERY_STATE_VISIBLE = 'VISIBLE'¶
A constant which can be used with the delivery_state property of a InstanceAgentCommandExecutionSummary. This constant has a value of “VISIBLE”
- LIFECYCLE_STATE_ACCEPTED = 'ACCEPTED'¶
A constant which can be used with the lifecycle_state property of a InstanceAgentCommandExecutionSummary. This constant has a value of “ACCEPTED”
- LIFECYCLE_STATE_CANCELED = 'CANCELED'¶
A constant which can be used with the lifecycle_state property of a InstanceAgentCommandExecutionSummary. This constant has a value of “CANCELED”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a InstanceAgentCommandExecutionSummary. This constant has a value of “FAILED”
- LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'¶
A constant which can be used with the lifecycle_state property of a InstanceAgentCommandExecutionSummary. This constant has a value of “IN_PROGRESS”
- LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'¶
A constant which can be used with the lifecycle_state property of a InstanceAgentCommandExecutionSummary. This constant has a value of “SUCCEEDED”
- LIFECYCLE_STATE_TIMED_OUT = 'TIMED_OUT'¶
A constant which can be used with the lifecycle_state property of a InstanceAgentCommandExecutionSummary. This constant has a value of “TIMED_OUT”
- __init__(**kwargs)¶
Initializes a new InstanceAgentCommandExecutionSummary 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 InstanceAgentCommandExecutionSummary.
instance_id (str) – The value to assign to the instance_id property of this InstanceAgentCommandExecutionSummary.
delivery_state (str) – The value to assign to the delivery_state property of this InstanceAgentCommandExecutionSummary. Allowed values for this property are: “VISIBLE”, “PENDING”, “ACKED”, “ACKED_CANCELED”, “EXPIRED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this InstanceAgentCommandExecutionSummary. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, “TIMED_OUT”, “CANCELED”, ‘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 InstanceAgentCommandExecutionSummary.
time_updated (datetime) – The value to assign to the time_updated property of this InstanceAgentCommandExecutionSummary.
sequence_number (int) – The value to assign to the sequence_number property of this InstanceAgentCommandExecutionSummary.
display_name (str) – The value to assign to the display_name property of this InstanceAgentCommandExecutionSummary.
content (oci.compute_instance_agent.models.InstanceAgentCommandExecutionOutputContent) – The value to assign to the content property of this InstanceAgentCommandExecutionSummary.
- property content¶
[Required] Gets the content of this InstanceAgentCommandExecutionSummary. The execution output from a command.
- Returns
The content of this InstanceAgentCommandExecutionSummary.
- Return type
oci.compute_instance_agent.models.InstanceAgentCommandExecutionOutputContent
- property delivery_state¶
[Required] Gets the delivery_state of this InstanceAgentCommandExecutionSummary. The command delivery state.
VISIBLE - The command is visible to the instance.
PENDING - The command is pending acknowledgment from the instance.
ACKED - The command has been received and acknowledged by the instance.
ACKED_CANCELED - The canceled command has been received and acknowledged by the instance.
EXPIRED - The instance has not requested for commands and the command’s delivery has expired.
Allowed values for this property are: “VISIBLE”, “PENDING”, “ACKED”, “ACKED_CANCELED”, “EXPIRED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The delivery_state of this InstanceAgentCommandExecutionSummary.
- Return type
str
- property display_name¶
Gets the display_name of this InstanceAgentCommandExecutionSummary. A user-friendly name. Does not have to be unique.
- Returns
The display_name of this InstanceAgentCommandExecutionSummary.
- Return type
str
- property instance_agent_command_id¶
[Required] Gets the instance_agent_command_id of this InstanceAgentCommandExecutionSummary. The OCID of the command.
- Returns
The instance_agent_command_id of this InstanceAgentCommandExecutionSummary.
- Return type
str
- property instance_id¶
[Required] Gets the instance_id of this InstanceAgentCommandExecutionSummary. The OCID of the instance.
- Returns
The instance_id of this InstanceAgentCommandExecutionSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this InstanceAgentCommandExecutionSummary. The command execution lifecycle state. * ACCEPTED - The command has been accepted to run. * IN_PROGRESS - The command is in progress. * SUCCEEDED - The command was successfully executed. * FAILED - The command failed to execute. * TIMED_OUT - The command execution timed out. * CANCELED - The command execution was canceled.
Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, “TIMED_OUT”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this InstanceAgentCommandExecutionSummary.
- Return type
str
- property sequence_number¶
[Required] Gets the sequence_number of this InstanceAgentCommandExecutionSummary. A large, non-consecutive number that Oracle Cloud Agent assigns to each created command.
- Returns
The sequence_number of this InstanceAgentCommandExecutionSummary.
- Return type
int