com.pulumi.azure.network.kotlin.outputs.GetVirtualHubConnectionResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.network.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getVirtualHubConnection.
* @property id The provider-assigned unique ID for this managed resource.
* @property internetSecurityEnabled Whether Internet Security is enabled to secure internet traffic on this connection
* @property name The name which is used for this Static Route.
* @property remoteVirtualNetworkId The ID of the Virtual Network which the Virtual Hub is connected
* @property resourceGroupName
* @property routings A `routing` block as defined below.
* @property virtualHubId The ID of the Virtual Hub within which this connection is created
* @property virtualHubName
*/
public data class GetVirtualHubConnectionResult(
public val id: String,
public val internetSecurityEnabled: Boolean,
public val name: String,
public val remoteVirtualNetworkId: String,
public val resourceGroupName: String,
public val routings: List,
public val virtualHubId: String,
public val virtualHubName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.network.outputs.GetVirtualHubConnectionResult): GetVirtualHubConnectionResult = GetVirtualHubConnectionResult(
id = javaType.id(),
internetSecurityEnabled = javaType.internetSecurityEnabled(),
name = javaType.name(),
remoteVirtualNetworkId = javaType.remoteVirtualNetworkId(),
resourceGroupName = javaType.resourceGroupName(),
routings = javaType.routings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.network.kotlin.outputs.GetVirtualHubConnectionRouting.Companion.toKotlin(args0)
})
}),
virtualHubId = javaType.virtualHubId(),
virtualHubName = javaType.virtualHubName(),
)
}
}