Class VirtualNetworkLinkSubResourceProperties

java.lang.Object
com.azure.resourcemanager.dnsresolver.fluent.models.VirtualNetworkLinkSubResourceProperties

public final class VirtualNetworkLinkSubResourceProperties extends Object
The reference to the virtual network link that associates between the DNS forwarding ruleset and virtual network.
  • Constructor Details

    • VirtualNetworkLinkSubResourceProperties

      public VirtualNetworkLinkSubResourceProperties()
  • Method Details

    • virtualNetworkLink

      public com.azure.core.management.SubResource virtualNetworkLink()
      Get the virtualNetworkLink property: The reference to the virtual network link.
      Returns:
      the virtualNetworkLink value.
    • withVirtualNetworkLink

      public VirtualNetworkLinkSubResourceProperties withVirtualNetworkLink(com.azure.core.management.SubResource virtualNetworkLink)
      Set the virtualNetworkLink property: The reference to the virtual network link.
      Parameters:
      virtualNetworkLink - the virtualNetworkLink value to set.
      Returns:
      the VirtualNetworkLinkSubResourceProperties object itself.
    • validate

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