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

com.pulumi.gcp.compute.kotlin.outputs.ExternalVpnGatewayInterface.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.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property id The numeric ID for this interface. Allowed values are based on the redundancy type
 * of this external VPN gateway
 * * `0 - SINGLE_IP_INTERNALLY_REDUNDANT`
 * * `0, 1 - TWO_IPS_REDUNDANCY`
 * * `0, 1, 2, 3 - FOUR_IPS_REDUNDANCY`
 * @property ipAddress IP address of the interface in the external VPN gateway.
 * Only IPv4 is supported. This IP address can be either from
 * your on-premise gateway or another Cloud provider's VPN gateway,
 * it cannot be an IP address from Google Compute Engine.
 */
public data class ExternalVpnGatewayInterface(
    public val id: Int? = null,
    public val ipAddress: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.ExternalVpnGatewayInterface): ExternalVpnGatewayInterface = ExternalVpnGatewayInterface(
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            ipAddress = javaType.ipAddress().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy