Skip to main content

tasks

Creates, updates, deletes, gets or lists a tasks resource.

Overview

Nametasks
TypeResource
Idazure.defender.tasks

Fields

NameDatatypeDescription
completed_attextfield from the properties object
last_polled_attextfield from the properties object
metadatatextfield from the properties object
phasetextfield from the properties object
provisioning_statetextfield from the properties object
reasontextfield from the properties object
resourceGroupNametextfield from the properties object
started_attextfield from the properties object
statetextfield from the properties object
subscriptionIdtextfield from the properties object
taskIdtextfield from the properties object
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
get_by_workspaceSELECTresourceGroupName, subscriptionId, taskId, workspaceNameReturns a task in the given workspace.

SELECT examples

Returns a task in the given workspace.

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 }}';