Share via


DataBoxManagementClientExtensions.MitigateAsync Method

Definition

Request to mitigate for a given job

public static System.Threading.Tasks.Task MitigateAsync (this Microsoft.Azure.Management.DataBox.IDataBoxManagementClient operations, string jobName, string resourceGroupName, Microsoft.Azure.Management.DataBox.Models.CustomerResolutionCode customerResolutionCode, System.Threading.CancellationToken cancellationToken = default);
static member MitigateAsync : Microsoft.Azure.Management.DataBox.IDataBoxManagementClient * string * string * Microsoft.Azure.Management.DataBox.Models.CustomerResolutionCode * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function MitigateAsync (operations As IDataBoxManagementClient, jobName As String, resourceGroupName As String, customerResolutionCode As CustomerResolutionCode, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IDataBoxManagementClient

The operations group for this extension method.

jobName
String

The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

resourceGroupName
String

The Resource Group Name

customerResolutionCode
CustomerResolutionCode

Resolution code for the job. Possible values include: 'None', 'MoveToCleanUpDevice', 'Resume'

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to