SecureConnectionDetails¶
- class oci.mysql.models.SecureConnectionDetails(**kwargs)¶
Bases:
objectSecure connection configuration details.
Attributes:
A constant which can be used with the certificate_generation_type property of a SecureConnectionDetails.
A constant which can be used with the certificate_generation_type property of a SecureConnectionDetails.
[Required] Gets the certificate_generation_type of this SecureConnectionDetails.
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’.
- property 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
- property 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