com.pulumi.gcp.cloudrunv2.kotlin.outputs.ServiceTemplateVpcAccessNetworkInterface.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.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 service.
*/
public data class ServiceTemplateVpcAccessNetworkInterface(
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.ServiceTemplateVpcAccessNetworkInterface): ServiceTemplateVpcAccessNetworkInterface = ServiceTemplateVpcAccessNetworkInterface(
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