Skip to main content

tasks_subscription_level_tasks

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

Overview

Nametasks_subscription_level_tasks
TypeResource
Idazure.security.tasks_subscription_level_tasks

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring (arm-id)Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
propertiesobjectDescribes properties of a task.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, ascLocation, taskNameapi-versionRecommended tasks that will help improve the security of the subscription proactively

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.

NameDatatypeDescription
ascLocationstringThe location where ASC stores the data of the subscription. can be retrieved from Get locations
subscriptionIdstringAzure subscription ID
taskNamestringName of the task object, will be a GUID
api-versionstringAPI version for the operation

SELECT examples

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

SELECT
id,
name,
properties,
systemData,
type
FROM azure.security.tasks_subscription_level_tasks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND ascLocation = '{{ ascLocation }}' -- required
AND taskName = '{{ taskName }}' -- required
AND api-version = '{{ api-version }}'
;