![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.servicebus.kotlin.outputs.PrivateEndpointConnectionResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.servicebus.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Properties of the PrivateEndpointConnection.
* @property id Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
* @property location The geo-location where the resource lives
* @property name The name of the resource
* @property privateEndpoint The Private Endpoint resource for this Connection.
* @property privateLinkServiceConnectionState Details about the state of the connection.
* @property provisioningState Provisioning state of the Private Endpoint Connection.
* @property systemData The system meta data relating to this resource.
* @property type The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
*/
public data class PrivateEndpointConnectionResponse(
public val id: String,
public val location: 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.servicebus.outputs.PrivateEndpointConnectionResponse): PrivateEndpointConnectionResponse = PrivateEndpointConnectionResponse(
id = javaType.id(),
location = javaType.location(),
name = javaType.name(),
privateEndpoint = javaType.privateEndpoint().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.servicebus.kotlin.outputs.PrivateEndpointResponse.Companion.toKotlin(args0)
})
}).orElse(null),
privateLinkServiceConnectionState = javaType.privateLinkServiceConnectionState().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.servicebus.kotlin.outputs.ConnectionStateResponse.Companion.toKotlin(args0)
})
}).orElse(null),
provisioningState = javaType.provisioningState().map({ args0 -> args0 }).orElse(null),
systemData = javaType.systemData().let({ args0 ->
com.pulumi.azurenative.servicebus.kotlin.outputs.SystemDataResponse.Companion.toKotlin(args0)
}),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy