UpdateCertificateAuthorityCertificateDetails

class oci.certificates_management.models.UpdateCertificateAuthorityCertificateDetails(**kwargs)

Bases: oci.certificates_management.models.update_certificate_authority_action_details.UpdateCertificateAuthorityActionDetails

The details of the request to update the certificate authority (CA) with a signed certificate for the latest CA version.

Attributes

ACTION_TYPE_GENERATE_CSR str(object=’’) -> str
ACTION_TYPE_UPDATE_CERTIFICATE str(object=’’) -> str
action_type [Required] Gets the action_type of this UpdateCertificateAuthorityActionDetails.
certificate_pem [Required] Gets the certificate_pem of this UpdateCertificateAuthorityCertificateDetails.

Methods

__init__(**kwargs) Initializes a new UpdateCertificateAuthorityCertificateDetails 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.
ACTION_TYPE_GENERATE_CSR = 'GENERATE_CSR'
ACTION_TYPE_UPDATE_CERTIFICATE = 'UPDATE_CERTIFICATE'
__init__(**kwargs)

Initializes a new UpdateCertificateAuthorityCertificateDetails object with values from keyword arguments. The default value of the action_type attribute of this class is UPDATE_CERTIFICATE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • action_type (str) – The value to assign to the action_type property of this UpdateCertificateAuthorityCertificateDetails. Allowed values for this property are: “UPDATE_CERTIFICATE”, “GENERATE_CSR”
  • certificate_pem (str) – The value to assign to the certificate_pem property of this UpdateCertificateAuthorityCertificateDetails.
action_type

[Required] Gets the action_type of this UpdateCertificateAuthorityActionDetails. The type of certificate authority (CA) update request. Updates can either involve initiating renewal of the CA by generating a new certificate signing request (CSR) or updating the signed certificate contents of the latest CA version containing a CSR.

Allowed values for this property are: “UPDATE_CERTIFICATE”, “GENERATE_CSR”

Returns:The action_type of this UpdateCertificateAuthorityActionDetails.
Return type:str
certificate_pem

[Required] Gets the certificate_pem of this UpdateCertificateAuthorityCertificateDetails. The externally signed certificate (in PEM format) for the subordinate certificate authority (CA).

Returns:The certificate_pem of this UpdateCertificateAuthorityCertificateDetails.
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.