你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Microsoft.Security 设置

Bicep 资源定义

可以使用针对以下操作部署设置资源类型:

有关每个 API 版本中更改的属性的列表,请参阅 更改日志

资源格式

若要创建 Microsoft.Security/settings 资源,请将以下 Bicep 添加到模板。

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

settings 对象

设置 kind 属性以指定对象的类型。

对于 AlertSyncSettings,请使用:

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

对于 DataExportSettings,请使用:

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

属性值

设置

名称 说明
name 资源名称 字符串 (必需)

字符限制:查看值

有效字符:
使用以下值之一:
MCAS
Sentinel
WDATP
WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW
kind 设置对象类型 AlertSyncSettings
DataExportSettings (必需)

AlertSyncSettings

名称 说明
kind 设置字符串的类型 “AlertSyncSettings” (必需)
properties 警报同步设置数据 AlertSyncSettingProperties

AlertSyncSettingProperties

名称 说明
enabled 警报同步设置是否已启用 bool (必需)

DataExportSettings

名称 说明
kind 设置字符串的类型 “DataExportSettings” (必需)
properties 数据导出设置数据 DataExportSettingProperties

DataExportSettingProperties

名称 说明
enabled 是否启用了数据导出设置 bool (必需)

ARM 模板资源定义

可以使用针对以下操作部署设置资源类型:

有关每个 API 版本中更改的属性的列表,请参阅 更改日志

资源格式

若要创建 Microsoft.Security/settings 资源,请将以下 JSON 添加到模板。

{
  "type": "Microsoft.Security/settings",
  "apiVersion": "2022-05-01",
  "name": "string",
  "kind": "string",
  // For remaining properties, see settings objects
}

settings 对象

设置 kind 属性以指定对象的类型。

对于 AlertSyncSettings,请使用:

  "kind": "AlertSyncSettings",
  "properties": {
    "enabled": "bool"
  }

对于 DataExportSettings,请使用:

  "kind": "DataExportSettings",
  "properties": {
    "enabled": "bool"
  }

属性值

设置

名称 说明 Value
type 资源类型 “Microsoft.Security/settings”
apiVersion 资源 API 版本 '2022-05-01'
name 资源名称 字符串 (必需)

字符限制:查看值

有效字符:
使用以下值之一:
MCAS
Sentinel
WDATP
WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW
kind 设置对象类型 AlertSyncSettings
DataExportSettings (必需)

AlertSyncSettings

名称 说明
kind 设置字符串的类型 “AlertSyncSettings” (必需)
properties 警报同步设置数据 AlertSyncSettingProperties

AlertSyncSettingProperties

名称 说明
enabled 警报同步设置是否已启用 bool (必需)

DataExportSettings

名称 说明
kind 设置字符串的类型 “DataExportSettings” (必需)
properties 数据导出设置数据 DataExportSettingProperties

DataExportSettingProperties

名称 说明
enabled 是否启用了数据导出设置 bool (必需)

Terraform (AzAPI 提供程序) 资源定义

可以使用针对以下操作部署设置资源类型:

  • 订阅

有关每个 API 版本中更改的属性的列表,请参阅 更改日志

资源格式

若要创建 Microsoft.Security/settings 资源,请将以下 Terraform 添加到模板。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Security/settings@2022-05-01"
  name = "string"
  parent_id = "string"
  // For remaining properties, see settings objects
  body = jsonencode({
    kind = "string"
  })
}

settings 对象

设置 kind 属性以指定对象的类型。

对于 AlertSyncSettings,请使用:

  kind = "AlertSyncSettings"
  properties = {
    enabled = bool
  }

对于 DataExportSettings,请使用:

  kind = "DataExportSettings"
  properties = {
    enabled = bool
  }

属性值

设置

名称 说明 Value
type 资源类型 “Microsoft.Security/settings@2022-05-01”
name 资源名称 字符串 (必需)

字符限制:查看值

有效字符:
使用以下值之一:
MCAS
Sentinel
WDATP
WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW
parent_id 若要部署到订阅,请使用该订阅的 ID。 字符串 (必需)
kind 设置对象类型 AlertSyncSettings
DataExportSettings (必需)

AlertSyncSettings

名称 说明
kind 设置字符串的类型 “AlertSyncSettings” (必需)
properties 警报同步设置数据 AlertSyncSettingProperties

AlertSyncSettingProperties

名称 说明
enabled 警报同步设置是否已启用 bool (必需)

DataExportSettings

名称 说明
kind 设置字符串的类型 “DataExportSettings” (必需)
properties 数据导出设置数据 DataExportSettingProperties

DataExportSettingProperties

名称 说明
enabled 是否启用了数据导出设置 bool (必需)