Share via


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

Name Description
DnsSecurityRulePatch()

Initializes a new instance of DnsSecurityRulePatch.

Properties

Name Description
ActionType

The type of action to take.

DnsResolverDomainLists

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

DnsSecurityRuleState

The state of DNS security rule.

ManagedDomainLists

Managed domain lists that the DNS security rule applies to.

Priority

The priority of the DNS security rule.

Tags

Tags for DNS security rule.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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