UpdateOdaInstanceAttachmentDetails

class oci.oda.models.UpdateOdaInstanceAttachmentDetails(**kwargs)

Bases: object

ODA attachment details to be updated.

Methods

__init__(**kwargs) Initializes a new UpdateOdaInstanceAttachmentDetails object with values from keyword arguments.

Attributes

attachment_metadata [Required] Gets the attachment_metadata of this UpdateOdaInstanceAttachmentDetails.
defined_tags Gets the defined_tags of this UpdateOdaInstanceAttachmentDetails.
freeform_tags Gets the freeform_tags of this UpdateOdaInstanceAttachmentDetails.
owner [Required] Gets the owner of this UpdateOdaInstanceAttachmentDetails.
restricted_operations [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.
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
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))
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)
owner

[Required] Gets the owner of this UpdateOdaInstanceAttachmentDetails.

Returns:The owner of this UpdateOdaInstanceAttachmentDetails.
Return type:oci.oda.models.OdaInstanceAttachmentOwner
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]