CaCertificate

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

Bases: object

The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes.

Attributes

CERTIFICATE_TYPE_PEM A constant which can be used with the certificate_type property of a CaCertificate.
certificate_type [Required] Gets the certificate_type of this CaCertificate.

Methods

__init__(**kwargs) Initializes a new CaCertificate 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.
CERTIFICATE_TYPE_PEM = 'PEM'

A constant which can be used with the certificate_type property of a CaCertificate. This constant has a value of “PEM”

__init__(**kwargs)

Initializes a new CaCertificate object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:certificate_type (str) – The value to assign to the certificate_type property of this CaCertificate. Allowed values for this property are: “PEM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
certificate_type

[Required] Gets the certificate_type of this CaCertificate. The type of CA certificate.

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

Returns:The certificate_type of this CaCertificate.
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.