CreateOdaInstanceAttachmentDetails

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

Bases: object

Properties required to create an ODA instance attachment.

Attributes:

ATTACHMENT_TYPE_FUSION

A constant which can be used with the attachment_type property of a CreateOdaInstanceAttachmentDetails.

ATTACHMENT_TYPE_MAX

A constant which can be used with the attachment_type property of a CreateOdaInstanceAttachmentDetails.

attach_to_id

[Required] Gets the attach_to_id of this CreateOdaInstanceAttachmentDetails.

attachment_metadata

Gets the attachment_metadata of this CreateOdaInstanceAttachmentDetails.

attachment_type

[Required] Gets the attachment_type of this CreateOdaInstanceAttachmentDetails.

defined_tags

Gets the defined_tags of this CreateOdaInstanceAttachmentDetails.

freeform_tags

Gets the freeform_tags of this CreateOdaInstanceAttachmentDetails.

owner

[Required] Gets the owner of this CreateOdaInstanceAttachmentDetails.

restricted_operations

Gets the restricted_operations of this CreateOdaInstanceAttachmentDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateOdaInstanceAttachmentDetails object with values from keyword arguments.

ATTACHMENT_TYPE_FUSION = 'FUSION'

A constant which can be used with the attachment_type property of a CreateOdaInstanceAttachmentDetails. This constant has a value of “FUSION”

ATTACHMENT_TYPE_MAX = 'MAX'

A constant which can be used with the attachment_type property of a CreateOdaInstanceAttachmentDetails. This constant has a value of “MAX”

__init__(**kwargs)

Initializes a new CreateOdaInstanceAttachmentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • attach_to_id (str) – The value to assign to the attach_to_id property of this CreateOdaInstanceAttachmentDetails.

  • attachment_type (str) – The value to assign to the attachment_type property of this CreateOdaInstanceAttachmentDetails. Allowed values for this property are: “FUSION”, “MAX”

  • attachment_metadata (str) – The value to assign to the attachment_metadata property of this CreateOdaInstanceAttachmentDetails.

  • restricted_operations (list[str]) – The value to assign to the restricted_operations property of this CreateOdaInstanceAttachmentDetails.

  • owner (oci.oda.models.OdaInstanceAttachmentOwner) – The value to assign to the owner property of this CreateOdaInstanceAttachmentDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateOdaInstanceAttachmentDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateOdaInstanceAttachmentDetails.

property attach_to_id

[Required] Gets the attach_to_id of this CreateOdaInstanceAttachmentDetails. The OCID of the target instance (which could be any other OCI PaaS/SaaS resource), to which this ODA instance is being attached.

Returns

The attach_to_id of this CreateOdaInstanceAttachmentDetails.

Return type

str

property attachment_metadata

Gets the attachment_metadata of this CreateOdaInstanceAttachmentDetails. Attachment specific metadata. Defined by the target service.

Returns

The attachment_metadata of this CreateOdaInstanceAttachmentDetails.

Return type

str

property attachment_type

[Required] Gets the attachment_type of this CreateOdaInstanceAttachmentDetails. The type of target instance which this ODA instance is being attached.

Allowed values for this property are: “FUSION”, “MAX”

Returns

The attachment_type of this CreateOdaInstanceAttachmentDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateOdaInstanceAttachmentDetails. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this CreateOdaInstanceAttachmentDetails.

Return type

dict(str, dict(str, object))

property freeform_tags

Gets the freeform_tags of this CreateOdaInstanceAttachmentDetails. Simple key-value pair that is applied without any predefined name, type, or scope. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this CreateOdaInstanceAttachmentDetails.

Return type

dict(str, str)

property owner

[Required] Gets the owner of this CreateOdaInstanceAttachmentDetails.

Returns

The owner of this CreateOdaInstanceAttachmentDetails.

Return type

oci.oda.models.OdaInstanceAttachmentOwner

property restricted_operations

Gets the restricted_operations of this CreateOdaInstanceAttachmentDetails. List of operations that are restricted while this instance is attached.

Returns

The restricted_operations of this CreateOdaInstanceAttachmentDetails.

Return type

list[str]