DnsSecurityRuleProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the properties of a DNS security rule.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Models.DnsSecurityRulePropertiesTypeConverter))]
public class DnsSecurityRuleProperties : Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Models.IDnsSecurityRuleProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Models.DnsSecurityRulePropertiesTypeConverter))>]
type DnsSecurityRuleProperties = class
interface IDnsSecurityRuleProperties
interface IJsonSerializable
Public Class DnsSecurityRuleProperties
Implements IDnsSecurityRuleProperties
- Inheritance
-
DnsSecurityRuleProperties
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| DnsSecurityRuleProperties() |
Creates an new DnsSecurityRuleProperties 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. |
| ProvisioningState |
The current provisioning state of the DNS security rule. This is a read-only property and any attempt to set this value will be ignored. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of DnsSecurityRuleProperties. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of DnsSecurityRuleProperties. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DnsResolver.Models.IDnsSecurityRuleProperties. |
| FromJsonString(String) |
Creates a new instance of DnsSecurityRuleProperties, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of DnsSecurityRuleProperties into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |