The namespaces/networkRuleSets resource type can be deployed to:
For a list of changed properties in each API version, see change log.
To create a Microsoft.ServiceBus/namespaces/networkRuleSets resource, add the following JSON to your template.
{
"type": "Microsoft.ServiceBus/namespaces/networkRuleSets",
"apiVersion": "2022-10-01-preview",
"name": "default",
"properties": {
"defaultAction": "string",
"ipRules": [
{
"action": "Allow",
"ipMask": "string"
}
],
"publicNetworkAccess": "string",
"trustedServiceAccessEnabled": "bool",
"virtualNetworkRules": [
{
"ignoreMissingVnetServiceEndpoint": "bool",
"subnet": {
"id": "string"
}
}
]
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.ServiceBus/namespaces/networkRuleSets' |
apiVersion | The resource api version | '2022-10-01-preview' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
'default' |
properties | NetworkRuleSet properties | NetworkRuleSetProperties |
Name | Description | Value |
---|---|---|
defaultAction | Default Action for Network Rule Set | 'Allow' 'Deny' |
ipRules | List of IpRules | NWRuleSetIpRules[] |
publicNetworkAccess | This determines if traffic is allowed over public network. By default it is enabled. | 'Disabled' 'Enabled' |
trustedServiceAccessEnabled | Value that indicates whether Trusted Service Access is Enabled or not. | bool |
virtualNetworkRules | List VirtualNetwork Rules | NWRuleSetVirtualNetworkRules[] |
Name | Description | Value |
---|---|---|
action | The IP Filter Action | 'Allow' |
ipMask | IP Mask | string |
Name | Description | Value |
---|---|---|
ignoreMissingVnetServiceEndpoint | Value that indicates whether to ignore missing VNet Service Endpoint | bool |
subnet | Subnet properties | Subnet |
Name | Description | Value |
---|---|---|
id | Resource ID of Virtual Network Subnet | string (required) |