![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.keyvault.kotlin.inputs.GetSecretsPlainArgs.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.GetSecretsPlainArgs.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 getSecrets.
* @property keyVaultId Specifies the ID of the Key Vault instance to fetch secret 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 GetSecretsPlainArgs(
public val keyVaultId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.keyvault.inputs.GetSecretsPlainArgs =
com.pulumi.azure.keyvault.inputs.GetSecretsPlainArgs.builder()
.keyVaultId(keyVaultId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetSecretsPlainArgs].
*/
@PulumiTagMarker
public class GetSecretsPlainArgsBuilder internal constructor() {
private var keyVaultId: String? = null
/**
* @param value Specifies the ID of the Key Vault instance to fetch secret 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("drkxtyegqggnnbiv")
public suspend fun keyVaultId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.keyVaultId = mapped
}
internal fun build(): GetSecretsPlainArgs = GetSecretsPlainArgs(
keyVaultId = keyVaultId ?: throw PulumiNullFieldException("keyVaultId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy