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

com.pulumi.azurenative.iotoperations.kotlin.outputs.CertManagerCertOptionsResponse.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.iotoperations.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Cert Manager Cert properties
 * @property duration Lifetime of certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes.
 * @property privateKey Configuration of certificate private key.
 * @property renewBefore When to begin renewing certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes.
 */
public data class CertManagerCertOptionsResponse(
    public val duration: String,
    public val privateKey: CertManagerPrivateKeyResponse,
    public val renewBefore: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.iotoperations.outputs.CertManagerCertOptionsResponse): CertManagerCertOptionsResponse = CertManagerCertOptionsResponse(
            duration = javaType.duration(),
            privateKey = javaType.privateKey().let({ args0 ->
                com.pulumi.azurenative.iotoperations.kotlin.outputs.CertManagerPrivateKeyResponse.Companion.toKotlin(args0)
            }),
            renewBefore = javaType.renewBefore(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy