com.pulumi.gcp.vpcaccess.kotlin.outputs.GetConnectorResult.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getConnector.
* @property connectedProjects
* @property id The provider-assigned unique ID for this managed resource.
* @property ipCidrRange
* @property machineType
* @property maxInstances
* @property maxThroughput
* @property minInstances
* @property minThroughput
* @property name
* @property network
* @property project
* @property region
* @property selfLink
* @property state
* @property subnets
*/
public data class GetConnectorResult(
public val connectedProjects: List,
public val id: String,
public val ipCidrRange: String,
public val machineType: String,
public val maxInstances: Int,
public val maxThroughput: Int,
public val minInstances: Int,
public val minThroughput: Int,
public val name: String,
public val network: String,
public val project: String? = null,
public val region: String? = null,
public val selfLink: String,
public val state: String,
public val subnets: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.vpcaccess.outputs.GetConnectorResult): GetConnectorResult = GetConnectorResult(
connectedProjects = javaType.connectedProjects().map({ args0 -> args0 }),
id = javaType.id(),
ipCidrRange = javaType.ipCidrRange(),
machineType = javaType.machineType(),
maxInstances = javaType.maxInstances(),
maxThroughput = javaType.maxThroughput(),
minInstances = javaType.minInstances(),
minThroughput = javaType.minThroughput(),
name = javaType.name(),
network = javaType.network(),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
region = javaType.region().map({ args0 -> args0 }).orElse(null),
selfLink = javaType.selfLink(),
state = javaType.state(),
subnets = javaType.subnets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.vpcaccess.kotlin.outputs.GetConnectorSubnet.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy