workflow_trigger_histories
Creates, updates, deletes, gets or lists a workflow_trigger_histories
resource.
Overview
Name | workflow_trigger_histories |
Type | Resource |
Id | azure.app_service.workflow_trigger_histories |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Name | Datatype | Description |
---|---|---|
id | string | The resource id. |
name | string | Gets the workflow trigger history name. |
properties | object | Gets the workflow trigger history properties. |
type | string | Gets the workflow trigger history type. |
Name | Datatype | Description |
---|---|---|
id | string | The resource id. |
name | string | Gets the workflow trigger history name. |
properties | object | Gets the workflow trigger history properties. |
type | string | Gets the workflow trigger history type. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , name , workflowName , triggerName , historyName | Gets a workflow trigger history. | |
list | select | subscriptionId , resourceGroupName , name , workflowName , triggerName | $top , $filter | Gets a list of workflow trigger histories. |
resubmit | exec | subscriptionId , resourceGroupName , name , workflowName , triggerName , historyName | Resubmits a workflow run based on the trigger history. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
historyName | string | The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run. |
name | string | Site name. |
resourceGroupName | string | Name of the resource group to which the resource belongs. |
subscriptionId | string | Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). |
triggerName | string | The workflow trigger name. |
workflowName | string | The workflow name. |
$filter | string | The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId. |
$top | integer (int32) | The number of items to be included in the result. |
SELECT
examples
- get
- list
Gets a workflow trigger history.
SELECT
id,
name,
properties,
type
FROM azure.app_service.workflow_trigger_histories
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND name = '{{ name }}' -- required
AND workflowName = '{{ workflowName }}' -- required
AND triggerName = '{{ triggerName }}' -- required
AND historyName = '{{ historyName }}' -- required
;
Gets a list of workflow trigger histories.
SELECT
id,
name,
properties,
type
FROM azure.app_service.workflow_trigger_histories
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND name = '{{ name }}' -- required
AND workflowName = '{{ workflowName }}' -- required
AND triggerName = '{{ triggerName }}' -- required
AND $top = '{{ $top }}'
AND $filter = '{{ $filter }}'
;
Lifecycle Methods
- resubmit
Resubmits a workflow run based on the trigger history.
EXEC azure.app_service.workflow_trigger_histories.resubmit
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@name='{{ name }}' --required,
@workflowName='{{ workflowName }}' --required,
@triggerName='{{ triggerName }}' --required,
@historyName='{{ historyName }}' --required
;