tasks
Creates, updates, deletes, gets or lists a tasks
resource.
Overview
Name | tasks |
Type | Resource |
Id | azure.security.tasks |
Fields
The following fields are returned by SELECT
queries:
- list_by_resource_group
- list_by_home_region
- list
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" |
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" |
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 |
---|---|---|---|---|
list_by_resource_group | select | subscriptionId , resourceGroupName , ascLocation | api-version , $filter | Recommended tasks that will help improve the security of the subscription proactively |
list_by_home_region | select | subscriptionId , ascLocation | api-version , $filter | Recommended tasks that will help improve the security of the subscription proactively |
list | select | subscriptionId | api-version , $filter | 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 |
resourceGroupName | string | The name of the resource group within the user's subscription. The name is case insensitive. |
subscriptionId | string | Azure subscription ID |
$filter | string | OData filter. Optional. |
api-version | string | API version for the operation |
SELECT
examples
- list_by_resource_group
- list_by_home_region
- list
Recommended tasks that will help improve the security of the subscription proactively
SELECT
id,
name,
properties,
systemData,
type
FROM azure.security.tasks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND ascLocation = '{{ ascLocation }}' -- required
AND api-version = '{{ api-version }}'
AND $filter = '{{ $filter }}'
;
Recommended tasks that will help improve the security of the subscription proactively
SELECT
id,
name,
properties,
systemData,
type
FROM azure.security.tasks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND ascLocation = '{{ ascLocation }}' -- required
AND api-version = '{{ api-version }}'
AND $filter = '{{ $filter }}'
;
Recommended tasks that will help improve the security of the subscription proactively
SELECT
id,
name,
properties,
systemData,
type
FROM azure.security.tasks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND api-version = '{{ api-version }}'
AND $filter = '{{ $filter }}'
;