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

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

package com.pulumi.gcp.cloudrunv2.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @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 JobTemplateTemplateVpcAccessNetworkInterface(
    public val network: String? = null,
    public val subnetwork: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.JobTemplateTemplateVpcAccessNetworkInterface): JobTemplateTemplateVpcAccessNetworkInterface = JobTemplateTemplateVpcAccessNetworkInterface(
            network = javaType.network().map({ args0 -> args0 }).orElse(null),
            subnetwork = javaType.subnetwork().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy