Language

ForwardingRuleProperties Class

Definition

Represents the properties of a forwarding rule within a DNS forwarding ruleset.

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

Constructors

Name Description
ForwardingRuleProperties()

Creates an new ForwardingRuleProperties instance.

Properties

Name Description
DomainName

The domain name for the forwarding rule.

ForwardingRuleState

The state of forwarding rule.

Metadata

Metadata attached to the forwarding rule.

ProvisioningState

The current provisioning state of the forwarding rule. This is a read-only property and any attempt to set this value will be ignored.

TargetDnsServer

DNS servers to forward the DNS query to.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ForwardingRuleProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ForwardingRuleProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ForwardingRuleProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to