Interface VirtualNetworkLinks


public interface VirtualNetworkLinks
Resource collection API of VirtualNetworkLinks.
  • Method Summary

    Modifier and Type
    Method
    Description
    define(String name)
    Begins definition for a new VirtualNetworkLink resource.
    void
    delete(String resourceGroupName, String dnsForwardingRulesetName, String virtualNetworkLinkName)
    Deletes a virtual network link to a DNS forwarding ruleset.
    void
    delete(String resourceGroupName, String dnsForwardingRulesetName, String virtualNetworkLinkName, String ifMatch)
    Deletes a virtual network link to a DNS forwarding ruleset.
    void
    delete(String resourceGroupName, String dnsForwardingRulesetName, String virtualNetworkLinkName, String ifMatch, com.azure.core.util.Context context)
    Deletes a virtual network link to a DNS forwarding ruleset.
    void
    Deletes a virtual network link to a DNS forwarding ruleset.
    void
    deleteByIdWithResponse(String id, String ifMatch, com.azure.core.util.Context context)
    Deletes a virtual network link to a DNS forwarding ruleset.
    get(String resourceGroupName, String dnsForwardingRulesetName, String virtualNetworkLinkName)
    Gets properties of a virtual network link to a DNS forwarding ruleset.
    Gets properties of a virtual network link to a DNS forwarding ruleset.
    com.azure.core.http.rest.Response<VirtualNetworkLink>
    getByIdWithResponse(String id, com.azure.core.util.Context context)
    Gets properties of a virtual network link to a DNS forwarding ruleset.
    com.azure.core.http.rest.Response<VirtualNetworkLink>
    getWithResponse(String resourceGroupName, String dnsForwardingRulesetName, String virtualNetworkLinkName, com.azure.core.util.Context context)
    Gets properties of a virtual network link to a DNS forwarding ruleset.
    com.azure.core.http.rest.PagedIterable<VirtualNetworkLink>
    list(String resourceGroupName, String dnsForwardingRulesetName)
    Lists virtual network links to a DNS forwarding ruleset.
    com.azure.core.http.rest.PagedIterable<VirtualNetworkLink>
    list(String resourceGroupName, String dnsForwardingRulesetName, Integer top, com.azure.core.util.Context context)
    Lists virtual network links to a DNS forwarding ruleset.
  • Method Details

    • delete

      void delete(String resourceGroupName, String dnsForwardingRulesetName, String virtualNetworkLinkName, String ifMatch)
      Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
      virtualNetworkLinkName - The name of the virtual network link.
      ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String dnsForwardingRulesetName, String virtualNetworkLinkName)
      Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
      virtualNetworkLinkName - The name of the virtual network link.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String dnsForwardingRulesetName, String virtualNetworkLinkName, String ifMatch, com.azure.core.util.Context context)
      Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
      virtualNetworkLinkName - The name of the virtual network link.
      ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      VirtualNetworkLink get(String resourceGroupName, String dnsForwardingRulesetName, String virtualNetworkLinkName)
      Gets properties of a virtual network link to a DNS forwarding ruleset.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
      virtualNetworkLinkName - The name of the virtual network link.
      Returns:
      properties of a virtual network link to a DNS forwarding ruleset.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponse

      com.azure.core.http.rest.Response<VirtualNetworkLink> getWithResponse(String resourceGroupName, String dnsForwardingRulesetName, String virtualNetworkLinkName, com.azure.core.util.Context context)
      Gets properties of a virtual network link to a DNS forwarding ruleset.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
      virtualNetworkLinkName - The name of the virtual network link.
      context - The context to associate with this operation.
      Returns:
      properties of a virtual network link to a DNS forwarding ruleset along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<VirtualNetworkLink> list(String resourceGroupName, String dnsForwardingRulesetName)
      Lists virtual network links to a DNS forwarding ruleset.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
      Returns:
      the response to an enumeration operation on virtual network links as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<VirtualNetworkLink> list(String resourceGroupName, String dnsForwardingRulesetName, Integer top, com.azure.core.util.Context context)
      Lists virtual network links to a DNS forwarding ruleset.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
      top - The maximum number of results to return. If not specified, returns up to 100 results.
      context - The context to associate with this operation.
      Returns:
      the response to an enumeration operation on virtual network links as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getById

      Gets properties of a virtual network link to a DNS forwarding ruleset.
      Parameters:
      id - the resource ID.
      Returns:
      properties of a virtual network link to a DNS forwarding ruleset along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<VirtualNetworkLink> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets properties of a virtual network link to a DNS forwarding ruleset.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      properties of a virtual network link to a DNS forwarding ruleset along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteById

      void deleteById(String id)
      Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.
      Parameters:
      id - the resource ID.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, String ifMatch, com.azure.core.util.Context context)
      Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.
      Parameters:
      id - the resource ID.
      ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • define

      Begins definition for a new VirtualNetworkLink resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new VirtualNetworkLink definition.