Interface VirtualEndpointsClient


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

    • createWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String serverName, String virtualEndpointName, VirtualEndpointInner parameters)
      Creates a pair of virtual endpoints for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      parameters - Parameters required to create or update a pair of virtual endpoints.
      Returns:
      pair of virtual endpoints for a server along with Response on successful completion of Mono.
      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.
    • beginCreateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualEndpointInner>, VirtualEndpointInner> beginCreateAsync(String resourceGroupName, String serverName, String virtualEndpointName, VirtualEndpointInner parameters)
      Creates a pair of virtual endpoints for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      parameters - Parameters required to create or update a pair of virtual endpoints.
      Returns:
      the PollerFlux for polling of pair of virtual endpoints for a server.
      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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualEndpointInner>, VirtualEndpointInner> beginCreate(String resourceGroupName, String serverName, String virtualEndpointName, VirtualEndpointInner parameters)
      Creates a pair of virtual endpoints for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      parameters - Parameters required to create or update a pair of virtual endpoints.
      Returns:
      the SyncPoller for polling of pair of virtual endpoints for a server.
      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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualEndpointInner>, VirtualEndpointInner> beginCreate(String resourceGroupName, String serverName, String virtualEndpointName, VirtualEndpointInner parameters, com.azure.core.util.Context context)
      Creates a pair of virtual endpoints for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      parameters - Parameters required to create or update a pair of virtual endpoints.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of pair of virtual endpoints for a server.
      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.
    • createAsync

      Mono<VirtualEndpointInner> createAsync(String resourceGroupName, String serverName, String virtualEndpointName, VirtualEndpointInner parameters)
      Creates a pair of virtual endpoints for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      parameters - Parameters required to create or update a pair of virtual endpoints.
      Returns:
      pair of virtual endpoints for a server on successful completion of Mono.
      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.
    • create

      VirtualEndpointInner create(String resourceGroupName, String serverName, String virtualEndpointName, VirtualEndpointInner parameters)
      Creates a pair of virtual endpoints for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      parameters - Parameters required to create or update a pair of virtual endpoints.
      Returns:
      pair of virtual endpoints for a server.
      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.
    • create

      VirtualEndpointInner create(String resourceGroupName, String serverName, String virtualEndpointName, VirtualEndpointInner parameters, com.azure.core.util.Context context)
      Creates a pair of virtual endpoints for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      parameters - Parameters required to create or update a pair of virtual endpoints.
      context - The context to associate with this operation.
      Returns:
      pair of virtual endpoints for a server.
      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.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String serverName, String virtualEndpointName, VirtualEndpointResourceForPatch parameters)
      Updates a pair of virtual endpoints for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      parameters - Parameters required to update a pair of virtual endpoints.
      Returns:
      pair of virtual endpoints for a server along with Response on successful completion of Mono.
      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.
    • beginUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualEndpointInner>, VirtualEndpointInner> beginUpdateAsync(String resourceGroupName, String serverName, String virtualEndpointName, VirtualEndpointResourceForPatch parameters)
      Updates a pair of virtual endpoints for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      parameters - Parameters required to update a pair of virtual endpoints.
      Returns:
      the PollerFlux for polling of pair of virtual endpoints for a server.
      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<VirtualEndpointInner>, VirtualEndpointInner> beginUpdate(String resourceGroupName, String serverName, String virtualEndpointName, VirtualEndpointResourceForPatch parameters)
      Updates a pair of virtual endpoints for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      parameters - Parameters required to update a pair of virtual endpoints.
      Returns:
      the SyncPoller for polling of pair of virtual endpoints for a server.
      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<VirtualEndpointInner>, VirtualEndpointInner> beginUpdate(String resourceGroupName, String serverName, String virtualEndpointName, VirtualEndpointResourceForPatch parameters, com.azure.core.util.Context context)
      Updates a pair of virtual endpoints for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      parameters - Parameters required to update a pair of virtual endpoints.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of pair of virtual endpoints for a server.
      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.
    • updateAsync

      Mono<VirtualEndpointInner> updateAsync(String resourceGroupName, String serverName, String virtualEndpointName, VirtualEndpointResourceForPatch parameters)
      Updates a pair of virtual endpoints for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      parameters - Parameters required to update a pair of virtual endpoints.
      Returns:
      pair of virtual endpoints for a server on successful completion of Mono.
      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

      VirtualEndpointInner update(String resourceGroupName, String serverName, String virtualEndpointName, VirtualEndpointResourceForPatch parameters)
      Updates a pair of virtual endpoints for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      parameters - Parameters required to update a pair of virtual endpoints.
      Returns:
      pair of virtual endpoints for a server.
      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

      VirtualEndpointInner update(String resourceGroupName, String serverName, String virtualEndpointName, VirtualEndpointResourceForPatch parameters, com.azure.core.util.Context context)
      Updates a pair of virtual endpoints for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      parameters - Parameters required to update a pair of virtual endpoints.
      context - The context to associate with this operation.
      Returns:
      pair of virtual endpoints for a server.
      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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String virtualEndpointName)
      Deletes a pair of virtual endpoints.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      Returns:
      the Response on successful completion of Mono.
      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.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginDeleteAsync(String resourceGroupName, String serverName, String virtualEndpointName)
      Deletes a pair of virtual endpoints.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      Returns:
      the PollerFlux for polling of long-running 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String serverName, String virtualEndpointName)
      Deletes a pair of virtual endpoints.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String serverName, String virtualEndpointName, com.azure.core.util.Context context)
      Deletes a pair of virtual endpoints.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String serverName, String virtualEndpointName)
      Deletes a pair of virtual endpoints.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      Returns:
      A Mono that completes when a successful response is received.
      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 serverName, String virtualEndpointName)
      Deletes a pair of virtual endpoints.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      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 serverName, String virtualEndpointName, com.azure.core.util.Context context)
      Deletes a pair of virtual endpoints.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<VirtualEndpointInner>> getWithResponseAsync(String resourceGroupName, String serverName, String virtualEndpointName)
      Gets information about a pair of virtual endpoints.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      Returns:
      information about a pair of virtual endpoints along with Response on successful completion of Mono.
      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.
    • getAsync

      Mono<VirtualEndpointInner> getAsync(String resourceGroupName, String serverName, String virtualEndpointName)
      Gets information about a pair of virtual endpoints.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      Returns:
      information about a pair of virtual endpoints on successful completion of Mono.
      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<VirtualEndpointInner> getWithResponse(String resourceGroupName, String serverName, String virtualEndpointName, com.azure.core.util.Context context)
      Gets information about a pair of virtual endpoints.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      context - The context to associate with this operation.
      Returns:
      information about a pair of virtual endpoints 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.
    • get

      VirtualEndpointInner get(String resourceGroupName, String serverName, String virtualEndpointName)
      Gets information about a pair of virtual endpoints.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      virtualEndpointName - Base name of the virtual endpoints.
      Returns:
      information about a pair of virtual endpoints.
      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.
    • listByServerAsync

      com.azure.core.http.rest.PagedFlux<VirtualEndpointInner> listByServerAsync(String resourceGroupName, String serverName)
      Lists pair of virtual endpoints associated to a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      Returns:
      list of virtual endpoints as paginated response with PagedFlux.
      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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<VirtualEndpointInner> listByServer(String resourceGroupName, String serverName)
      Lists pair of virtual endpoints associated to a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      Returns:
      list of virtual endpoints 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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<VirtualEndpointInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
      Lists pair of virtual endpoints associated to a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      context - The context to associate with this operation.
      Returns:
      list of virtual endpoints 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.