Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The trafficControllers resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ServiceNetworking/trafficControllers resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.ServiceNetworking/trafficControllers@2025-01-01' = {
location: 'string'
name: 'string'
properties: {
securityPolicyConfigurations: {
wafSecurityPolicy: {
id: 'string'
}
}
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.ServiceNetworking/trafficControllers
Name | Description | Value |
---|---|---|
location | The geo-location where the resource lives | string (required) |
name | The resource name | string Constraints: Pattern = ^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$ (required) |
properties | The resource-specific properties for this resource. | TrafficControllerProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
SecurityPolicyConfigurations
Name | Description | Value |
---|---|---|
wafSecurityPolicy | Contains reference to a WAF-type security policy. | WafSecurityPolicy |
TrackedResourceTags
Name | Description | Value |
---|
TrafficControllerProperties
Name | Description | Value |
---|---|---|
securityPolicyConfigurations | Security Policy Configuration | SecurityPolicyConfigurations |
WafSecurityPolicy
Name | Description | Value |
---|---|---|
id | Resource ID of the Waf Security Policy | string (required) |
Usage Examples
Azure Verified Modules
The following Azure Verified Modules can be used to deploy this resource type.
Module | Description |
---|---|
Application Gateway for Containers (Traffic Controller) | AVM Resource Module for Application Gateway for Containers (Traffic Controller) |
ARM template resource definition
The trafficControllers resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ServiceNetworking/trafficControllers resource, add the following JSON to your template.
{
"type": "Microsoft.ServiceNetworking/trafficControllers",
"apiVersion": "2025-01-01",
"name": "string",
"location": "string",
"properties": {
"securityPolicyConfigurations": {
"wafSecurityPolicy": {
"id": "string"
}
}
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.ServiceNetworking/trafficControllers
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2025-01-01' |
location | The geo-location where the resource lives | string (required) |
name | The resource name | string Constraints: Pattern = ^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$ (required) |
properties | The resource-specific properties for this resource. | TrafficControllerProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.ServiceNetworking/trafficControllers' |
SecurityPolicyConfigurations
Name | Description | Value |
---|---|---|
wafSecurityPolicy | Contains reference to a WAF-type security policy. | WafSecurityPolicy |
TrackedResourceTags
Name | Description | Value |
---|
TrafficControllerProperties
Name | Description | Value |
---|---|---|
securityPolicyConfigurations | Security Policy Configuration | SecurityPolicyConfigurations |
WafSecurityPolicy
Name | Description | Value |
---|---|---|
id | Resource ID of the Waf Security Policy | string (required) |
Usage Examples
Terraform (AzAPI provider) resource definition
The trafficControllers resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ServiceNetworking/trafficControllers resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.ServiceNetworking/trafficControllers@2025-01-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
securityPolicyConfigurations = {
wafSecurityPolicy = {
id = "string"
}
}
}
}
}
Property Values
Microsoft.ServiceNetworking/trafficControllers
Name | Description | Value |
---|---|---|
location | The geo-location where the resource lives | string (required) |
name | The resource name | string Constraints: Pattern = ^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$ (required) |
properties | The resource-specific properties for this resource. | TrafficControllerProperties |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.ServiceNetworking/trafficControllers@2025-01-01" |
SecurityPolicyConfigurations
Name | Description | Value |
---|---|---|
wafSecurityPolicy | Contains reference to a WAF-type security policy. | WafSecurityPolicy |
TrackedResourceTags
Name | Description | Value |
---|
TrafficControllerProperties
Name | Description | Value |
---|---|---|
securityPolicyConfigurations | Security Policy Configuration | SecurityPolicyConfigurations |
WafSecurityPolicy
Name | Description | Value |
---|---|---|
id | Resource ID of the Waf Security Policy | string (required) |