oneDriveForBusinessProtectionPolicy リソースの種類

名前空間: microsoft.graph

organization 内の Microsoft 365 データに適用される保護ポリシーの詳細について説明します。 保護ポリシーは、グローバル 管理 (または SharePoint Online 管理 または Exchange Online 管理) によって定義され、単一の Microsoft 365 サービスについて、保護されたデータをいつ保護するか、どの期間保持するかを含みます。

protectionPolicyBase から継承します。

メソッド

メソッド 戻り値の種類 説明
Create oneDriveForBusinessProtectionPolicy 新しい oneDriveForBusinessProtectionPolicy を作成します。
Update oneDriveForBusinessProtectionPolicy oneDriveForBusinessProtectionPolicy のプロパティを更新します。

プロパティ

プロパティ 型 説明
createdBy identitySet ポリシーを作成したユーザーの ID。
createdDateTime DateTimeOffset ポリシーの作成時刻。
displayName 文字列 作成するポリシーの名前。
id 文字列 ポリシーに関連付けられている保護ルールを表す一意の識別子。
lastModifiedBy identitySet ポリシーを最後に変更したユーザーの ID。
lastModifiedDateTime DateTimeOffset ポリシーの最終変更のタイムスタンプ。
retentionSettings retentionSetting コレクション ポリシーの保持設定。 protectionPolicyBase から継承されます。
status protectionPolicyStatus ポリシーの状態。 値は、保護ユニットの集計されたステータスです。 使用可能な値: inactive、activeWithErrors、updating、active、unknownFutureValue。

protectionPolicyStatus 値

メンバー 説明
アクティブ すべてのユニットが保護されています。
activeWithErrors 一部のユニットは保護されており、他のユニットは保護されていません。
非アクティブ すべてのユニットは保護されていません。
更新中 一部またはすべてのユニットが protectRequested、 unprotectRequested、または removeRequested の状態である。
unknownFutureValue 進化可能な列挙センチネル値。 使用しないでください。

リレーションシップ

リレーションシップ 型 説明
driveInclusionRules driveProtectionRule コレクション OneDrive for Business 保護ルールの詳細が含まれています。
driveProtectionUnits driveProtectionUnit コレクション OneDrive for Business 保護ポリシーに関連付けられている保護ユニットが含まれます。

JSON 表記

次の JSON 表現は、リソースの種類を示しています。

{
  "@odata.type": "#microsoft.graph.oneDriveForBusinessProtectionPolicy",
  "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"
  }
}