Share via


ArmNetworkCloudModelFactory.HardwareInventory Method

Definition

Initializes a new instance of HardwareInventory.

public static Azure.ResourceManager.NetworkCloud.Models.HardwareInventory HardwareInventory (string additionalHostInformation = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.HardwareInventoryNetworkInterface> interfaces = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudNic> nics = default);
static member HardwareInventory : string * seq<Azure.ResourceManager.NetworkCloud.Models.HardwareInventoryNetworkInterface> * seq<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudNic> -> Azure.ResourceManager.NetworkCloud.Models.HardwareInventory
Public Shared Function HardwareInventory (Optional additionalHostInformation As String = Nothing, Optional interfaces As IEnumerable(Of HardwareInventoryNetworkInterface) = Nothing, Optional nics As IEnumerable(Of NetworkCloudNic) = Nothing) As HardwareInventory

Parameters

additionalHostInformation
String

Freeform data extracted from the environment about this machine. This information varies depending on the specific hardware and configuration.

interfaces
IEnumerable<HardwareInventoryNetworkInterface>

The list of network interfaces and associated details for the bare metal machine.

nics
IEnumerable<NetworkCloudNic>

Field Deprecated. Will be removed in an upcoming version. The list of network interface cards and associated details for the bare metal machine.

Returns

A new HardwareInventory instance for mocking.

Applies to