advanced_threat_protections
Creates, updates, deletes, gets or lists an advanced_threat_protections
resource.
Overview
Name | advanced_threat_protections |
Type | Resource |
Id | azure.security.advanced_threat_protections |
Fields
The following fields are returned by SELECT
queries:
- get
Successful request to get Advanced Threat Protection settings.
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 | The Advanced Threat Protection settings. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
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 | settingName | api-version , resourceId | Gets the Advanced Threat Protection settings for the specified resource. |
create | insert | settingName | api-version , resourceId | Creates or updates the Advanced Threat Protection settings on a specified resource. |
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 |
---|---|---|
settingName | string | Advanced Threat Protection setting name. |
api-version | string | API version for the operation |
resourceId | string | Optional filter for listing the assignments of a specific resource. |
SELECT
examples
- get
Gets the Advanced Threat Protection settings for the specified resource.
SELECT
id,
name,
properties,
systemData,
type
FROM azure.security.advanced_threat_protections
WHERE settingName = '{{ settingName }}' -- required
AND api-version = '{{ api-version }}'
AND resourceId = '{{ resourceId }}'
;
INSERT
examples
- create
- Manifest
Creates or updates the Advanced Threat Protection settings on a specified resource.
INSERT INTO azure.security.advanced_threat_protections (
data__properties,
settingName,
api-version,
resourceId
)
SELECT
'{{ properties }}',
'{{ settingName }}',
'{{ api-version }}',
'{{ resourceId }}'
RETURNING
id,
name,
properties,
systemData,
type
;
# Description fields are for documentation purposes
- name: advanced_threat_protections
props:
- name: settingName
value: string
description: Required parameter for the advanced_threat_protections resource.
- name: properties
value: object
description: |
The Advanced Threat Protection settings.
- name: api-version
value: string
description: API version for the operation
- name: resourceId
value: string
description: Optional filter for listing the assignments of a specific resource.