名前空間: microsoft.graph
SharePoint 保護ポリシーが適用されている SharePoint サイトを表します。
protectionUnitBase から継承します。
メソッド
| メソッド | 戻り値の種類 | 説明 |
|---|---|---|
| List | siteProtectionUnit コレクション | siteProtectionUnit オブジェクトとそのプロパティの一覧を取得します。 |
プロパティ
| プロパティ | 型 | 説明 |
|---|---|---|
| backupRetentionPeriodInDays | Int32 | ポリシーで構成されたバックアップの保持期間 (日数)。 null 許容ではありません。 protectionUnitBase から継承されます。 |
| createdBy | identitySet | 保護ユニットを作成したユーザーの ID。 protectionUnitBase から継承されます。 |
| createdDateTime | DateTimeOffset | 保護ユニットの作成時刻。 タイムスタンプの種類は、ISO 8601 形式を使用して、常に UTC 形式の日付と時刻情報を表します。 たとえば、2014 年 1 月 1 日午前 0 時 (UTC) は、2014-01-01T00:00:00Z です。
protectionUnitBase から継承されます。 |
| error | publicError | 保護ユニットの有効化または無効化に失敗した場合のエラーの詳細が含まれます。 protectionUnitBase から継承されます。 |
| id | 文字列 | この保護ユニットに関連付けられている保護ポリシーの一意の識別子。 |
| lastModifiedBy | identitySet | 保護ユニットを最後に変更したユーザーの ID。 protectionUnitBase から継承されます。 |
| lastModifiedDateTime | DateTimeOffset | 保護ユニットが最後に変更された時刻。 タイムスタンプの種類は、ISO 8601 形式を使用して、常に UTC 形式の日付と時刻情報を表します。 たとえば、2014 年 1 月 1 日午前 0 時 (UTC) は、2014-01-01T00:00:00Z です。
protectionUnitBase から継承されます。 |
| offboardRequestedDateTime | DateTimeOffset | 保護ユニットのオフボードが要求された日時。 タイムスタンプの種類は、ISO 8601 形式を使用して、常に UTC 形式の日付と時刻情報を表します。 たとえば、2014 年 1 月 1 日午前 0 時 (UTC) は、2014-01-01T00:00:00Z です。
protectionUnitBase から継承されます。 |
| pendingRetentionPeriodChange | retentionPeriodChange | 保持期間が異なるポリシー間を移動するときに保護ユニットに適用される保持期間の変更。 読み取り専用です。
null (保留中の変更がない場合)。
protectionUnitBase から継承されます。 |
| policyId | 文字列 | この保護ユニットに関連付けられている保護ポリシーの一意の識別子。 protectionUnitBase から継承されます。 |
| protectionSources | protectionSource | 保護ユニットが現在保護されているソースを示します。 複数のソースによって保護されている保護ユニットは、コンマ区切りの値で示されます。 使用可能な値: none、manual、dynamicRule、unknownFutureValue。
protectionUnitBase から継承されます。 |
| siteId | 文字列 | SharePoint サイトの一意の識別子。 |
| siteName | 文字列 | SharePoint サイトの名前。 |
| siteWebUrl | 文字列 | SharePoint サイトの Web URL。 |
| status | protectionUnitStatus | 保護ユニットの個別の有効化/無効化/削除ステータス。 有効な値は、 protectRequested、 protected、 unprotectRequested、 unprotected、 removeRequested、 unknownFutureValue、 offboardRequested、 offboarded、 cancelOffboardRequested です。
Prefer: include-unknown-enum-members 要求ヘッダーを使用して、この進化可能な列挙型から offboardRequested、offboarded、cancelOffboardRequested の値を取得します。
protectionUnitBase から継承されます。 |
リレーションシップ
なし。
JSON 表記
次の JSON 表現は、リソースの種類を示しています。
{
"@odata.type": "#microsoft.graph.siteProtectionUnit",
"backupRetentionPeriodInDays": "Int32",
"createdBy": {"@odata.type": "microsoft.graph.identitySet"},
"createdDateTime": "String (timestamp)",
"error": {"@odata.type": "microsoft.graph.publicError"},
"id": "String (identifier)",
"lastModifiedBy": {"@odata.type": "microsoft.graph.identitySet"},
"lastModifiedDateTime": "String (timestamp)",
"offboardRequestedDateTime": "String (timestamp)",
"pendingRetentionPeriodChange": {"@odata.type": "microsoft.graph.retentionPeriodChange"},
"policyId": "String",
"protectionSources": "String",
"siteId": "String",
"siteName": "String",
"siteWebUrl": "String",
"status": "String"
}