Class DnsForwardingRulesetProperties


  • public final class DnsForwardingRulesetProperties
    extends Object
    Represents the properties of a DNS forwarding ruleset.
    • Constructor Detail

      • DnsForwardingRulesetProperties

        public DnsForwardingRulesetProperties()
    • Method Detail

      • dnsResolverOutboundEndpoints

        public List<com.azure.core.management.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.
      • 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

        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.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.