Share via


JobsOperationsExtensions.BeginTerminateAsync Method

Definition

Terminates a job.

public static System.Threading.Tasks.Task BeginTerminateAsync (this Microsoft.Azure.Management.BatchAI.IJobsOperations operations, string resourceGroupName, string workspaceName, string experimentName, string jobName, System.Threading.CancellationToken cancellationToken = default);
static member BeginTerminateAsync : Microsoft.Azure.Management.BatchAI.IJobsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginTerminateAsync (operations As IJobsOperations, resourceGroupName As String, workspaceName As String, experimentName As String, jobName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IJobsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

workspaceName
String

The name of the workspace. Workspace names can only contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.

experimentName
String

The name of the experiment. Experiment names can only contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.

jobName
String

The name of the job within the specified resource group. Job names can only contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to