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: - source (oci.compute_instance_agent.models.InstanceAgentCommandSourceDetails) – The value to assign to the source property of this InstanceAgentCommandContent.
- output (oci.compute_instance_agent.models.InstanceAgentCommandOutputDetails) – The value to assign to the output property of this InstanceAgentCommandContent.
- command_string (str) – The value to assign to the command_string property of this InstanceAgentCommandContent.
-
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
-
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
-
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
-