Skip to main content

managed_server_security_alert_policies_by_instances

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

Overview

Namemanaged_server_security_alert_policies_by_instances
TypeResource
Idazure.sql.managed_server_security_alert_policies_by_instances

Fields

The following fields are returned by SELECT queries:

Successfully retrieved the managed server threat detection policies.

NameDatatypeDescription
propertiesobjectResource properties.
systemDataobjectSystemData of SecurityAlertPolicyResource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, managedInstanceName, subscriptionIdGet 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.

NameDatatypeDescription
managedInstanceNamestringThe name of the managed instance.
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
subscriptionIdstringThe subscription ID that identifies an Azure subscription.

SELECT examples

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
;