次の方法で共有


DataBoxJobResource.Cancel メソッド

定義

CancelJob。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/cancel
  • 操作IdJobs_Cancel
public virtual Azure.Response Cancel (Azure.ResourceManager.DataBox.Models.DataBoxJobCancellationReason cancellationReason, System.Threading.CancellationToken cancellationToken = default);
abstract member Cancel : Azure.ResourceManager.DataBox.Models.DataBoxJobCancellationReason * System.Threading.CancellationToken -> Azure.Response
override this.Cancel : Azure.ResourceManager.DataBox.Models.DataBoxJobCancellationReason * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Cancel (cancellationReason As DataBoxJobCancellationReason, Optional cancellationToken As CancellationToken = Nothing) As Response

パラメーター

cancellationReason
DataBoxJobCancellationReason

取り消しの理由。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

cancellationReason が null です。

適用対象