Skip to main content

advanced_threat_protection_settings

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

Overview

Nameadvanced_threat_protection_settings
TypeResource
Idazure.mysql.advanced_threat_protection_settings

Fields

NameDatatypeDescription
advancedThreatProtectionNametextfield from the properties object
creation_timetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
serverNametextfield from the properties object
statetextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTadvancedThreatProtectionName, resourceGroupName, serverName, subscriptionIdGet a server's Advanced Threat Protection state
listSELECTresourceGroupName, serverName, subscriptionIdGets a list of server's Advanced Threat Protection states.
updateUPDATEadvancedThreatProtectionName, resourceGroupName, serverName, subscriptionIdUpdates a server's Advanced Threat Protection state.
update_putEXECadvancedThreatProtectionName, resourceGroupName, serverName, subscriptionIdUpdates a server's Advanced Threat Protection state.

SELECT examples

Gets a list of server's Advanced Threat Protection states.

SELECT
advancedThreatProtectionName,
creation_time,
provisioning_state,
resourceGroupName,
serverName,
state,
subscriptionId
FROM azure.mysql.vw_advanced_threat_protection_settings
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';

UPDATE example

Updates a advanced_threat_protection_settings resource.

/*+ update */
UPDATE azure.mysql.advanced_threat_protection_settings
SET
properties = '{{ properties }}'
WHERE
advancedThreatProtectionName = '{{ advancedThreatProtectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';