你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WorkflowRuns interface

Interface representing a WorkflowRuns.

Methods

cancel(string, string, string, string, WorkflowRunsCancelOptionalParams)

Cancels a workflow run.

get(string, string, string, string, WorkflowRunsGetOptionalParams)

Gets a workflow run.

list(string, string, string, WorkflowRunsListOptionalParams)

Gets a list of workflow runs.

Method Details

cancel(string, string, string, string, WorkflowRunsCancelOptionalParams)

Cancels a workflow run.

function cancel(resourceGroupName: string, name: string, workflowName: string, runName: string, options?: WorkflowRunsCancelOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

workflowName

string

The workflow name.

runName

string

The workflow run name.

options
WorkflowRunsCancelOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, WorkflowRunsGetOptionalParams)

Gets a workflow run.

function get(resourceGroupName: string, name: string, workflowName: string, runName: string, options?: WorkflowRunsGetOptionalParams): Promise<WorkflowRun>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

workflowName

string

The workflow name.

runName

string

The workflow run name.

options
WorkflowRunsGetOptionalParams

The options parameters.

Returns

Promise<WorkflowRun>

list(string, string, string, WorkflowRunsListOptionalParams)

Gets a list of workflow runs.

function list(resourceGroupName: string, name: string, workflowName: string, options?: WorkflowRunsListOptionalParams): PagedAsyncIterableIterator<WorkflowRun, WorkflowRun[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

workflowName

string

The workflow name.

options
WorkflowRunsListOptionalParams

The options parameters.

Returns