Interface VirtualNetworksOperationsClient


public interface VirtualNetworksOperationsClient
An instance of this class provides access to all the operations defined in VirtualNetworksOperationsClient.
  • Method Details

    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<VirtualNetworksInner> 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

      VirtualNetworksInner 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworksInner>,VirtualNetworksInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworksName, VirtualNetworksInner virtualNetworks)
      Puts the virtual network

      Puts 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.
      virtualNetworks - The virtualNetworks resource definition.
      Returns:
      the SyncPoller for polling of the virtualNetworks resource definition.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworksInner>,VirtualNetworksInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworksName, VirtualNetworksInner virtualNetworks, com.azure.core.util.Context context)
      Puts the virtual network

      Puts 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.
      virtualNetworks - The virtualNetworks resource definition.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the virtualNetworks resource definition.
      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.
    • createOrUpdate

      VirtualNetworksInner createOrUpdate(String resourceGroupName, String virtualNetworksName, VirtualNetworksInner virtualNetworks)
      Puts the virtual network

      Puts 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.
      virtualNetworks - The virtualNetworks resource definition.
      Returns:
      the virtualNetworks resource definition.
      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.
    • createOrUpdate

      VirtualNetworksInner createOrUpdate(String resourceGroupName, String virtualNetworksName, VirtualNetworksInner virtualNetworks, com.azure.core.util.Context context)
      Puts the virtual network

      Puts 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.
      virtualNetworks - The virtualNetworks resource definition.
      context - The context to associate with this operation.
      Returns:
      the virtualNetworks resource definition.
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(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.
    • delete

      void delete(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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworksInner>,VirtualNetworksInner> beginUpdate(String resourceGroupName, String virtualNetworksName, VirtualNetworksPatch virtualNetworks)
      Patches the virtual network

      Patches 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.
      virtualNetworks - The virtualNetworks resource patch definition.
      Returns:
      the SyncPoller for polling of the virtualNetworks resource definition.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworksInner>,VirtualNetworksInner> beginUpdate(String resourceGroupName, String virtualNetworksName, VirtualNetworksPatch virtualNetworks, com.azure.core.util.Context context)
      Patches the virtual network

      Patches 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.
      virtualNetworks - The virtualNetworks resource patch definition.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the virtualNetworks resource definition.
      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.
    • update

      VirtualNetworksInner update(String resourceGroupName, String virtualNetworksName, VirtualNetworksPatch virtualNetworks)
      Patches the virtual network

      Patches 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.
      virtualNetworks - The virtualNetworks resource patch definition.
      Returns:
      the virtualNetworks resource definition.
      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.
    • update

      VirtualNetworksInner update(String resourceGroupName, String virtualNetworksName, VirtualNetworksPatch virtualNetworks, com.azure.core.util.Context context)
      Patches the virtual network

      Patches 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.
      virtualNetworks - The virtualNetworks resource patch definition.
      context - The context to associate with this operation.
      Returns:
      the virtualNetworks resource definition.
      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<VirtualNetworksInner> 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<VirtualNetworksInner> 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<VirtualNetworksInner> 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<VirtualNetworksInner> 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.