WorkflowTriggerHistoriesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

WebSiteManagementClient's

<xref:workflow_trigger_histories> attribute.

Constructor

WorkflowTriggerHistoriesOperations(*args, **kwargs)

Methods

begin_resubmit

Resubmits a workflow run based on the trigger history.

get

Gets a workflow trigger history.

list

Gets a list of workflow trigger histories.

begin_resubmit

Resubmits a workflow run based on the trigger history.

begin_resubmit(resource_group_name: str, name: str, workflow_name: str, trigger_name: str, history_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

name
Required
str

Site name. Required.

workflow_name
Required
str

The workflow name. Required.

trigger_name
Required
str

The workflow trigger name. Required.

history_name
Required
str

The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

get

Gets a workflow trigger history.

get(resource_group_name: str, name: str, workflow_name: str, trigger_name: str, history_name: str, **kwargs: Any) -> WorkflowTriggerHistory

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

name
Required
str

Site name. Required.

workflow_name
Required
str

The workflow name. Required.

trigger_name
Required
str

The workflow trigger name. Required.

history_name
Required
str

The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run. Required.

Returns

Type Description

WorkflowTriggerHistory. The WorkflowTriggerHistory is compatible with MutableMapping

Exceptions

Type Description

list

Gets a list of workflow trigger histories.

list(resource_group_name: str, name: str, workflow_name: str, trigger_name: str, *, top: int | None = None, filter: str | None = None, **kwargs: Any) -> ItemPaged[WorkflowTriggerHistory]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

name
Required
str

Site name. Required.

workflow_name
Required
str

The workflow name. Required.

trigger_name
Required
str

The workflow trigger name. Required.

Keyword-Only Parameters

Name Description
top
int

The number of items to be included in the result. Default value is None.

Default value: None
filter
str

The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId. Default value is None.

Default value: None

Returns

Type Description

An iterator like instance of WorkflowTriggerHistory

Exceptions

Type Description