com.pulumi.gcp.vmwareengine.kotlin.outputs.GetNetworkPeeringResult.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.vmwareengine.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getNetworkPeering.
* @property createTime
* @property description
* @property exportCustomRoutes
* @property exportCustomRoutesWithPublicIp
* @property id The provider-assigned unique ID for this managed resource.
* @property importCustomRoutes
* @property importCustomRoutesWithPublicIp
* @property name
* @property peerNetwork
* @property peerNetworkType
* @property project
* @property state
* @property stateDetails
* @property uid
* @property updateTime
* @property vmwareEngineNetwork
* @property vmwareEngineNetworkCanonical
*/
public data class GetNetworkPeeringResult(
public val createTime: String,
public val description: String,
public val exportCustomRoutes: Boolean,
public val exportCustomRoutesWithPublicIp: Boolean,
public val id: String,
public val importCustomRoutes: Boolean,
public val importCustomRoutesWithPublicIp: Boolean,
public val name: String,
public val peerNetwork: String,
public val peerNetworkType: String,
public val project: String? = null,
public val state: String,
public val stateDetails: String,
public val uid: String,
public val updateTime: String,
public val vmwareEngineNetwork: String,
public val vmwareEngineNetworkCanonical: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.vmwareengine.outputs.GetNetworkPeeringResult): GetNetworkPeeringResult = GetNetworkPeeringResult(
createTime = javaType.createTime(),
description = javaType.description(),
exportCustomRoutes = javaType.exportCustomRoutes(),
exportCustomRoutesWithPublicIp = javaType.exportCustomRoutesWithPublicIp(),
id = javaType.id(),
importCustomRoutes = javaType.importCustomRoutes(),
importCustomRoutesWithPublicIp = javaType.importCustomRoutesWithPublicIp(),
name = javaType.name(),
peerNetwork = javaType.peerNetwork(),
peerNetworkType = javaType.peerNetworkType(),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
state = javaType.state(),
stateDetails = javaType.stateDetails(),
uid = javaType.uid(),
updateTime = javaType.updateTime(),
vmwareEngineNetwork = javaType.vmwareEngineNetwork(),
vmwareEngineNetworkCanonical = javaType.vmwareEngineNetworkCanonical(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy