com.pulumi.azure.keyvault.kotlin.inputs.GetCertificatesPlainArgs.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.GetCertificatesPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getCertificates.
* @property includePending Specifies whether to include certificates which are not completely provisioned. Defaults to true.
* @property keyVaultId Specifies the ID of the Key Vault instance to fetch certificate names from, available on the `azure.keyvault.KeyVault` Data Source / Resource.
* **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 GetCertificatesPlainArgs(
public val includePending: Boolean? = null,
public val keyVaultId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.keyvault.inputs.GetCertificatesPlainArgs =
com.pulumi.azure.keyvault.inputs.GetCertificatesPlainArgs.builder()
.includePending(includePending?.let({ args0 -> args0 }))
.keyVaultId(keyVaultId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetCertificatesPlainArgs].
*/
@PulumiTagMarker
public class GetCertificatesPlainArgsBuilder internal constructor() {
private var includePending: Boolean? = null
private var keyVaultId: String? = null
/**
* @param value Specifies whether to include certificates which are not completely provisioned. Defaults to true.
*/
@JvmName("mdsajmecvtquyouh")
public suspend fun includePending(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.includePending = mapped
}
/**
* @param value Specifies the ID of the Key Vault instance to fetch certificate names from, available on the `azure.keyvault.KeyVault` Data Source / Resource.
* **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("ugsvaobmkydvvqhr")
public suspend fun keyVaultId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.keyVaultId = mapped
}
internal fun build(): GetCertificatesPlainArgs = GetCertificatesPlainArgs(
includePending = includePending,
keyVaultId = keyVaultId ?: throw PulumiNullFieldException("keyVaultId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy