All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.clouddeploy.kotlin.inputs.TargetGkeArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@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.TargetGkeArgs.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 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).
 */
public data class TargetGkeArgs(
    public val cluster: Output? = null,
    public val internalIp: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.clouddeploy.inputs.TargetGkeArgs =
        com.pulumi.gcp.clouddeploy.inputs.TargetGkeArgs.builder()
            .cluster(cluster?.applyValue({ args0 -> args0 }))
            .internalIp(internalIp?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TargetGkeArgs].
 */
@PulumiTagMarker
public class TargetGkeArgsBuilder internal constructor() {
    private var cluster: Output? = null

    private var internalIp: Output? = null

    /**
     * @param value Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.
     */
    @JvmName("ryyapjbvlfvainoy")
    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("vigyfqgrhnxuxxcu")
    public suspend fun internalIp(`value`: Output) {
        this.internalIp = value
    }

    /**
     * @param value Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.
     */
    @JvmName("jqvxhhooyhtgeeop")
    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("tyautuftaboolbgh")
    public suspend fun internalIp(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.internalIp = mapped
    }

    internal fun build(): TargetGkeArgs = TargetGkeArgs(
        cluster = cluster,
        internalIp = internalIp,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy