![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.network.kotlin.outputs.GetVpnGatewayResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.network.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getVpnGateway.
* @property bgpSettings A `bgp_settings` block as defined below.
* @property id The provider-assigned unique ID for this managed resource.
* @property location The Azure location where the VPN Gateway exists.
* @property name
* @property resourceGroupName
* @property scaleUnit The Scale Unit of this VPN Gateway.
* @property tags A mapping of tags assigned to the VPN Gateway.
* @property virtualHubId The ID of the Virtual Hub within which this VPN Gateway has been created.
*/
public data class GetVpnGatewayResult(
public val bgpSettings: List,
public val id: String,
public val location: String,
public val name: String,
public val resourceGroupName: String,
public val scaleUnit: Int,
public val tags: Map,
public val virtualHubId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.network.outputs.GetVpnGatewayResult): GetVpnGatewayResult = GetVpnGatewayResult(
bgpSettings = javaType.bgpSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.network.kotlin.outputs.GetVpnGatewayBgpSetting.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
location = javaType.location(),
name = javaType.name(),
resourceGroupName = javaType.resourceGroupName(),
scaleUnit = javaType.scaleUnit(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
virtualHubId = javaType.virtualHubId(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy