InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails¶
-
class
oci.compute_instance_agent.models.
InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails
(**kwargs)¶ Bases:
oci.compute_instance_agent.models.instance_agent_command_execution_output_content.InstanceAgentCommandExecutionOutputContent
The execution output from a command when saved to an Object Storage bucket.
Attributes
OUTPUT_TYPE_OBJECT_STORAGE_TUPLE
str(object=’’) -> str OUTPUT_TYPE_OBJECT_STORAGE_URI
str(object=’’) -> str OUTPUT_TYPE_TEXT
str(object=’’) -> str bucket_name
[Required] Gets the bucket_name of this InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails. exit_code
[Required] Gets the exit_code of this InstanceAgentCommandExecutionOutputContent. message
Gets the message of this InstanceAgentCommandExecutionOutputContent. namespace_name
[Required] Gets the namespace_name of this InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails. object_name
[Required] Gets the object_name of this InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails. output_type
[Required] Gets the output_type of this InstanceAgentCommandExecutionOutputContent. Methods
__init__
(**kwargs)Initializes a new InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
OUTPUT_TYPE_OBJECT_STORAGE_TUPLE
= 'OBJECT_STORAGE_TUPLE'¶
-
OUTPUT_TYPE_OBJECT_STORAGE_URI
= 'OBJECT_STORAGE_URI'¶
-
OUTPUT_TYPE_TEXT
= 'TEXT'¶
-
__init__
(**kwargs)¶ Initializes a new InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails object with values from keyword arguments. The default value of the
output_type
attribute of this class isOBJECT_STORAGE_TUPLE
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - output_type (str) – The value to assign to the output_type property of this InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails. Allowed values for this property are: “TEXT”, “OBJECT_STORAGE_URI”, “OBJECT_STORAGE_TUPLE”
- exit_code (int) – The value to assign to the exit_code property of this InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails.
- message (str) – The value to assign to the message property of this InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails.
- bucket_name (str) – The value to assign to the bucket_name property of this InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails.
- namespace_name (str) – The value to assign to the namespace_name property of this InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails.
- object_name (str) – The value to assign to the object_name property of this InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails.
-
bucket_name
¶ [Required] Gets the bucket_name of this InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails. The Object Storage bucket for the command output.
Returns: The bucket_name of this InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails. Return type: str
-
exit_code
¶ [Required] Gets the exit_code of this InstanceAgentCommandExecutionOutputContent. The exit code for the command. Exit code 0 indicates success.
Returns: The exit_code of this InstanceAgentCommandExecutionOutputContent. Return type: int
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
message
¶ Gets the message of this InstanceAgentCommandExecutionOutputContent. An optional status message that Oracle Cloud Agent can populate for additional troubleshooting.
Returns: The message of this InstanceAgentCommandExecutionOutputContent. Return type: str
-
namespace_name
¶ [Required] Gets the namespace_name of this InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails. The Object Storage namespace for the command output.
Returns: The namespace_name of this InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails. Return type: str
-
object_name
¶ [Required] Gets the object_name of this InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails. The Object Storage object name for the command output.
Returns: The object_name of this InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails. Return type: str
-
output_type
¶ [Required] Gets the output_type of this InstanceAgentCommandExecutionOutputContent. The output destination type for the command. The following values are supported:
- TEXT - the command output is returned as plain text.
- OBJECT_STORAGE_URI - the command output is saved to an Object Storage URL.
- OBJECT_STORAGE_TUPLE - the command output is saved to an Object Storage bucket.
For background information about Object Storage buckets and URLs, see Overview of Object Storage.
Allowed values for this property are: “TEXT”, “OBJECT_STORAGE_URI”, “OBJECT_STORAGE_TUPLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The output_type of this InstanceAgentCommandExecutionOutputContent. Return type: str
-