Share via


ArmDnsResolverModelFactory.DnsForwardingRulesetData Method

Definition

Initializes a new instance of DnsForwardingRulesetData.

public static Azure.ResourceManager.DnsResolver.DnsForwardingRulesetData DnsForwardingRulesetData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ETag? etag = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> dnsResolverOutboundEndpoints = default, Azure.ResourceManager.DnsResolver.Models.DnsResolverProvisioningState? provisioningState = default, Guid? resourceGuid = default);
static member DnsForwardingRulesetData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ETag> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<Azure.ResourceManager.DnsResolver.Models.DnsResolverProvisioningState> * Nullable<Guid> -> Azure.ResourceManager.DnsResolver.DnsForwardingRulesetData
Public Shared Function DnsForwardingRulesetData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional dnsResolverOutboundEndpoints As IEnumerable(Of WritableSubResource) = Nothing, Optional provisioningState As Nullable(Of DnsResolverProvisioningState) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing) As DnsForwardingRulesetData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

etag
Nullable<ETag>

ETag of the DNS forwarding ruleset.

dnsResolverOutboundEndpoints
IEnumerable<WritableSubResource>

The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.

provisioningState
Nullable<DnsResolverProvisioningState>

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

resourceGuid
Nullable<Guid>

The resourceGuid for the DNS forwarding ruleset.

Returns

A new DnsForwardingRulesetData instance for mocking.

Applies to