com.pulumi.gcp.compute.kotlin.outputs.GetRegionNetworkEndpointGroupResult.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.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getRegionNetworkEndpointGroup.
* @property appEngines
* @property cloudFunctions
* @property cloudRuns
* @property description The RNEG description.
* @property id The provider-assigned unique ID for this managed resource.
* @property name
* @property network The network to which all network endpoints in the RNEG belong.
* @property networkEndpointType Type of network endpoints in this network endpoint group.
* @property project
* @property pscTargetService The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.
* @property region
* @property selfLink
* @property serverlessDeployments
* @property subnetwork subnetwork to which all network endpoints in the RNEG belong.
*/
public data class GetRegionNetworkEndpointGroupResult(
public val appEngines: List,
public val cloudFunctions: List,
public val cloudRuns: List,
public val description: String,
public val id: String,
public val name: String? = null,
public val network: String,
public val networkEndpointType: String,
public val project: String? = null,
public val pscTargetService: String,
public val region: String? = null,
public val selfLink: String? = null,
public val serverlessDeployments: List,
public val subnetwork: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetRegionNetworkEndpointGroupResult): GetRegionNetworkEndpointGroupResult = GetRegionNetworkEndpointGroupResult(
appEngines = javaType.appEngines().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.compute.kotlin.outputs.GetRegionNetworkEndpointGroupAppEngine.Companion.toKotlin(args0)
})
}),
cloudFunctions = javaType.cloudFunctions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.compute.kotlin.outputs.GetRegionNetworkEndpointGroupCloudFunction.Companion.toKotlin(args0)
})
}),
cloudRuns = javaType.cloudRuns().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.compute.kotlin.outputs.GetRegionNetworkEndpointGroupCloudRun.Companion.toKotlin(args0)
})
}),
description = javaType.description(),
id = javaType.id(),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
network = javaType.network(),
networkEndpointType = javaType.networkEndpointType(),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
pscTargetService = javaType.pscTargetService(),
region = javaType.region().map({ args0 -> args0 }).orElse(null),
selfLink = javaType.selfLink().map({ args0 -> args0 }).orElse(null),
serverlessDeployments = javaType.serverlessDeployments().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.compute.kotlin.outputs.GetRegionNetworkEndpointGroupServerlessDeployment.Companion.toKotlin(args0)
})
}),
subnetwork = javaType.subnetwork(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy