PrivateEndpoint

class oci.data_safe.models.PrivateEndpoint(**kwargs)

Bases: oci.data_safe.models.connection_option.ConnectionOption

The details required to establish a connection to the database using a private endpoint.

Attributes

CONNECTION_TYPE_ONPREM_CONNECTOR str(object=’’) -> str
CONNECTION_TYPE_PRIVATE_ENDPOINT str(object=’’) -> str
connection_type [Required] Gets the connection_type of this ConnectionOption.
datasafe_private_endpoint_id Gets the datasafe_private_endpoint_id of this PrivateEndpoint.

Methods

__init__(**kwargs) Initializes a new PrivateEndpoint object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
CONNECTION_TYPE_ONPREM_CONNECTOR = 'ONPREM_CONNECTOR'
CONNECTION_TYPE_PRIVATE_ENDPOINT = 'PRIVATE_ENDPOINT'
__init__(**kwargs)

Initializes a new PrivateEndpoint object with values from keyword arguments. The default value of the connection_type attribute of this class is PRIVATE_ENDPOINT and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • connection_type (str) – The value to assign to the connection_type property of this PrivateEndpoint. Allowed values for this property are: “PRIVATE_ENDPOINT”, “ONPREM_CONNECTOR”
  • datasafe_private_endpoint_id (str) – The value to assign to the datasafe_private_endpoint_id property of this PrivateEndpoint.
connection_type

[Required] Gets the connection_type of this ConnectionOption. The connection type used to connect to the database. Allowed values: - PRIVATE_ENDPOINT - Represents connection through private endpoint in Data Safe. - ONPREM_CONNECTOR - Represents connection through on-premises connector in Data Safe.

Allowed values for this property are: “PRIVATE_ENDPOINT”, “ONPREM_CONNECTOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The connection_type of this ConnectionOption.
Return type:str
datasafe_private_endpoint_id

Gets the datasafe_private_endpoint_id of this PrivateEndpoint. The OCID of the Data Safe private endpoint.

Returns:The datasafe_private_endpoint_id of this PrivateEndpoint.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.