VipSwapsClient Interface

public interface VipSwapsClient

An instance of this class provides access to all the operations defined in VipSwapsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<Void>,Void> beginCreate(String groupName, String resourceName, SwapResourceInner parameters)

Performs vip swap operation on swappable cloud services.

abstract SyncPoller<PollResult<Void>,Void> beginCreate(String groupName, String resourceName, SwapResourceInner parameters, Context context)

Performs vip swap operation on swappable cloud services.

abstract PollerFlux<PollResult<Void>,Void> beginCreateAsync(String groupName, String resourceName, SwapResourceInner parameters)

Performs vip swap operation on swappable cloud services.

abstract void create(String groupName, String resourceName, SwapResourceInner parameters)

Performs vip swap operation on swappable cloud services.

abstract void create(String groupName, String resourceName, SwapResourceInner parameters, Context context)

Performs vip swap operation on swappable cloud services.

abstract Mono<Void> createAsync(String groupName, String resourceName, SwapResourceInner parameters)

Performs vip swap operation on swappable cloud services.

abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String groupName, String resourceName, SwapResourceInner parameters)

Performs vip swap operation on swappable cloud services.

abstract SwapResourceInner get(String groupName, String resourceName)

Gets the SwapResource which identifies the slot type for the specified cloud service.

abstract Mono<SwapResourceInner> getAsync(String groupName, String resourceName)

Gets the SwapResource which identifies the slot type for the specified cloud service.

abstract Response<SwapResourceInner> getWithResponse(String groupName, String resourceName, Context context)

Gets the SwapResource which identifies the slot type for the specified cloud service.

abstract Mono<Response<SwapResourceInner>> getWithResponseAsync(String groupName, String resourceName)

Gets the SwapResource which identifies the slot type for the specified cloud service.

abstract SwapResourceListResultInner list(String groupName, String resourceName)

Gets the list of SwapResource which identifies the slot type for the specified cloud service.

abstract Mono<SwapResourceListResultInner> listAsync(String groupName, String resourceName)

Gets the list of SwapResource which identifies the slot type for the specified cloud service.

abstract Response<SwapResourceListResultInner> listWithResponse(String groupName, String resourceName, Context context)

Gets the list of SwapResource which identifies the slot type for the specified cloud service.

abstract Mono<Response<SwapResourceListResultInner>> listWithResponseAsync(String groupName, String resourceName)

Gets the list of SwapResource which identifies the slot type for the specified cloud service.

Method Details

beginCreate

public abstract SyncPoller,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<T,U> for polling of long-running operation.

beginCreate

public abstract SyncPoller,Void> beginCreate(String groupName, String resourceName, SwapResourceInner parameters, 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<T,U> for polling of long-running operation.

beginCreateAsync

public abstract PollerFlux,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<T,U> for polling of long-running operation.

create

public abstract 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.

create

public abstract void create(String groupName, String resourceName, SwapResourceInner parameters, 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.

createAsync

public abstract Mono 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.

createWithResponseAsync

public abstract Mono>> 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<T> on successful completion of Mono.

get

public abstract 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.

getAsync

public abstract Mono 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.

getWithResponse

public abstract Response getWithResponse(String groupName, String resourceName, 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<T>.

getWithResponseAsync

public abstract Mono> 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<T> on successful completion of Mono.

list

public abstract 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.

listAsync

public abstract Mono 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.

listWithResponse

public abstract Response listWithResponse(String groupName, String resourceName, 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<T>.

listWithResponseAsync

public abstract Mono> 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<T> on successful completion of Mono.

Applies to