
com.pulumi.azurenative.powerbi.kotlin.outputs.GetPrivateEndpointConnectionResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.powerbi.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property id Specifies the id of the resource.
* @property name Specifies the name of the resource.
* @property privateEndpoint Specifies the private endpoint.
* @property privateLinkServiceConnectionState Specifies the connection state.
* @property provisioningState Provisioning state of the Private Endpoint Connection.
* @property systemData The system meta data relating to this resource.
* @property type Specifies the type of the resource.
*/
public data class GetPrivateEndpointConnectionResult(
public val id: String,
public val name: String,
public val privateEndpoint: PrivateEndpointResponse? = null,
public val privateLinkServiceConnectionState: ConnectionStateResponse? = null,
public val provisioningState: String? = null,
public val systemData: SystemDataResponse,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.powerbi.outputs.GetPrivateEndpointConnectionResult): GetPrivateEndpointConnectionResult = GetPrivateEndpointConnectionResult(
id = javaType.id(),
name = javaType.name(),
privateEndpoint = javaType.privateEndpoint().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.powerbi.kotlin.outputs.PrivateEndpointResponse.Companion.toKotlin(args0)
})
}).orElse(null),
privateLinkServiceConnectionState = javaType.privateLinkServiceConnectionState().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.powerbi.kotlin.outputs.ConnectionStateResponse.Companion.toKotlin(args0)
})
}).orElse(null),
provisioningState = javaType.provisioningState().map({ args0 -> args0 }).orElse(null),
systemData = javaType.systemData().let({ args0 ->
com.pulumi.azurenative.powerbi.kotlin.outputs.SystemDataResponse.Companion.toKotlin(args0)
}),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy