oneDriveForBusinessProtectionPolicy リソースの種類

名前空間: microsoft.graph

組織内の Microsoft 365 データに適用される保護ポリシーの詳細が含まれています。 保護ポリシーは、グローバル管理者 (または SharePoint Online 管理者または Exchange Online 管理者) によって定義され、保護するデータ、保護するタイミング、および 1 つの Microsoft 365 サービスで保護されたデータを保持する期間が含まれます。

protectionPolicyBase から継承します。

メソッド

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

プロパティ

プロパティ 説明
id String ポリシーに関連付けられている保護規則の一意識別子。
displayName String 作成するポリシーの名前。
createdDateTime DateTimeOffset ポリシーの作成時刻。
createdBy identitySet ポリシーを作成したユーザーの ID。
lastModifiedBy identitySet ポリシーを最後に変更したユーザーの ID。
lastModifiedDateTime DateTimeOffset ポリシーの最後の変更のタイムスタンプ。
status protectionPolicyStatus ポリシーの状態。 値は、保護ユニットの集計状態です。 使用可能な値: inactiveactiveWithErrorsupdatingactiveunknownFutureValue

protectionPolicyStatus 値

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

リレーションシップ

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

JSON 表記

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

{
  "@odata.type": "#microsoft.graph.oneDriveForBusinessProtectionPolicy",
  "id": "String (identifier)",
  "displayName": "String",
  "status": "String",
  "createdDateTime": "String (timestamp)",
  "createdBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "lastModifiedDateTime": "String (timestamp)",
  "lastModifiedBy": {
    "@odata.type": "microsoft.graph.identitySet"
  }
}