InstanceAgentCommandContent

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

Bases: object

The contents of the command.

Methods:

__init__(**kwargs)

Initializes a new InstanceAgentCommandContent object with values from keyword arguments.

Attributes:

command_string

Gets the command_string of this InstanceAgentCommandContent.

output

Gets the output of this InstanceAgentCommandContent.

source

[Required] Gets the source of this InstanceAgentCommandContent.

__init__(**kwargs)

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

Parameters
property command_string

Gets the command_string of this InstanceAgentCommandContent. Command String is a fully formed command that runcommand executes. Example: main.sh is stored in object storage and user provides the following command with parameters to execute /bin/sh main.sh abc 10 foo.sh

Returns

The command_string of this InstanceAgentCommandContent.

Return type

str

property output

Gets the output of this InstanceAgentCommandContent. The output destination for the command.

Returns

The output of this InstanceAgentCommandContent.

Return type

oci.compute_instance_agent.models.InstanceAgentCommandOutputDetails

property source

[Required] Gets the source of this InstanceAgentCommandContent. The source of the command.

Returns

The source of this InstanceAgentCommandContent.

Return type

oci.compute_instance_agent.models.InstanceAgentCommandSourceDetails