![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.cdn.kotlin.inputs.FrontdoorOriginPrivateLinkArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.cdn.kotlin.inputs
import com.pulumi.azure.cdn.inputs.FrontdoorOriginPrivateLinkArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property location Specifies the location where the Private Link resource should exist. Changing this forces a new resource to be created.
* @property privateLinkTargetId The ID of the Azure Resource to connect to via the Private Link.
* > **Note:** the `private_link_target_id` property must specify the Resource ID of the Private Link Service when using Load Balancer as an Origin.
* @property requestMessage Specifies the request message that will be submitted to the `private_link_target_id` when requesting the private link endpoint connection. Values must be between `1` and `140` characters in length. Defaults to `Access request for CDN FrontDoor Private Link Origin`.
* @property targetType Specifies the type of target for this Private Link Endpoint. Possible values are `blob`, `blob_secondary`, `web` and `sites`.
* > **NOTE:** `target_type` cannot be specified when using a Load Balancer as an Origin.
*/
public data class FrontdoorOriginPrivateLinkArgs(
public val location: Output,
public val privateLinkTargetId: Output,
public val requestMessage: Output? = null,
public val targetType: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cdn.inputs.FrontdoorOriginPrivateLinkArgs =
com.pulumi.azure.cdn.inputs.FrontdoorOriginPrivateLinkArgs.builder()
.location(location.applyValue({ args0 -> args0 }))
.privateLinkTargetId(privateLinkTargetId.applyValue({ args0 -> args0 }))
.requestMessage(requestMessage?.applyValue({ args0 -> args0 }))
.targetType(targetType?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FrontdoorOriginPrivateLinkArgs].
*/
@PulumiTagMarker
public class FrontdoorOriginPrivateLinkArgsBuilder internal constructor() {
private var location: Output? = null
private var privateLinkTargetId: Output? = null
private var requestMessage: Output? = null
private var targetType: Output? = null
/**
* @param value Specifies the location where the Private Link resource should exist. Changing this forces a new resource to be created.
*/
@JvmName("duuujnamokchjltf")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value The ID of the Azure Resource to connect to via the Private Link.
* > **Note:** the `private_link_target_id` property must specify the Resource ID of the Private Link Service when using Load Balancer as an Origin.
*/
@JvmName("pfkpqvrdrhmwoyab")
public suspend fun privateLinkTargetId(`value`: Output) {
this.privateLinkTargetId = value
}
/**
* @param value Specifies the request message that will be submitted to the `private_link_target_id` when requesting the private link endpoint connection. Values must be between `1` and `140` characters in length. Defaults to `Access request for CDN FrontDoor Private Link Origin`.
*/
@JvmName("txucfqoxqstvoalq")
public suspend fun requestMessage(`value`: Output) {
this.requestMessage = value
}
/**
* @param value Specifies the type of target for this Private Link Endpoint. Possible values are `blob`, `blob_secondary`, `web` and `sites`.
* > **NOTE:** `target_type` cannot be specified when using a Load Balancer as an Origin.
*/
@JvmName("yonnhnjcqimwjwhm")
public suspend fun targetType(`value`: Output) {
this.targetType = value
}
/**
* @param value Specifies the location where the Private Link resource should exist. Changing this forces a new resource to be created.
*/
@JvmName("gbhakgngklroajpi")
public suspend fun location(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.location = mapped
}
/**
* @param value The ID of the Azure Resource to connect to via the Private Link.
* > **Note:** the `private_link_target_id` property must specify the Resource ID of the Private Link Service when using Load Balancer as an Origin.
*/
@JvmName("wlkmkbpkdutrnwbh")
public suspend fun privateLinkTargetId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.privateLinkTargetId = mapped
}
/**
* @param value Specifies the request message that will be submitted to the `private_link_target_id` when requesting the private link endpoint connection. Values must be between `1` and `140` characters in length. Defaults to `Access request for CDN FrontDoor Private Link Origin`.
*/
@JvmName("ydpuelvgjecitsrv")
public suspend fun requestMessage(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.requestMessage = mapped
}
/**
* @param value Specifies the type of target for this Private Link Endpoint. Possible values are `blob`, `blob_secondary`, `web` and `sites`.
* > **NOTE:** `target_type` cannot be specified when using a Load Balancer as an Origin.
*/
@JvmName("awtvayjsbydaonli")
public suspend fun targetType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.targetType = mapped
}
internal fun build(): FrontdoorOriginPrivateLinkArgs = FrontdoorOriginPrivateLinkArgs(
location = location ?: throw PulumiNullFieldException("location"),
privateLinkTargetId = privateLinkTargetId ?: throw PulumiNullFieldException("privateLinkTargetId"),
requestMessage = requestMessage,
targetType = targetType,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy