UpdateOdaInstanceAttachmentDetails¶
- class oci.oda.models.UpdateOdaInstanceAttachmentDetails(**kwargs)¶
Bases:
objectODA attachment details to be updated.
Methods:
__init__(**kwargs)Initializes a new UpdateOdaInstanceAttachmentDetails object with values from keyword arguments.
Attributes:
[Required] Gets the attachment_metadata of this UpdateOdaInstanceAttachmentDetails.
Gets the defined_tags of this UpdateOdaInstanceAttachmentDetails.
Gets the freeform_tags of this UpdateOdaInstanceAttachmentDetails.
[Required] Gets the owner of this UpdateOdaInstanceAttachmentDetails.
[Required] Gets the restricted_operations of this UpdateOdaInstanceAttachmentDetails.
- __init__(**kwargs)¶
Initializes a new UpdateOdaInstanceAttachmentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
attachment_metadata (str) – The value to assign to the attachment_metadata property of this UpdateOdaInstanceAttachmentDetails.
restricted_operations (list[str]) – The value to assign to the restricted_operations property of this UpdateOdaInstanceAttachmentDetails.
owner (oci.oda.models.OdaInstanceAttachmentOwner) – The value to assign to the owner property of this UpdateOdaInstanceAttachmentDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateOdaInstanceAttachmentDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateOdaInstanceAttachmentDetails.
- property attachment_metadata¶
[Required] Gets the attachment_metadata of this UpdateOdaInstanceAttachmentDetails. Attachment specific metadata. Defined by the target service.
- Returns
The attachment_metadata of this UpdateOdaInstanceAttachmentDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this UpdateOdaInstanceAttachmentDetails. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this UpdateOdaInstanceAttachmentDetails.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this UpdateOdaInstanceAttachmentDetails. Simple key-value pair that is applied without any predefined name, type, or scope. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this UpdateOdaInstanceAttachmentDetails.
- Return type
dict(str, str)
- property owner¶
[Required] Gets the owner of this UpdateOdaInstanceAttachmentDetails.
- Returns
The owner of this UpdateOdaInstanceAttachmentDetails.
- Return type
- property restricted_operations¶
[Required] Gets the restricted_operations of this UpdateOdaInstanceAttachmentDetails. List of operations that are restricted while this instance is attached.
- Returns
The restricted_operations of this UpdateOdaInstanceAttachmentDetails.
- Return type
list[str]