com.pulumi.azure.keyvault.kotlin.inputs.GetCertificateDataPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.keyvault.kotlin.inputs
import com.pulumi.azure.keyvault.inputs.GetCertificateDataPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getCertificateData.
* @property keyVaultId Specifies the ID of the Key Vault instance where the Secret resides, available on the `azure.keyvault.KeyVault` Data Source / Resource.
* @property name Specifies the name of the Key Vault Secret.
* @property version Specifies the version of the certificate to look up. (Defaults to latest)
* > **NOTE:** The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription.
*/
public data class GetCertificateDataPlainArgs(
public val keyVaultId: String,
public val name: String,
public val version: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.keyvault.inputs.GetCertificateDataPlainArgs =
com.pulumi.azure.keyvault.inputs.GetCertificateDataPlainArgs.builder()
.keyVaultId(keyVaultId.let({ args0 -> args0 }))
.name(name.let({ args0 -> args0 }))
.version(version?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetCertificateDataPlainArgs].
*/
@PulumiTagMarker
public class GetCertificateDataPlainArgsBuilder internal constructor() {
private var keyVaultId: String? = null
private var name: String? = null
private var version: String? = null
/**
* @param value Specifies the ID of the Key Vault instance where the Secret resides, available on the `azure.keyvault.KeyVault` Data Source / Resource.
*/
@JvmName("cvrsvbtsqxhambfa")
public suspend fun keyVaultId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.keyVaultId = mapped
}
/**
* @param value Specifies the name of the Key Vault Secret.
*/
@JvmName("xaikgxqeslffdpwk")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value Specifies the version of the certificate to look up. (Defaults to latest)
* > **NOTE:** The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription.
*/
@JvmName("musnkcemrcxotrfn")
public suspend fun version(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.version = mapped
}
internal fun build(): GetCertificateDataPlainArgs = GetCertificateDataPlainArgs(
keyVaultId = keyVaultId ?: throw PulumiNullFieldException("keyVaultId"),
name = name ?: throw PulumiNullFieldException("name"),
version = version,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy