Condividi tramite


DnsSettings Class

Definition

DNS Proxy Settings in Firewall Policy.

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

Constructors

DnsSettings()

Initializes a new instance of DnsSettings.

Properties

EnableProxy

Enable DNS Proxy on Firewalls attached to the Firewall Policy.

RequireProxyForNetworkRules

FQDNs in Network Rules are supported when set to true.

Servers

List of Custom DNS Servers.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DnsSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DnsSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DnsSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DnsSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DnsSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to