Service Network Acl Args
data class ServiceNetworkAclArgs(val defaultAction: Output<String>? = null, val privateEndpoints: Output<List<ServiceNetworkAclPrivateEndpointArgs>>? = null, val publicNetwork: Output<ServiceNetworkAclPublicNetworkArgs>? = null, val signalrServiceId: Output<String>? = null) : ConvertibleToJava<ServiceNetworkAclArgs>
Manages the Network ACL for a SignalR service.
Example Usage
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
Content copied to clipboard
API Providers
This resource uses the following Azure API Providers:
Microsoft.SignalRService
: 2024-03-01
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
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(defaultAction: Output<String>? = null, privateEndpoints: Output<List<ServiceNetworkAclPrivateEndpointArgs>>? = null, publicNetwork: Output<ServiceNetworkAclPublicNetworkArgs>? = null, signalrServiceId: Output<String>? = null)
Properties
Link copied to clipboard
The default action to control the network access when no other rule matches. Possible values are Allow
and Deny
.
Link copied to clipboard
A private_endpoint
block as defined below.
Link copied to clipboard
A public_network
block as defined below.
Link copied to clipboard
The ID of the SignalR service. Changing this forces a new resource to be created.