CertificateRenewalRule¶
- class oci.certificates_management.models.CertificateRenewalRule(**kwargs)¶
Bases:
CertificateRuleA rule that imposes constraints on certificate renewal.
Attributes:
A constant which can be used with the rule_type property of a CertificateRule.
[Required] Gets the advance_renewal_period of this CertificateRenewalRule.
[Required] Gets the renewal_interval of this CertificateRenewalRule.
[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'¶
A constant which can be used with the rule_type property of a CertificateRule. This constant has a value of “CERTIFICATE_RENEWAL_RULE”
- __init__(**kwargs)¶
Initializes a new CertificateRenewalRule object with values from keyword arguments. The default value of the
rule_typeattribute of this class isCERTIFICATE_RENEWAL_RULEand 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.
- property 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.
- property 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
- property 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