WorkflowsOperations Class

WorkflowsOperations 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
WorkflowsOperations

Constructor

WorkflowsOperations(client, config, serializer, deserializer)

Parameters

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

models

Alias to model classes used in this operation group.

Methods

abort

Abort the given workflow.

get

Get Workflows resource.

list_by_storage_sync_service

Get a Workflow List.

abort

Abort the given workflow.

abort(resource_group_name: str, storage_sync_service_name: str, workflow_id: str, **kwargs: Any) -> None

Parameters

resource_group_name
str
Required

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

storage_sync_service_name
str
Required

Name of Storage Sync Service resource.

workflow_id
str
Required

workflow Id.

cls
callable

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

Returns

None, or the result of cls(response)

Return type

Exceptions

get

Get Workflows resource.

get(resource_group_name: str, storage_sync_service_name: str, workflow_id: str, **kwargs: Any) -> _models.Workflow

Parameters

resource_group_name
str
Required

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

storage_sync_service_name
str
Required

Name of Storage Sync Service resource.

workflow_id
str
Required

workflow Id.

cls
callable

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

Returns

Workflow, or the result of cls(response)

Return type

Exceptions

list_by_storage_sync_service

Get a Workflow List.

list_by_storage_sync_service(resource_group_name: str, storage_sync_service_name: str, **kwargs: Any) -> Iterable[_models.WorkflowArray]

Parameters

resource_group_name
str
Required

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

storage_sync_service_name
str
Required

Name of Storage Sync Service resource.

cls
callable

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

Returns

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

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.storagesync.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\storagesync\\models\\__init__.py'>