JobsInner.deleteAsync Method

Definition

Overloads

deleteAsync(String resourceGroupName, String workspaceName, String experimentName, String jobName)

Deletes a Job.

deleteAsync(String resourceGroupName, String workspaceName, String experimentName, String jobName, final ServiceCallback<Void> serviceCallback)

Deletes a Job.

deleteAsync(String resourceGroupName, String workspaceName, String experimentName, String jobName)

Deletes a Job.

public Observable<Void> deleteAsync(String resourceGroupName, String workspaceName, String experimentName, String jobName)

Parameters

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.

Returns

Observable<Void>

the observable for the request

Exceptions

IllegalArgumentException

thrown if parameters fail the validation

deleteAsync(String resourceGroupName, String workspaceName, String experimentName, String jobName, final ServiceCallback<Void> serviceCallback)

Deletes a Job.

public ServiceFuture<Void> deleteAsync(String resourceGroupName, String workspaceName, String experimentName, String jobName, final ServiceCallback<Void> serviceCallback)

Parameters

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.

serviceCallback
final ServiceCallback<Void>

the async ServiceCallback to handle successful and failed responses.

Returns

ServiceFuture<Void>

the ServiceFuture object

Exceptions

IllegalArgumentException

thrown if parameters fail the validation

Applies to