com.pulumi.azure.network.kotlin.outputs.GetVirtualHubResult.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 getVirtualHub.
* @property addressPrefix The Address Prefix used for this Virtual Hub.
* @property defaultRouteTableId The ID of the default Route Table in the Virtual Hub.
* @property id The provider-assigned unique ID for this managed resource.
* @property location The Azure Region where the Virtual Hub exists.
* @property name
* @property resourceGroupName
* @property tags A mapping of tags assigned to the Virtual Hub.
* @property virtualRouterAsn The Autonomous System Number of the Virtual Hub BGP router.
* @property virtualRouterIps The IP addresses of the Virtual Hub BGP router.
* @property virtualWanId The ID of the Virtual WAN within which the Virtual Hub exists.
*/
public data class GetVirtualHubResult(
public val addressPrefix: String,
public val defaultRouteTableId: String,
public val id: String,
public val location: String,
public val name: String,
public val resourceGroupName: String,
public val tags: Map,
public val virtualRouterAsn: Int,
public val virtualRouterIps: List,
public val virtualWanId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.network.outputs.GetVirtualHubResult):
GetVirtualHubResult = GetVirtualHubResult(
addressPrefix = javaType.addressPrefix(),
defaultRouteTableId = javaType.defaultRouteTableId(),
id = javaType.id(),
location = javaType.location(),
name = javaType.name(),
resourceGroupName = javaType.resourceGroupName(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
virtualRouterAsn = javaType.virtualRouterAsn(),
virtualRouterIps = javaType.virtualRouterIps().map({ args0 -> args0 }),
virtualWanId = javaType.virtualWanId(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy