Share via


DnsForwardingRulePatch Class

Definition

Describes a forwarding rule for PATCH operation.

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

Constructors

DnsForwardingRulePatch()

Initializes a new instance of DnsForwardingRulePatch.

Properties

DnsForwardingRuleState

The state of forwarding rule.

Metadata

Metadata attached to the forwarding rule.

TargetDnsServers

DNS servers to forward the DNS query to.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DnsForwardingRulePatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DnsForwardingRulePatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DnsForwardingRulePatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DnsForwardingRulePatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DnsForwardingRulePatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to