OdaInstanceAttachmentSummary¶
-
class
oci.oda.models.
OdaInstanceAttachmentSummary
(**kwargs)¶ Bases:
object
Description of an ODA instance attachment.
Attributes
ATTACHMENT_TYPE_FUSION
A constant which can be used with the attachment_type property of a OdaInstanceAttachmentSummary. ATTACHMENT_TYPE_MAX
A constant which can be used with the attachment_type property of a OdaInstanceAttachmentSummary. attach_to_id
[Required] Gets the attach_to_id of this OdaInstanceAttachmentSummary. attachment_metadata
Gets the attachment_metadata of this OdaInstanceAttachmentSummary. attachment_type
[Required] Gets the attachment_type of this OdaInstanceAttachmentSummary. defined_tags
Gets the defined_tags of this OdaInstanceAttachmentSummary. freeform_tags
Gets the freeform_tags of this OdaInstanceAttachmentSummary. id
[Required] Gets the id of this OdaInstanceAttachmentSummary. instance_id
[Required] Gets the instance_id of this OdaInstanceAttachmentSummary. lifecycle_state
[Required] Gets the lifecycle_state of this OdaInstanceAttachmentSummary. owner
Gets the owner of this OdaInstanceAttachmentSummary. restricted_operations
Gets the restricted_operations of this OdaInstanceAttachmentSummary. time_created
Gets the time_created of this OdaInstanceAttachmentSummary. time_last_update
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.
-
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
-
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
-
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
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))
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)
-
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
-
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
-
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
-
owner
¶ Gets the owner of this OdaInstanceAttachmentSummary.
Returns: The owner of this OdaInstanceAttachmentSummary. Return type: oci.oda.models.OdaInstanceOwner
-
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]
-
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
-
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
-