Share via


NicIPSettings Class

Definition

Defines the network interface ip settings.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.NicIPSettingsTypeConverter))]
public class NicIPSettings : Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.INicIPSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.NicIPSettingsTypeConverter))>]
type NicIPSettings = class
    interface INicIPSettings
    interface IJsonSerializable
Public Class NicIPSettings
Implements INicIPSettings
Inheritance
NicIPSettings
Attributes
Implements

Constructors

NicIPSettings()

Creates an new NicIPSettings instance.

Properties

AllocationMethod

Gets or sets the nic allocation method.

DnsServer

Gets or sets the dns servers.

Gateway

Gets or sets the gateway.

IPAddress

Gets or sets the ip address for the nic.

IPAddressInfo

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

PrimaryWinsServer

Gets or sets the primary server.

SecondaryWinsServer

Gets or sets the secondary server.

SubnetMask

Gets or sets the mask.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NicIPSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NicIPSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.INicIPSettings.

FromJsonString(String)

Creates a new instance of NicIPSettings, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of NicIPSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to