Share via


Microsoft.Network dscpConfigurations 2020-11-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@2020-11-01' = {
  scope: resourceSymbolicName or scope
  ___location: 'string'
  name: 'string'
  properties: {
    destinationIpRanges: [
      {
        endIP: 'string'
        startIP: 'string'
      }
    ]
    destinationPortRanges: [
      {
        end: int
        start: int
      }
    ]
    markings: [
      int
    ]
    protocol: 'string'
    sourceIpRanges: [
      {
        endIP: 'string'
        startIP: 'string'
      }
    ]
    sourcePortRanges: [
      {
        end: int
        start: int
      }
    ]
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.Network/dscpConfigurations

Name Description Value
___location Resource ___location. string
name The resource name string (required)
properties Properties of the network interface. DscpConfigurationPropertiesFormat
scope Use when creating a resource at a scope that is different than the deployment scope. Set this property to the symbolic name of a resource to apply the extension resource.
tags Resource tags Dictionary of tag names and values. See Tags in templates

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'
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": "2020-11-01",
  "name": "string",
  "___location": "string",
  "properties": {
    "destinationIpRanges": [
      {
        "endIP": "string",
        "startIP": "string"
      }
    ],
    "destinationPortRanges": [
      {
        "end": "int",
        "start": "int"
      }
    ],
    "markings": [ "int" ],
    "protocol": "string",
    "sourceIpRanges": [
      {
        "endIP": "string",
        "startIP": "string"
      }
    ],
    "sourcePortRanges": [
      {
        "end": "int",
        "start": "int"
      }
    ]
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.Network/dscpConfigurations

Name Description Value
apiVersion The api version '2020-11-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'

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'
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

Usage Examples

Terraform (AzAPI provider) 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 Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/dscpConfigurations@2020-11-01"
  name = "string"
  parent_id = "string"
  ___location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      destinationIpRanges = [
        {
          endIP = "string"
          startIP = "string"
        }
      ]
      destinationPortRanges = [
        {
          end = int
          start = int
        }
      ]
      markings = [
        int
      ]
      protocol = "string"
      sourceIpRanges = [
        {
          endIP = "string"
          startIP = "string"
        }
      ]
      sourcePortRanges = [
        {
          end = int
          start = int
        }
      ]
    }
  }
}

Property Values

Microsoft.Network/dscpConfigurations

Name Description Value
___location Resource ___location. string
name The resource name string (required)
parent_id The ID of the resource to apply this extension resource to. 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@2020-11-01"

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'
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