編輯

共用方式為


protectionRule resource type

Namespace: microsoft.graph.security

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a rule, which contains basic properties such as ID, name, and so on. This type is abstract.

Inherits from microsoft.graph.entity.

Properties

Property Type Description
createdBy String Name of the user or application that created the rule.
createdDateTime DateTimeOffset Timestamp of rule creation.
displayName String Name of the rule.
id String Unique identifier to represent the rule.
isEnabled Boolean Whether rule is turned on for the tenant.
lastModifiedBy String Name of the user or application who last updated the rule.
lastModifiedDateTime DateTimeOffset Timestamp of when the rule was last updated.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

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