Skip to main content

tasks

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

Overview

Nametasks
TypeResource
Idazure.security.tasks

Fields

NameDatatypeDescription
idstringResource Id
namestringResource name
propertiesobjectDescribes properties of a task.
typestringResource type

Methods

NameAccessible byRequired ParamsDescription
listSELECTsubscriptionIdRecommended tasks that will help improve the security of the subscription proactively
list_by_home_regionSELECTascLocation, subscriptionIdRecommended tasks that will help improve the security of the subscription proactively
list_by_resource_groupSELECTascLocation, resourceGroupName, subscriptionIdRecommended tasks that will help improve the security of the subscription proactively

SELECT examples

Recommended tasks that will help improve the security of the subscription proactively

SELECT
id,
name,
properties,
type
FROM azure.security.tasks
WHERE subscriptionId = '{{ subscriptionId }}';