JobsOperations interface

Interface representing a Jobs operations.

Properties

beginCancel
beginCancelAndWait
beginDelete
beginDeleteAndWait
cancel

Cancels a Job (asynchronous).

createOrUpdate

Creates and executes a Job. For update case, the Tags in the definition passed in will replace Tags in the existing job.

delete

Deletes a Job (asynchronous).

get

Gets a Job by name/id.

list

Lists Jobs in the workspace.

Property Details

beginCancel

Warning

This API is now deprecated.

use cancel instead

beginCancel: (resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginCancelAndWait

Warning

This API is now deprecated.

use cancel instead

beginCancelAndWait: (resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams) => Promise<void>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, workspaceName: string, id: string, options?: JobsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, workspaceName: string, id: string, options?: JobsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, workspaceName: string, id: string, options?: JobsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, workspaceName: string, id: string, options?: JobsDeleteOptionalParams) => Promise<void>

cancel

Cancels a Job (asynchronous).

cancel: (resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams) => PollerLike<OperationState<void>, void>

createOrUpdate

Creates and executes a Job. For update case, the Tags in the definition passed in will replace Tags in the existing job.

createOrUpdate: (resourceGroupName: string, workspaceName: string, id: string, body: JobBase, options?: JobsCreateOrUpdateOptionalParams) => Promise<JobBase>

Property Value

(resourceGroupName: string, workspaceName: string, id: string, body: JobBase, options?: JobsCreateOrUpdateOptionalParams) => Promise<JobBase>

delete

Deletes a Job (asynchronous).

delete: (resourceGroupName: string, workspaceName: string, id: string, options?: JobsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, workspaceName: string, id: string, options?: JobsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets a Job by name/id.

get: (resourceGroupName: string, workspaceName: string, id: string, options?: JobsGetOptionalParams) => Promise<JobBase>

Property Value

(resourceGroupName: string, workspaceName: string, id: string, options?: JobsGetOptionalParams) => Promise<JobBase>

list

Lists Jobs in the workspace.

list: (resourceGroupName: string, workspaceName: string, options?: JobsListOptionalParams) => PagedAsyncIterableIterator<JobBase, JobBase[], PageSettings>

Property Value

(resourceGroupName: string, workspaceName: string, options?: JobsListOptionalParams) => PagedAsyncIterableIterator<JobBase, JobBase[], PageSettings>