DatabaseNamedCredentialConnectionDetails¶
-
class
oci.database_management.models.
DatabaseNamedCredentialConnectionDetails
(**kwargs)¶ Bases:
oci.database_management.models.database_connection_credentials.DatabaseConnectionCredentials
User provides a named credential OCID, which will be used to retrieve the password to connect to the database.
Attributes
CREDENTIAL_TYPE_DETAILS
str(object=’’) -> str CREDENTIAL_TYPE_NAMED_CREDENTIALS
str(object=’’) -> str CREDENTIAL_TYPE_NAME_REFERENCE
str(object=’’) -> str CREDENTIAL_TYPE_SSL_DETAILS
str(object=’’) -> str credential_type
Gets the credential_type of this DatabaseConnectionCredentials. named_credential_id
[Required] Gets the named_credential_id of this DatabaseNamedCredentialConnectionDetails. Methods
__init__
(**kwargs)Initializes a new DatabaseNamedCredentialConnectionDetails 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. -
CREDENTIAL_TYPE_DETAILS
= 'DETAILS'¶
-
CREDENTIAL_TYPE_NAMED_CREDENTIALS
= 'NAMED_CREDENTIALS'¶
-
CREDENTIAL_TYPE_NAME_REFERENCE
= 'NAME_REFERENCE'¶
-
CREDENTIAL_TYPE_SSL_DETAILS
= 'SSL_DETAILS'¶
-
__init__
(**kwargs)¶ Initializes a new DatabaseNamedCredentialConnectionDetails object with values from keyword arguments. The default value of the
credential_type
attribute of this class isNAMED_CREDENTIAL
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - credential_type (str) – The value to assign to the credential_type property of this DatabaseNamedCredentialConnectionDetails. Allowed values for this property are: “NAME_REFERENCE”, “DETAILS”, “SSL_DETAILS”, “NAMED_CREDENTIALS”
- named_credential_id (str) – The value to assign to the named_credential_id property of this DatabaseNamedCredentialConnectionDetails.
-
credential_type
¶ Gets the credential_type of this DatabaseConnectionCredentials. The type of credential used to connect to the database.
Allowed values for this property are: “NAME_REFERENCE”, “DETAILS”, “SSL_DETAILS”, “NAMED_CREDENTIALS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The credential_type of this DatabaseConnectionCredentials. 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.
-