DnsForwardingRuleData 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.
A class representing the DnsForwardingRule data model. Describes a forwarding rule within a DNS forwarding ruleset.
public class DnsForwardingRuleData : Azure.ResourceManager.Models.ResourceData
public class DnsForwardingRuleData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DnsResolver.DnsForwardingRuleData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DnsResolver.DnsForwardingRuleData>
type DnsForwardingRuleData = class
inherit ResourceData
type DnsForwardingRuleData = class
inherit ResourceData
interface IJsonModel<DnsForwardingRuleData>
interface IPersistableModel<DnsForwardingRuleData>
Public Class DnsForwardingRuleData
Inherits ResourceData
Public Class DnsForwardingRuleData
Inherits ResourceData
Implements IJsonModel(Of DnsForwardingRuleData), IPersistableModel(Of DnsForwardingRuleData)
- Inheritance
- Implements
Constructors
DnsForwardingRuleData(String, IEnumerable<TargetDnsServer>) |
Initializes a new instance of DnsForwardingRuleData. |
Properties
DnsForwardingRuleState |
The state of forwarding rule. |
DomainName |
The domain name for the forwarding rule. |
ETag |
ETag of the forwarding rule. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
Metadata |
Metadata attached to the forwarding rule. |
Name |
The name of the resource. (Inherited from ResourceData) |
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. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
TargetDnsServers |
DNS servers to forward the DNS query to. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ResourceData) |
Explicit Interface Implementations
IJsonModel<DnsForwardingRuleData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DnsForwardingRuleData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DnsForwardingRuleData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DnsForwardingRuleData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DnsForwardingRuleData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |