WorkflowTriggersOperations Class

WorkflowTriggersOperations operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
WorkflowTriggersOperations

Constructor

WorkflowTriggersOperations(client, config, serializer, deserializer)

Parameters

Name Description
client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

Name Description
models

Alias to model classes used in this operation group.

Methods

get

Gets a workflow trigger.

get_schema_json

Get the trigger schema as JSON.

list

Gets a list of workflow triggers.

list_callback_url

Get the callback URL for a workflow trigger.

reset

Resets a workflow trigger.

run

Runs a workflow trigger.

set_state

Sets the state of a workflow trigger.

get

Gets a workflow trigger.

get(resource_group_name: str, workflow_name: str, trigger_name: str, **kwargs: Any) -> WorkflowTrigger

Parameters

Name Description
resource_group_name
Required
str

The resource group name.

workflow_name
Required
str

The workflow name.

trigger_name
Required
str

The workflow trigger name.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

WorkflowTrigger, or the result of cls(response)

Exceptions

Type Description

get_schema_json

Get the trigger schema as JSON.

get_schema_json(resource_group_name: str, workflow_name: str, trigger_name: str, **kwargs: Any) -> JsonSchema

Parameters

Name Description
resource_group_name
Required
str

The resource group name.

workflow_name
Required
str

The workflow name.

trigger_name
Required
str

The workflow trigger name.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

JsonSchema, or the result of cls(response)

Exceptions

Type Description

list

Gets a list of workflow triggers.

list(resource_group_name: str, workflow_name: str, top: int | None = None, filter: str | None = None, **kwargs: Any) -> Iterable[WorkflowTriggerListResult]

Parameters

Name Description
resource_group_name
Required
str

The resource group name.

workflow_name
Required
str

The workflow name.

top
Required
int

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

filter
Required
str

The filter to apply on the operation. Default value is None.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

An iterator like instance of either WorkflowTriggerListResult or the result of cls(response)

Exceptions

Type Description

list_callback_url

Get the callback URL for a workflow trigger.

list_callback_url(resource_group_name: str, workflow_name: str, trigger_name: str, **kwargs: Any) -> WorkflowTriggerCallbackUrl

Parameters

Name Description
resource_group_name
Required
str

The resource group name.

workflow_name
Required
str

The workflow name.

trigger_name
Required
str

The workflow trigger name.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

WorkflowTriggerCallbackUrl, or the result of cls(response)

Exceptions

Type Description

reset

Resets a workflow trigger.

reset(resource_group_name: str, workflow_name: str, trigger_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

The resource group name.

workflow_name
Required
str

The workflow name.

trigger_name
Required
str

The workflow trigger name.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

None, or the result of cls(response)

Exceptions

Type Description

run

Runs a workflow trigger.

run(resource_group_name: str, workflow_name: str, trigger_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

The resource group name.

workflow_name
Required
str

The workflow name.

trigger_name
Required
str

The workflow trigger name.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

None, or the result of cls(response)

Exceptions

Type Description

set_state

Sets the state of a workflow trigger.

set_state(resource_group_name: str, workflow_name: str, trigger_name: str, set_state: SetTriggerStateActionDefinition, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

The resource group name.

workflow_name
Required
str

The workflow name.

trigger_name
Required
str

The workflow trigger name.

set_state
Required

The workflow trigger state.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

None, or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.logic.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\logic\\models\\__init__.py'>