tasks
Creates, updates, deletes, gets or lists a tasks resource.
Overview
| Name | tasks |
| Type | Resource |
| Id | azure.defender_easm_dataplane.tasks |
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 |
|---|---|---|---|---|
get_raw | exec | task_id, subscription_id, resource_group_name, workspace_name, endpoint | Retrieve a task by taskId. Retrieve a task by taskId. | |
list_raw | exec | subscription_id, resource_group_name, workspace_name, endpoint | filter, skip | Retrieve a list of tasks for the provided search parameters. Retrieve a list of tasks for the provided search parameters. |
cancel | exec | task_id, subscription_id, resource_group_name, workspace_name, endpoint | Cancel a task by taskId. Cancel a task by taskId. |
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: ) |
resource_group_name | string | |
subscription_id | string | |
task_id | string | The unique identifier for the task. Required. |
workspace_name | string | |
filter | string | An expression on the resource type that selects the resources to be returned. Default value is None. |
skip | integer | An offset into the collection of the first item to be returned. Default value is 0. |
Lifecycle Methods
- get_raw
- list_raw
- cancel
Retrieve a task by taskId. Retrieve a task by taskId.
EXEC azure.defender_easm_dataplane.tasks.get_raw
@task_id='{{ task_id }}' --required,
@subscription_id='{{ subscription_id }}' --required,
@resource_group_name='{{ resource_group_name }}' --required,
@workspace_name='{{ workspace_name }}' --required,
@endpoint='{{ endpoint }}' --required
;
Retrieve a list of tasks for the provided search parameters. Retrieve a list of tasks for the provided search parameters.
EXEC azure.defender_easm_dataplane.tasks.list_raw
@subscription_id='{{ subscription_id }}' --required,
@resource_group_name='{{ resource_group_name }}' --required,
@workspace_name='{{ workspace_name }}' --required,
@endpoint='{{ endpoint }}' --required,
@filter='{{ filter }}',
@skip='{{ skip }}'
;
Cancel a task by taskId. Cancel a task by taskId.
EXEC azure.defender_easm_dataplane.tasks.cancel
@task_id='{{ task_id }}' --required,
@subscription_id='{{ subscription_id }}' --required,
@resource_group_name='{{ resource_group_name }}' --required,
@workspace_name='{{ workspace_name }}' --required,
@endpoint='{{ endpoint }}' --required
;