1. Packages
  2. Azure Native
  3. API Docs
  4. networkcloud
  5. L2Network
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.networkcloud.L2Network

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Uses Azure REST API version 2025-02-01. In version 2.x of the Azure Native provider, it used API version 2023-10-01-preview.

Other available API versions: 2023-10-01-preview, 2024-06-01-preview, 2024-07-01, 2024-10-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native networkcloud [ApiVersion]. See the version guide for details.

Example Usage

Create or update L2 network

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var l2Network = new AzureNative.NetworkCloud.L2Network("l2Network", new()
    {
        ExtendedLocation = new AzureNative.NetworkCloud.Inputs.ExtendedLocationArgs
        {
            Name = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
            Type = "CustomLocation",
        },
        HybridAksPluginType = AzureNative.NetworkCloud.HybridAksPluginType.DPDK,
        InterfaceName = "eth0",
        L2IsolationDomainId = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
        L2NetworkName = "l2NetworkName",
        Location = "location",
        ResourceGroupName = "resourceGroupName",
        Tags = 
        {
            { "key1", "myvalue1" },
            { "key2", "myvalue2" },
        },
    });

});
Copy
package main

import (
	networkcloud "github.com/pulumi/pulumi-azure-native-sdk/networkcloud/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := networkcloud.NewL2Network(ctx, "l2Network", &networkcloud.L2NetworkArgs{
			ExtendedLocation: &networkcloud.ExtendedLocationArgs{
				Name: pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"),
				Type: pulumi.String("CustomLocation"),
			},
			HybridAksPluginType: pulumi.String(networkcloud.HybridAksPluginTypeDPDK),
			InterfaceName:       pulumi.String("eth0"),
			L2IsolationDomainId: pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName"),
			L2NetworkName:       pulumi.String("l2NetworkName"),
			Location:            pulumi.String("location"),
			ResourceGroupName:   pulumi.String("resourceGroupName"),
			Tags: pulumi.StringMap{
				"key1": pulumi.String("myvalue1"),
				"key2": pulumi.String("myvalue2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.networkcloud.L2Network;
import com.pulumi.azurenative.networkcloud.L2NetworkArgs;
import com.pulumi.azurenative.networkcloud.inputs.ExtendedLocationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var l2Network = new L2Network("l2Network", L2NetworkArgs.builder()
            .extendedLocation(ExtendedLocationArgs.builder()
                .name("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName")
                .type("CustomLocation")
                .build())
            .hybridAksPluginType("DPDK")
            .interfaceName("eth0")
            .l2IsolationDomainId("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName")
            .l2NetworkName("l2NetworkName")
            .location("location")
            .resourceGroupName("resourceGroupName")
            .tags(Map.ofEntries(
                Map.entry("key1", "myvalue1"),
                Map.entry("key2", "myvalue2")
            ))
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const l2Network = new azure_native.networkcloud.L2Network("l2Network", {
    extendedLocation: {
        name: "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
        type: "CustomLocation",
    },
    hybridAksPluginType: azure_native.networkcloud.HybridAksPluginType.DPDK,
    interfaceName: "eth0",
    l2IsolationDomainId: "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
    l2NetworkName: "l2NetworkName",
    location: "location",
    resourceGroupName: "resourceGroupName",
    tags: {
        key1: "myvalue1",
        key2: "myvalue2",
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

l2_network = azure_native.networkcloud.L2Network("l2Network",
    extended_location={
        "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
        "type": "CustomLocation",
    },
    hybrid_aks_plugin_type=azure_native.networkcloud.HybridAksPluginType.DPDK,
    interface_name="eth0",
    l2_isolation_domain_id="/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
    l2_network_name="l2NetworkName",
    location="location",
    resource_group_name="resourceGroupName",
    tags={
        "key1": "myvalue1",
        "key2": "myvalue2",
    })
Copy
resources:
  l2Network:
    type: azure-native:networkcloud:L2Network
    properties:
      extendedLocation:
        name: /subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName
        type: CustomLocation
      hybridAksPluginType: DPDK
      interfaceName: eth0
      l2IsolationDomainId: /subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName
      l2NetworkName: l2NetworkName
      location: location
      resourceGroupName: resourceGroupName
      tags:
        key1: myvalue1
        key2: myvalue2
Copy

Create L2Network Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new L2Network(name: string, args: L2NetworkArgs, opts?: CustomResourceOptions);
@overload
def L2Network(resource_name: str,
              args: L2NetworkArgs,
              opts: Optional[ResourceOptions] = None)

@overload
def L2Network(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              extended_location: Optional[ExtendedLocationArgs] = None,
              l2_isolation_domain_id: Optional[str] = None,
              resource_group_name: Optional[str] = None,
              hybrid_aks_plugin_type: Optional[Union[str, HybridAksPluginType]] = None,
              interface_name: Optional[str] = None,
              l2_network_name: Optional[str] = None,
              location: Optional[str] = None,
              tags: Optional[Mapping[str, str]] = None)
func NewL2Network(ctx *Context, name string, args L2NetworkArgs, opts ...ResourceOption) (*L2Network, error)
public L2Network(string name, L2NetworkArgs args, CustomResourceOptions? opts = null)
public L2Network(String name, L2NetworkArgs args)
public L2Network(String name, L2NetworkArgs args, CustomResourceOptions options)
type: azure-native:networkcloud:L2Network
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. L2NetworkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. L2NetworkArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. L2NetworkArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. L2NetworkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. L2NetworkArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var l2networkResource = new AzureNative.NetworkCloud.L2Network("l2networkResource", new()
{
    ExtendedLocation = new AzureNative.NetworkCloud.Inputs.ExtendedLocationArgs
    {
        Name = "string",
        Type = "string",
    },
    L2IsolationDomainId = "string",
    ResourceGroupName = "string",
    HybridAksPluginType = "string",
    InterfaceName = "string",
    L2NetworkName = "string",
    Location = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := networkcloud.NewL2Network(ctx, "l2networkResource", &networkcloud.L2NetworkArgs{
	ExtendedLocation: &networkcloud.ExtendedLocationArgs{
		Name: pulumi.String("string"),
		Type: pulumi.String("string"),
	},
	L2IsolationDomainId: pulumi.String("string"),
	ResourceGroupName:   pulumi.String("string"),
	HybridAksPluginType: pulumi.String("string"),
	InterfaceName:       pulumi.String("string"),
	L2NetworkName:       pulumi.String("string"),
	Location:            pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var l2networkResource = new L2Network("l2networkResource", L2NetworkArgs.builder()
    .extendedLocation(ExtendedLocationArgs.builder()
        .name("string")
        .type("string")
        .build())
    .l2IsolationDomainId("string")
    .resourceGroupName("string")
    .hybridAksPluginType("string")
    .interfaceName("string")
    .l2NetworkName("string")
    .location("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
l2network_resource = azure_native.networkcloud.L2Network("l2networkResource",
    extended_location={
        "name": "string",
        "type": "string",
    },
    l2_isolation_domain_id="string",
    resource_group_name="string",
    hybrid_aks_plugin_type="string",
    interface_name="string",
    l2_network_name="string",
    location="string",
    tags={
        "string": "string",
    })
Copy
const l2networkResource = new azure_native.networkcloud.L2Network("l2networkResource", {
    extendedLocation: {
        name: "string",
        type: "string",
    },
    l2IsolationDomainId: "string",
    resourceGroupName: "string",
    hybridAksPluginType: "string",
    interfaceName: "string",
    l2NetworkName: "string",
    location: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:networkcloud:L2Network
properties:
    extendedLocation:
        name: string
        type: string
    hybridAksPluginType: string
    interfaceName: string
    l2IsolationDomainId: string
    l2NetworkName: string
    location: string
    resourceGroupName: string
    tags:
        string: string
Copy

L2Network Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The L2Network resource accepts the following input properties:

ExtendedLocation This property is required. Pulumi.AzureNative.NetworkCloud.Inputs.ExtendedLocation
The extended location of the cluster associated with the resource.
L2IsolationDomainId
This property is required.
Changes to this property will trigger replacement.
string
The resource ID of the Network Fabric l2IsolationDomain.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
HybridAksPluginType Changes to this property will trigger replacement. string | Pulumi.AzureNative.NetworkCloud.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.
InterfaceName Changes to this property will trigger replacement. string
The default interface name for this L2 network in the virtual machine. This name can be overridden by the name supplied in the network attachment configuration of that virtual machine.
L2NetworkName Changes to this property will trigger replacement. string
The name of the L2 network.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Tags Dictionary<string, string>
Resource tags.
ExtendedLocation This property is required. ExtendedLocationArgs
The extended location of the cluster associated with the resource.
L2IsolationDomainId
This property is required.
Changes to this property will trigger replacement.
string
The resource ID of the Network Fabric l2IsolationDomain.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
HybridAksPluginType Changes to this property will trigger replacement. string | 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.
InterfaceName Changes to this property will trigger replacement. string
The default interface name for this L2 network in the virtual machine. This name can be overridden by the name supplied in the network attachment configuration of that virtual machine.
L2NetworkName Changes to this property will trigger replacement. string
The name of the L2 network.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Tags map[string]string
Resource tags.
extendedLocation This property is required. ExtendedLocation
The extended location of the cluster associated with the resource.
l2IsolationDomainId
This property is required.
Changes to this property will trigger replacement.
String
The resource ID of the Network Fabric l2IsolationDomain.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
hybridAksPluginType Changes to this property will trigger replacement. String | 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.
interfaceName Changes to this property will trigger replacement. String
The default interface name for this L2 network in the virtual machine. This name can be overridden by the name supplied in the network attachment configuration of that virtual machine.
l2NetworkName Changes to this property will trigger replacement. String
The name of the L2 network.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
tags Map<String,String>
Resource tags.
extendedLocation This property is required. ExtendedLocation
The extended location of the cluster associated with the resource.
l2IsolationDomainId
This property is required.
Changes to this property will trigger replacement.
string
The resource ID of the Network Fabric l2IsolationDomain.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
hybridAksPluginType Changes to this property will trigger replacement. string | 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.
interfaceName Changes to this property will trigger replacement. string
The default interface name for this L2 network in the virtual machine. This name can be overridden by the name supplied in the network attachment configuration of that virtual machine.
l2NetworkName Changes to this property will trigger replacement. string
The name of the L2 network.
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
tags {[key: string]: string}
Resource tags.
extended_location This property is required. ExtendedLocationArgs
The extended location of the cluster associated with the resource.
l2_isolation_domain_id
This property is required.
Changes to this property will trigger replacement.
str
The resource ID of the Network Fabric l2IsolationDomain.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
hybrid_aks_plugin_type Changes to this property will trigger replacement. str | 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.
interface_name Changes to this property will trigger replacement. str
The default interface name for this L2 network in the virtual machine. This name can be overridden by the name supplied in the network attachment configuration of that virtual machine.
l2_network_name Changes to this property will trigger replacement. str
The name of the L2 network.
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
tags Mapping[str, str]
Resource tags.
extendedLocation This property is required. Property Map
The extended location of the cluster associated with the resource.
l2IsolationDomainId
This property is required.
Changes to this property will trigger replacement.
String
The resource ID of the Network Fabric l2IsolationDomain.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
hybridAksPluginType Changes to this property will trigger replacement. String | "DPDK" | "SRIOV" | "OSDevice"
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.
interfaceName Changes to this property will trigger replacement. String
The default interface name for this L2 network in the virtual machine. This name can be overridden by the name supplied in the network attachment configuration of that virtual machine.
l2NetworkName Changes to this property will trigger replacement. String
The name of the L2 network.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
tags Map<String>
Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the L2Network resource produces the following output properties:

AssociatedResourceIds List<string>
The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.
AzureApiVersion string
The Azure API version of the resource.
ClusterId string
The resource ID of the Network Cloud cluster this L2 network is associated with.
DetailedStatus string
The more detailed status of the L2 network.
DetailedStatusMessage string
The descriptive message about the current detailed status.
Etag string
Resource ETag.
HybridAksClustersAssociatedIds List<string>
Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource ID(s) that are associated with this L2 network.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
The provisioning state of the L2 network.
SystemData Pulumi.AzureNative.NetworkCloud.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
VirtualMachinesAssociatedIds List<string>
Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource ID(s), excluding any Hybrid AKS virtual machines, that are currently using this L2 network.
AssociatedResourceIds []string
The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.
AzureApiVersion string
The Azure API version of the resource.
ClusterId string
The resource ID of the Network Cloud cluster this L2 network is associated with.
DetailedStatus string
The more detailed status of the L2 network.
DetailedStatusMessage string
The descriptive message about the current detailed status.
Etag string
Resource ETag.
HybridAksClustersAssociatedIds []string
Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource ID(s) that are associated with this L2 network.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
The provisioning state of the L2 network.
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
VirtualMachinesAssociatedIds []string
Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource ID(s), excluding any Hybrid AKS virtual machines, that are currently using this L2 network.
associatedResourceIds List<String>
The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.
azureApiVersion String
The Azure API version of the resource.
clusterId String
The resource ID of the Network Cloud cluster this L2 network is associated with.
detailedStatus String
The more detailed status of the L2 network.
detailedStatusMessage String
The descriptive message about the current detailed status.
etag String
Resource ETag.
hybridAksClustersAssociatedIds List<String>
Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource ID(s) that are associated with this L2 network.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
provisioningState String
The provisioning state of the L2 network.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
virtualMachinesAssociatedIds List<String>
Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource ID(s), excluding any Hybrid AKS virtual machines, that are currently using this L2 network.
associatedResourceIds string[]
The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.
azureApiVersion string
The Azure API version of the resource.
clusterId string
The resource ID of the Network Cloud cluster this L2 network is associated with.
detailedStatus string
The more detailed status of the L2 network.
detailedStatusMessage string
The descriptive message about the current detailed status.
etag string
Resource ETag.
hybridAksClustersAssociatedIds string[]
Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource ID(s) that are associated with this L2 network.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
provisioningState string
The provisioning state of the L2 network.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
virtualMachinesAssociatedIds string[]
Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource ID(s), excluding any Hybrid AKS virtual machines, that are currently using this L2 network.
associated_resource_ids Sequence[str]
The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.
azure_api_version str
The Azure API version of the resource.
cluster_id str
The resource ID of the Network Cloud cluster this L2 network is associated with.
detailed_status str
The more detailed status of the L2 network.
detailed_status_message str
The descriptive message about the current detailed status.
etag str
Resource ETag.
hybrid_aks_clusters_associated_ids Sequence[str]
Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource ID(s) that are associated with this L2 network.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
provisioning_state str
The provisioning state of the L2 network.
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
virtual_machines_associated_ids Sequence[str]
Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource ID(s), excluding any Hybrid AKS virtual machines, that are currently using this L2 network.
associatedResourceIds List<String>
The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.
azureApiVersion String
The Azure API version of the resource.
clusterId String
The resource ID of the Network Cloud cluster this L2 network is associated with.
detailedStatus String
The more detailed status of the L2 network.
detailedStatusMessage String
The descriptive message about the current detailed status.
etag String
Resource ETag.
hybridAksClustersAssociatedIds List<String>
Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource ID(s) that are associated with this L2 network.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
provisioningState String
The provisioning state of the L2 network.
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
virtualMachinesAssociatedIds List<String>
Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource ID(s), excluding any Hybrid AKS virtual machines, that are currently using this L2 network.

Supporting Types

ExtendedLocation
, ExtendedLocationArgs

Name This property is required. string
The resource ID of the extended location on which the resource will be created.
Type This property is required. string
The extended location type, for example, CustomLocation.
Name This property is required. string
The resource ID of the extended location on which the resource will be created.
Type This property is required. string
The extended location type, for example, CustomLocation.
name This property is required. String
The resource ID of the extended location on which the resource will be created.
type This property is required. String
The extended location type, for example, CustomLocation.
name This property is required. string
The resource ID of the extended location on which the resource will be created.
type This property is required. string
The extended location type, for example, CustomLocation.
name This property is required. str
The resource ID of the extended location on which the resource will be created.
type This property is required. str
The extended location type, for example, CustomLocation.
name This property is required. String
The resource ID of the extended location on which the resource will be created.
type This property is required. String
The extended location type, for example, CustomLocation.

ExtendedLocationResponse
, ExtendedLocationResponseArgs

Name This property is required. string
The resource ID of the extended location on which the resource will be created.
Type This property is required. string
The extended location type, for example, CustomLocation.
Name This property is required. string
The resource ID of the extended location on which the resource will be created.
Type This property is required. string
The extended location type, for example, CustomLocation.
name This property is required. String
The resource ID of the extended location on which the resource will be created.
type This property is required. String
The extended location type, for example, CustomLocation.
name This property is required. string
The resource ID of the extended location on which the resource will be created.
type This property is required. string
The extended location type, for example, CustomLocation.
name This property is required. str
The resource ID of the extended location on which the resource will be created.
type This property is required. str
The extended location type, for example, CustomLocation.
name This property is required. String
The resource ID of the extended location on which the resource will be created.
type This property is required. String
The extended location type, for example, CustomLocation.

HybridAksPluginType
, HybridAksPluginTypeArgs

DPDK
DPDK
SRIOV
SRIOV
OSDevice
OSDevice
HybridAksPluginTypeDPDK
DPDK
HybridAksPluginTypeSRIOV
SRIOV
HybridAksPluginTypeOSDevice
OSDevice
DPDK
DPDK
SRIOV
SRIOV
OSDevice
OSDevice
DPDK
DPDK
SRIOV
SRIOV
OSDevice
OSDevice
DPDK
DPDK
SRIOV
SRIOV
OS_DEVICE
OSDevice
"DPDK"
DPDK
"SRIOV"
SRIOV
"OSDevice"
OSDevice

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:networkcloud:L2Network l2NetworkName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l2Networks/{l2NetworkName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi