WorkflowTriggers interface

Interface representing a WorkflowTriggers.

Methods

get(string, string, string, WorkflowTriggersGetOptionalParams)

Gets a workflow trigger.

getSchemaJson(string, string, string, WorkflowTriggersGetSchemaJsonOptionalParams)

Get the trigger schema as JSON.

list(string, string, WorkflowTriggersListOptionalParams)

Gets a list of workflow triggers.

listCallbackUrl(string, string, string, WorkflowTriggersListCallbackUrlOptionalParams)

Get the callback URL for a workflow trigger.

reset(string, string, string, WorkflowTriggersResetOptionalParams)

Resets a workflow trigger.

run(string, string, string, WorkflowTriggersRunOptionalParams)

Runs a workflow trigger.

setState(string, string, string, SetTriggerStateActionDefinition, WorkflowTriggersSetStateOptionalParams)

Sets the state of a workflow trigger.

Method Details

get(string, string, string, WorkflowTriggersGetOptionalParams)

Gets a workflow trigger.

function get(resourceGroupName: string, workflowName: string, triggerName: string, options?: WorkflowTriggersGetOptionalParams): Promise<WorkflowTrigger>

Parameters

resourceGroupName

string

The resource group name.

workflowName

string

The workflow name.

triggerName

string

The workflow trigger name.

options
WorkflowTriggersGetOptionalParams

The options parameters.

Returns

Promise<WorkflowTrigger>

getSchemaJson(string, string, string, WorkflowTriggersGetSchemaJsonOptionalParams)

Get the trigger schema as JSON.

function getSchemaJson(resourceGroupName: string, workflowName: string, triggerName: string, options?: WorkflowTriggersGetSchemaJsonOptionalParams): Promise<JsonSchema>

Parameters

resourceGroupName

string

The resource group name.

workflowName

string

The workflow name.

triggerName

string

The workflow trigger name.

options
WorkflowTriggersGetSchemaJsonOptionalParams

The options parameters.

Returns

Promise<JsonSchema>

list(string, string, WorkflowTriggersListOptionalParams)

Gets a list of workflow triggers.

function list(resourceGroupName: string, workflowName: string, options?: WorkflowTriggersListOptionalParams): PagedAsyncIterableIterator<WorkflowTrigger, WorkflowTrigger[], PageSettings>

Parameters

resourceGroupName

string

The resource group name.

workflowName

string

The workflow name.

options
WorkflowTriggersListOptionalParams

The options parameters.

Returns

listCallbackUrl(string, string, string, WorkflowTriggersListCallbackUrlOptionalParams)

Get the callback URL for a workflow trigger.

function listCallbackUrl(resourceGroupName: string, workflowName: string, triggerName: string, options?: WorkflowTriggersListCallbackUrlOptionalParams): Promise<WorkflowTriggerCallbackUrl>

Parameters

resourceGroupName

string

The resource group name.

workflowName

string

The workflow name.

triggerName

string

The workflow trigger name.

options
WorkflowTriggersListCallbackUrlOptionalParams

The options parameters.

Returns

reset(string, string, string, WorkflowTriggersResetOptionalParams)

Resets a workflow trigger.

function reset(resourceGroupName: string, workflowName: string, triggerName: string, options?: WorkflowTriggersResetOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The resource group name.

workflowName

string

The workflow name.

triggerName

string

The workflow trigger name.

options
WorkflowTriggersResetOptionalParams

The options parameters.

Returns

Promise<void>

run(string, string, string, WorkflowTriggersRunOptionalParams)

Runs a workflow trigger.

function run(resourceGroupName: string, workflowName: string, triggerName: string, options?: WorkflowTriggersRunOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The resource group name.

workflowName

string

The workflow name.

triggerName

string

The workflow trigger name.

options
WorkflowTriggersRunOptionalParams

The options parameters.

Returns

Promise<void>

setState(string, string, string, SetTriggerStateActionDefinition, WorkflowTriggersSetStateOptionalParams)

Sets the state of a workflow trigger.

function setState(resourceGroupName: string, workflowName: string, triggerName: string, setState: SetTriggerStateActionDefinition, options?: WorkflowTriggersSetStateOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The resource group name.

workflowName

string

The workflow name.

triggerName

string

The workflow trigger name.

setState
SetTriggerStateActionDefinition

The workflow trigger state.

options
WorkflowTriggersSetStateOptionalParams

The options parameters.

Returns

Promise<void>