CertificateRenewalRule

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

Bases: oci.certificates_management.models.certificate_rule.CertificateRule

A rule that imposes constraints on certificate renewal.

Attributes

RULE_TYPE_CERTIFICATE_RENEWAL_RULE str(object=’’) -> str
advance_renewal_period [Required] Gets the advance_renewal_period of this CertificateRenewalRule.
renewal_interval [Required] Gets the renewal_interval of this CertificateRenewalRule.
rule_type [Required] Gets the rule_type of this CertificateRule.

Methods

__init__(**kwargs) Initializes a new CertificateRenewalRule 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.
RULE_TYPE_CERTIFICATE_RENEWAL_RULE = 'CERTIFICATE_RENEWAL_RULE'
__init__(**kwargs)

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

Parameters:
  • rule_type (str) – The value to assign to the rule_type property of this CertificateRenewalRule. Allowed values for this property are: “CERTIFICATE_RENEWAL_RULE”
  • renewal_interval (str) – The value to assign to the renewal_interval property of this CertificateRenewalRule.
  • advance_renewal_period (str) – The value to assign to the advance_renewal_period property of this CertificateRenewalRule.
advance_renewal_period

[Required] Gets the advance_renewal_period of this CertificateRenewalRule. A property specifying the period of time, in days, before the certificate’s targeted renewal that the process should occur. Expressed in ISO 8601 format.

Returns:The advance_renewal_period of this CertificateRenewalRule.
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.

renewal_interval

[Required] Gets the renewal_interval of this CertificateRenewalRule. A property specifying how often, in days, a certificate should be renewed. Expressed in ISO 8601 format.

Returns:The renewal_interval of this CertificateRenewalRule.
Return type:str
rule_type

[Required] Gets the rule_type of this CertificateRule. The type of rule.

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

Returns:The rule_type of this CertificateRule.
Return type:str