PemCaCertificate¶
-
class
oci.mysql.models.PemCaCertificate(**kwargs)¶ Bases:
oci.mysql.models.ca_certificate.CaCertificateThe CA certificate in PEM format.
Attributes
CERTIFICATE_TYPE_PEMstr(object=’’) -> str certificate_type[Required] Gets the certificate_type of this CaCertificate. contents[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'¶
-
__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.
-
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
-
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.
-