Class DnsForwardingRulesetPatch
java.lang.Object
com.azure.resourcemanager.dnsresolver.models.DnsForwardingRulesetPatch
Describes a DNS forwarding ruleset PATCH operation.
-
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.tags()
Get the tags property: Tags for DNS Resolver.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.Set the tags property: Tags for DNS Resolver.
-
Constructor Details
-
DnsForwardingRulesetPatch
public DnsForwardingRulesetPatch()
-
-
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 DnsForwardingRulesetPatch 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 DnsForwardingRulesetPatch object itself.
-
tags
Get the tags property: Tags for DNS Resolver.- Returns:
- the tags value.
-
withTags
Set the tags property: Tags for DNS Resolver.- Parameters:
tags
- the tags value to set.- Returns:
- the DnsForwardingRulesetPatch object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-