approval
Creates, updates, deletes, gets or lists an approval resource.
Overview
| Name | approval |
| Type | Resource |
| Id | azure.purview_workflow.approval |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
approve | exec | task_id, endpoint | Approve an approval. | |
reject | exec | task_id, endpoint | Reject an approval. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: ) |
task_id | string | The task id. Required. |
Lifecycle Methods
- approve
- reject
Approve an approval.
EXEC azure.purview_workflow.approval.approve
@task_id='{{ task_id }}' --required,
@endpoint='{{ endpoint }}' --required
;
Reject an approval.
EXEC azure.purview_workflow.approval.reject
@task_id='{{ task_id }}' --required,
@endpoint='{{ endpoint }}' --required
;