
com.pulumi.azurenative.migrate.kotlin.outputs.PrivateEndpointConnectionResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.migrate.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A private endpoint connection for a project.
* @property eTag For optimistic concurrency control.
* @property groupIds The group ids for the private endpoint resource.
* @property id Path reference to this private endpoint endpoint connection. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/privateEndpointConnections/{privateEndpointConnectionName}
* @property name Name of the private endpoint endpoint connection.
* @property privateEndpoint The private endpoint resource.
* @property privateLinkServiceConnectionState A collection of information about the state of the connection between service consumer and provider.
* @property properties Properties of the private endpoint endpoint connection.
* @property provisioningState The provisioning state of the private endpoint connection resource.
* @property systemData Metadata pertaining to creation and last modification of the resource.
* @property type Type of the object = [Microsoft.Migrate/assessmentProjects/privateEndpointConnections].
*/
public data class PrivateEndpointConnectionResponse(
public val eTag: String? = null,
public val groupIds: List? = null,
public val id: String,
public val name: String,
public val privateEndpoint: PrivateEndpointResponse? = null,
public val privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateResponse? = null,
public val properties: PrivateEndpointConnectionPropertiesResponse,
public val provisioningState: String? = null,
public val systemData: SystemDataResponse? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.migrate.outputs.PrivateEndpointConnectionResponse): PrivateEndpointConnectionResponse = PrivateEndpointConnectionResponse(
eTag = javaType.eTag().map({ args0 -> args0 }).orElse(null),
groupIds = javaType.groupIds().map({ args0 -> args0 }),
id = javaType.id(),
name = javaType.name(),
privateEndpoint = javaType.privateEndpoint().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.migrate.kotlin.outputs.PrivateEndpointResponse.Companion.toKotlin(args0)
})
}).orElse(null),
privateLinkServiceConnectionState = javaType.privateLinkServiceConnectionState().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.migrate.kotlin.outputs.PrivateLinkServiceConnectionStateResponse.Companion.toKotlin(args0)
})
}).orElse(null),
properties = javaType.properties().let({ args0 ->
com.pulumi.azurenative.migrate.kotlin.outputs.PrivateEndpointConnectionPropertiesResponse.Companion.toKotlin(args0)
}),
provisioningState = javaType.provisioningState().map({ args0 -> args0 }).orElse(null),
systemData = javaType.systemData().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.migrate.kotlin.outputs.SystemDataResponse.Companion.toKotlin(args0)
})
}).orElse(null),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy