com.pulumi.azurenative.iotoperations.kotlin.inputs.SanForCertArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.iotoperations.kotlin.inputs
import com.pulumi.azurenative.iotoperations.inputs.SanForCertArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Subject Alternative Names (SANs) for certificate.
* @property dns DNS SANs.
* @property ip IP address SANs.
*/
public data class SanForCertArgs(
public val dns: Output>,
public val ip: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.iotoperations.inputs.SanForCertArgs =
com.pulumi.azurenative.iotoperations.inputs.SanForCertArgs.builder()
.dns(dns.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.ip(ip.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [SanForCertArgs].
*/
@PulumiTagMarker
public class SanForCertArgsBuilder internal constructor() {
private var dns: Output>? = null
private var ip: Output>? = null
/**
* @param value DNS SANs.
*/
@JvmName("acqragxfyqgkmdkc")
public suspend fun dns(`value`: Output>) {
this.dns = value
}
@JvmName("rdxhsttwtvitkowu")
public suspend fun dns(vararg values: Output) {
this.dns = Output.all(values.asList())
}
/**
* @param values DNS SANs.
*/
@JvmName("eyocjxihlcojjmxn")
public suspend fun dns(values: List