
com.pulumi.gcp.compute.kotlin.outputs.ExternalVpnGatewayInterface.kt Maven / Gradle / Ivy
@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.
* @property ipv6Address IPv6 address of the interface in the external VPN gateway. This IPv6
* 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. Must specify an IPv6 address (not IPV4-mapped) using any format
* described in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output format
* is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
*/
public data class ExternalVpnGatewayInterface(
public val id: Int? = null,
public val ipAddress: String? = null,
public val ipv6Address: 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),
ipv6Address = javaType.ipv6Address().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy