Compartilhar via


ArmHybridComputeModelFactory.HybridComputeNetworkInterface Method

Definition

Initializes a new instance of HybridComputeNetworkInterface.

public static Azure.ResourceManager.HybridCompute.Models.HybridComputeNetworkInterface HybridComputeNetworkInterface (string macAddress = default, Azure.Core.ResourceIdentifier id = default, string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridCompute.Models.HybridComputeIPAddress> ipAddresses = default);
static member HybridComputeNetworkInterface : string * Azure.Core.ResourceIdentifier * string * seq<Azure.ResourceManager.HybridCompute.Models.HybridComputeIPAddress> -> Azure.ResourceManager.HybridCompute.Models.HybridComputeNetworkInterface
Public Shared Function HybridComputeNetworkInterface (Optional macAddress As String = Nothing, Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional ipAddresses As IEnumerable(Of HybridComputeIPAddress) = Nothing) As HybridComputeNetworkInterface

Parameters

macAddress
String

Represents MAC address of the network interface.

id
ResourceIdentifier

Represents the ID of the network interface.

name
String

Represents the name of the network interface.

ipAddresses
IEnumerable<HybridComputeIPAddress>

The list of IP addresses in this interface.

Returns

A new HybridComputeNetworkInterface instance for mocking.

Applies to