com.pulumi.azure.webpubsub.kotlin.inputs.NetworkAclPrivateEndpointArgs.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.webpubsub.kotlin.inputs
import com.pulumi.azure.webpubsub.inputs.NetworkAclPrivateEndpointArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property allowedRequestTypes The allowed request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
* @property deniedRequestTypes The denied request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
* > **NOTE:** When `default_action` is `Allow`, `allowed_request_types`cannot be set. When `default_action` is `Deny`, `denied_request_types`cannot be set.
* @property id The ID of the Private Endpoint which is based on the Web Pubsub service.
*/
public data class NetworkAclPrivateEndpointArgs(
public val allowedRequestTypes: Output>? = null,
public val deniedRequestTypes: Output>? = null,
public val id: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.webpubsub.inputs.NetworkAclPrivateEndpointArgs =
com.pulumi.azure.webpubsub.inputs.NetworkAclPrivateEndpointArgs.builder()
.allowedRequestTypes(allowedRequestTypes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.deniedRequestTypes(deniedRequestTypes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.id(id.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NetworkAclPrivateEndpointArgs].
*/
@PulumiTagMarker
public class NetworkAclPrivateEndpointArgsBuilder internal constructor() {
private var allowedRequestTypes: Output>? = null
private var deniedRequestTypes: Output>? = null
private var id: Output? = null
/**
* @param value The allowed request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
*/
@JvmName("gggjlvdwgtrqfstp")
public suspend fun allowedRequestTypes(`value`: Output>) {
this.allowedRequestTypes = value
}
@JvmName("ypcnnrmdonucjlrg")
public suspend fun allowedRequestTypes(vararg values: Output) {
this.allowedRequestTypes = Output.all(values.asList())
}
/**
* @param values The allowed request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
*/
@JvmName("qklepifborinapwf")
public suspend fun allowedRequestTypes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy