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

com.pulumi.azure.signalr.kotlin.ServiceNetworkAclArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.signalr.kotlin

import com.pulumi.azure.signalr.ServiceNetworkAclArgs.builder
import com.pulumi.azure.signalr.kotlin.inputs.ServiceNetworkAclPrivateEndpointArgs
import com.pulumi.azure.signalr.kotlin.inputs.ServiceNetworkAclPrivateEndpointArgsBuilder
import com.pulumi.azure.signalr.kotlin.inputs.ServiceNetworkAclPublicNetworkArgs
import com.pulumi.azure.signalr.kotlin.inputs.ServiceNetworkAclPublicNetworkArgsBuilder
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 SignalR service.
 * ## Example Usage
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "West Europe",
 * });
 * const exampleService = new azure.signalr.Service("example", {
 *     name: "example-signalr",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     sku: {
 *         name: "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: ["signalr"],
 *     },
 * });
 * const exampleServiceNetworkAcl = new azure.signalr.ServiceNetworkAcl("example", {
 *     signalrServiceId: exampleService.id,
 *     defaultAction: "Deny",
 *     publicNetwork: {
 *         allowedRequestTypes: ["ClientConnection"],
 *     },
 *     privateEndpoints: [{
 *         id: exampleEndpoint.id,
 *         allowedRequestTypes: ["ServerConnection"],
 *     }],
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_azure as azure
 * example = azure.core.ResourceGroup("example",
 *     name="example-resources",
 *     location="West Europe")
 * example_service = azure.signalr.Service("example",
 *     name="example-signalr",
 *     location=example.location,
 *     resource_group_name=example.name,
 *     sku={
 *         "name": "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={
 *         "name": "psc-sig-test",
 *         "is_manual_connection": False,
 *         "private_connection_resource_id": example_service.id,
 *         "subresource_names": ["signalr"],
 *     })
 * example_service_network_acl = azure.signalr.ServiceNetworkAcl("example",
 *     signalr_service_id=example_service.id,
 *     default_action="Deny",
 *     public_network={
 *         "allowed_request_types": ["ClientConnection"],
 *     },
 *     private_endpoints=[{
 *         "id": example_endpoint.id,
 *         "allowed_request_types": ["ServerConnection"],
 *     }])
 * ```
 * ```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 = "example-resources",
 *         Location = "West Europe",
 *     });
 *     var exampleService = new Azure.SignalR.Service("example", new()
 *     {
 *         Name = "example-signalr",
 *         Location = example.Location,
 *         ResourceGroupName = example.Name,
 *         Sku = new Azure.SignalR.Inputs.ServiceSkuArgs
 *         {
 *             Name = "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[]
 *             {
 *                 "signalr",
 *             },
 *         },
 *     });
 *     var exampleServiceNetworkAcl = new Azure.SignalR.ServiceNetworkAcl("example", new()
 *     {
 *         SignalrServiceId = exampleService.Id,
 *         DefaultAction = "Deny",
 *         PublicNetwork = new Azure.SignalR.Inputs.ServiceNetworkAclPublicNetworkArgs
 *         {
 *             AllowedRequestTypes = new[]
 *             {
 *                 "ClientConnection",
 *             },
 *         },
 *         PrivateEndpoints = new[]
 *         {
 *             new Azure.SignalR.Inputs.ServiceNetworkAclPrivateEndpointArgs
 *             {
 *                 Id = exampleEndpoint.Id,
 *                 AllowedRequestTypes = new[]
 *                 {
 *                     "ServerConnection",
 *                 },
 *             },
 *         },
 *     });
 * });
 * ```
 * ```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/signalr"
 * 	"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("example-resources"),
 * 			Location: pulumi.String("West Europe"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleService, err := signalr.NewService(ctx, "example", &signalr.ServiceArgs{
 * 			Name:              pulumi.String("example-signalr"),
 * 			Location:          example.Location,
 * 			ResourceGroupName: example.Name,
 * 			Sku: &signalr.ServiceSkuArgs{
 * 				Name:     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("signalr"),
 * 				},
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = signalr.NewServiceNetworkAcl(ctx, "example", &signalr.ServiceNetworkAclArgs{
 * 			SignalrServiceId: exampleService.ID(),
 * 			DefaultAction:    pulumi.String("Deny"),
 * 			PublicNetwork: &signalr.ServiceNetworkAclPublicNetworkArgs{
 * 				AllowedRequestTypes: pulumi.StringArray{
 * 					pulumi.String("ClientConnection"),
 * 				},
 * 			},
 * 			PrivateEndpoints: signalr.ServiceNetworkAclPrivateEndpointArray{
 * 				&signalr.ServiceNetworkAclPrivateEndpointArgs{
 * 					Id: exampleEndpoint.ID(),
 * 					AllowedRequestTypes: pulumi.StringArray{
 * 						pulumi.String("ServerConnection"),
 * 					},
 * 				},
 * 			},
 * 		})
 * 		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.signalr.Service;
 * import com.pulumi.azure.signalr.ServiceArgs;
 * import com.pulumi.azure.signalr.inputs.ServiceSkuArgs;
 * 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.signalr.ServiceNetworkAcl;
 * import com.pulumi.azure.signalr.ServiceNetworkAclArgs;
 * import com.pulumi.azure.signalr.inputs.ServiceNetworkAclPublicNetworkArgs;
 * import com.pulumi.azure.signalr.inputs.ServiceNetworkAclPrivateEndpointArgs;
 * 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("example-resources")
 *             .location("West Europe")
 *             .build());
 *         var exampleService = new Service("exampleService", ServiceArgs.builder()
 *             .name("example-signalr")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .sku(ServiceSkuArgs.builder()
 *                 .name("Standard_S1")
 *                 .capacity(1)
 *                 .build())
 *             .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("signalr")
 *                 .build())
 *             .build());
 *         var exampleServiceNetworkAcl = new ServiceNetworkAcl("exampleServiceNetworkAcl", ServiceNetworkAclArgs.builder()
 *             .signalrServiceId(exampleService.id())
 *             .defaultAction("Deny")
 *             .publicNetwork(ServiceNetworkAclPublicNetworkArgs.builder()
 *                 .allowedRequestTypes("ClientConnection")
 *                 .build())
 *             .privateEndpoints(ServiceNetworkAclPrivateEndpointArgs.builder()
 *                 .id(exampleEndpoint.id())
 *                 .allowedRequestTypes("ServerConnection")
 *                 .build())
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   example:
 *     type: azure:core:ResourceGroup
 *     properties:
 *       name: example-resources
 *       location: West Europe
 *   exampleService:
 *     type: azure:signalr:Service
 *     name: example
 *     properties:
 *       name: example-signalr
 *       location: ${example.location}
 *       resourceGroupName: ${example.name}
 *       sku:
 *         name: 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:
 *           - signalr
 *   exampleServiceNetworkAcl:
 *     type: azure:signalr:ServiceNetworkAcl
 *     name: example
 *     properties:
 *       signalrServiceId: ${exampleService.id}
 *       defaultAction: Deny
 *       publicNetwork:
 *         allowedRequestTypes:
 *           - ClientConnection
 *       privateEndpoints:
 *         - id: ${exampleEndpoint.id}
 *           allowedRequestTypes:
 *             - ServerConnection
 * ```
 * 
 * ## Import
 * Network ACLs for a SignalR service can be imported using the `resource id`, e.g.
 * ```sh
 * $ pulumi import azure:signalr/serviceNetworkAcl:ServiceNetworkAcl example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/signalR/signalr1
 * ```
 * @property defaultAction The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`.
 * @property privateEndpoints A `private_endpoint` block as defined below.
 * @property publicNetwork A `public_network` block as defined below.
 * @property signalrServiceId The ID of the SignalR service. Changing this forces a new resource to be created.
 */
public data class ServiceNetworkAclArgs(
    public val defaultAction: Output? = null,
    public val privateEndpoints: Output>? = null,
    public val publicNetwork: Output? = null,
    public val signalrServiceId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.signalr.ServiceNetworkAclArgs =
        com.pulumi.azure.signalr.ServiceNetworkAclArgs.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() }) }))
            .signalrServiceId(signalrServiceId?.applyValue({ args0 -> args0 })).build()
}

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

    private var privateEndpoints: Output>? = null

    private var publicNetwork: Output? = null

    private var signalrServiceId: Output? = null

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

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

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

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

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

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

    /**
     * @param value The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`.
     */
    @JvmName("vabqhermarrohuot")
    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("jliikutifixxyoaa")
    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("benyvbenhwqmrkqk")
    public suspend fun privateEndpoints(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ServiceNetworkAclPrivateEndpointArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.privateEndpoints = mapped
    }

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

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

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

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

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

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

    internal fun build(): ServiceNetworkAclArgs = ServiceNetworkAclArgs(
        defaultAction = defaultAction,
        privateEndpoints = privateEndpoints,
        publicNetwork = publicNetwork,
        signalrServiceId = signalrServiceId,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy