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

Microsoft.SecurityInsights onboardingStates 2022-07-01-preview

Bicep 资源定义

onboardingStates 资源类型是 扩展资源,这意味着你可以将其应用于其他资源。

scope使用此资源上的 属性可设置此资源的范围。 请参阅 在 Bicep 中设置扩展资源的范围

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

资源格式

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

resource symbolicname 'Microsoft.SecurityInsights/onboardingStates@2022-07-01-preview' = {
  name: 'string'
  scope: resourceSymbolicName
  etag: 'string'
  properties: {
    customerManagedKey: bool
  }
}

属性值

onboardingStates

名称 说明
name 资源名称 字符串 (必需)
scope 在与部署范围不同的范围创建扩展资源时使用 。 目标资源

对于 Bicep,请将此属性设置为资源的符号名称以应用 扩展资源
etag Azure 资源的 Etag string
properties Sentinel 加入状态对象 SentinelOnboardingStateProperties

SentinelOnboardingStateProperties

名称 说明
customerManagedKey 指示 CMK 设置状态的标志 bool

ARM 模板资源定义

onboardingStates 资源类型是 扩展资源,这意味着你可以将其应用于其他资源。

scope使用此资源上的 属性可设置此资源的范围。 请参阅 在 ARM 模板中设置扩展资源的范围

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

资源格式

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

{
  "type": "Microsoft.SecurityInsights/onboardingStates",
  "apiVersion": "2022-07-01-preview",
  "name": "string",
  "scope": "string",
  "etag": "string",
  "properties": {
    "customerManagedKey": "bool"
  }
}

属性值

onboardingStates

名称 说明 Value
type 资源类型 “Microsoft.SecurityInsights/onboardingStates”
apiVersion 资源 API 版本 “2022-07-01-preview”
name 资源名称 字符串 (必需)
scope 在与部署范围不同的范围创建扩展资源时使用 。 目标资源

对于 JSON,请将值设置为要向其应用 扩展资源 的资源的全名。
etag Azure 资源的 Etag string
properties Sentinel 加入状态对象 SentinelOnboardingStateProperties

SentinelOnboardingStateProperties

名称 说明
customerManagedKey 指示 CMK 设置状态的标志 bool

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

onboardingStates 资源类型是 扩展资源,这意味着你可以将其应用于其他资源。

parent_id使用此资源上的 属性可设置此资源的范围。

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

资源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.SecurityInsights/onboardingStates@2022-07-01-preview"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      customerManagedKey = bool
    }
    etag = "string"
  })
}

属性值

onboardingStates

名称 说明 Value
type 资源类型 “Microsoft.SecurityInsights/onboardingStates@2022-07-01-preview”
name 资源名称 字符串 (必需)
parent_id 要向其应用此扩展资源的资源的 ID。 字符串 (必需)
etag Azure 资源的 Etag string
properties Sentinel 加入状态对象 SentinelOnboardingStateProperties

SentinelOnboardingStateProperties

名称 说明
customerManagedKey 指示 CMK 设置状态的标志 bool