Interface ForwardingRule


  • public interface ForwardingRule
    An immutable client-side representation of ForwardingRule.
    • Method Detail

      • id

        String id()
        Gets the id property: Fully qualified resource Id for the resource.
        Returns:
        the id value.
      • name

        String name()
        Gets the name property: The name of the resource.
        Returns:
        the name value.
      • type

        String type()
        Gets the type property: The type of the resource.
        Returns:
        the type value.
      • etag

        String etag()
        Gets the etag property: ETag of the forwarding rule.
        Returns:
        the etag value.
      • systemData

        com.azure.core.management.SystemData systemData()
        Gets the systemData property: Metadata pertaining to creation and last modification of the resource.
        Returns:
        the systemData value.
      • domainName

        String domainName()
        Gets the domainName property: The domain name for the forwarding rule.
        Returns:
        the domainName value.
      • targetDnsServers

        List<TargetDnsServer> targetDnsServers()
        Gets the targetDnsServers property: DNS servers to forward the DNS query to.
        Returns:
        the targetDnsServers value.
      • metadata

        Map<String,​String> metadata()
        Gets the metadata property: Metadata attached to the forwarding rule.
        Returns:
        the metadata value.
      • forwardingRuleState

        ForwardingRuleState forwardingRuleState()
        Gets the forwardingRuleState property: The state of forwarding rule.
        Returns:
        the forwardingRuleState value.
      • provisioningState

        ProvisioningState provisioningState()
        Gets the provisioningState property: The current provisioning state of the forwarding rule. This is a read-only property and any attempt to set this value will be ignored.
        Returns:
        the provisioningState value.
      • innerModel

        ForwardingRuleInner innerModel()
        Gets the inner com.azure.resourcemanager.dnsresolver.fluent.models.ForwardingRuleInner object.
        Returns:
        the inner object.
      • update

        ForwardingRule.Update update()
        Begins update for the ForwardingRule resource.
        Returns:
        the stage of resource update.
      • refresh

        ForwardingRule refresh()
        Refreshes the resource to sync with Azure.
        Returns:
        the refreshed resource.
      • refresh

        ForwardingRule refresh​(com.azure.core.util.Context context)
        Refreshes the resource to sync with Azure.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        the refreshed resource.