
com.pulumi.azurenative.network.kotlin.inputs.PrivateLinkServiceConnectionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.PrivateLinkServiceConnectionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* PrivateLinkServiceConnection resource.
* @property groupIds The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
* @property id Resource ID.
* @property name The name of the resource that is unique within a resource group. This name can be used to access the resource.
* @property privateLinkServiceConnectionState A collection of read-only information about the state of the connection to the remote resource.
* @property privateLinkServiceId The resource id of private link service.
* @property requestMessage A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
*/
public data class PrivateLinkServiceConnectionArgs(
public val groupIds: Output>? = null,
public val id: Output? = null,
public val name: Output? = null,
public val privateLinkServiceConnectionState: Output? =
null,
public val privateLinkServiceId: Output? = null,
public val requestMessage: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.PrivateLinkServiceConnectionArgs =
com.pulumi.azurenative.network.inputs.PrivateLinkServiceConnectionArgs.builder()
.groupIds(groupIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.id(id?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.privateLinkServiceConnectionState(
privateLinkServiceConnectionState?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.privateLinkServiceId(privateLinkServiceId?.applyValue({ args0 -> args0 }))
.requestMessage(requestMessage?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PrivateLinkServiceConnectionArgs].
*/
@PulumiTagMarker
public class PrivateLinkServiceConnectionArgsBuilder internal constructor() {
private var groupIds: Output>? = null
private var id: Output? = null
private var name: Output? = null
private var privateLinkServiceConnectionState: Output? =
null
private var privateLinkServiceId: Output? = null
private var requestMessage: Output? = null
/**
* @param value The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
*/
@JvmName("rtiuleucybrscqsf")
public suspend fun groupIds(`value`: Output>) {
this.groupIds = value
}
@JvmName("reumpkndqkkoqkig")
public suspend fun groupIds(vararg values: Output) {
this.groupIds = Output.all(values.asList())
}
/**
* @param values The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
*/
@JvmName("yoqeihwcjjjhbamq")
public suspend fun groupIds(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy