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

com.pulumi.gcp.cloudrunv2.kotlin.inputs.ServiceTemplateServiceMeshArgs.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.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.cloudrunv2.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.cloudrunv2.inputs.ServiceTemplateServiceMeshArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property mesh The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
 */
public data class ServiceTemplateServiceMeshArgs(
    public val mesh: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.cloudrunv2.inputs.ServiceTemplateServiceMeshArgs =
        com.pulumi.gcp.cloudrunv2.inputs.ServiceTemplateServiceMeshArgs.builder()
            .mesh(mesh?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ServiceTemplateServiceMeshArgs].
 */
@PulumiTagMarker
public class ServiceTemplateServiceMeshArgsBuilder internal constructor() {
    private var mesh: Output? = null

    /**
     * @param value The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
     */
    @JvmName("vcialqlnmkvjyqmi")
    public suspend fun mesh(`value`: Output) {
        this.mesh = value
    }

    /**
     * @param value The Mesh resource name. For more information see https://cloud.google.com/service-mesh/docs/reference/network-services/rest/v1/projects.locations.meshes#resource:-mesh.
     */
    @JvmName("jatigmpfqxbhnepy")
    public suspend fun mesh(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mesh = mapped
    }

    internal fun build(): ServiceTemplateServiceMeshArgs = ServiceTemplateServiceMeshArgs(
        mesh = mesh,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy