Interface VirtualMachineExtensionsClient
public interface VirtualMachineExtensionsClient
An instance of this class provides access to all the operations defined in VirtualMachineExtensionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineExtensionInner>, VirtualMachineExtensionInner> beginCreateOrUpdate(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionInner extensionParameters) The operation to create or update the extension.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineExtensionInner>, VirtualMachineExtensionInner> beginCreateOrUpdate(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionInner extensionParameters, com.azure.core.util.Context context) The operation to create or update the extension.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineExtensionInner>, VirtualMachineExtensionInner> beginCreateOrUpdateAsync(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionInner extensionParameters) The operation to create or update the extension.beginDelete(String resourceGroupName, String vmName, String vmExtensionName) The operation to delete the extension.beginDelete(String resourceGroupName, String vmName, String vmExtensionName, com.azure.core.util.Context context) The operation to delete the extension.beginDeleteAsync(String resourceGroupName, String vmName, String vmExtensionName) The operation to delete the extension.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineExtensionInner>, VirtualMachineExtensionInner> beginUpdate(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionUpdate extensionParameters) The operation to update the extension.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineExtensionInner>, VirtualMachineExtensionInner> beginUpdate(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionUpdate extensionParameters, com.azure.core.util.Context context) The operation to update the extension.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineExtensionInner>, VirtualMachineExtensionInner> beginUpdateAsync(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionUpdate extensionParameters) The operation to update the extension.createOrUpdate(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionInner extensionParameters) The operation to create or update the extension.createOrUpdate(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionInner extensionParameters, com.azure.core.util.Context context) The operation to create or update the extension.createOrUpdateAsync(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionInner extensionParameters) The operation to create or update the extension.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionInner extensionParameters) The operation to create or update the extension.voidThe operation to delete the extension.voiddelete(String resourceGroupName, String vmName, String vmExtensionName, com.azure.core.util.Context context) The operation to delete the extension.deleteAsync(String resourceGroupName, String vmName, String vmExtensionName) The operation to delete the extension.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String vmName, String vmExtensionName) The operation to delete the extension.The operation to get the extension.The operation to get the extension.com.azure.core.http.rest.Response<VirtualMachineExtensionInner> getWithResponse(String resourceGroupName, String vmName, String vmExtensionName, String expand, com.azure.core.util.Context context) The operation to get the extension.Mono<com.azure.core.http.rest.Response<VirtualMachineExtensionInner>> getWithResponseAsync(String resourceGroupName, String vmName, String vmExtensionName, String expand) The operation to get the extension.The operation to get all extensions of a Virtual Machine.The operation to get all extensions of a Virtual Machine.com.azure.core.http.rest.Response<VirtualMachineExtensionsListResultInner> listWithResponse(String resourceGroupName, String vmName, String expand, com.azure.core.util.Context context) The operation to get all extensions of a Virtual Machine.Mono<com.azure.core.http.rest.Response<VirtualMachineExtensionsListResultInner>> listWithResponseAsync(String resourceGroupName, String vmName, String expand) The operation to get all extensions of a Virtual Machine.update(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionUpdate extensionParameters) The operation to update the extension.update(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionUpdate extensionParameters, com.azure.core.util.Context context) The operation to update the extension.updateAsync(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionUpdate extensionParameters) The operation to update the extension.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionUpdate extensionParameters) The operation to update the extension.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionInner extensionParameters) The operation to create or update the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be created or updated.vmExtensionName- The name of the virtual machine extension.extensionParameters- Parameters supplied to the Create Virtual Machine Extension operation.- Returns:
- describes a Virtual Machine Extension along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineExtensionInner>,VirtualMachineExtensionInner> beginCreateOrUpdateAsync(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionInner extensionParameters) The operation to create or update the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be created or updated.vmExtensionName- The name of the virtual machine extension.extensionParameters- Parameters supplied to the Create Virtual Machine Extension operation.- Returns:
- the
PollerFluxfor polling of describes a Virtual Machine Extension. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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<VirtualMachineExtensionInner>,VirtualMachineExtensionInner> beginCreateOrUpdate(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionInner extensionParameters) The operation to create or update the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be created or updated.vmExtensionName- The name of the virtual machine extension.extensionParameters- Parameters supplied to the Create Virtual Machine Extension operation.- Returns:
- the
SyncPollerfor polling of describes a Virtual Machine Extension. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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<VirtualMachineExtensionInner>,VirtualMachineExtensionInner> beginCreateOrUpdate(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionInner extensionParameters, com.azure.core.util.Context context) The operation to create or update the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be created or updated.vmExtensionName- The name of the virtual machine extension.extensionParameters- Parameters supplied to the Create Virtual Machine Extension operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of describes a Virtual Machine Extension. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<VirtualMachineExtensionInner> createOrUpdateAsync(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionInner extensionParameters) The operation to create or update the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be created or updated.vmExtensionName- The name of the virtual machine extension.extensionParameters- Parameters supplied to the Create Virtual Machine Extension operation.- Returns:
- describes a Virtual Machine Extension on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
VirtualMachineExtensionInner createOrUpdate(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionInner extensionParameters) The operation to create or update the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be created or updated.vmExtensionName- The name of the virtual machine extension.extensionParameters- Parameters supplied to the Create Virtual Machine Extension operation.- Returns:
- describes a Virtual Machine Extension.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
VirtualMachineExtensionInner createOrUpdate(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionInner extensionParameters, com.azure.core.util.Context context) The operation to create or update the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be created or updated.vmExtensionName- The name of the virtual machine extension.extensionParameters- Parameters supplied to the Create Virtual Machine Extension operation.context- The context to associate with this operation.- Returns:
- describes a Virtual Machine Extension.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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 vmName, String vmExtensionName, VirtualMachineExtensionUpdate extensionParameters) The operation to update the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be updated.vmExtensionName- The name of the virtual machine extension.extensionParameters- Parameters supplied to the Update Virtual Machine Extension operation.- Returns:
- describes a Virtual Machine Extension along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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<VirtualMachineExtensionInner>,VirtualMachineExtensionInner> beginUpdateAsync(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionUpdate extensionParameters) The operation to update the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be updated.vmExtensionName- The name of the virtual machine extension.extensionParameters- Parameters supplied to the Update Virtual Machine Extension operation.- Returns:
- the
PollerFluxfor polling of describes a Virtual Machine Extension. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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<VirtualMachineExtensionInner>,VirtualMachineExtensionInner> beginUpdate(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionUpdate extensionParameters) The operation to update the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be updated.vmExtensionName- The name of the virtual machine extension.extensionParameters- Parameters supplied to the Update Virtual Machine Extension operation.- Returns:
- the
SyncPollerfor polling of describes a Virtual Machine Extension. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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<VirtualMachineExtensionInner>,VirtualMachineExtensionInner> beginUpdate(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionUpdate extensionParameters, com.azure.core.util.Context context) The operation to update the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be updated.vmExtensionName- The name of the virtual machine extension.extensionParameters- Parameters supplied to the Update Virtual Machine Extension operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of describes a Virtual Machine Extension. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<VirtualMachineExtensionInner> updateAsync(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionUpdate extensionParameters) The operation to update the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be updated.vmExtensionName- The name of the virtual machine extension.extensionParameters- Parameters supplied to the Update Virtual Machine Extension operation.- Returns:
- describes a Virtual Machine Extension on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
VirtualMachineExtensionInner update(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionUpdate extensionParameters) The operation to update the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be updated.vmExtensionName- The name of the virtual machine extension.extensionParameters- Parameters supplied to the Update Virtual Machine Extension operation.- Returns:
- describes a Virtual Machine Extension.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
VirtualMachineExtensionInner update(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionUpdate extensionParameters, com.azure.core.util.Context context) The operation to update the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be updated.vmExtensionName- The name of the virtual machine extension.extensionParameters- Parameters supplied to the Update Virtual Machine Extension operation.context- The context to associate with this operation.- Returns:
- describes a Virtual Machine Extension.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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 vmName, String vmExtensionName) The operation to delete the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be deleted.vmExtensionName- The name of the virtual machine extension.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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 vmName, String vmExtensionName) The operation to delete the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be deleted.vmExtensionName- The name of the virtual machine extension.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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 vmName, String vmExtensionName) The operation to delete the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be deleted.vmExtensionName- The name of the virtual machine extension.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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 vmName, String vmExtensionName, com.azure.core.util.Context context) The operation to delete the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be deleted.vmExtensionName- The name of the virtual machine extension.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
The operation to delete the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be deleted.vmExtensionName- The name of the virtual machine extension.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
The operation to delete the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be deleted.vmExtensionName- The name of the virtual machine extension.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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 vmName, String vmExtensionName, com.azure.core.util.Context context) The operation to delete the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine where the extension should be deleted.vmExtensionName- The name of the virtual machine extension.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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<VirtualMachineExtensionInner>> getWithResponseAsync(String resourceGroupName, String vmName, String vmExtensionName, String expand) The operation to get the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine containing the extension.vmExtensionName- The name of the virtual machine extension.expand- The expand expression to apply on the operation.- Returns:
- describes a Virtual Machine Extension along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<VirtualMachineExtensionInner> getAsync(String resourceGroupName, String vmName, String vmExtensionName) The operation to get the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine containing the extension.vmExtensionName- The name of the virtual machine extension.- Returns:
- describes a Virtual Machine Extension on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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<VirtualMachineExtensionInner> getWithResponse(String resourceGroupName, String vmName, String vmExtensionName, String expand, com.azure.core.util.Context context) The operation to get the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine containing the extension.vmExtensionName- The name of the virtual machine extension.expand- The expand expression to apply on the operation.context- The context to associate with this operation.- Returns:
- describes a Virtual Machine Extension along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
The operation to get the extension.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine containing the extension.vmExtensionName- The name of the virtual machine extension.- Returns:
- describes a Virtual Machine Extension.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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<VirtualMachineExtensionsListResultInner>> listWithResponseAsync(String resourceGroupName, String vmName, String expand) The operation to get all extensions of a Virtual Machine.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine containing the extension.expand- The expand expression to apply on the operation.- Returns:
- the List Extension operation response along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
The operation to get all extensions of a Virtual Machine.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine containing the extension.- Returns:
- the List Extension operation response on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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<VirtualMachineExtensionsListResultInner> listWithResponse(String resourceGroupName, String vmName, String expand, com.azure.core.util.Context context) The operation to get all extensions of a Virtual Machine.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine containing the extension.expand- The expand expression to apply on the operation.context- The context to associate with this operation.- Returns:
- the List Extension operation response along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
The operation to get all extensions of a Virtual Machine.- Parameters:
resourceGroupName- The name of the resource group.vmName- The name of the virtual machine containing the extension.- Returns:
- the List Extension operation response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-