命名空间:microsoft.graph
表示Exchange Online 管理员定义的保护Exchange Online的计划。 Exchange 保护策略定义要保护哪些邮箱数据、何时保护数据以及将受保护数据保留的时间段。
继承自 protectionPolicyBase。
方法
| 方法 | 返回类型 | 说明 |
|---|---|---|
| 创建 | exchangeProtectionPolicy | 创建新的 exchangeProtectionPolicy。 |
| 更新 | exchangeProtectionPolicy | 更新 exchangeProtectionPolicy 的属性。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| createdBy | identitySet | 策略创建人员的标识。 |
| createdDateTime | DateTimeOffset | 策略的创建时间。 |
| displayName | String | 要创建的策略的名称。 |
| id | String | 与策略关联的保护规则的唯一标识符。 |
| lastModifiedBy | identitySet | 上次修改策略的人员的标识。 |
| lastModifiedDateTime | DateTimeOffset | 上次修改策略的时间戳。 |
| retentionSettings | retentionSetting 集合 | 策略的保留设置。 继承自 protectionPolicyBase。 |
| status | protectionPolicyStatus | 策略的状态。 此值是保护单元的聚合状态。 可能的值包括 inactive、activeWithErrors、updating、active、unknownFutureValue。 |
protectionPolicyStatus 值
| 成员 | 说明 |
|---|---|
| 活动 | 所有单位都受到保护。 |
| activeWithErrors | 有些单位受到保护,而另一些单位则不受保护。 |
| inactive | 所有单元均不受保护。 |
| 正在更新 | 部分或所有单位处于 protectRequested、 、 unprotectRequested或 removeRequested 状态。 |
| unknownFutureValue | 可进化枚举哨兵值。 请勿使用。 |
关系
| 关系 | 类型 | 说明 |
|---|---|---|
| mailboxInclusionRules | mailboxProtectionRule 集合 | 与 Exchange 保护策略关联的规则。 |
| mailboxProtectionUnits | mailboxProtectionUnit 集合 | 保护单元 (受 Exchange 保护策略保护的邮箱) 。 |
JSON 表示形式
以下 JSON 表示形式显示资源类型。
{
"@odata.type": "#microsoft.graph.exchangeProtectionPolicy",
"id": "String (identifier)",
"displayName": "String",
"retentionSettings": [
{
"@odata.type": "microsoft.graph.retentionSetting"
}
],
"status": "String",
"createdDateTime": "String (timestamp)",
"createdBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"lastModifiedDateTime": "String (timestamp)",
"lastModifiedBy": {
"@odata.type": "microsoft.graph.identitySet"
}
}