Share via


TargetDnsServer Class

Definition

Describes a server to forward the DNS queries to.

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

Constructors

TargetDnsServer()

Creates an new TargetDnsServer instance.

Properties

IPAddress

DNS server IP address.

Port

DNS server port.

Methods

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.Api20220701.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.

Applies to