com.pulumi.azurenative.servicefabric.kotlin.inputs.VaultSecretGroupArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.servicefabric.kotlin.inputs
import com.pulumi.azurenative.servicefabric.inputs.VaultSecretGroupArgs.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.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Specifies set of certificates that should be installed onto the virtual machines.
* @property sourceVault The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
* @property vaultCertificates The list of key vault references in SourceVault which contain certificates.
*/
public data class VaultSecretGroupArgs(
public val sourceVault: Output,
public val vaultCertificates: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.servicefabric.inputs.VaultSecretGroupArgs =
com.pulumi.azurenative.servicefabric.inputs.VaultSecretGroupArgs.builder()
.sourceVault(sourceVault.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.vaultCertificates(
vaultCertificates.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [VaultSecretGroupArgs].
*/
@PulumiTagMarker
public class VaultSecretGroupArgsBuilder internal constructor() {
private var sourceVault: Output? = null
private var vaultCertificates: Output>? = null
/**
* @param value The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
*/
@JvmName("anyytexkrnpkwhtb")
public suspend fun sourceVault(`value`: Output) {
this.sourceVault = value
}
/**
* @param value The list of key vault references in SourceVault which contain certificates.
*/
@JvmName("doyingdfmcchcohr")
public suspend fun vaultCertificates(`value`: Output>) {
this.vaultCertificates = value
}
@JvmName("scjckaglmkwdsedi")
public suspend fun vaultCertificates(vararg values: Output) {
this.vaultCertificates = Output.all(values.asList())
}
/**
* @param values The list of key vault references in SourceVault which contain certificates.
*/
@JvmName("uthsowsljdwkxmsm")
public suspend fun vaultCertificates(values: List