All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.compute.kotlin.outputs.GetNetworkPeeringResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.compute.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 * A collection of values returned by getNetworkPeering.
 * @property exportCustomRoutes
 * @property exportSubnetRoutesWithPublicIp
 * @property id The provider-assigned unique ID for this managed resource.
 * @property importCustomRoutes
 * @property importSubnetRoutesWithPublicIp
 * @property name
 * @property network
 * @property peerNetwork
 * @property stackType
 * @property state
 * @property stateDetails
 */
public data class GetNetworkPeeringResult(
    public val exportCustomRoutes: Boolean,
    public val exportSubnetRoutesWithPublicIp: Boolean,
    public val id: String,
    public val importCustomRoutes: Boolean,
    public val importSubnetRoutesWithPublicIp: Boolean,
    public val name: String,
    public val network: String,
    public val peerNetwork: String,
    public val stackType: String,
    public val state: String,
    public val stateDetails: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetNetworkPeeringResult): GetNetworkPeeringResult = GetNetworkPeeringResult(
            exportCustomRoutes = javaType.exportCustomRoutes(),
            exportSubnetRoutesWithPublicIp = javaType.exportSubnetRoutesWithPublicIp(),
            id = javaType.id(),
            importCustomRoutes = javaType.importCustomRoutes(),
            importSubnetRoutesWithPublicIp = javaType.importSubnetRoutesWithPublicIp(),
            name = javaType.name(),
            network = javaType.network(),
            peerNetwork = javaType.peerNetwork(),
            stackType = javaType.stackType(),
            state = javaType.state(),
            stateDetails = javaType.stateDetails(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy