Language

DnsSecurityRulePatch Class

Definition

Describes a DNS security rule for PATCH operation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Models.DnsSecurityRulePatchTypeConverter))]
public class DnsSecurityRulePatch : Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Models.IDnsSecurityRulePatch
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Models.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
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.

ManagedDomainList

Managed domain lists that the DNS security rule applies to.

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.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.

ToString()

Applies to