WorkflowsOperations Class
WorkflowsOperations async 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.objectWorkflowsOperations
Constructor
WorkflowsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
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.
async abort(resource_group_name: str, storage_sync_service_name: str, workflow_id: str, **kwargs) -> None
Parameters
- 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.
async get(resource_group_name: str, storage_sync_service_name: str, workflow_id: str, **kwargs) -> azure.mgmt.storagesync.models._models_py3.Workflow
Parameters
- 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) -> AsyncIterable[azure.mgmt.storagesync.models._models_py3.WorkflowArray]
Parameters
- 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'>
Feedback
Submit and view feedback for