Microsoft.NetworkCloud trunkedNetworks 2025-02-01

Bicep resource definition

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

resource symbolicname 'Microsoft.NetworkCloud/trunkedNetworks@2025-02-01' = {
  extendedLocation: {
    name: 'string'
    type: 'string'
  }
  location: 'string'
  name: 'string'
  properties: {
    hybridAksPluginType: 'string'
    interfaceName: 'string'
    isolationDomainIds: [
      'string'
    ]
    vlans: [
      int
    ]
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.NetworkCloud/trunkedNetworks

Name Description Value
extendedLocation The extended location of the cluster associated with the resource. ExtendedLocation (required)
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,28}[a-zA-Z0-9])$ (required)
properties The list of the resource properties. TrunkedNetworkProperties (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates

ExtendedLocation

Name Description Value
name The resource ID of the extended location on which the resource will be created. string (required)
type The extended location type, for example, CustomLocation. string (required)

TrackedResourceTags

Name Description Value

TrunkedNetworkProperties

Name Description Value
hybridAksPluginType Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The network plugin type for Hybrid AKS. 'DPDK'
'OSDevice'
'SRIOV'
interfaceName The default interface name for this trunked network in the virtual machine. This name can be overridden by the name supplied in the network attachment configuration of that virtual machine. string

Constraints:
Max length = 12
Pattern = ^[a-zA-Z0-9@._-]*$
isolationDomainIds The list of resource IDs representing the Network Fabric isolation domains. It can be any combination of l2IsolationDomain and l3IsolationDomain resources. string[] (required)
vlans The list of vlans that are selected from the isolation domains for trunking. int[] (required)

ARM template resource definition

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

Usage Examples

Resource format

To create a Microsoft.NetworkCloud/trunkedNetworks resource, add the following JSON to your template.

{
  "type": "Microsoft.NetworkCloud/trunkedNetworks",
  "apiVersion": "2025-02-01",
  "name": "string",
  "extendedLocation": {
    "name": "string",
    "type": "string"
  },
  "location": "string",
  "properties": {
    "hybridAksPluginType": "string",
    "interfaceName": "string",
    "isolationDomainIds": [ "string" ],
    "vlans": [ "int" ]
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.NetworkCloud/trunkedNetworks

Name Description Value
apiVersion The api version '2025-02-01'
extendedLocation The extended location of the cluster associated with the resource. ExtendedLocation (required)
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,28}[a-zA-Z0-9])$ (required)
properties The list of the resource properties. TrunkedNetworkProperties (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.NetworkCloud/trunkedNetworks'

ExtendedLocation

Name Description Value
name The resource ID of the extended location on which the resource will be created. string (required)
type The extended location type, for example, CustomLocation. string (required)

TrackedResourceTags

Name Description Value

TrunkedNetworkProperties

Name Description Value
hybridAksPluginType Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The network plugin type for Hybrid AKS. 'DPDK'
'OSDevice'
'SRIOV'
interfaceName The default interface name for this trunked network in the virtual machine. This name can be overridden by the name supplied in the network attachment configuration of that virtual machine. string

Constraints:
Max length = 12
Pattern = ^[a-zA-Z0-9@._-]*$
isolationDomainIds The list of resource IDs representing the Network Fabric isolation domains. It can be any combination of l2IsolationDomain and l3IsolationDomain resources. string[] (required)
vlans The list of vlans that are selected from the isolation domains for trunking. int[] (required)

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.NetworkCloud/trunkedNetworks@2025-02-01"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    extendedLocation = {
      name = "string"
      type = "string"
    }
    properties = {
      hybridAksPluginType = "string"
      interfaceName = "string"
      isolationDomainIds = [
        "string"
      ]
      vlans = [
        int
      ]
    }
  }
}

Property Values

Microsoft.NetworkCloud/trunkedNetworks

Name Description Value
extendedLocation The extended location of the cluster associated with the resource. ExtendedLocation (required)
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,28}[a-zA-Z0-9])$ (required)
properties The list of the resource properties. TrunkedNetworkProperties (required)
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.NetworkCloud/trunkedNetworks@2025-02-01"

ExtendedLocation

Name Description Value
name The resource ID of the extended location on which the resource will be created. string (required)
type The extended location type, for example, CustomLocation. string (required)

TrackedResourceTags

Name Description Value

TrunkedNetworkProperties

Name Description Value
hybridAksPluginType Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The network plugin type for Hybrid AKS. 'DPDK'
'OSDevice'
'SRIOV'
interfaceName The default interface name for this trunked network in the virtual machine. This name can be overridden by the name supplied in the network attachment configuration of that virtual machine. string

Constraints:
Max length = 12
Pattern = ^[a-zA-Z0-9@._-]*$
isolationDomainIds The list of resource IDs representing the Network Fabric isolation domains. It can be any combination of l2IsolationDomain and l3IsolationDomain resources. string[] (required)
vlans The list of vlans that are selected from the isolation domains for trunking. int[] (required)