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

com.pulumi.azure.webpubsub.kotlin.NetworkAclArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.webpubsub.kotlin

import com.pulumi.azure.webpubsub.NetworkAclArgs.builder
import com.pulumi.azure.webpubsub.kotlin.inputs.NetworkAclPrivateEndpointArgs
import com.pulumi.azure.webpubsub.kotlin.inputs.NetworkAclPrivateEndpointArgsBuilder
import com.pulumi.azure.webpubsub.kotlin.inputs.NetworkAclPublicNetworkArgs
import com.pulumi.azure.webpubsub.kotlin.inputs.NetworkAclPublicNetworkArgsBuilder
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

/**
 * Manages the Network ACL for a Web Pubsub.
 * ## Example Usage
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "terraform-webpubsub",
 *     location: "east us",
 * });
 * const exampleService = new azure.webpubsub.Service("example", {
 *     name: "tfex-webpubsub",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     sku: "Standard_S1",
 *     capacity: 1,
 * });
 * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
 *     name: "example-vnet",
 *     resourceGroupName: example.name,
 *     location: example.location,
 *     addressSpaces: ["10.5.0.0/16"],
 * });
 * const exampleSubnet = new azure.network.Subnet("example", {
 *     name: "example-subnet",
 *     resourceGroupName: example.name,
 *     virtualNetworkName: exampleVirtualNetwork.name,
 *     addressPrefixes: ["10.5.2.0/24"],
 *     enforcePrivateLinkEndpointNetworkPolicies: true,
 * });
 * const exampleEndpoint = new azure.privatelink.Endpoint("example", {
 *     name: "example-privateendpoint",
 *     resourceGroupName: example.name,
 *     location: example.location,
 *     subnetId: exampleSubnet.id,
 *     privateServiceConnection: {
 *         name: "psc-sig-test",
 *         isManualConnection: false,
 *         privateConnectionResourceId: exampleService.id,
 *         subresourceNames: ["webpubsub"],
 *     },
 * });
 * const exampleNetworkAcl = new azure.webpubsub.NetworkAcl("example", {
 *     webPubsubId: exampleService.id,
 *     defaultAction: "Allow",
 *     publicNetwork: {
 *         deniedRequestTypes: ["ClientConnection"],
 *     },
 *     privateEndpoints: [{
 *         id: exampleEndpoint.id,
 *         deniedRequestTypes: [
 *             "RESTAPI",
 *             "ClientConnection",
 *         ],
 *     }],
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_azure as azure
 * example = azure.core.ResourceGroup("example",
 *     name="terraform-webpubsub",
 *     location="east us")
 * example_service = azure.webpubsub.Service("example",
 *     name="tfex-webpubsub",
 *     location=example.location,
 *     resource_group_name=example.name,
 *     sku="Standard_S1",
 *     capacity=1)
 * example_virtual_network = azure.network.VirtualNetwork("example",
 *     name="example-vnet",
 *     resource_group_name=example.name,
 *     location=example.location,
 *     address_spaces=["10.5.0.0/16"])
 * example_subnet = azure.network.Subnet("example",
 *     name="example-subnet",
 *     resource_group_name=example.name,
 *     virtual_network_name=example_virtual_network.name,
 *     address_prefixes=["10.5.2.0/24"],
 *     enforce_private_link_endpoint_network_policies=True)
 * example_endpoint = azure.privatelink.Endpoint("example",
 *     name="example-privateendpoint",
 *     resource_group_name=example.name,
 *     location=example.location,
 *     subnet_id=example_subnet.id,
 *     private_service_connection=azure.privatelink.EndpointPrivateServiceConnectionArgs(
 *         name="psc-sig-test",
 *         is_manual_connection=False,
 *         private_connection_resource_id=example_service.id,
 *         subresource_names=["webpubsub"],
 *     ))
 * example_network_acl = azure.webpubsub.NetworkAcl("example",
 *     web_pubsub_id=example_service.id,
 *     default_action="Allow",
 *     public_network=azure.webpubsub.NetworkAclPublicNetworkArgs(
 *         denied_request_types=["ClientConnection"],
 *     ),
 *     private_endpoints=[azure.webpubsub.NetworkAclPrivateEndpointArgs(
 *         id=example_endpoint.id,
 *         denied_request_types=[
 *             "RESTAPI",
 *             "ClientConnection",
 *         ],
 *     )])
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Azure = Pulumi.Azure;
 * return await Deployment.RunAsync(() =>
 * {
 *     var example = new Azure.Core.ResourceGroup("example", new()
 *     {
 *         Name = "terraform-webpubsub",
 *         Location = "east us",
 *     });
 *     var exampleService = new Azure.WebPubSub.Service("example", new()
 *     {
 *         Name = "tfex-webpubsub",
 *         Location = example.Location,
 *         ResourceGroupName = example.Name,
 *         Sku = "Standard_S1",
 *         Capacity = 1,
 *     });
 *     var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("example", new()
 *     {
 *         Name = "example-vnet",
 *         ResourceGroupName = example.Name,
 *         Location = example.Location,
 *         AddressSpaces = new[]
 *         {
 *             "10.5.0.0/16",
 *         },
 *     });
 *     var exampleSubnet = new Azure.Network.Subnet("example", new()
 *     {
 *         Name = "example-subnet",
 *         ResourceGroupName = example.Name,
 *         VirtualNetworkName = exampleVirtualNetwork.Name,
 *         AddressPrefixes = new[]
 *         {
 *             "10.5.2.0/24",
 *         },
 *         EnforcePrivateLinkEndpointNetworkPolicies = true,
 *     });
 *     var exampleEndpoint = new Azure.PrivateLink.Endpoint("example", new()
 *     {
 *         Name = "example-privateendpoint",
 *         ResourceGroupName = example.Name,
 *         Location = example.Location,
 *         SubnetId = exampleSubnet.Id,
 *         PrivateServiceConnection = new Azure.PrivateLink.Inputs.EndpointPrivateServiceConnectionArgs
 *         {
 *             Name = "psc-sig-test",
 *             IsManualConnection = false,
 *             PrivateConnectionResourceId = exampleService.Id,
 *             SubresourceNames = new[]
 *             {
 *                 "webpubsub",
 *             },
 *         },
 *     });
 *     var exampleNetworkAcl = new Azure.WebPubSub.NetworkAcl("example", new()
 *     {
 *         WebPubsubId = exampleService.Id,
 *         DefaultAction = "Allow",
 *         PublicNetwork = new Azure.WebPubSub.Inputs.NetworkAclPublicNetworkArgs
 *         {
 *             DeniedRequestTypes = new[]
 *             {
 *                 "ClientConnection",
 *             },
 *         },
 *         PrivateEndpoints = new[]
 *         {
 *             new Azure.WebPubSub.Inputs.NetworkAclPrivateEndpointArgs
 *             {
 *                 Id = exampleEndpoint.Id,
 *                 DeniedRequestTypes = new[]
 *                 {
 *                     "RESTAPI",
 *                     "ClientConnection",
 *                 },
 *             },
 *         },
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatelink"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/webpubsub"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
 * 			Name:     pulumi.String("terraform-webpubsub"),
 * 			Location: pulumi.String("east us"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleService, err := webpubsub.NewService(ctx, "example", &webpubsub.ServiceArgs{
 * 			Name:              pulumi.String("tfex-webpubsub"),
 * 			Location:          example.Location,
 * 			ResourceGroupName: example.Name,
 * 			Sku:               pulumi.String("Standard_S1"),
 * 			Capacity:          pulumi.Int(1),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
 * 			Name:              pulumi.String("example-vnet"),
 * 			ResourceGroupName: example.Name,
 * 			Location:          example.Location,
 * 			AddressSpaces: pulumi.StringArray{
 * 				pulumi.String("10.5.0.0/16"),
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
 * 			Name:               pulumi.String("example-subnet"),
 * 			ResourceGroupName:  example.Name,
 * 			VirtualNetworkName: exampleVirtualNetwork.Name,
 * 			AddressPrefixes: pulumi.StringArray{
 * 				pulumi.String("10.5.2.0/24"),
 * 			},
 * 			EnforcePrivateLinkEndpointNetworkPolicies: pulumi.Bool(true),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleEndpoint, err := privatelink.NewEndpoint(ctx, "example", &privatelink.EndpointArgs{
 * 			Name:              pulumi.String("example-privateendpoint"),
 * 			ResourceGroupName: example.Name,
 * 			Location:          example.Location,
 * 			SubnetId:          exampleSubnet.ID(),
 * 			PrivateServiceConnection: &privatelink.EndpointPrivateServiceConnectionArgs{
 * 				Name:                        pulumi.String("psc-sig-test"),
 * 				IsManualConnection:          pulumi.Bool(false),
 * 				PrivateConnectionResourceId: exampleService.ID(),
 * 				SubresourceNames: pulumi.StringArray{
 * 					pulumi.String("webpubsub"),
 * 				},
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = webpubsub.NewNetworkAcl(ctx, "example", &webpubsub.NetworkAclArgs{
 * 			WebPubsubId:   exampleService.ID(),
 * 			DefaultAction: pulumi.String("Allow"),
 * 			PublicNetwork: &webpubsub.NetworkAclPublicNetworkArgs{
 * 				DeniedRequestTypes: pulumi.StringArray{
 * 					pulumi.String("ClientConnection"),
 * 				},
 * 			},
 * 			PrivateEndpoints: webpubsub.NetworkAclPrivateEndpointArray{
 * 				&webpubsub.NetworkAclPrivateEndpointArgs{
 * 					Id: exampleEndpoint.ID(),
 * 					DeniedRequestTypes: pulumi.StringArray{
 * 						pulumi.String("RESTAPI"),
 * 						pulumi.String("ClientConnection"),
 * 					},
 * 				},
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azure.core.ResourceGroup;
 * import com.pulumi.azure.core.ResourceGroupArgs;
 * import com.pulumi.azure.webpubsub.Service;
 * import com.pulumi.azure.webpubsub.ServiceArgs;
 * import com.pulumi.azure.network.VirtualNetwork;
 * import com.pulumi.azure.network.VirtualNetworkArgs;
 * import com.pulumi.azure.network.Subnet;
 * import com.pulumi.azure.network.SubnetArgs;
 * import com.pulumi.azure.privatelink.Endpoint;
 * import com.pulumi.azure.privatelink.EndpointArgs;
 * import com.pulumi.azure.privatelink.inputs.EndpointPrivateServiceConnectionArgs;
 * import com.pulumi.azure.webpubsub.NetworkAcl;
 * import com.pulumi.azure.webpubsub.NetworkAclArgs;
 * import com.pulumi.azure.webpubsub.inputs.NetworkAclPublicNetworkArgs;
 * import com.pulumi.azure.webpubsub.inputs.NetworkAclPrivateEndpointArgs;
 * import java.util.List;
 * import java.util.ArrayList;
 * import java.util.Map;
 * import java.io.File;
 * import java.nio.file.Files;
 * import java.nio.file.Paths;
 * public class App {
 *     public static void main(String[] args) {
 *         Pulumi.run(App::stack);
 *     }
 *     public static void stack(Context ctx) {
 *         var example = new ResourceGroup("example", ResourceGroupArgs.builder()
 *             .name("terraform-webpubsub")
 *             .location("east us")
 *             .build());
 *         var exampleService = new Service("exampleService", ServiceArgs.builder()
 *             .name("tfex-webpubsub")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .sku("Standard_S1")
 *             .capacity(1)
 *             .build());
 *         var exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()
 *             .name("example-vnet")
 *             .resourceGroupName(example.name())
 *             .location(example.location())
 *             .addressSpaces("10.5.0.0/16")
 *             .build());
 *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()
 *             .name("example-subnet")
 *             .resourceGroupName(example.name())
 *             .virtualNetworkName(exampleVirtualNetwork.name())
 *             .addressPrefixes("10.5.2.0/24")
 *             .enforcePrivateLinkEndpointNetworkPolicies(true)
 *             .build());
 *         var exampleEndpoint = new Endpoint("exampleEndpoint", EndpointArgs.builder()
 *             .name("example-privateendpoint")
 *             .resourceGroupName(example.name())
 *             .location(example.location())
 *             .subnetId(exampleSubnet.id())
 *             .privateServiceConnection(EndpointPrivateServiceConnectionArgs.builder()
 *                 .name("psc-sig-test")
 *                 .isManualConnection(false)
 *                 .privateConnectionResourceId(exampleService.id())
 *                 .subresourceNames("webpubsub")
 *                 .build())
 *             .build());
 *         var exampleNetworkAcl = new NetworkAcl("exampleNetworkAcl", NetworkAclArgs.builder()
 *             .webPubsubId(exampleService.id())
 *             .defaultAction("Allow")
 *             .publicNetwork(NetworkAclPublicNetworkArgs.builder()
 *                 .deniedRequestTypes("ClientConnection")
 *                 .build())
 *             .privateEndpoints(NetworkAclPrivateEndpointArgs.builder()
 *                 .id(exampleEndpoint.id())
 *                 .deniedRequestTypes(
 *                     "RESTAPI",
 *                     "ClientConnection")
 *                 .build())
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   example:
 *     type: azure:core:ResourceGroup
 *     properties:
 *       name: terraform-webpubsub
 *       location: east us
 *   exampleService:
 *     type: azure:webpubsub:Service
 *     name: example
 *     properties:
 *       name: tfex-webpubsub
 *       location: ${example.location}
 *       resourceGroupName: ${example.name}
 *       sku: Standard_S1
 *       capacity: 1
 *   exampleVirtualNetwork:
 *     type: azure:network:VirtualNetwork
 *     name: example
 *     properties:
 *       name: example-vnet
 *       resourceGroupName: ${example.name}
 *       location: ${example.location}
 *       addressSpaces:
 *         - 10.5.0.0/16
 *   exampleSubnet:
 *     type: azure:network:Subnet
 *     name: example
 *     properties:
 *       name: example-subnet
 *       resourceGroupName: ${example.name}
 *       virtualNetworkName: ${exampleVirtualNetwork.name}
 *       addressPrefixes:
 *         - 10.5.2.0/24
 *       enforcePrivateLinkEndpointNetworkPolicies: true
 *   exampleEndpoint:
 *     type: azure:privatelink:Endpoint
 *     name: example
 *     properties:
 *       name: example-privateendpoint
 *       resourceGroupName: ${example.name}
 *       location: ${example.location}
 *       subnetId: ${exampleSubnet.id}
 *       privateServiceConnection:
 *         name: psc-sig-test
 *         isManualConnection: false
 *         privateConnectionResourceId: ${exampleService.id}
 *         subresourceNames:
 *           - webpubsub
 *   exampleNetworkAcl:
 *     type: azure:webpubsub:NetworkAcl
 *     name: example
 *     properties:
 *       webPubsubId: ${exampleService.id}
 *       defaultAction: Allow
 *       publicNetwork:
 *         deniedRequestTypes:
 *           - ClientConnection
 *       privateEndpoints:
 *         - id: ${exampleEndpoint.id}
 *           deniedRequestTypes:
 *             - RESTAPI
 *             - ClientConnection
 * ```
 * 
 * ## Import
 * Network ACLs for a Web Pubsub service can be imported using the `resource id`, e.g.
 * ```sh
 * $ pulumi import azure:webpubsub/networkAcl:NetworkAcl example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/webPubSub/webpubsub1
 * ```
 * @property defaultAction The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`. Defaults to `Deny`.
 * @property privateEndpoints A `private_endpoint` block as defined below.
 * @property publicNetwork A `public_network` block as defined below.
 * @property webPubsubId The ID of the Web Pubsub service. Changing this forces a new resource to be created.
 */
