Class DnsForwardingRulesetProperties
java.lang.Object
com.azure.resourcemanager.dnsresolver.fluent.models.DnsForwardingRulesetProperties
Represents the properties of 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.Get the provisioningState property: The current provisioning state of the DNS forwarding ruleset.Get the resourceGuid property: The resourceGuid for the DNS forwarding ruleset.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.
-
Constructor Details
-
DnsForwardingRulesetProperties
public DnsForwardingRulesetProperties()
-
-
Method Details
-
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 DnsForwardingRulesetProperties 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 DnsForwardingRulesetProperties 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.
-