SecureConnectionDetails

class oci.mysql.models.SecureConnectionDetails(**kwargs)

Bases: object

Secure connection configuration details.

Attributes

CERTIFICATE_GENERATION_TYPE_BYOC A constant which can be used with the certificate_generation_type property of a SecureConnectionDetails.
CERTIFICATE_GENERATION_TYPE_SYSTEM A constant which can be used with the certificate_generation_type property of a SecureConnectionDetails.
certificate_generation_type [Required] Gets the certificate_generation_type of this SecureConnectionDetails.
certificate_id Gets the certificate_id of this SecureConnectionDetails.

Methods

__init__(**kwargs) Initializes a new SecureConnectionDetails object with values from keyword arguments.
CERTIFICATE_GENERATION_TYPE_BYOC = 'BYOC'

A constant which can be used with the certificate_generation_type property of a SecureConnectionDetails. This constant has a value of “BYOC”

CERTIFICATE_GENERATION_TYPE_SYSTEM = 'SYSTEM'

A constant which can be used with the certificate_generation_type property of a SecureConnectionDetails. This constant has a value of “SYSTEM”

__init__(**kwargs)

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

Parameters:
  • certificate_id (str) – The value to assign to the certificate_id property of this SecureConnectionDetails.
  • certificate_generation_type (str) – The value to assign to the certificate_generation_type property of this SecureConnectionDetails. Allowed values for this property are: “SYSTEM”, “BYOC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
certificate_generation_type

[Required] Gets the certificate_generation_type of this SecureConnectionDetails. Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).

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

Returns:The certificate_generation_type of this SecureConnectionDetails.
Return type:str
certificate_id

Gets the certificate_id of this SecureConnectionDetails. The OCID of the certificate to use.

Returns:The certificate_id of this SecureConnectionDetails.
Return type:str