Interface VipSwapsClient


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

    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<SwapResourceInner>> getWithResponseAsync(String groupName, String resourceName)
      Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production.
      Parameters:
      groupName - The name of the resource group.
      resourceName - The name of the cloud service.
      Returns:
      the SwapResource which identifies the slot type for the specified cloud service 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<SwapResourceInner> getAsync(String groupName, String resourceName)
      Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production.
      Parameters:
      groupName - The name of the resource group.
      resourceName - The name of the cloud service.
      Returns:
      the SwapResource which identifies the slot type for the specified cloud service 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<SwapResourceInner> getWithResponse(String groupName, String resourceName, com.azure.core.util.Context context)
      Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production.
      Parameters:
      groupName - The name of the resource group.
      resourceName - The name of the cloud service.
      context - The context to associate with this operation.
      Returns:
      the SwapResource which identifies the slot type for the specified cloud service 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

      SwapResourceInner get(String groupName, String resourceName)
      Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production.
      Parameters:
      groupName - The name of the resource group.
      resourceName - The name of the cloud service.
      Returns:
      the SwapResource which identifies the slot type for the specified cloud service.
      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.
    • createWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String groupName, String resourceName, SwapResourceInner parameters)
      Performs vip swap operation on swappable cloud services.
      Parameters:
      groupName - The name of the resource group.
      resourceName - The name of the cloud service.
      parameters - SwapResource object where slot type should be the target slot after vip swap for the specified cloud service.
      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.
    • beginCreateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginCreateAsync(String groupName, String resourceName, SwapResourceInner parameters)
      Performs vip swap operation on swappable cloud services.
      Parameters:
      groupName - The name of the resource group.
      resourceName - The name of the cloud service.
      parameters - SwapResource object where slot type should be the target slot after vip swap for the specified cloud service.
      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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginCreate(String groupName, String resourceName, SwapResourceInner parameters)
      Performs vip swap operation on swappable cloud services.
      Parameters:
      groupName - The name of the resource group.
      resourceName - The name of the cloud service.
      parameters - SwapResource object where slot type should be the target slot after vip swap for the specified cloud service.
      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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginCreate(String groupName, String resourceName, SwapResourceInner parameters, com.azure.core.util.Context context)
      Performs vip swap operation on swappable cloud services.
      Parameters:
      groupName - The name of the resource group.
      resourceName - The name of the cloud service.
      parameters - SwapResource object where slot type should be the target slot after vip swap for the specified cloud service.
      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.
    • createAsync

      Mono<Void> createAsync(String groupName, String resourceName, SwapResourceInner parameters)
      Performs vip swap operation on swappable cloud services.
      Parameters:
      groupName - The name of the resource group.
      resourceName - The name of the cloud service.
      parameters - SwapResource object where slot type should be the target slot after vip swap for the specified cloud service.
      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.
    • create

      void create(String groupName, String resourceName, SwapResourceInner parameters)
      Performs vip swap operation on swappable cloud services.
      Parameters:
      groupName - The name of the resource group.
      resourceName - The name of the cloud service.
      parameters - SwapResource object where slot type should be the target slot after vip swap for the specified cloud service.
      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

      void create(String groupName, String resourceName, SwapResourceInner parameters, com.azure.core.util.Context context)
      Performs vip swap operation on swappable cloud services.
      Parameters:
      groupName - The name of the resource group.
      resourceName - The name of the cloud service.
      parameters - SwapResource object where slot type should be the target slot after vip swap for the specified cloud service.
      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.
    • listWithResponseAsync

      Mono<com.azure.core.http.rest.Response<SwapResourceListResultInner>> listWithResponseAsync(String groupName, String resourceName)
      Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production.
      Parameters:
      groupName - The name of the resource group.
      resourceName - The name of the cloud service.
      Returns:
      the list of SwapResource which identifies the slot type for the specified cloud service 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.
    • listAsync

      Mono<SwapResourceListResultInner> listAsync(String groupName, String resourceName)
      Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production.
      Parameters:
      groupName - The name of the resource group.
      resourceName - The name of the cloud service.
      Returns:
      the list of SwapResource which identifies the slot type for the specified cloud service 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.
    • listWithResponse

      com.azure.core.http.rest.Response<SwapResourceListResultInner> listWithResponse(String groupName, String resourceName, com.azure.core.util.Context context)
      Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production.
      Parameters:
      groupName - The name of the resource group.
      resourceName - The name of the cloud service.
      context - The context to associate with this operation.
      Returns:
      the list of SwapResource which identifies the slot type for the specified cloud service 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

      SwapResourceListResultInner list(String groupName, String resourceName)
      Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production.
      Parameters:
      groupName - The name of the resource group.
      resourceName - The name of the cloud service.
      Returns:
      the list of SwapResource which identifies the slot type for the specified cloud service.
      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.