Partilhar via


ArmNetworkCloudModelFactory.NetworkCloudNic Method

Definition

Initializes a new instance of NetworkCloudNic.

public static Azure.ResourceManager.NetworkCloud.Models.NetworkCloudNic NetworkCloudNic (Azure.ResourceManager.NetworkCloud.Models.LldpNeighbor lldpNeighbor = default, string macAddress = default, string name = default);
static member NetworkCloudNic : Azure.ResourceManager.NetworkCloud.Models.LldpNeighbor * string * string -> Azure.ResourceManager.NetworkCloud.Models.NetworkCloudNic
Public Shared Function NetworkCloudNic (Optional lldpNeighbor As LldpNeighbor = Nothing, Optional macAddress As String = Nothing, Optional name As String = Nothing) As NetworkCloudNic

Parameters

lldpNeighbor
LldpNeighbor

The information about the device connected to this NIC.

macAddress
String

The MAC address associated with this NIC.

name
String

The name of the NIC/interface.

Returns

A new NetworkCloudNic instance for mocking.

Applies to