com.pulumi.azure.privatelink.kotlin.outputs.GetEndpointConnectionResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.privatelink.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getEndpointConnection.
* @property id The provider-assigned unique ID for this managed resource.
* @property location The supported Azure location where the resource exists.
* @property name The name of the private endpoint.
* @property networkInterfaces
* @property privateServiceConnections
* @property resourceGroupName
*/
public data class GetEndpointConnectionResult(
public val id: String,
public val location: String,
public val name: String,
public val networkInterfaces: List,
public val privateServiceConnections: List,
public val resourceGroupName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.privatelink.outputs.GetEndpointConnectionResult): GetEndpointConnectionResult = GetEndpointConnectionResult(
id = javaType.id(),
location = javaType.location(),
name = javaType.name(),
networkInterfaces = javaType.networkInterfaces().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.privatelink.kotlin.outputs.GetEndpointConnectionNetworkInterface.Companion.toKotlin(args0)
})
}),
privateServiceConnections = javaType.privateServiceConnections().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.privatelink.kotlin.outputs.GetEndpointConnectionPrivateServiceConnection.Companion.toKotlin(args0)
})
}),
resourceGroupName = javaType.resourceGroupName(),
)
}
}