com.pulumi.gcp.cloudrunv2.kotlin.inputs.JobTemplateTemplateVpcAccessNetworkInterfaceArgs.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.cloudrunv2.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.cloudrunv2.inputs.JobTemplateTemplateVpcAccessNetworkInterfaceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property network The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both
* network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be
* looked up from the subnetwork.
* @property subnetwork The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both
* network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the
* subnetwork with the same name with the network will be used.
* @property tags Network tags applied to this Cloud Run job.
* - - -
*/
public data class JobTemplateTemplateVpcAccessNetworkInterfaceArgs(
public val network: Output? = null,
public val subnetwork: Output? = null,
public val tags: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.cloudrunv2.inputs.JobTemplateTemplateVpcAccessNetworkInterfaceArgs =
com.pulumi.gcp.cloudrunv2.inputs.JobTemplateTemplateVpcAccessNetworkInterfaceArgs.builder()
.network(network?.applyValue({ args0 -> args0 }))
.subnetwork(subnetwork?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [JobTemplateTemplateVpcAccessNetworkInterfaceArgs].
*/
@PulumiTagMarker
public class JobTemplateTemplateVpcAccessNetworkInterfaceArgsBuilder internal constructor() {
private var network: Output? = null
private var subnetwork: Output? = null
private var tags: Output>? = null
/**
* @param value The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both
* network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be
* looked up from the subnetwork.
*/
@JvmName("odktikrdeitsuiba")
public suspend fun network(`value`: Output) {
this.network = value
}
/**
* @param value The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both
* network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the
* subnetwork with the same name with the network will be used.
*/
@JvmName("iqcfrvshepdgqmnx")
public suspend fun subnetwork(`value`: Output) {
this.subnetwork = value
}
/**
* @param value Network tags applied to this Cloud Run job.
* - - -
*/
@JvmName("yjpsfciuoradwqmh")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("rqhnrvnmpurdgvhq")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Network tags applied to this Cloud Run job.
* - - -
*/
@JvmName("qctonxbsdccmlcqy")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy