Microsoft.Network dscpConfigurations 2022-05-01

Bicep resource definition

The dscpConfigurations 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.Network/dscpConfigurations resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Network/dscpConfigurations@2022-05-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    destinationIpRanges: [
      {
        endIP: 'string'
        startIP: 'string'
      }
    ]
    destinationPortRanges: [
      {
        end: int
        start: int
      }
    ]
    markings: [
      int
    ]
    protocol: 'string'
    qosDefinitionCollection: [
      {
        destinationIpRanges: [
          {
            endIP: 'string'
            startIP: 'string'
          }
        ]
        destinationPortRanges: [
          {
            end: int
            start: int
          }
        ]
        markings: [
          int
        ]
        protocol: 'string'
        sourceIpRanges: [
          {
            endIP: 'string'
            startIP: 'string'
          }
        ]
        sourcePortRanges: [
          {
            end: int
            start: int
          }
        ]
      }
    ]
    sourceIpRanges: [
      {
        endIP: 'string'
        startIP: 'string'
      }
    ]
    sourcePortRanges: [
      {
        end: int
        start: int
      }
    ]
  }
}

Property values

dscpConfigurations

Name Description Value
name The resource name string (required)
location Resource location. string
tags Resource tags. Dictionary of tag names and values. See Tags in templates
properties Properties of the network interface. DscpConfigurationPropertiesFormat

DscpConfigurationPropertiesFormat

Name Description Value
destinationIpRanges Destination IP ranges. QosIpRange[]
destinationPortRanges Destination port ranges. QosPortRange[]
markings List of markings to be used in the configuration. int[]
protocol RNM supported protocol types. 'Ah'
'All'
'DoNotUse'
'Esp'
'Gre'
'Icmp'
'Tcp'
'Udp'
'Vxlan'
qosDefinitionCollection QoS object definitions QosDefinition[]
sourceIpRanges Source IP ranges. QosIpRange[]
sourcePortRanges Sources port ranges. QosPortRange[]

QosIpRange

Name Description Value
endIP End IP Address. string
startIP Start IP Address. string

QosPortRange

Name Description Value
end Qos Port Range end. int
start Qos Port Range start. int

QosDefinition

Name Description Value
destinationIpRanges Destination IP ranges. QosIpRange[]
destinationPortRanges Destination port ranges. QosPortRange[]
markings List of markings to be used in the configuration. int[]
protocol RNM supported protocol types. 'Ah'
'All'
'DoNotUse'
'Esp'
'Gre'
'Icmp'
'Tcp'
'Udp'
'Vxlan'
sourceIpRanges Source IP ranges. QosIpRange[]
sourcePortRanges Sources port ranges. QosPortRange[]

ARM template resource definition

The dscpConfigurations 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.Network/dscpConfigurations resource, add the following JSON to your template.

{
  "type": "Microsoft.Network/dscpConfigurations",
  "apiVersion": "2022-05-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "destinationIpRanges": [
      {
        "endIP": "string",
        "startIP": "string"
      }
    ],
    "destinationPortRanges": [
      {
        "end": "int",
        "start": "int"
      }
    ],
    "markings": [ "int" ],
    "protocol": "string",
    "qosDefinitionCollection": [
      {
        "destinationIpRanges": [
          {
            "endIP": "string",
            "startIP": "string"
          }
        ],
        "destinationPortRanges": [
          {
            "end": "int",
            "start": "int"
          }
        ],
        "markings": [ "int" ],
        "protocol": "string",
        "sourceIpRanges": [
          {
            "endIP": "string",
            "startIP": "string"
          }
        ],
        "sourcePortRanges": [
          {
            "end": "int",
            "start": "int"
          }
        ]
      }
    ],
    "sourceIpRanges": [
      {
        "endIP": "string",
        "startIP": "string"
      }
    ],
    "sourcePortRanges": [
      {
        "end": "int",
        "start": "int"
      }
    ]
  }
}

Property values

dscpConfigurations

Name Description Value
type The resource type 'Microsoft.Network/dscpConfigurations'
apiVersion The resource api version '2022-05-01'
name The resource name string (required)
location Resource location. string
tags Resource tags. Dictionary of tag names and values. See Tags in templates
properties Properties of the network interface. DscpConfigurationPropertiesFormat

