tasks_subscription_level_tasks
Creates, updates, deletes, gets or lists a tasks_subscription_level_tasks
resource.
Overview
Name | tasks_subscription_level_tasks |
Type | Resource |
Id | azure.security.tasks_subscription_level_tasks |
Fields
The following fields are returned by SELECT
queries:
- get
Name | Datatype | Description |
---|---|---|
id | string (arm-id) | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | string | The name of the resource |
properties | object | Describes properties of a task. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , ascLocation , taskName | api-version | Recommended 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.
Name | Datatype | Description |
---|---|---|
ascLocation | string | The location where ASC stores the data of the subscription. can be retrieved from Get locations |
subscriptionId | string | Azure subscription ID |
taskName | string | Name of the task object, will be a GUID |
api-version | string | API version for the operation |
SELECT
examples
- get
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 }}'
;