Interface DeploymentOperationsClient


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

    • getAtScopeWithResponseAsync

      Mono<com.azure.core.http.rest.Response<DeploymentOperationInner>> getAtScopeWithResponseAsync(String scope, String deploymentName, String operationId)
      Gets a deployments operation.
      Parameters:
      scope - The resource scope.
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      Returns:
      a deployments operation 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.
    • getAtScopeAsync

      Mono<DeploymentOperationInner> getAtScopeAsync(String scope, String deploymentName, String operationId)
      Gets a deployments operation.
      Parameters:
      scope - The resource scope.
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      Returns:
      a deployments operation 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.
    • getAtScope

      DeploymentOperationInner getAtScope(String scope, String deploymentName, String operationId)
      Gets a deployments operation.
      Parameters:
      scope - The resource scope.
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      Returns:
      a deployments 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.
    • getAtScopeWithResponse

      com.azure.core.http.rest.Response<DeploymentOperationInner> getAtScopeWithResponse(String scope, String deploymentName, String operationId, com.azure.core.util.Context context)
      Gets a deployments operation.
      Parameters:
      scope - The resource scope.
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      context - The context to associate with this operation.
      Returns:
      a deployments operation 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.
    • listAtScopeAsync

      com.azure.core.http.rest.PagedFlux<DeploymentOperationInner> listAtScopeAsync(String scope, String deploymentName, Integer top)
      Gets all deployments operations for a deployment.
      Parameters:
      scope - The resource scope.
      deploymentName - The name of the deployment.
      top - The number of results to return.
      Returns:
      all deployments operations for a deployment 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.
    • listAtScopeAsync

      com.azure.core.http.rest.PagedFlux<DeploymentOperationInner> listAtScopeAsync(String scope, String deploymentName)
      Gets all deployments operations for a deployment.
      Parameters:
      scope - The resource scope.
      deploymentName - The name of the deployment.
      Returns:
      all deployments operations for a deployment 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.
    • listAtScope

      com.azure.core.http.rest.PagedIterable<DeploymentOperationInner> listAtScope(String scope, String deploymentName)
      Gets all deployments operations for a deployment.
      Parameters:
      scope - The resource scope.
      deploymentName - The name of the deployment.
      Returns:
      all deployments operations for a deployment 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.
    • listAtScope

      com.azure.core.http.rest.PagedIterable<DeploymentOperationInner> listAtScope(String scope, String deploymentName, Integer top, com.azure.core.util.Context context)
      Gets all deployments operations for a deployment.
      Parameters:
      scope - The resource scope.
      deploymentName - The name of the deployment.
      top - The number of results to return.
      context - The context to associate with this operation.
      Returns:
      all deployments operations for a deployment 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.
    • getAtTenantScopeWithResponseAsync

      Mono<com.azure.core.http.rest.Response<DeploymentOperationInner>> getAtTenantScopeWithResponseAsync(String deploymentName, String operationId)
      Gets a deployments operation.
      Parameters:
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      Returns:
      a deployments operation 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.
    • getAtTenantScopeAsync

      Mono<DeploymentOperationInner> getAtTenantScopeAsync(String deploymentName, String operationId)
      Gets a deployments operation.
      Parameters:
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      Returns:
      a deployments operation 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.
    • getAtTenantScope

      DeploymentOperationInner getAtTenantScope(String deploymentName, String operationId)
      Gets a deployments operation.
      Parameters:
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      Returns:
      a deployments 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.
    • getAtTenantScopeWithResponse

      com.azure.core.http.rest.Response<DeploymentOperationInner> getAtTenantScopeWithResponse(String deploymentName, String operationId, com.azure.core.util.Context context)
      Gets a deployments operation.
      Parameters:
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      context - The context to associate with this operation.
      Returns:
      a deployments operation 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.
    • listAtTenantScopeAsync

      com.azure.core.http.rest.PagedFlux<DeploymentOperationInner> listAtTenantScopeAsync(String deploymentName, Integer top)
      Gets all deployments operations for a deployment.
      Parameters:
      deploymentName - The name of the deployment.
      top - The number of results to return.
      Returns:
      all deployments operations for a deployment 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.
    • listAtTenantScopeAsync

      com.azure.core.http.rest.PagedFlux<DeploymentOperationInner> listAtTenantScopeAsync(String deploymentName)
      Gets all deployments operations for a deployment.
      Parameters:
      deploymentName - The name of the deployment.
      Returns:
      all deployments operations for a deployment 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.
    • listAtTenantScope

      com.azure.core.http.rest.PagedIterable<DeploymentOperationInner> listAtTenantScope(String deploymentName)
      Gets all deployments operations for a deployment.
      Parameters:
      deploymentName - The name of the deployment.
      Returns:
      all deployments operations for a deployment 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.
    • listAtTenantScope

      com.azure.core.http.rest.PagedIterable<DeploymentOperationInner> listAtTenantScope(String deploymentName, Integer top, com.azure.core.util.Context context)
      Gets all deployments operations for a deployment.
      Parameters:
      deploymentName - The name of the deployment.
      top - The number of results to return.
      context - The context to associate with this operation.
      Returns:
      all deployments operations for a deployment 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.
    • getAtManagementGroupScopeWithResponseAsync

      Mono<com.azure.core.http.rest.Response<DeploymentOperationInner>> getAtManagementGroupScopeWithResponseAsync(String groupId, String deploymentName, String operationId)
      Gets a deployments operation.
      Parameters:
      groupId - The management group ID.
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      Returns:
      a deployments operation 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.
    • getAtManagementGroupScopeAsync

      Mono<DeploymentOperationInner> getAtManagementGroupScopeAsync(String groupId, String deploymentName, String operationId)
      Gets a deployments operation.
      Parameters:
      groupId - The management group ID.
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      Returns:
      a deployments operation 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.
    • getAtManagementGroupScope

      DeploymentOperationInner getAtManagementGroupScope(String groupId, String deploymentName, String operationId)
      Gets a deployments operation.
      Parameters:
      groupId - The management group ID.
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      Returns:
      a deployments 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.
    • getAtManagementGroupScopeWithResponse

      com.azure.core.http.rest.Response<DeploymentOperationInner> getAtManagementGroupScopeWithResponse(String groupId, String deploymentName, String operationId, com.azure.core.util.Context context)
      Gets a deployments operation.
      Parameters:
      groupId - The management group ID.
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      context - The context to associate with this operation.
      Returns:
      a deployments operation 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.
    • listAtManagementGroupScopeAsync

      com.azure.core.http.rest.PagedFlux<DeploymentOperationInner> listAtManagementGroupScopeAsync(String groupId, String deploymentName, Integer top)
      Gets all deployments operations for a deployment.
      Parameters:
      groupId - The management group ID.
      deploymentName - The name of the deployment.
      top - The number of results to return.
      Returns:
      all deployments operations for a deployment 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.
    • listAtManagementGroupScopeAsync

      com.azure.core.http.rest.PagedFlux<DeploymentOperationInner> listAtManagementGroupScopeAsync(String groupId, String deploymentName)
      Gets all deployments operations for a deployment.
      Parameters:
      groupId - The management group ID.
      deploymentName - The name of the deployment.
      Returns:
      all deployments operations for a deployment 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.
    • listAtManagementGroupScope

      com.azure.core.http.rest.PagedIterable<DeploymentOperationInner> listAtManagementGroupScope(String groupId, String deploymentName)
      Gets all deployments operations for a deployment.
      Parameters:
      groupId - The management group ID.
      deploymentName - The name of the deployment.
      Returns:
      all deployments operations for a deployment 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.
    • listAtManagementGroupScope

      com.azure.core.http.rest.PagedIterable<DeploymentOperationInner> listAtManagementGroupScope(String groupId, String deploymentName, Integer top, com.azure.core.util.Context context)
      Gets all deployments operations for a deployment.
      Parameters:
      groupId - The management group ID.
      deploymentName - The name of the deployment.
      top - The number of results to return.
      context - The context to associate with this operation.
      Returns:
      all deployments operations for a deployment 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.
    • getAtSubscriptionScopeWithResponseAsync

      Mono<com.azure.core.http.rest.Response<DeploymentOperationInner>> getAtSubscriptionScopeWithResponseAsync(String deploymentName, String operationId)
      Gets a deployments operation.
      Parameters:
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      Returns:
      a deployments operation 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.
    • getAtSubscriptionScopeAsync

      Mono<DeploymentOperationInner> getAtSubscriptionScopeAsync(String deploymentName, String operationId)
      Gets a deployments operation.
      Parameters:
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      Returns:
      a deployments operation 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.
    • getAtSubscriptionScope

      DeploymentOperationInner getAtSubscriptionScope(String deploymentName, String operationId)
      Gets a deployments operation.
      Parameters:
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      Returns:
      a deployments 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.
    • getAtSubscriptionScopeWithResponse

      com.azure.core.http.rest.Response<DeploymentOperationInner> getAtSubscriptionScopeWithResponse(String deploymentName, String operationId, com.azure.core.util.Context context)
      Gets a deployments operation.
      Parameters:
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      context - The context to associate with this operation.
      Returns:
      a deployments operation 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.
    • listAtSubscriptionScopeAsync

      com.azure.core.http.rest.PagedFlux<DeploymentOperationInner> listAtSubscriptionScopeAsync(String deploymentName, Integer top)
      Gets all deployments operations for a deployment.
      Parameters:
      deploymentName - The name of the deployment.
      top - The number of results to return.
      Returns:
      all deployments operations for a deployment 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.
    • listAtSubscriptionScopeAsync

      com.azure.core.http.rest.PagedFlux<DeploymentOperationInner> listAtSubscriptionScopeAsync(String deploymentName)
      Gets all deployments operations for a deployment.
      Parameters:
      deploymentName - The name of the deployment.
      Returns:
      all deployments operations for a deployment 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.
    • listAtSubscriptionScope

      com.azure.core.http.rest.PagedIterable<DeploymentOperationInner> listAtSubscriptionScope(String deploymentName)
      Gets all deployments operations for a deployment.
      Parameters:
      deploymentName - The name of the deployment.
      Returns:
      all deployments operations for a deployment 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.
    • listAtSubscriptionScope

      com.azure.core.http.rest.PagedIterable<DeploymentOperationInner> listAtSubscriptionScope(String deploymentName, Integer top, com.azure.core.util.Context context)
      Gets all deployments operations for a deployment.
      Parameters:
      deploymentName - The name of the deployment.
      top - The number of results to return.
      context - The context to associate with this operation.
      Returns:
      all deployments operations for a deployment 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<DeploymentOperationInner>> getWithResponseAsync(String resourceGroupName, String deploymentName, String operationId)
      Gets a deployments operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      Returns:
      a deployments operation 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<DeploymentOperationInner> getAsync(String resourceGroupName, String deploymentName, String operationId)
      Gets a deployments operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      Returns:
      a deployments operation 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.
    • get

      DeploymentOperationInner get(String resourceGroupName, String deploymentName, String operationId)
      Gets a deployments operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      Returns:
      a deployments 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.
    • getWithResponse

      com.azure.core.http.rest.Response<DeploymentOperationInner> getWithResponse(String resourceGroupName, String deploymentName, String operationId, com.azure.core.util.Context context)
      Gets a deployments operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of the deployment.
      operationId - The ID of the operation to get.
      context - The context to associate with this operation.
      Returns:
      a deployments operation 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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<DeploymentOperationInner> listByResourceGroupAsync(String resourceGroupName, String deploymentName, Integer top)
      Gets all deployments operations for a deployment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of the deployment.
      top - The number of results to return.
      Returns:
      all deployments operations for a deployment 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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<DeploymentOperationInner> listByResourceGroupAsync(String resourceGroupName, String deploymentName)
      Gets all deployments operations for a deployment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of the deployment.
      Returns:
      all deployments operations for a deployment 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<DeploymentOperationInner> listByResourceGroup(String resourceGroupName, String deploymentName)
      Gets all deployments operations for a deployment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of the deployment.
      Returns:
      all deployments operations for a deployment 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<DeploymentOperationInner> listByResourceGroup(String resourceGroupName, String deploymentName, Integer top, com.azure.core.util.Context context)
      Gets all deployments operations for a deployment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of the deployment.
      top - The number of results to return.
      context - The context to associate with this operation.
      Returns:
      all deployments operations for a deployment 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.