
com.pulumi.azure.cdn.kotlin.outputs.FrontdoorOriginPrivateLink.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.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @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 FrontdoorOriginPrivateLink(
public val location: String,
public val privateLinkTargetId: String,
public val requestMessage: String? = null,
public val targetType: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.cdn.outputs.FrontdoorOriginPrivateLink):
FrontdoorOriginPrivateLink = FrontdoorOriginPrivateLink(
location = javaType.location(),
privateLinkTargetId = javaType.privateLinkTargetId(),
requestMessage = javaType.requestMessage().map({ args0 -> args0 }).orElse(null),
targetType = javaType.targetType().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy