LifetimeAction Class
Action and its trigger that will be performed by certificate Vault over the lifetime of a certificate.
- Inheritance
-
builtins.objectLifetimeAction
Constructor
LifetimeAction(action: str | CertificatePolicyAction | None, lifetime_percentage: int | None = None, days_before_expiry: int | None = None)
Parameters
Name | Description |
---|---|
action
Required
|
The type of the action. For valid values, see CertificatePolicyAction |
lifetime_percentage
|
Percentage of lifetime at which to trigger. Value should be between 1 and 99. Default value: None
|
days_before_expiry
|
Days before expiry to attempt renewal. Value should be between 1 and validity_in_months multiplied by 27. I.e., if validity_in_months is 36, then value should be between 1 and 972 (36 * 27). Default value: None
|
Attributes
action
The type of action that will be executed; see CertificatePolicyAction.
Returns
Type | Description |
---|---|
str,
|
The type of action that will be executed; see CertificatePolicyAction. |
days_before_expiry
Days before expiry to attempt renewal.
Returns
Type | Description |
---|---|
int,
|
Days before expiry to attempt renewal. |
lifetime_percentage
Azure SDK for Python