Skip to main content

settings

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

Overview

Namesettings
TypeResource
Idazure.security.settings

Fields

NameDatatypeDescription
idstringResource Id
namestringResource name
kindstringthe kind of the settings string
typestringResource type

Methods

NameAccessible byRequired ParamsDescription
getSELECTsettingName, subscriptionIdSettings of different configurations in Microsoft Defender for Cloud
listSELECTsubscriptionIdSettings about different configurations in Microsoft Defender for Cloud
updateREPLACEsettingName, subscriptionId, data__kindupdating settings about different configurations in Microsoft Defender for Cloud

SELECT examples

Settings about different configurations in Microsoft Defender for Cloud

SELECT
id,
name,
kind,
type
FROM azure.security.settings
WHERE subscriptionId = '{{ subscriptionId }}';

REPLACE example

Replaces all fields in the specified settings resource.

/*+ update */
REPLACE azure.security.settings
SET
kind = '{{ kind }}'
WHERE
settingName = '{{ settingName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND data__kind = '{{ data__kind }}';