WorkflowTriggerHistoriesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:workflow_trigger_histories> attribute.
- Inheritance
-
builtins.objectWorkflowTriggerHistoriesOperations
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
|
Name of the resource group to which the resource belongs. Required. |
name
Required
|
Site name. Required. |
workflow_name
Required
|
The workflow name. Required. |
trigger_name
Required
|
The workflow trigger name. Required. |
history_name
Required
|
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 either None or the result of cls(response) |
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
|
Name of the resource group to which the resource belongs. Required. |
name
Required
|
Site name. Required. |
workflow_name
Required
|
The workflow name. Required. |
trigger_name
Required
|
The workflow trigger name. Required. |
history_name
Required
|
The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run. Required. |
Returns
Type | Description |
---|---|
WorkflowTriggerHistory or the result of cls(response) |
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) -> Iterable[WorkflowTriggerHistory]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
Name of the resource group to which the resource belongs. Required. |
name
Required
|
Site name. Required. |
workflow_name
Required
|
The workflow name. Required. |
trigger_name
Required
|
The workflow trigger name. Required. |
top
Required
|
The number of items to be included in the result. Default value is None. |
filter
Required
|
The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId. Default value is None. |
Returns
Type | Description |
---|---|
An iterator like instance of either WorkflowTriggerHistory or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.web.v2023_12_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\web\\v2023_12_01\\models\\__init__.py'>
Azure SDK for Python