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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@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 CertifiateCertificatePolicyLifetimeActionTrigger(
    public val daysBeforeExpiry: Int? = null,
    public val lifetimePercentage: Int? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.keyvault.outputs.CertifiateCertificatePolicyLifetimeActionTrigger):
            CertifiateCertificatePolicyLifetimeActionTrigger =
            CertifiateCertificatePolicyLifetimeActionTrigger(
                daysBeforeExpiry = javaType.daysBeforeExpiry().map({ args0 -> args0 }).orElse(null),
                lifetimePercentage = javaType.lifetimePercentage().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy