Language

DnsSecurityRuleAction Class

Definition

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

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

Constructors

Name Description
DnsSecurityRuleAction()

Creates an new DnsSecurityRuleAction instance.

Properties

Name Description
ActionType

The type of action to take.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DnsSecurityRuleAction.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DnsSecurityRuleAction.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DnsSecurityRuleAction into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to