All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.webpubsub.kotlin.outputs.NetworkAclPrivateEndpoint.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.webpubsub.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @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 NetworkAclPrivateEndpoint(
    public val allowedRequestTypes: List? = null,
    public val deniedRequestTypes: List? = null,
    public val id: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.webpubsub.outputs.NetworkAclPrivateEndpoint):
            NetworkAclPrivateEndpoint = NetworkAclPrivateEndpoint(
            allowedRequestTypes = javaType.allowedRequestTypes().map({ args0 -> args0 }),
            deniedRequestTypes = javaType.deniedRequestTypes().map({ args0 -> args0 }),
            id = javaType.id(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy