Language

TargetDnsServer Class

Definition

Describes a server to forward the DNS queries to.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Models.TargetDnsServerTypeConverter))]
public class TargetDnsServer : Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Models.ITargetDnsServer
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Models.TargetDnsServerTypeConverter))>]
type TargetDnsServer = class
    interface ITargetDnsServer
    interface IJsonSerializable
Public Class TargetDnsServer
Implements ITargetDnsServer
Inheritance
TargetDnsServer
Attributes
Implements

Constructors

Name Description
TargetDnsServer()

Creates an new TargetDnsServer instance.

Properties

Name Description
IPAddress

DNS server IP address.

Port

DNS server port.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TargetDnsServer.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TargetDnsServer.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Models.ITargetDnsServer.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of TargetDnsServer into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to