Language

DnsSecurityRulePatch Class

Definition

Describes a DNS security rule for PATCH operation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Models.Api20230701Preview.DnsSecurityRulePatchTypeConverter))]
public class DnsSecurityRulePatch : Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Models.Api20230701Preview.IDnsSecurityRulePatch
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Models.Api20230701Preview.DnsSecurityRulePatchTypeConverter))>]
type DnsSecurityRulePatch = class
    interface IDnsSecurityRulePatch
    interface IJsonSerializable
Public Class DnsSecurityRulePatch
Implements IDnsSecurityRulePatch
Inheritance
DnsSecurityRulePatch
Attributes
Implements

Constructors

Name Description
DnsSecurityRulePatch()

Creates an new DnsSecurityRulePatch instance.

Properties

Name Description
ActionBlockResponseCode

The response code for block actions.

ActionType

The type of action to take.

DnsResolverDomainList

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.

Tag

Tags for DNS security rule.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DnsSecurityRulePatch.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DnsSecurityRulePatch.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Models.Api20230701Preview.IDnsSecurityRulePatch.

FromJsonString(String)

Creates a new instance of DnsSecurityRulePatch, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DnsSecurityRulePatch into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to