PemCaCertificate¶
- class oci.mysql.models.PemCaCertificate(**kwargs)¶
Bases:
CaCertificateThe CA certificate in PEM format.
Attributes:
A constant which can be used with the certificate_type property of a CaCertificate.
[Required] Gets the certificate_type of this CaCertificate.
[Required] Gets the contents of this PemCaCertificate.
Methods:
__init__(**kwargs)Initializes a new PemCaCertificate 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 PemCaCertificate object with values from keyword arguments. The default value of the
certificate_typeattribute of this class isPEMand it should not be changed. 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 PemCaCertificate. Allowed values for this property are: “PEM”
contents (str) – The value to assign to the contents property of this PemCaCertificate.
- property 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
- property contents¶
[Required] Gets the contents of this PemCaCertificate. The string containing the CA certificate in PEM format.
- Returns
The contents of this PemCaCertificate.
- 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.