Skip to main content

managed_instance_advanced_threat_protection_settings_by_instances

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

Overview

Namemanaged_instance_advanced_threat_protection_settings_by_instances
TypeResource
Idazure.sql.managed_instance_advanced_threat_protection_settings_by_instances

Fields

The following fields are returned by SELECT queries:

Successfully retrieved the managed instance Advanced Threat Protection states.

NameDatatypeDescription
propertiesobjectResource properties.
systemDataobjectSystemData of AdvancedThreatProtectionResource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, managedInstanceName, subscriptionIdGet the managed instance's Advanced Threat Protection settings.

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 instance's Advanced Threat Protection settings.

SELECT
properties,
systemData
FROM azure.sql.managed_instance_advanced_threat_protection_settings_by_instances
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND managedInstanceName = '{{ managedInstanceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;