共用方式為


NicIPSettings Class

Definition

Defines the network interface ip settings.

public class NicIPSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ConnectedVMwarevSphere.Models.NicIPSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ConnectedVMwarevSphere.Models.NicIPSettings>
public class NicIPSettings
type NicIPSettings = class
    interface IJsonModel<NicIPSettings>
    interface IPersistableModel<NicIPSettings>
type NicIPSettings = class
Public Class NicIPSettings
Implements IJsonModel(Of NicIPSettings), IPersistableModel(Of NicIPSettings)
Public Class NicIPSettings
Inheritance
NicIPSettings
Implements

Constructors

NicIPSettings()

Initializes a new instance of NicIPSettings.

Properties

AllocationMethod

Gets or sets the nic allocation method.

DnsServers

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.

Explicit Interface Implementations

IJsonModel<NicIPSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NicIPSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NicIPSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NicIPSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NicIPSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to