Share via


ArmConnectedVMwarevSphereModelFactory.NicIPSettings Method

Definition

Initializes a new instance of NicIPSettings.

public static Azure.ResourceManager.ConnectedVMwarevSphere.Models.NicIPSettings NicIPSettings (Azure.ResourceManager.ConnectedVMwarevSphere.Models.IPAddressAllocationMethod? allocationMethod = default, System.Collections.Generic.IEnumerable<string> dnsServers = default, System.Collections.Generic.IEnumerable<string> gateway = default, string ipAddress = default, string subnetMask = default, string primaryWinsServer = default, string secondaryWinsServer = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ConnectedVMwarevSphere.Models.NicIPAddressSettings> ipAddressInfo = default);
static member NicIPSettings : Nullable<Azure.ResourceManager.ConnectedVMwarevSphere.Models.IPAddressAllocationMethod> * seq<string> * seq<string> * string * string * string * string * seq<Azure.ResourceManager.ConnectedVMwarevSphere.Models.NicIPAddressSettings> -> Azure.ResourceManager.ConnectedVMwarevSphere.Models.NicIPSettings
Public Shared Function NicIPSettings (Optional allocationMethod As Nullable(Of IPAddressAllocationMethod) = Nothing, Optional dnsServers As IEnumerable(Of String) = Nothing, Optional gateway As IEnumerable(Of String) = Nothing, Optional ipAddress As String = Nothing, Optional subnetMask As String = Nothing, Optional primaryWinsServer As String = Nothing, Optional secondaryWinsServer As String = Nothing, Optional ipAddressInfo As IEnumerable(Of NicIPAddressSettings) = Nothing) As NicIPSettings

Parameters

allocationMethod
Nullable<IPAddressAllocationMethod>

Gets or sets the nic allocation method.

dnsServers
IEnumerable<String>

Gets or sets the dns servers.

gateway
IEnumerable<String>

Gets or sets the gateway.

ipAddress
String

Gets or sets the ip address for the nic.

subnetMask
String

Gets or sets the mask.

primaryWinsServer
String

Gets or sets the primary server.

secondaryWinsServer
String

Gets or sets the secondary server.

ipAddressInfo
IEnumerable<NicIPAddressSettings>

Gets or sets the IP address information being reported for this NIC. This contains the same IPv4 information above plus IPV6 information.

Returns

A new NicIPSettings instance for mocking.

Applies to