1. Packages
  2. Azure Classic
  3. API Docs
  4. signalr
  5. ServiceNetworkAcl

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages the Network ACL for a SignalR service.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
            {
                Location = "West Europe",
            });
            var exampleService = new Azure.SignalR.Service("exampleService", new Azure.SignalR.ServiceArgs
            {
                Location = exampleResourceGroup.Location,
                ResourceGroupName = exampleResourceGroup.Name,
                Sku = new Azure.SignalR.Inputs.ServiceSkuArgs
                {
                    Name = "Standard_S1",
                    Capacity = 1,
                },
            });
            var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("exampleVirtualNetwork", new Azure.Network.VirtualNetworkArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                Location = exampleResourceGroup.Location,
                AddressSpaces = 
                {
                    "10.5.0.0/16",
                },
            });
            var exampleSubnet = new Azure.Network.Subnet("exampleSubnet", new Azure.Network.SubnetArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                VirtualNetworkName = exampleVirtualNetwork.Name,
                AddressPrefixes = 
                {
                    "10.5.2.0/24",
                },
                EnforcePrivateLinkEndpointNetworkPolicies = true,
            });
            var exampleEndpoint = new Azure.PrivateLink.Endpoint("exampleEndpoint", new Azure.PrivateLink.EndpointArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                Location = exampleResourceGroup.Location,
                SubnetId = exampleSubnet.Id,
                PrivateServiceConnection = new Azure.PrivateLink.Inputs.EndpointPrivateServiceConnectionArgs
                {
                    Name = "psc-sig-test",
                    IsManualConnection = false,
                    PrivateConnectionResourceId = exampleService.Id,
                    SubresourceNames = 
                    {
                        "signalr",
                    },
                },
            });
            var exampleServiceNetworkAcl = new Azure.SignalR.ServiceNetworkAcl("exampleServiceNetworkAcl", new Azure.SignalR.ServiceNetworkAclArgs
            {
                SignalrServiceId = exampleService.Id,
                DefaultAction = "Deny",
                PublicNetwork = new Azure.SignalR.Inputs.ServiceNetworkAclPublicNetworkArgs
                {
                    AllowedRequestTypes = 
                    {
                        "ClientConnection",
                    },
                },
                PrivateEndpoints = 
                {
                    new Azure.SignalR.Inputs.ServiceNetworkAclPrivateEndpointArgs
                    {
                        Id = exampleEndpoint.Id,
                        AllowedRequestTypes = 
                        {
                            "ServerConnection",
                        },
                    },
                },
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/privatelink"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/signalr"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleService, err := signalr.NewService(ctx, "exampleService", &signalr.ServiceArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			Sku: &signalr.ServiceSkuArgs{
    				Name:     pulumi.String("Standard_S1"),
    				Capacity: pulumi.Int(1),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.Location,
    			AddressSpaces: pulumi.StringArray{
    				pulumi.String("10.5.0.0/16"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
    			ResourceGroupName:  exampleResourceGroup.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, "exampleEndpoint", &privatelink.EndpointArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.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, "exampleServiceNetworkAcl", &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
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleService = new azure.signalr.Service("exampleService", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        sku: {
            name: "Standard_S1",
            capacity: 1,
        },
    });
    const exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        addressSpaces: ["10.5.0.0/16"],
    });
    const exampleSubnet = new azure.network.Subnet("exampleSubnet", {
        resourceGroupName: exampleResourceGroup.name,
        virtualNetworkName: exampleVirtualNetwork.name,
        addressPrefixes: ["10.5.2.0/24"],
        enforcePrivateLinkEndpointNetworkPolicies: true,
    });
    const exampleEndpoint = new azure.privatelink.Endpoint("exampleEndpoint", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        subnetId: exampleSubnet.id,
        privateServiceConnection: {
            name: "psc-sig-test",
            isManualConnection: false,
            privateConnectionResourceId: exampleService.id,
            subresourceNames: ["signalr"],
        },
    });
    const exampleServiceNetworkAcl = new azure.signalr.ServiceNetworkAcl("exampleServiceNetworkAcl", {
        signalrServiceId: exampleService.id,
        defaultAction: "Deny",
        publicNetwork: {
            allowedRequestTypes: ["ClientConnection"],
        },
        privateEndpoints: [{
            id: exampleEndpoint.id,
            allowedRequestTypes: ["ServerConnection"],
        }],
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_service = azure.signalr.Service("exampleService",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        sku=azure.signalr.ServiceSkuArgs(
            name="Standard_S1",
            capacity=1,
        ))
    example_virtual_network = azure.network.VirtualNetwork("exampleVirtualNetwork",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        address_spaces=["10.5.0.0/16"])
    example_subnet = azure.network.Subnet("exampleSubnet",
        resource_group_name=example_resource_group.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("exampleEndpoint",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.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=["signalr"],
        ))
    example_service_network_acl = azure.signalr.ServiceNetworkAcl("exampleServiceNetworkAcl",
        signalr_service_id=example_service.id,
        default_action="Deny",
        public_network=azure.signalr.ServiceNetworkAclPublicNetworkArgs(
            allowed_request_types=["ClientConnection"],
        ),
        private_endpoints=[azure.signalr.ServiceNetworkAclPrivateEndpointArgs(
            id=example_endpoint.id,
            allowed_request_types=["ServerConnection"],
        )])
    

    Example coming soon!

    Create ServiceNetworkAcl Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ServiceNetworkAcl(name: string, args: ServiceNetworkAclArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceNetworkAcl(resource_name: str,
                          args: ServiceNetworkAclArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceNetworkAcl(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          default_action: Optional[str] = None,
                          public_network: Optional[ServiceNetworkAclPublicNetworkArgs] = None,
                          signalr_service_id: Optional[str] = None,
                          private_endpoints: Optional[Sequence[ServiceNetworkAclPrivateEndpointArgs]] = None)
    func NewServiceNetworkAcl(ctx *Context, name string, args ServiceNetworkAclArgs, opts ...ResourceOption) (*ServiceNetworkAcl, error)
    public ServiceNetworkAcl(string name, ServiceNetworkAclArgs args, CustomResourceOptions? opts = null)
    public ServiceNetworkAcl(String name, ServiceNetworkAclArgs args)
    public ServiceNetworkAcl(String name, ServiceNetworkAclArgs args, CustomResourceOptions options)
    
    type: azure:signalr:ServiceNetworkAcl
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ServiceNetworkAclArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ServiceNetworkAclArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ServiceNetworkAclArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceNetworkAclArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceNetworkAclArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var serviceNetworkAclResource = new Azure.SignalR.ServiceNetworkAcl("serviceNetworkAclResource", new()
    {
        DefaultAction = "string",
        PublicNetwork = new Azure.SignalR.Inputs.ServiceNetworkAclPublicNetworkArgs
        {
            AllowedRequestTypes = new[]
            {
                "string",
            },
            DeniedRequestTypes = new[]
            {
                "string",
            },
        },
        SignalrServiceId = "string",
        PrivateEndpoints = new[]
        {
            new Azure.SignalR.Inputs.ServiceNetworkAclPrivateEndpointArgs
            {
                Id = "string",
                AllowedRequestTypes = new[]
                {
                    "string",
                },
                DeniedRequestTypes = new[]
                {
                    "string",
                },
            },
        },
    });
    
    example, err := signalr.NewServiceNetworkAcl(ctx, "serviceNetworkAclResource", &signalr.ServiceNetworkAclArgs{
    	DefaultAction: pulumi.String("string"),
    	PublicNetwork: &signalr.ServiceNetworkAclPublicNetworkArgs{
    		AllowedRequestTypes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		DeniedRequestTypes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	SignalrServiceId: pulumi.String("string"),
    	PrivateEndpoints: signalr.ServiceNetworkAclPrivateEndpointArray{
    		&signalr.ServiceNetworkAclPrivateEndpointArgs{
    			Id: pulumi.String("string"),
    			AllowedRequestTypes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DeniedRequestTypes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var serviceNetworkAclResource = new ServiceNetworkAcl("serviceNetworkAclResource", ServiceNetworkAclArgs.builder()
        .defaultAction("string")
        .publicNetwork(ServiceNetworkAclPublicNetworkArgs.builder()
            .allowedRequestTypes("string")
            .deniedRequestTypes("string")
            .build())
        .signalrServiceId("string")
        .privateEndpoints(ServiceNetworkAclPrivateEndpointArgs.builder()
            .id("string")
            .allowedRequestTypes("string")
            .deniedRequestTypes("string")
            .build())
        .build());
    
    service_network_acl_resource = azure.signalr.ServiceNetworkAcl("serviceNetworkAclResource",
        default_action="string",
        public_network={
            "allowed_request_types": ["string"],
            "denied_request_types": ["string"],
        },
        signalr_service_id="string",
        private_endpoints=[{
            "id": "string",
            "allowed_request_types": ["string"],
            "denied_request_types": ["string"],
        }])
    
    const serviceNetworkAclResource = new azure.signalr.ServiceNetworkAcl("serviceNetworkAclResource", {
        defaultAction: "string",
        publicNetwork: {
            allowedRequestTypes: ["string"],
            deniedRequestTypes: ["string"],
        },
        signalrServiceId: "string",
        privateEndpoints: [{
            id: "string",
            allowedRequestTypes: ["string"],
            deniedRequestTypes: ["string"],
        }],
    });
    
    type: azure:signalr:ServiceNetworkAcl
    properties:
        defaultAction: string
        privateEndpoints:
            - allowedRequestTypes:
                - string
              deniedRequestTypes:
                - string
              id: string
        publicNetwork:
            allowedRequestTypes:
                - string
            deniedRequestTypes:
                - string
        signalrServiceId: string
    

    ServiceNetworkAcl Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ServiceNetworkAcl resource accepts the following input properties:

    DefaultAction string
    The default action to control the network access when no other rule matches. Possible values are Allow and Deny.
    PublicNetwork ServiceNetworkAclPublicNetwork
    A public_network block as defined below.
    SignalrServiceId string
    The ID of the SignalR service. Changing this forces a new resource to be created.
    PrivateEndpoints List<ServiceNetworkAclPrivateEndpoint>
    A private_endpoint block as defined below.
    DefaultAction string
    The default action to control the network access when no other rule matches. Possible values are Allow and Deny.
    PublicNetwork ServiceNetworkAclPublicNetworkArgs
    A public_network block as defined below.
    SignalrServiceId string
    The ID of the SignalR service. Changing this forces a new resource to be created.
    PrivateEndpoints []ServiceNetworkAclPrivateEndpointArgs
    A private_endpoint block as defined below.
    defaultAction String
    The default action to control the network access when no other rule matches. Possible values are Allow and Deny.
    publicNetwork ServiceNetworkAclPublicNetwork
    A public_network block as defined below.
    signalrServiceId String
    The ID of the SignalR service. Changing this forces a new resource to be created.
    privateEndpoints List<ServiceNetworkAclPrivateEndpoint>
    A private_endpoint block as defined below.
    defaultAction string
    The default action to control the network access when no other rule matches. Possible values are Allow and Deny.
    publicNetwork ServiceNetworkAclPublicNetwork
    A public_network block as defined below.
    signalrServiceId string
    The ID of the SignalR service. Changing this forces a new resource to be created.
    privateEndpoints ServiceNetworkAclPrivateEndpoint[]
    A private_endpoint block as defined below.
    default_action str
    The default action to control the network access when no other rule matches. Possible values are Allow and Deny.
    public_network ServiceNetworkAclPublicNetworkArgs
    A public_network block as defined below.
    signalr_service_id str
    The ID of the SignalR service. Changing this forces a new resource to be created.
    private_endpoints Sequence[ServiceNetworkAclPrivateEndpointArgs]
    A private_endpoint block as defined below.
    defaultAction String
    The default action to control the network access when no other rule matches. Possible values are Allow and Deny.
    publicNetwork Property Map
    A public_network block as defined below.
    signalrServiceId String
    The ID of the SignalR service. Changing this forces a new resource to be created.
    privateEndpoints List<Property Map>
    A private_endpoint block as defined below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServiceNetworkAcl resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ServiceNetworkAcl Resource

    Get an existing ServiceNetworkAcl resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ServiceNetworkAclState, opts?: CustomResourceOptions): ServiceNetworkAcl
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            default_action: Optional[str] = None,
            private_endpoints: Optional[Sequence[ServiceNetworkAclPrivateEndpointArgs]] = None,
            public_network: Optional[ServiceNetworkAclPublicNetworkArgs] = None,
            signalr_service_id: Optional[str] = None) -> ServiceNetworkAcl
    func GetServiceNetworkAcl(ctx *Context, name string, id IDInput, state *ServiceNetworkAclState, opts ...ResourceOption) (*ServiceNetworkAcl, error)
    public static ServiceNetworkAcl Get(string name, Input<string> id, ServiceNetworkAclState? state, CustomResourceOptions? opts = null)
    public static ServiceNetworkAcl get(String name, Output<String> id, ServiceNetworkAclState state, CustomResourceOptions options)
    resources:  _:    type: azure:signalr:ServiceNetworkAcl    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DefaultAction string
    The default action to control the network access when no other rule matches. Possible values are Allow and Deny.
    PrivateEndpoints List<ServiceNetworkAclPrivateEndpoint>
    A private_endpoint block as defined below.
    PublicNetwork ServiceNetworkAclPublicNetwork
    A public_network block as defined below.
    SignalrServiceId string
    The ID of the SignalR service. Changing this forces a new resource to be created.
    DefaultAction string
    The default action to control the network access when no other rule matches. Possible values are Allow and Deny.
    PrivateEndpoints []ServiceNetworkAclPrivateEndpointArgs
    A private_endpoint block as defined below.
    PublicNetwork ServiceNetworkAclPublicNetworkArgs
    A public_network block as defined below.
    SignalrServiceId string
    The ID of the SignalR service. Changing this forces a new resource to be created.
    defaultAction String
    The default action to control the network access when no other rule matches. Possible values are Allow and Deny.
    privateEndpoints List<ServiceNetworkAclPrivateEndpoint>
    A private_endpoint block as defined below.
    publicNetwork ServiceNetworkAclPublicNetwork
    A public_network block as defined below.
    signalrServiceId String
    The ID of the SignalR service. Changing this forces a new resource to be created.
    defaultAction string
    The default action to control the network access when no other rule matches. Possible values are Allow and Deny.
    privateEndpoints ServiceNetworkAclPrivateEndpoint[]
    A private_endpoint block as defined below.
    publicNetwork ServiceNetworkAclPublicNetwork
    A public_network block as defined below.
    signalrServiceId string
    The ID of the SignalR service. Changing this forces a new resource to be created.
    default_action str
    The default action to control the network access when no other rule matches. Possible values are Allow and Deny.
    private_endpoints Sequence[ServiceNetworkAclPrivateEndpointArgs]
    A private_endpoint block as defined below.
    public_network ServiceNetworkAclPublicNetworkArgs
    A public_network block as defined below.
    signalr_service_id str
    The ID of the SignalR service. Changing this forces a new resource to be created.
    defaultAction String
    The default action to control the network access when no other rule matches. Possible values are Allow and Deny.
    privateEndpoints List<Property Map>
    A private_endpoint block as defined below.
    publicNetwork Property Map
    A public_network block as defined below.
    signalrServiceId String
    The ID of the SignalR service. Changing this forces a new resource to be created.

    Supporting Types

    ServiceNetworkAclPrivateEndpoint, ServiceNetworkAclPrivateEndpointArgs

    Id string
    The ID of the Private Endpoint which is based on the SignalR service.
    AllowedRequestTypes List<string>
    The allowed request types for the Private Endpoint Connection. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    DeniedRequestTypes List<string>
    The denied request types for the Private Endpoint Connection. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    Id string
    The ID of the Private Endpoint which is based on the SignalR service.
    AllowedRequestTypes []string
    The allowed request types for the Private Endpoint Connection. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    DeniedRequestTypes []string
    The denied request types for the Private Endpoint Connection. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    id String
    The ID of the Private Endpoint which is based on the SignalR service.
    allowedRequestTypes List<String>
    The allowed request types for the Private Endpoint Connection. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    deniedRequestTypes List<String>
    The denied request types for the Private Endpoint Connection. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    id string
    The ID of the Private Endpoint which is based on the SignalR service.
    allowedRequestTypes string[]
    The allowed request types for the Private Endpoint Connection. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    deniedRequestTypes string[]
    The denied request types for the Private Endpoint Connection. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    id str
    The ID of the Private Endpoint which is based on the SignalR service.
    allowed_request_types Sequence[str]
    The allowed request types for the Private Endpoint Connection. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    denied_request_types Sequence[str]
    The denied request types for the Private Endpoint Connection. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    id String
    The ID of the Private Endpoint which is based on the SignalR service.
    allowedRequestTypes List<String>
    The allowed request types for the Private Endpoint Connection. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    deniedRequestTypes List<String>
    The denied request types for the Private Endpoint Connection. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.

    ServiceNetworkAclPublicNetwork, ServiceNetworkAclPublicNetworkArgs

    AllowedRequestTypes List<string>
    The allowed request types for the public network. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    DeniedRequestTypes List<string>
    The denied request types for the public network. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    AllowedRequestTypes []string
    The allowed request types for the public network. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    DeniedRequestTypes []string
    The denied request types for the public network. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    allowedRequestTypes List<String>
    The allowed request types for the public network. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    deniedRequestTypes List<String>
    The denied request types for the public network. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    allowedRequestTypes string[]
    The allowed request types for the public network. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    deniedRequestTypes string[]
    The denied request types for the public network. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    allowed_request_types Sequence[str]
    The allowed request types for the public network. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    denied_request_types Sequence[str]
    The denied request types for the public network. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    allowedRequestTypes List<String>
    The allowed request types for the public network. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.
    deniedRequestTypes List<String>
    The denied request types for the public network. Possible values are ClientConnection, ServerConnection, RESTAPI and Trace.

    Import

    Network ACLs for a SignalR service can be imported using the resource id, e.g.

     $ pulumi import azure:signalr/serviceNetworkAcl:ServiceNetworkAcl example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/signalR/signalr1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.