com.pulumi.gcp.vpcaccess.kotlin.outputs.ConnectorSubnet.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.vpcaccess.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property name Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is
* https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}"
* @property projectId Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
*/
public data class ConnectorSubnet(
public val name: String? = null,
public val projectId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.vpcaccess.outputs.ConnectorSubnet): ConnectorSubnet = ConnectorSubnet(
name = javaType.name().map({ args0 -> args0 }).orElse(null),
projectId = javaType.projectId().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy