共用方式為


TargetDnsServer Class

Definition

Describes a server to forward the DNS queries to.

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

Constructors

TargetDnsServer(IPAddress)

Initializes a new instance of TargetDnsServer.

Properties

IPAddress

DNS server IP address.

Port

DNS server port.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<TargetDnsServer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TargetDnsServer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TargetDnsServer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TargetDnsServer>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TargetDnsServer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to