All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.keyvault.kotlin.outputs.CertificateCertificatePolicyLifetimeActionTrigger.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.keyvault.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property daysBeforeExpiry The number of days before the Certificate expires that the action associated with this Trigger should run. Conflicts with `lifetime_percentage`.
 * @property lifetimePercentage The percentage at which during the Certificates Lifetime the action associated with this Trigger should run. Conflicts with `days_before_expiry`.
 */
public data class CertificateCertificatePolicyLifetimeActionTrigger(
    public val daysBeforeExpiry: Int? = null,
    public val lifetimePercentage: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.keyvault.outputs.CertificateCertificatePolicyLifetimeActionTrigger): CertificateCertificatePolicyLifetimeActionTrigger =
            CertificateCertificatePolicyLifetimeActionTrigger(
                daysBeforeExpiry = javaType.daysBeforeExpiry().map({ args0 -> args0 }).orElse(null),
                lifetimePercentage = javaType.lifetimePercentage().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy