Interface VipSwapsClient
public interface VipSwapsClient
An instance of this class provides access to all the operations defined in VipSwapsClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginCreate(String groupName, String resourceName, SwapResourceInner parameters) Performs vip swap operation on swappable cloud services.beginCreate(String groupName, String resourceName, SwapResourceInner parameters, com.azure.core.util.Context context) Performs vip swap operation on swappable cloud services.beginCreateAsync(String groupName, String resourceName, SwapResourceInner parameters) Performs vip swap operation on swappable cloud services.voidcreate(String groupName, String resourceName, SwapResourceInner parameters) Performs vip swap operation on swappable cloud services.voidcreate(String groupName, String resourceName, SwapResourceInner parameters, com.azure.core.util.Context context) Performs vip swap operation on swappable cloud services.createAsync(String groupName, String resourceName, SwapResourceInner parameters) Performs vip swap operation on swappable cloud services.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String groupName, String resourceName, SwapResourceInner parameters) Performs vip swap operation on swappable cloud services.Gets the SwapResource which identifies the slot type for the specified cloud service.Gets the SwapResource which identifies the slot type for the specified cloud service.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.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.Gets the list of SwapResource which identifies the slot type for the specified cloud service.Gets the list of SwapResource which identifies the slot type for the specified cloud service.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.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.
-
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
Responseon successful completion ofMono. - 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
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
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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
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
Monothat 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
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
Responseon successful completion ofMono. - 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
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
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.
-