Microsoft.Network dscpConfigurations 2021-08-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@2021-08-01' = {
  location: 'string'
  name: 'string'
  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
      }
    ]
  }
  tags: {
    {customized property}: 'string'
  }
}

Property values

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[]

Microsoft.Network/dscpConfigurations

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

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[]

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

ResourceTags

Name Description Value

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": "2021-08-01",
  "name": "string",
  "location": "string",
  "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"
      }
    ]
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property values

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[]

Microsoft.Network/dscpConfigurations

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

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[]

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

ResourceTags

Name Description Value

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@2021-08-01"
  name = "string"
  location = "string"
  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
        }
      ]
    }
  })
  tags = {
    {customized property} = "string"
  }
}

Property values

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[]

Microsoft.Network/dscpConfigurations

Name Description Value
location Resource location. string
name The resource name string (required)
properties Properties of the network interface. DscpConfigurationPropertiesFormat
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Network/dscpConfigurations@2021-08-01"

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[]

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

ResourceTags

Name Description Value