com.pulumi.gcp.clouddeploy.kotlin.inputs.TargetAssociatedEntityGkeClusterArgs.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.clouddeploy.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.clouddeploy.inputs.TargetAssociatedEntityGkeClusterArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property cluster Optional. Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.
* @property internalIp Optional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
* @property proxyUrl Optional. If set, used to configure a [proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy) to the Kubernetes server.
*/
public data class TargetAssociatedEntityGkeClusterArgs(
public val cluster: Output? = null,
public val internalIp: Output? = null,
public val proxyUrl: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.clouddeploy.inputs.TargetAssociatedEntityGkeClusterArgs =
com.pulumi.gcp.clouddeploy.inputs.TargetAssociatedEntityGkeClusterArgs.builder()
.cluster(cluster?.applyValue({ args0 -> args0 }))
.internalIp(internalIp?.applyValue({ args0 -> args0 }))
.proxyUrl(proxyUrl?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TargetAssociatedEntityGkeClusterArgs].
*/
@PulumiTagMarker
public class TargetAssociatedEntityGkeClusterArgsBuilder internal constructor() {
private var cluster: Output? = null
private var internalIp: Output? = null
private var proxyUrl: Output? = null
/**
* @param value Optional. Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.
*/
@JvmName("ldqbgxrbkxjoliwm")
public suspend fun cluster(`value`: Output) {
this.cluster = value
}
/**
* @param value Optional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
*/
@JvmName("ouhgfagrudgfptiv")
public suspend fun internalIp(`value`: Output) {
this.internalIp = value
}
/**
* @param value Optional. If set, used to configure a [proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy) to the Kubernetes server.
*/
@JvmName("wpppxkwprxxltddt")
public suspend fun proxyUrl(`value`: Output) {
this.proxyUrl = value
}
/**
* @param value Optional. Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.
*/
@JvmName("nrpnbwvfrcidfsuh")
public suspend fun cluster(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cluster = mapped
}
/**
* @param value Optional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
*/
@JvmName("dyllwsabusxnpvpm")
public suspend fun internalIp(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.internalIp = mapped
}
/**
* @param value Optional. If set, used to configure a [proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy) to the Kubernetes server.
*/
@JvmName("djutgetmswfrrkbq")
public suspend fun proxyUrl(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.proxyUrl = mapped
}
internal fun build(): TargetAssociatedEntityGkeClusterArgs = TargetAssociatedEntityGkeClusterArgs(
cluster = cluster,
internalIp = internalIp,
proxyUrl = proxyUrl,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy