protectionRule 资源类型

命名空间:microsoft.graph.security

重要

Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

表示一个规则,该规则包含基本属性,例如 ID、名称等。 此类型是抽象的。

继承自 microsoft.graph.entity

属性

属性 类型 说明
createdBy String 创建规则的用户或应用程序的名称。
createdDateTime DateTimeOffset 规则创建时间戳。
displayName String 规则的名称。
id String 用于表示规则的唯一标识符。
isEnabled Boolean 是否为租户启用规则。
lastModifiedBy String 上次更新规则的用户或应用程序的名称。
lastModifiedDateTime DateTimeOffset 上次更新规则的时间戳。

关系

无。

JSON 表示形式

以下 JSON 表示形式显示了资源类型。

{
  "@odata.type": "#microsoft.graph.security.protectionRule",
  "id": "String (identifier)",
  "displayName": "String",
  "isEnabled": "Boolean",
  "createdBy": "String",
  "createdDateTime": "String (timestamp)",
  "lastModifiedDateTime": "String (timestamp)",
  "lastModifiedBy": "String"
}