InstanceAgentCommandSourceViaObjectStorageTupleDetails¶
- class oci.compute_instance_agent.models.InstanceAgentCommandSourceViaObjectStorageTupleDetails(**kwargs)¶
Bases:
InstanceAgentCommandSourceDetailsThe source of the command when imported from an Object Storage bucket.
Attributes:
A constant which can be used with the source_type property of a InstanceAgentCommandSourceDetails.
A constant which can be used with the source_type property of a InstanceAgentCommandSourceDetails.
A constant which can be used with the source_type property of a InstanceAgentCommandSourceDetails.
[Required] Gets the bucket_name of this InstanceAgentCommandSourceViaObjectStorageTupleDetails.
[Required] Gets the namespace_name of this InstanceAgentCommandSourceViaObjectStorageTupleDetails.
[Required] Gets the object_name of this InstanceAgentCommandSourceViaObjectStorageTupleDetails.
[Required] Gets the source_type of this InstanceAgentCommandSourceDetails.
Methods:
__init__(**kwargs)Initializes a new InstanceAgentCommandSourceViaObjectStorageTupleDetails 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.
- SOURCE_TYPE_OBJECT_STORAGE_TUPLE = 'OBJECT_STORAGE_TUPLE'¶
A constant which can be used with the source_type property of a InstanceAgentCommandSourceDetails. This constant has a value of “OBJECT_STORAGE_TUPLE”
- SOURCE_TYPE_OBJECT_STORAGE_URI = 'OBJECT_STORAGE_URI'¶
A constant which can be used with the source_type property of a InstanceAgentCommandSourceDetails. This constant has a value of “OBJECT_STORAGE_URI”
- SOURCE_TYPE_TEXT = 'TEXT'¶
A constant which can be used with the source_type property of a InstanceAgentCommandSourceDetails. This constant has a value of “TEXT”
- __init__(**kwargs)¶
Initializes a new InstanceAgentCommandSourceViaObjectStorageTupleDetails object with values from keyword arguments. The default value of the
source_typeattribute of this class isOBJECT_STORAGE_TUPLEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
source_type (str) – The value to assign to the source_type property of this InstanceAgentCommandSourceViaObjectStorageTupleDetails. Allowed values for this property are: “TEXT”, “OBJECT_STORAGE_URI”, “OBJECT_STORAGE_TUPLE”
bucket_name (str) – The value to assign to the bucket_name property of this InstanceAgentCommandSourceViaObjectStorageTupleDetails.
namespace_name (str) – The value to assign to the namespace_name property of this InstanceAgentCommandSourceViaObjectStorageTupleDetails.
object_name (str) – The value to assign to the object_name property of this InstanceAgentCommandSourceViaObjectStorageTupleDetails.
- property bucket_name¶
[Required] Gets the bucket_name of this InstanceAgentCommandSourceViaObjectStorageTupleDetails. The Object Storage bucket for the command.
- Returns
The bucket_name of this InstanceAgentCommandSourceViaObjectStorageTupleDetails.
- Return type
str
- 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 namespace_name¶
[Required] Gets the namespace_name of this InstanceAgentCommandSourceViaObjectStorageTupleDetails. The Object Storage namespace for the command.
- Returns
The namespace_name of this InstanceAgentCommandSourceViaObjectStorageTupleDetails.
- Return type
str
- property object_name¶
[Required] Gets the object_name of this InstanceAgentCommandSourceViaObjectStorageTupleDetails. The Object Storage object name for the command.
- Returns
The object_name of this InstanceAgentCommandSourceViaObjectStorageTupleDetails.
- Return type
str
- property source_type¶
[Required] Gets the source_type of this InstanceAgentCommandSourceDetails. The source type for the command. The following values are supported:
TEXT - uses a plain text command that is specified inline with the request.
OBJECT_STORAGE_URI - imports a command from an Object Storage URL.
OBJECT_STORAGE_TUPLE - imports a command from 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 source_type of this InstanceAgentCommandSourceDetails.
- Return type
str