共用方式為


ArmArcScVmmModelFactory.NetworkInterfaces Method

Definition

Initializes a new instance of NetworkInterfaces.

public static Azure.ResourceManager.ArcScVmm.Models.NetworkInterfaces NetworkInterfaces (string name = default, string displayName = default, System.Collections.Generic.IEnumerable<string> ipv4Addresses = default, System.Collections.Generic.IEnumerable<string> ipv6Addresses = default, string macAddress = default, string virtualNetworkId = default, string networkName = default, Azure.ResourceManager.ArcScVmm.Models.AllocationMethod? ipv4AddressType = default, Azure.ResourceManager.ArcScVmm.Models.AllocationMethod? ipv6AddressType = default, Azure.ResourceManager.ArcScVmm.Models.AllocationMethod? macAddressType = default, string nicId = default);
static member NetworkInterfaces : string * string * seq<string> * seq<string> * string * string * string * Nullable<Azure.ResourceManager.ArcScVmm.Models.AllocationMethod> * Nullable<Azure.ResourceManager.ArcScVmm.Models.AllocationMethod> * Nullable<Azure.ResourceManager.ArcScVmm.Models.AllocationMethod> * string -> Azure.ResourceManager.ArcScVmm.Models.NetworkInterfaces
Public Shared Function NetworkInterfaces (Optional name As String = Nothing, Optional displayName As String = Nothing, Optional ipv4Addresses As IEnumerable(Of String) = Nothing, Optional ipv6Addresses As IEnumerable(Of String) = Nothing, Optional macAddress As String = Nothing, Optional virtualNetworkId As String = Nothing, Optional networkName As String = Nothing, Optional ipv4AddressType As Nullable(Of AllocationMethod) = Nothing, Optional ipv6AddressType As Nullable(Of AllocationMethod) = Nothing, Optional macAddressType As Nullable(Of AllocationMethod) = Nothing, Optional nicId As String = Nothing) As NetworkInterfaces

Parameters

name
String

Gets or sets the name of the network interface.

displayName
String

Gets the display name of the network interface as shown in the vmmServer. This is the fallback label for a NIC when the name is not set.

ipv4Addresses
IEnumerable<String>

Gets or sets the nic ipv4 addresses.

ipv6Addresses
IEnumerable<String>

Gets or sets the nic ipv6 addresses.

macAddress
String

Gets or sets the nic MAC address.

virtualNetworkId
String

Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic.

networkName
String

Gets or sets the name of the virtual network in vmmServer that the nic is connected to.

ipv4AddressType
Nullable<AllocationMethod>

Gets or sets the ipv4 address type.

ipv6AddressType
Nullable<AllocationMethod>

Gets or sets the ipv6 address type.

macAddressType
Nullable<AllocationMethod>

Gets or sets the mac address type.

nicId
String

Gets or sets the nic id.

Returns

A new NetworkInterfaces instance for mocking.

Applies to