Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.keyvault.kotlin.inputs
import com.pulumi.azure.keyvault.inputs.CertifiateCertificatePolicyX509CertificatePropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property extendedKeyUsages A list of Extended/Enhanced Key Usages.
* @property keyUsages A list of uses associated with this Key. Possible values include `cRLSign`, `dataEncipherment`, `decipherOnly`, `digitalSignature`, `encipherOnly`, `keyAgreement`, `keyCertSign`, `keyEncipherment` and `nonRepudiation` and are case-sensitive.
* @property subject The Certificate's Subject.
* @property subjectAlternativeNames A `subject_alternative_names` block as defined below.
* @property validityInMonths The Certificates Validity Period in Months.
*/
public data class CertifiateCertificatePolicyX509CertificatePropertiesArgs(
public val extendedKeyUsages: Output>? = null,
public val keyUsages: Output>,
public val subject: Output,
public val subjectAlternativeNames: Output? =
null,
public val validityInMonths: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.keyvault.inputs.CertifiateCertificatePolicyX509CertificatePropertiesArgs =
com.pulumi.azure.keyvault.inputs.CertifiateCertificatePolicyX509CertificatePropertiesArgs.builder()
.extendedKeyUsages(extendedKeyUsages?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.keyUsages(keyUsages.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subject(subject.applyValue({ args0 -> args0 }))
.subjectAlternativeNames(
subjectAlternativeNames?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.validityInMonths(validityInMonths.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CertifiateCertificatePolicyX509CertificatePropertiesArgs].
*/
@PulumiTagMarker
public class CertifiateCertificatePolicyX509CertificatePropertiesArgsBuilder internal constructor() {
private var extendedKeyUsages: Output>? = null
private var keyUsages: Output>? = null
private var subject: Output? = null
private var subjectAlternativeNames:
Output? =
null
private var validityInMonths: Output? = null
/**
* @param value A list of Extended/Enhanced Key Usages.
*/
@JvmName("tbyofrrqfbomlxyd")
public suspend fun extendedKeyUsages(`value`: Output>) {
this.extendedKeyUsages = value
}
@JvmName("ekfxjqwvlbtgohee")
public suspend fun extendedKeyUsages(vararg values: Output) {
this.extendedKeyUsages = Output.all(values.asList())
}
/**
* @param values A list of Extended/Enhanced Key Usages.
*/
@JvmName("cjjvtrtgbqnxsodi")
public suspend fun extendedKeyUsages(values: List