Class DnsForwardingRulesetInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.dnsresolver.fluent.models.DnsForwardingRulesetInner
public final class DnsForwardingRulesetInner
extends com.azure.core.management.Resource
Describes a DNS forwarding ruleset.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<com.azure.core.management.SubResource>
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.etag()
Get the etag property: ETag of the DNS forwarding ruleset.Get the provisioningState property: The current provisioning state of the DNS forwarding ruleset.Get the resourceGuid property: The resourceGuid for the DNS forwarding ruleset.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.withDnsResolverOutboundEndpoints
(List<com.azure.core.management.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.withLocation
(String location) Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
DnsForwardingRulesetInner
public DnsForwardingRulesetInner()
-
-
Method Details
-
etag
Get the etag property: ETag of the DNS forwarding ruleset.- Returns:
- the etag value.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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.
-
withDnsResolverOutboundEndpoints
public DnsForwardingRulesetInner withDnsResolverOutboundEndpoints(List<com.azure.core.management.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.
-
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
Get the resourceGuid property: The resourceGuid for the DNS forwarding ruleset.- Returns:
- the resourceGuid value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-