Partilhar via


ArmNetworkCloudModelFactory.HardwareInventoryNetworkInterface Method

Definition

Initializes a new instance of HardwareInventoryNetworkInterface.

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

Parameters

linkStatus
String

The current status of the link.

macAddress
String

The MAC address associated with this interface.

name
String

The name of the interface.

networkInterfaceId
String

The resource ID of the network interface for the port on the switch that this machine's interface is connected to.

Returns

A new HardwareInventoryNetworkInterface instance for mocking.

Applies to