tasks
Creates, updates, deletes, gets or lists a tasks
resource.
Overview
Name | tasks |
Type | Resource |
Id | azure.defender.tasks |
Fields
- vw_tasks
- tasks
Name | Datatype | Description |
---|---|---|
completed_at | text | field from the properties object |
last_polled_at | text | field from the properties object |
metadata | text | field from the properties object |
phase | text | field from the properties object |
provisioning_state | text | field from the properties object |
reason | text | field from the properties object |
resourceGroupName | text | field from the properties object |
started_at | text | field from the properties object |
state | text | field from the properties object |
subscriptionId | text | field from the properties object |
taskId | text | field from the properties object |
workspaceName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Task properties. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_by_workspace | SELECT | resourceGroupName, subscriptionId, taskId, workspaceName | Returns a task in the given workspace. |
SELECT
examples
Returns a task in the given workspace.
- vw_tasks
- tasks
SELECT
completed_at,
last_polled_at,
metadata,
phase,
provisioning_state,
reason,
resourceGroupName,
started_at,
state,
subscriptionId,
taskId,
workspaceName
FROM azure.defender.vw_tasks
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND taskId = '{{ taskId }}'
AND workspaceName = '{{ workspaceName }}';
SELECT
properties
FROM azure.defender.tasks
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND taskId = '{{ taskId }}'
AND workspaceName = '{{ workspaceName }}';