tasks
Creates, updates, deletes, gets or lists a tasks resource.
Overview
| Name | tasks |
| Type | Resource |
| Id | azure.defender.tasks |
Fields
The following fields are returned by SELECT queries:
- get_by_workspace
Task details.
| Name | Datatype | Description |
|---|---|---|
properties | object | Task properties |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_by_workspace | select | resourceGroupName, subscriptionId, workspaceName, taskId | Returns a task in the given workspace. |
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 |
|---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
taskId | string | The id of the Task. |
workspaceName | string | The name of the Workspace. |
SELECT examples
- get_by_workspace
Returns a task in the given workspace.
SELECT
properties
FROM azure.defender.tasks
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND taskId = '{{ taskId }}' -- required
;