managed_server_security_alert_policies_by_instances
Creates, updates, deletes, gets or lists a managed_server_security_alert_policies_by_instances resource.
Overview
| Name | managed_server_security_alert_policies_by_instances |
| Type | Resource |
| Id | azure.sql.managed_server_security_alert_policies_by_instances |
Fields
The following fields are returned by SELECT queries:
- list
Successfully retrieved the managed server threat detection policies.
| Name | Datatype | Description |
|---|---|---|
properties | object | Resource properties. |
systemData | object | SystemData of SecurityAlertPolicyResource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | resourceGroupName, managedInstanceName, subscriptionId | Get the managed server's threat detection policies. |
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 |
|---|---|---|
managedInstanceName | string | The name of the managed instance. |
resourceGroupName | string | The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
subscriptionId | string | The subscription ID that identifies an Azure subscription. |
SELECT examples
- list
Get the managed server's threat detection policies.
SELECT
properties,
systemData
FROM azure.sql.managed_server_security_alert_policies_by_instances
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND managedInstanceName = '{{ managedInstanceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;