AttachmentDetails¶
- 
class oci.integration.models.AttachmentDetails(**kwargs)¶
- Bases: - object- Description of an attachments for this instance - Attributes - TARGET_ROLE_CHILD- A constant which can be used with the target_role property of a AttachmentDetails. - TARGET_ROLE_PARENT- A constant which can be used with the target_role property of a AttachmentDetails. - is_implicit- [Required] Gets the is_implicit of this AttachmentDetails. - target_id- [Required] Gets the target_id of this AttachmentDetails. - target_instance_url- [Required] Gets the target_instance_url of this AttachmentDetails. - target_role- [Required] Gets the target_role of this AttachmentDetails. - target_service_type- [Required] Gets the target_service_type of this AttachmentDetails. - Methods - __init__(**kwargs)- Initializes a new AttachmentDetails object with values from keyword arguments. - 
TARGET_ROLE_CHILD= 'CHILD'¶
- A constant which can be used with the target_role property of a AttachmentDetails. This constant has a value of “CHILD” 
 - 
TARGET_ROLE_PARENT= 'PARENT'¶
- A constant which can be used with the target_role property of a AttachmentDetails. This constant has a value of “PARENT” 
 - 
__init__(**kwargs)¶
- Initializes a new AttachmentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - Parameters: - target_role (str) – The value to assign to the target_role property of this AttachmentDetails. Allowed values for this property are: “PARENT”, “CHILD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- is_implicit (bool) – The value to assign to the is_implicit property of this AttachmentDetails.
- target_id (str) – The value to assign to the target_id property of this AttachmentDetails.
- target_instance_url (str) – The value to assign to the target_instance_url property of this AttachmentDetails.
- target_service_type (str) – The value to assign to the target_service_type property of this AttachmentDetails.
 
 - 
is_implicit¶
- [Required] Gets the is_implicit of this AttachmentDetails. * If role == PARENT, the attached instance was created by this service instance * If role == CHILD, this instance was created from attached instance on behalf of a user - Returns: - The is_implicit of this AttachmentDetails. - Return type: - bool 
 - 
target_id¶
- [Required] Gets the target_id of this AttachmentDetails. The OCID of the target instance (which could be any other OCI PaaS/SaaS resource), to which this instance is attached. - Returns: - The target_id of this AttachmentDetails. - Return type: - str 
 - 
target_instance_url¶
- [Required] Gets the target_instance_url of this AttachmentDetails. The dataplane instance URL of the attached instance - Returns: - The target_instance_url of this AttachmentDetails. - Return type: - str 
 - 
target_role¶
- [Required] Gets the target_role of this AttachmentDetails. The role of the target attachment. - PARENT - The target instance is the parent of this attachment.
- CHILD - The target instance is the child of this attachment.
 - Allowed values for this property are: “PARENT”, “CHILD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The target_role of this AttachmentDetails. - Return type: - str 
 - 
target_service_type¶
- [Required] Gets the target_service_type of this AttachmentDetails. The type of the target instance, such as “FUSION”. - Returns: - The target_service_type of this AttachmentDetails. - Return type: - str 
 
-