Microsoft.Security settings

The settings resource type can be deployed to: Subscriptions.

To learn about subscription deployments, see Bicep or ARM template

Template format

To create a Microsoft.Security/settings resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.Security/settings@2021-07-01' = {
  name: 'string'
  kind: 'string'
  // For remaining properties, see settings objects
}

settings objects

Set the kind property to specify the type of object.

For AlertSyncSettings, use:

  kind: 'AlertSyncSettings'
  properties: {
    enabled: bool
  }

For DataExportSettings, use:

  kind: 'DataExportSettings'
  properties: {
    enabled: bool
  }

Property values

settings

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Security/settings'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2021-07-01'
name The resource name string (required)
kind Set the object type AlertSyncSettings
DataExportSettings

AlertSyncSettings

Name Description Value
kind the kind of the settings string 'AlertSyncSettings'
properties The alert sync setting properties AlertSyncSettingProperties

AlertSyncSettingProperties

Name Description Value
enabled Is the alert sync setting enabled bool (required)

DataExportSettings

Name Description Value
kind the kind of the settings string 'DataExportSettings'
properties The data export setting properties DataExportSettingProperties

DataExportSettingProperties

Name Description Value
enabled Is the data export setting enabled bool (required)