PolicyConnectionOption¶
-
class
oci.data_safe.models.PolicyConnectionOption(**kwargs)¶ Bases:
objectTypes of connection supported by Data Safe.
Attributes
CONNECTION_TYPE_ONPREM_CONNECTORA constant which can be used with the connection_type property of a PolicyConnectionOption. CONNECTION_TYPE_PRIVATE_ENDPOINTA constant which can be used with the connection_type property of a PolicyConnectionOption. connection_type[Required] Gets the connection_type of this PolicyConnectionOption. identifiers[Required] Gets the identifiers of this PolicyConnectionOption. Methods
__init__(**kwargs)Initializes a new PolicyConnectionOption object with values from keyword arguments. -
CONNECTION_TYPE_ONPREM_CONNECTOR= 'ONPREM_CONNECTOR'¶ A constant which can be used with the connection_type property of a PolicyConnectionOption. This constant has a value of “ONPREM_CONNECTOR”
-
CONNECTION_TYPE_PRIVATE_ENDPOINT= 'PRIVATE_ENDPOINT'¶ A constant which can be used with the connection_type property of a PolicyConnectionOption. This constant has a value of “PRIVATE_ENDPOINT”
-
__init__(**kwargs)¶ Initializes a new PolicyConnectionOption object with values from keyword arguments. 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 PolicyConnectionOption. 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’.
- identifiers (list[str]) – The value to assign to the identifiers property of this PolicyConnectionOption.
-
connection_type¶ [Required] Gets the connection_type of this PolicyConnectionOption. 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 PolicyConnectionOption. Return type: str
-
identifiers¶ [Required] Gets the identifiers of this PolicyConnectionOption. List of OCIDs required to establish the connection. - For PRIVATE_ENDPOINT, provide the OCID(s) of Data Safe private endpoint(s). - For ONPREM_CONNECTOR, provide the OCID(s) of on-premises connector(s).
Returns: The identifiers of this PolicyConnectionOption. Return type: list[str]
-