Network Device Args
    data class NetworkDeviceArgs(val annotation: Output<String>? = null, val hostName: Output<String>? = null, val location: Output<String>? = null, val networkDeviceName: Output<String>? = null, val networkDeviceRole: Output<Either<String, NetworkDeviceRoleTypes>>? = null, val networkDeviceSku: Output<String>? = null, val resourceGroupName: Output<String>? = null, val serialNumber: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<NetworkDeviceArgs> 
The NetworkDevice resource definition. Azure REST API version: 2023-02-01-preview. Prior API version in Azure Native 1.x: 2023-02-01-preview. Other available API versions: 2023-06-15.
Example Usage
NetworkDevices_Create_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
    var networkDevice = new AzureNative.ManagedNetworkFabric.NetworkDevice("networkDevice", new()
    {
        Annotation = "null",
        HostName = "networkDeviceName",
        Location = "eastus",
        NetworkDeviceName = "networkDeviceName",
        NetworkDeviceRole = "CE",
        NetworkDeviceSku = "DefaultSku",
        ResourceGroupName = "resourceGroupName",
        SerialNumber = "Arista;DCS-7280PR3-24;12.05;JPE21330382",
        Tags =
        {
            { "keyID", "keyValue" },
        },
    });
});Content copied to clipboard
package main
import (
	"github.com/pulumi/pulumi-azure-native-sdk/managednetworkfabric/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := managednetworkfabric.NewNetworkDevice(ctx, "networkDevice", &managednetworkfabric.NetworkDeviceArgs{
			Annotation:        pulumi.String("null"),
			HostName:          pulumi.String("networkDeviceName"),
			Location:          pulumi.String("eastus"),
			NetworkDeviceName: pulumi.String("networkDeviceName"),
			NetworkDeviceRole: pulumi.String("CE"),
			NetworkDeviceSku:  pulumi.String("DefaultSku"),
			ResourceGroupName: pulumi.String("resourceGroupName"),
			SerialNumber:      pulumi.String("Arista;DCS-7280PR3-24;12.05;JPE21330382"),
			Tags: pulumi.StringMap{
				"keyID": pulumi.String("keyValue"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.managednetworkfabric.NetworkDevice;
import com.pulumi.azurenative.managednetworkfabric.NetworkDeviceArgs;
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 networkDevice = new NetworkDevice("networkDevice", NetworkDeviceArgs.builder()
            .annotation("null")
            .hostName("networkDeviceName")
            .location("eastus")
            .networkDeviceName("networkDeviceName")
            .networkDeviceRole("CE")
            .networkDeviceSku("DefaultSku")
            .resourceGroupName("resourceGroupName")
            .serialNumber("Arista;DCS-7280PR3-24;12.05;JPE21330382")
            .tags(Map.of("keyID", "keyValue"))
            .build());
    }
}Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:managednetworkfabric:NetworkDevice networkDeviceName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}Content copied to clipboard
Constructors
Link copied to clipboard
                fun NetworkDeviceArgs(annotation: Output<String>? = null, hostName: Output<String>? = null, location: Output<String>? = null, networkDeviceName: Output<String>? = null, networkDeviceRole: Output<Either<String, NetworkDeviceRoleTypes>>? = null, networkDeviceSku: Output<String>? = null, resourceGroupName: Output<String>? = null, serialNumber: Output<String>? = null, tags: Output<Map<String, String>>? = null)