OdaInstanceAttachmentSummary¶
- class oci.oda.models.OdaInstanceAttachmentSummary(**kwargs)¶
Bases:
objectDescription of an ODA instance attachment.
Attributes:
A constant which can be used with the attachment_type property of a OdaInstanceAttachmentSummary.
A constant which can be used with the attachment_type property of a OdaInstanceAttachmentSummary.
[Required] Gets the attach_to_id of this OdaInstanceAttachmentSummary.
Gets the attachment_metadata of this OdaInstanceAttachmentSummary.
[Required] Gets the attachment_type of this OdaInstanceAttachmentSummary.
Gets the defined_tags of this OdaInstanceAttachmentSummary.
Gets the freeform_tags of this OdaInstanceAttachmentSummary.
[Required] Gets the id of this OdaInstanceAttachmentSummary.
[Required] Gets the instance_id of this OdaInstanceAttachmentSummary.
[Required] Gets the lifecycle_state of this OdaInstanceAttachmentSummary.
Gets the owner of this OdaInstanceAttachmentSummary.
Gets the restricted_operations of this OdaInstanceAttachmentSummary.
Gets the time_created of this OdaInstanceAttachmentSummary.
Gets the time_last_update of this OdaInstanceAttachmentSummary.
Methods:
__init__(**kwargs)Initializes a new OdaInstanceAttachmentSummary object with values from keyword arguments.
- ATTACHMENT_TYPE_FUSION = 'FUSION'¶
A constant which can be used with the attachment_type property of a OdaInstanceAttachmentSummary. This constant has a value of “FUSION”
- ATTACHMENT_TYPE_MAX = 'MAX'¶
A constant which can be used with the attachment_type property of a OdaInstanceAttachmentSummary. This constant has a value of “MAX”
- __init__(**kwargs)¶
Initializes a new OdaInstanceAttachmentSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this OdaInstanceAttachmentSummary.
instance_id (str) – The value to assign to the instance_id property of this OdaInstanceAttachmentSummary.
attach_to_id (str) – The value to assign to the attach_to_id property of this OdaInstanceAttachmentSummary.
attachment_type (str) – The value to assign to the attachment_type property of this OdaInstanceAttachmentSummary. Allowed values for this property are: “FUSION”, “MAX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
attachment_metadata (str) – The value to assign to the attachment_metadata property of this OdaInstanceAttachmentSummary.
restricted_operations (list[str]) – The value to assign to the restricted_operations property of this OdaInstanceAttachmentSummary.
owner (oci.oda.models.OdaInstanceOwner) – The value to assign to the owner property of this OdaInstanceAttachmentSummary.
time_created (datetime) – The value to assign to the time_created property of this OdaInstanceAttachmentSummary.
time_last_update (datetime) – The value to assign to the time_last_update property of this OdaInstanceAttachmentSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this OdaInstanceAttachmentSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this OdaInstanceAttachmentSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this OdaInstanceAttachmentSummary.
- property attach_to_id¶
[Required] Gets the attach_to_id of this OdaInstanceAttachmentSummary. The OCID of the target instance (which could be any other OCI PaaS/SaaS resource), to which the ODA instance is or is being attached.
- Returns
The attach_to_id of this OdaInstanceAttachmentSummary.
- Return type
str
- property attachment_metadata¶
Gets the attachment_metadata of this OdaInstanceAttachmentSummary. Attachment-specific metadata, defined by the target service.
- Returns
The attachment_metadata of this OdaInstanceAttachmentSummary.
- Return type
str
- property attachment_type¶
[Required] Gets the attachment_type of this OdaInstanceAttachmentSummary. The type of attachment defined as an enum.
Allowed values for this property are: “FUSION”, “MAX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The attachment_type of this OdaInstanceAttachmentSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this OdaInstanceAttachmentSummary. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this OdaInstanceAttachmentSummary.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this OdaInstanceAttachmentSummary. Simple key-value pair that is applied without any predefined name, type, or scope. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this OdaInstanceAttachmentSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this OdaInstanceAttachmentSummary. Unique immutable identifier that was assigned when the ODA instance attachment was created.
- Returns
The id of this OdaInstanceAttachmentSummary.
- Return type
str
- property instance_id¶
[Required] Gets the instance_id of this OdaInstanceAttachmentSummary. The OCID of the ODA instance to which the attachment applies.
- Returns
The instance_id of this OdaInstanceAttachmentSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this OdaInstanceAttachmentSummary. The current state of the attachment.
- Returns
The lifecycle_state of this OdaInstanceAttachmentSummary.
- Return type
str
- property owner¶
Gets the owner of this OdaInstanceAttachmentSummary.
- Returns
The owner of this OdaInstanceAttachmentSummary.
- Return type
- property restricted_operations¶
Gets the restricted_operations of this OdaInstanceAttachmentSummary. List of operation names that are restricted while this ODA instance is attached.
- Returns
The restricted_operations of this OdaInstanceAttachmentSummary.
- Return type
list[str]
- property time_created¶
Gets the time_created of this OdaInstanceAttachmentSummary. The time the attachment was created. An RFC3339 formatted datetime string
- Returns
The time_created of this OdaInstanceAttachmentSummary.
- Return type
datetime
- property time_last_update¶
Gets the time_last_update of this OdaInstanceAttachmentSummary. The time the attachment was last modified. An RFC3339 formatted datetime string
- Returns
The time_last_update of this OdaInstanceAttachmentSummary.
- Return type
datetime