DnsSecurityRulePatch Class

Definition

Describes a DNS security rule for PATCH operation.

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

Constructors

DnsSecurityRulePatch()

Initializes a new instance of DnsSecurityRulePatch.

Properties

Action

The action to take on DNS requests that match the DNS security rule.

DnsResolverDomainLists

DNS resolver policy domains lists that the DNS security rule applies to.

DnsSecurityRuleState

The state of DNS security rule.

Priority

The priority of the DNS security rule.

Tags

Tags for DNS security rule.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DnsSecurityRulePatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DnsSecurityRulePatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DnsSecurityRulePatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DnsSecurityRulePatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DnsSecurityRulePatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to