Share via


Microsoft.ServiceNetworking trafficControllers 2023-05-01-preview

Bicep resource definition

The trafficControllers resource type can be deployed with operations that target:

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@2023-05-01-preview' = {
  location: 'string'
  name: 'string'
  properties: {}
  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

TrackedResourceTags

Name Description Value

TrafficControllerProperties

Name Description Value

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:

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": "2023-05-01-preview",
  "name": "string",
  "location": "string",
  "properties": {
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.ServiceNetworking/trafficControllers

Name Description Value
apiVersion The api version '2023-05-01-preview'
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'

TrackedResourceTags

Name Description Value

TrafficControllerProperties

Name Description Value

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@2023-05-01-preview"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
    }
  }
}

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@2023-05-01-preview"

TrackedResourceTags

Name Description Value

TrafficControllerProperties

Name Description Value