public data class NetworkAclArgs(
    public val defaultAction: Output? = null,
    public val privateEndpoints: Output>? = null,
    public val publicNetwork: Output? = null,
    public val webPubsubId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.webpubsub.NetworkAclArgs =
        com.pulumi.azure.webpubsub.NetworkAclArgs.builder()
            .defaultAction(defaultAction?.applyValue({ args0 -> args0 }))
            .privateEndpoints(
                privateEndpoints?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .publicNetwork(publicNetwork?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .webPubsubId(webPubsubId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [NetworkAclArgs].
 */
@PulumiTagMarker
public class NetworkAclArgsBuilder internal constructor() {
    private var defaultAction: Output? = null

    private var privateEndpoints: Output>? = null

    private var publicNetwork: Output? = null

    private var webPubsubId: Output? = null

    /**
     * @param value The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`. Defaults to `Deny`.
     */
    @JvmName("ctuvkcexhkeafbto")
    public suspend fun defaultAction(`value`: Output) {
        this.defaultAction = value
    }

    /**
     * @param value A `private_endpoint` block as defined below.
     */
    @JvmName("utpwytrhusmdwfsh")
    public suspend fun privateEndpoints(`value`: Output>) {
        this.privateEndpoints = value
    }

    @JvmName("tnyqheracvxigwxv")
    public suspend fun privateEndpoints(vararg values: Output) {
        this.privateEndpoints = Output.all(values.asList())
    }

    /**
     * @param values A `private_endpoint` block as defined below.
     */
    @JvmName("tpxllmgqjonjukcu")
    public suspend fun privateEndpoints(values: List>) {
        this.privateEndpoints = Output.all(values)
    }

    /**
     * @param value A `public_network` block as defined below.
     */
    @JvmName("tpycsgwcrrvnshgp")
    public suspend fun publicNetwork(`value`: Output) {
        this.publicNetwork = value
    }

    /**
     * @param value The ID of the Web Pubsub service. Changing this forces a new resource to be created.
     */
    @JvmName("djdalxrnwmwvnadq")
    public suspend fun webPubsubId(`value`: Output) {
        this.webPubsubId = value
    }

    /**
     * @param value The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`. Defaults to `Deny`.
     */
    @JvmName("tvunqkrsxcdilpnm")
    public suspend fun defaultAction(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.defaultAction = mapped
    }

    /**
     * @param value A `private_endpoint` block as defined below.
     */
    @JvmName("atkadhaabejuumjf")
    public suspend fun privateEndpoints(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privateEndpoints = mapped
    }

    /**
     * @param argument A `private_endpoint` block as defined below.
     */
    @JvmName("pivsjfsncaiucokc")
    public suspend
    fun privateEndpoints(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            NetworkAclPrivateEndpointArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.privateEndpoints = mapped
    }

    /**
     * @param argument A `private_endpoint` block as defined below.
     */
    @JvmName("ipnnvxxbbcwniqmt")
    public suspend fun privateEndpoints(
        vararg
        argument: suspend NetworkAclPrivateEndpointArgsBuilder.() -> Unit,
    ) {
        val toBeMapped = argument.toList().map {
            NetworkAclPrivateEndpointArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.privateEndpoints = mapped
    }

    /**
     * @param argument A `private_endpoint` block as defined below.
     */
    @JvmName("uwbuwtmdsdangrvh")
    public suspend
    fun privateEndpoints(argument: suspend NetworkAclPrivateEndpointArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            NetworkAclPrivateEndpointArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.privateEndpoints = mapped
    }

    /**
     * @param values A `private_endpoint` block as defined below.
     */
    @JvmName("drlbgkvyfffxbpep")
    public suspend fun privateEndpoints(vararg values: NetworkAclPrivateEndpointArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.privateEndpoints = mapped
    }

    /**
     * @param value A `public_network` block as defined below.
     */
    @JvmName("rbdyiftevcnvjree")
    public suspend fun publicNetwork(`value`: NetworkAclPublicNetworkArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.publicNetwork = mapped
    }

    /**
     * @param argument A `public_network` block as defined below.
     */
    @JvmName("kpbxqdiblvxcqwcg")
    public suspend
    fun publicNetwork(argument: suspend NetworkAclPublicNetworkArgsBuilder.() -> Unit) {
        val toBeMapped = NetworkAclPublicNetworkArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.publicNetwork = mapped
    }

    /**
     * @param value The ID of the Web Pubsub service. Changing this forces a new resource to be created.
     */
    @JvmName("lllxkritrsqcltir")
    public suspend fun webPubsubId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.webPubsubId = mapped
    }

    internal fun build(): NetworkAclArgs = NetworkAclArgs(
        defaultAction = defaultAction,
        privateEndpoints = privateEndpoints,
        publicNetwork = publicNetwork,
        webPubsubId = webPubsubId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy