cloudPcAuditEvent 资源类型
命名空间:microsoft.graph
重要
Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
表示审核事件实体。
Methods
| 方法 | 返回类型 | Description |
|---|---|---|
| 列出 auditEvents | cloudPcAuditEvent 集合 | 列出租户 中所有 cloudPcAuditEvent 对象。 |
| 获取 cloudPcAuditEvent | cloudPcAuditEvent | 读取 cloudPcAuditEvent 对象的属性和 关系。 |
| getAuditActivityTypes 函数 | String collection | 获取审核活动类型。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| id | String | 审核实体的键。 只读。 |
| displayName | String | 事件显示名称。 只读。 |
| componentName | String | 组件名称。 只读。 |
| actor | cloudPcAuditActor | 与审核事件关联的 Azure AD 用户和应用程序。 只读。 |
| activity | String | 活动的友好名称。可选。 |
| activityDateTime | DateTimeOffset | 执行活动时的日期时间(UTC 时间)。只读。 |
| activityType | String | 执行的活动类型。只读。 |
| activityOperationType | cloudPcAuditActivityOperationType | 活动的 HTTP 操作类型。 可能的值包括 create 、 delete 和 patch other 。 只读。 |
| activityResult | cloudPcAuditActivityResult | 活动结果。只读。 |
| correlationId | String | 客户端请求标识符,用于关联系统内的活动。只读。 |
| resources | cloudPcAuditResource 集合 | cloudPcAuditResource 对象的列表。只读。 |
| “类别” | cloudPcAuditCategory | 审核类别。 只读。 |
cloudPcAuditActivityOperationType 值
| 成员 | 说明 |
|---|---|
| create | 创建操作。 |
| delete | 删除操作。 |
| patch | 修补程序操作。 |
| other | 其他操作。 |
cloudPcAuditActivityResult 值
| 成员 | 说明 |
|---|---|
| success | 操作成功。 |
| clientError | 操作失败,出现客户端错误。 |
| failure | 操作失败。 |
| timeExceeded | 操作失败,超时。 |
| other | 其他结果。 |
cloudPcAuditCategory 值
| 成员 | 说明 |
|---|---|
| cloudPC | 云电脑类别。 |
| other | 其他类别。 |
关系
无。
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"@odata.type": "#microsoft.graph.cloudPcAuditEvent",
"id": "String (identifier)",
"displayName": "String",
"componentName": "String",
"actor": {
"@odata.type": "microsoft.graph.cloudPcAuditActor",
"type": "String",
"userPermissions": [
"String"
],
"applicationId": "String",
"applicationDisplayName": "String",
"userPrincipalName": "String",
"servicePrincipalName": "String",
"ipAddress": "String",
"userId": "String",
"userRoleScopeTags": [
{
"@odata.type": "microsoft.graph.cloudPcUserRoleScopeTagInfo",
"displayName": "String",
"roleScopeTagId": "String"
}
],
"remoteTenantId": "String",
"remoteUserId": "String"
},
"activity": "String",
"activityDateTime": "String (timestamp)",
"activityType": "String",
"activityOperationType": "String",
"activityResult": "String",
"correlationId": "String",
"resources": [
{
"@odata.type": "microsoft.graph.cloudPcAuditResource",
"displayName": "String",
"modifiedProperties": [
{
"@odata.type": "microsoft.graph.cloudPcAuditProperty",
"displayName": "String",
"oldValue": "String",
"newValue": "String"
}
],
"type": "String",
"resourceId": "String"
}
],
"category": "String"
}
反馈
提交和查看相关反馈