InstanceAgentCommandOutputViaObjectStorageUriDetails¶
- class oci.compute_instance_agent.models.InstanceAgentCommandOutputViaObjectStorageUriDetails(**kwargs)¶
Bases:
InstanceAgentCommandOutputDetailsThe command output destination when saved to an Object Storage URL.
Attributes:
A constant which can be used with the output_type property of a InstanceAgentCommandOutputDetails.
A constant which can be used with the output_type property of a InstanceAgentCommandOutputDetails.
A constant which can be used with the output_type property of a InstanceAgentCommandOutputDetails.
[Required] Gets the output_type of this InstanceAgentCommandOutputDetails.
[Required] Gets the output_uri of this InstanceAgentCommandOutputViaObjectStorageUriDetails.
Methods:
__init__(**kwargs)Initializes a new InstanceAgentCommandOutputViaObjectStorageUriDetails 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'¶
A constant which can be used with the output_type property of a InstanceAgentCommandOutputDetails. This constant has a value of “OBJECT_STORAGE_TUPLE”
- OUTPUT_TYPE_OBJECT_STORAGE_URI = 'OBJECT_STORAGE_URI'¶
A constant which can be used with the output_type property of a InstanceAgentCommandOutputDetails. This constant has a value of “OBJECT_STORAGE_URI”
- OUTPUT_TYPE_TEXT = 'TEXT'¶
A constant which can be used with the output_type property of a InstanceAgentCommandOutputDetails. This constant has a value of “TEXT”
- __init__(**kwargs)¶
Initializes a new InstanceAgentCommandOutputViaObjectStorageUriDetails object with values from keyword arguments. The default value of the
output_typeattribute of this class isOBJECT_STORAGE_URIand 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 InstanceAgentCommandOutputViaObjectStorageUriDetails. Allowed values for this property are: “TEXT”, “OBJECT_STORAGE_URI”, “OBJECT_STORAGE_TUPLE”
output_uri (str) – The value to assign to the output_uri property of this InstanceAgentCommandOutputViaObjectStorageUriDetails.
- 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.
- property output_type¶
[Required] Gets the output_type of this InstanceAgentCommandOutputDetails. The output 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 InstanceAgentCommandOutputDetails.
- Return type
str
- property output_uri¶
[Required] Gets the output_uri of this InstanceAgentCommandOutputViaObjectStorageUriDetails. The Object Storage URL or pre-authenticated request (PAR) for the command output.
- Returns
The output_uri of this InstanceAgentCommandOutputViaObjectStorageUriDetails.
- Return type
str