DscpConfigurationPropertiesFormat

Name Description Value
destinationIpRanges Destination IP ranges. QosIpRange[]
destinationPortRanges Destination port ranges. QosPortRange[]
markings List of markings to be used in the configuration. int[]
protocol RNM supported protocol types. 'Ah'
'All'
'DoNotUse'
'Esp'
'Gre'
'Icmp'
'Tcp'
'Udp'
'Vxlan'
qosDefinitionCollection QoS object definitions QosDefinition[]
sourceIpRanges Source IP ranges. QosIpRange[]
sourcePortRanges Sources port ranges. QosPortRange[]

QosIpRange

Name Description Value
endIP End IP Address. string
startIP Start IP Address. string

QosPortRange

Name Description Value
end Qos Port Range end. int
start Qos Port Range start. int

QosDefinition

Name Description Value
destinationIpRanges Destination IP ranges. QosIpRange[]
destinationPortRanges Destination port ranges. QosPortRange[]
markings List of markings to be used in the configuration. int[]
protocol RNM supported protocol types. 'Ah'
'All'
'DoNotUse'
'Esp'
'Gre'
'Icmp'
'Tcp'
'Udp'
'Vxlan'
sourceIpRanges Source IP ranges. QosIpRange[]
sourcePortRanges Sources port ranges. QosPortRange[]

Terraform (AzAPI provider) resource definition

The dscpConfigurations 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.Network/dscpConfigurations resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/dscpConfigurations@2022-05-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      destinationIpRanges = [
        {
          endIP = "string"
          startIP = "string"
        }
      ]
      destinationPortRanges = [
        {
          end = int
          start = int
        }
      ]
      markings = [
        int
      ]
      protocol = "string"
      qosDefinitionCollection = [
        {
          destinationIpRanges = [
            {
              endIP = "string"
              startIP = "string"
            }
          ]
          destinationPortRanges = [
            {
              end = int
              start = int
            }
          ]
          markings = [
            int
          ]
          protocol = "string"
          sourceIpRanges = [
            {
              endIP = "string"
              startIP = "string"
            }
          ]
          sourcePortRanges = [
            {
              end = int
              start = int
            }
          ]
        }
      ]
      sourceIpRanges = [
        {
          endIP = "string"
          startIP = "string"
        }
      ]
      sourcePortRanges = [
        {
          end = int
          start = int
        }
      ]
    }
  })
}

Property values

dscpConfigurations

Name Description Value
type The resource type "Microsoft.Network/dscpConfigurations@2022-05-01"
name The resource name string (required)
location Resource location. string
parent_id To deploy to a resource group, use the ID of that resource group. string (required)
tags Resource tags. Dictionary of tag names and values.
properties Properties of the network interface. DscpConfigurationPropertiesFormat

DscpConfigurationPropertiesFormat

Name Description Value
destinationIpRanges Destination IP ranges. QosIpRange[]
destinationPortRanges Destination port ranges. QosPortRange[]
markings List of markings to be used in the configuration. int[]
protocol RNM supported protocol types. "Ah"
"All"
"DoNotUse"
"Esp"
"Gre"
"Icmp"
"Tcp"
"Udp"
"Vxlan"
qosDefinitionCollection QoS object definitions QosDefinition[]
sourceIpRanges Source IP ranges. QosIpRange[]
sourcePortRanges Sources port ranges. QosPortRange[]

QosIpRange

Name Description Value
endIP End IP Address. string
startIP Start IP Address. string

QosPortRange

Name Description Value
end Qos Port Range end. int
start Qos Port Range start. int

QosDefinition

Name Description Value
destinationIpRanges Destination IP ranges. QosIpRange[]
destinationPortRanges Destination port ranges. QosPortRange[]
markings List of markings to be used in the configuration. int[]
protocol RNM supported protocol types. "Ah"
"All"
"DoNotUse"
"Esp"
"Gre"
"Icmp"
"Tcp"
"Udp"
"Vxlan"
sourceIpRanges Source IP ranges. QosIpRange[]
sourcePortRanges Sources port ranges. QosPortRange[]