DnsForwardingRulesetInner Class

public final class DnsForwardingRulesetInner
extends Resource

Describes a DNS forwarding ruleset.

Constructor Summary

Constructor Description
DnsForwardingRulesetInner()

Creates an instance of DnsForwardingRulesetInner class.

Method Summary

Modifier and Type Method and Description
List<SubResource> dnsResolverOutboundEndpoints()

Get the dnsResolverOutboundEndpoints property: 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.

String etag()

Get the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention.

static DnsForwardingRulesetInner fromJson(JsonReader jsonReader)

Reads an instance of DnsForwardingRulesetInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The current provisioning state of the DNS forwarding ruleset.

String resourceGuid()

Get the resourceGuid property: The resourceGuid for the DNS forwarding ruleset.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

DnsForwardingRulesetInner withDnsResolverOutboundEndpoints(List<SubResource> dnsResolverOutboundEndpoints)

Set the dnsResolverOutboundEndpoints property: 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.

DnsForwardingRulesetInner withLocation(String location)
DnsForwardingRulesetInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

DnsForwardingRulesetInner

public DnsForwardingRulesetInner()

Creates an instance of DnsForwardingRulesetInner class.

Method Details

dnsResolverOutboundEndpoints

public List<SubResource> dnsResolverOutboundEndpoints()

Get the dnsResolverOutboundEndpoints property: 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.

Returns:

the dnsResolverOutboundEndpoints value.

etag

public String etag()

Get the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.").

Returns:

the etag value.

fromJson

public static DnsForwardingRulesetInner fromJson(JsonReader jsonReader)

Reads an instance of DnsForwardingRulesetInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DnsForwardingRulesetInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DnsForwardingRulesetInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DnsForwardingRulesetInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: 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.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: The resourceGuid for the DNS forwarding ruleset.

Returns:

the resourceGuid value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DnsForwardingRulesetInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DnsForwardingRulesetInner.type()

Returns:

the type value.

withDnsResolverOutboundEndpoints

public DnsForwardingRulesetInner withDnsResolverOutboundEndpoints(List<SubResource> dnsResolverOutboundEndpoints)

Set the dnsResolverOutboundEndpoints property: 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.

Parameters:

dnsResolverOutboundEndpoints - the dnsResolverOutboundEndpoints value to set.

Returns:

the DnsForwardingRulesetInner object itself.

withLocation

public DnsForwardingRulesetInner withLocation(String location)

Overrides:

DnsForwardingRulesetInner.withLocation(String location)

Parameters:

location

withTags

public DnsForwardingRulesetInner withTags(Map<String,String> tags)

Overrides:

DnsForwardingRulesetInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to