Interface VirtualNetworksOperations


public interface VirtualNetworksOperations
Resource collection API of VirtualNetworksOperations.
  • Method Details

    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<VirtualNetworks> getByResourceGroupWithResponse(String resourceGroupName, String virtualNetworksName, com.azure.core.util.Context context)
      Gets the virtual network

      Gets the Hybrid AKS virtual network.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      virtualNetworksName - Parameter for the name of the virtual network.
      context - The context to associate with this operation.
      Returns:
      the Hybrid AKS virtual network 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.
    • getByResourceGroup

      VirtualNetworks getByResourceGroup(String resourceGroupName, String virtualNetworksName)
      Gets the virtual network

      Gets the Hybrid AKS virtual network.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      virtualNetworksName - Parameter for the name of the virtual network.
      Returns:
      the Hybrid AKS virtual network.
      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.
    • deleteByResourceGroupWithResponse

      com.azure.core.http.rest.Response<Void> deleteByResourceGroupWithResponse(String resourceGroupName, String virtualNetworksName, com.azure.core.util.Context context)
      Deletes the virtual network

      Deletes the Hybrid AKS virtual network.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      virtualNetworksName - Parameter for the name of the virtual network.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • deleteByResourceGroup

      void deleteByResourceGroup(String resourceGroupName, String virtualNetworksName)
      Deletes the virtual network

      Deletes the Hybrid AKS virtual network.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      virtualNetworksName - Parameter for the name of the virtual network.
      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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<VirtualNetworks> listByResourceGroup(String resourceGroupName)
      List virtual networks by resource group

      Lists the Hybrid AKS virtual networks by resource group.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      the 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<VirtualNetworks> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      List virtual networks by resource group

      Lists the Hybrid AKS virtual networks by resource group.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      the 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<VirtualNetworks> list()
      List virtual networks by subscription

      Lists the Hybrid AKS virtual networks by subscription.

      Returns:
      the paginated response with PagedIterable.
      Throws:
      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<VirtualNetworks> list(com.azure.core.util.Context context)
      List virtual networks by subscription

      Lists the Hybrid AKS virtual networks by subscription.

      Parameters:
      context - The context to associate with this operation.
      Returns:
      the 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

      VirtualNetworks getById(String id)
      Gets the virtual network

      Gets the Hybrid AKS virtual network.

      Parameters:
      id - the resource ID.
      Returns:
      the Hybrid AKS virtual network 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<VirtualNetworks> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets the virtual network

      Gets the Hybrid AKS virtual network.

      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      the Hybrid AKS virtual network 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 the virtual network

      Deletes the Hybrid AKS virtual network.

      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

      com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes the virtual network

      Deletes the Hybrid AKS virtual network.

      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • define

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