OdaPrivateEndpointAttachment

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

Bases: object

ODA Private Endpoint Attachment is used to attach ODA Private Endpoint to ODA (Digital Assistant) Instance.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a OdaPrivateEndpointAttachment.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a OdaPrivateEndpointAttachment.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a OdaPrivateEndpointAttachment.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a OdaPrivateEndpointAttachment.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a OdaPrivateEndpointAttachment.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a OdaPrivateEndpointAttachment.

compartment_id

[Required] Gets the compartment_id of this OdaPrivateEndpointAttachment.

id

[Required] Gets the id of this OdaPrivateEndpointAttachment.

lifecycle_state

[Required] Gets the lifecycle_state of this OdaPrivateEndpointAttachment.

oda_instance_id

[Required] Gets the oda_instance_id of this OdaPrivateEndpointAttachment.

oda_private_endpoint_id

[Required] Gets the oda_private_endpoint_id of this OdaPrivateEndpointAttachment.

time_created

[Required] Gets the time_created of this OdaPrivateEndpointAttachment.

time_updated

Gets the time_updated of this OdaPrivateEndpointAttachment.

Methods:

__init__(**kwargs)

Initializes a new OdaPrivateEndpointAttachment object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a OdaPrivateEndpointAttachment. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a OdaPrivateEndpointAttachment. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a OdaPrivateEndpointAttachment. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a OdaPrivateEndpointAttachment. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a OdaPrivateEndpointAttachment. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a OdaPrivateEndpointAttachment. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new OdaPrivateEndpointAttachment 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 OdaPrivateEndpointAttachment.

  • oda_instance_id (str) – The value to assign to the oda_instance_id property of this OdaPrivateEndpointAttachment.

  • oda_private_endpoint_id (str) – The value to assign to the oda_private_endpoint_id property of this OdaPrivateEndpointAttachment.

  • compartment_id (str) – The value to assign to the compartment_id property of this OdaPrivateEndpointAttachment.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this OdaPrivateEndpointAttachment. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • time_created (datetime) – The value to assign to the time_created property of this OdaPrivateEndpointAttachment.

  • time_updated (datetime) – The value to assign to the time_updated property of this OdaPrivateEndpointAttachment.

property compartment_id

[Required] Gets the compartment_id of this OdaPrivateEndpointAttachment. The OCID of the compartment that the ODA private endpoint attachment belongs to.

Returns

The compartment_id of this OdaPrivateEndpointAttachment.

Return type

str

property id

[Required] Gets the id of this OdaPrivateEndpointAttachment. The OCID of the ODA Private Endpoint Attachment.

Returns

The id of this OdaPrivateEndpointAttachment.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this OdaPrivateEndpointAttachment. The current state of the ODA Private Endpoint attachment.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this OdaPrivateEndpointAttachment.

Return type

str

property oda_instance_id

[Required] Gets the oda_instance_id of this OdaPrivateEndpointAttachment. The OCID of the attached ODA Instance.

Returns

The oda_instance_id of this OdaPrivateEndpointAttachment.

Return type

str

property oda_private_endpoint_id

[Required] Gets the oda_private_endpoint_id of this OdaPrivateEndpointAttachment. The OCID of the ODA Private Endpoint.

Returns

The oda_private_endpoint_id of this OdaPrivateEndpointAttachment.

Return type

str

property time_created

[Required] Gets the time_created of this OdaPrivateEndpointAttachment. When the resource was created. A date-time string as described in RFC 3339, section 14.29.

Returns

The time_created of this OdaPrivateEndpointAttachment.

Return type

datetime

property time_updated

Gets the time_updated of this OdaPrivateEndpointAttachment. When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.

Returns

The time_updated of this OdaPrivateEndpointAttachment.

Return type

datetime