com.pulumi.gcp.container.kotlin.inputs.AzureClusterControlPlaneProxyConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.container.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.AzureClusterControlPlaneProxyConfigArgs.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
/**
*
* @property resourceGroupId The ARM ID the of the resource group containing proxy keyvault. Resource group ids are formatted as `/subscriptions//resourceGroups/`
* @property secretId The URL the of the proxy setting secret with its version. Secret ids are formatted as `https:.vault.azure.net/secrets//`.
*/
public data class AzureClusterControlPlaneProxyConfigArgs(
public val resourceGroupId: Output,
public val secretId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.AzureClusterControlPlaneProxyConfigArgs =
com.pulumi.gcp.container.inputs.AzureClusterControlPlaneProxyConfigArgs.builder()
.resourceGroupId(resourceGroupId.applyValue({ args0 -> args0 }))
.secretId(secretId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AzureClusterControlPlaneProxyConfigArgs].
*/
@PulumiTagMarker
public class AzureClusterControlPlaneProxyConfigArgsBuilder internal constructor() {
private var resourceGroupId: Output? = null
private var secretId: Output? = null
/**
* @param value The ARM ID the of the resource group containing proxy keyvault. Resource group ids are formatted as `/subscriptions//resourceGroups/`
*/
@JvmName("xdsgukbuqresajtx")
public suspend fun resourceGroupId(`value`: Output) {
this.resourceGroupId = value
}
/**
* @param value The URL the of the proxy setting secret with its version. Secret ids are formatted as `https:.vault.azure.net/secrets//`.
*/
@JvmName("pepnwofaeicmodnc")
public suspend fun secretId(`value`: Output) {
this.secretId = value
}
/**
* @param value The ARM ID the of the resource group containing proxy keyvault. Resource group ids are formatted as `/subscriptions//resourceGroups/`
*/
@JvmName("dosxownaajvmkaaq")
public suspend fun resourceGroupId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.resourceGroupId = mapped
}
/**
* @param value The URL the of the proxy setting secret with its version. Secret ids are formatted as `https:.vault.azure.net/secrets//`.
*/
@JvmName("apqwvinvjaxlpyrw")
public suspend fun secretId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.secretId = mapped
}
internal fun build(): AzureClusterControlPlaneProxyConfigArgs =
AzureClusterControlPlaneProxyConfigArgs(
resourceGroupId = resourceGroupId ?: throw PulumiNullFieldException("resourceGroupId"),
secretId = secretId ?: throw PulumiNullFieldException("secretId"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy