windowsProtectionState を取得する
名前空間: microsoft.graph.managedTenants
重要
Microsoft Graph のバージョンの /beta API は変更される可能性があります。 実稼働アプリケーションでこれらの API を使用することは、サポートされていません。 API が v1.0 で使用できるかどうかを確認するには、 バージョン セレクターを使用します。
windowsProtectionStateオブジェクトのプロパティとリレーションシップを読み取る。
アクセス許可
この API を呼び出すには、次のいずれかのアクセス許可が必要です。アクセス許可の選択方法などの詳細については、「アクセス許可」を参照してください。
| アクセス許可の種類 | アクセス許可 (特権の小さいものから大きいものへ) |
|---|---|
| 委任 (職場または学校のアカウント) | DeviceManagementManagedDevices.Read.All, DeviceManagementManagedDevices.ReadWrite.All |
| 委任 (個人用 Microsoft アカウント) | サポートされていません。 |
| アプリケーション | サポートされていません。 |
HTTP 要求
GET /tenantRelationships/managedTenants/windowsProtectionStates/{windowsProtectionStateId}
オプションのクエリ パラメーター
このメソッドは 、OData クエリ パラメーターをサポートして、応答のカスタマイズに役立ちます。これには、 を含む $apply $count $filter $orderBy $select $skip 応答をカスタマイズします $top 。
要求ヘッダー
| 名前 | 説明 |
|---|---|
| Authorization | ベアラー {token}。必須。 |
要求本文
このメソッドには、要求本文を指定しません。
応答
成功した場合、このメソッドは応答コードと、応答本文 200 OK の windowsProtectionState オブジェクトを返します。
例
要求
GET https://graph.microsoft.com/beta/tenantRelationships/managedTenants/windowsProtectionStates/{windowsProtectionStateId}
応答
注: ここに示す応答オブジェクトは、読みやすさのために短縮されている場合があります。
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#tenantRelationships/managedTenants/windowsProtectionStates/$entity",
"id": "34298981-4fc8-4974-9486-c8909ed1521b_95378ac4-eded-4671-8fa2-4e42e5de3463",
"managedDeviceId": "95378ac4-eded-4671-8fa2-4e42e5de3463",
"managedDeviceName": "vm11",
"malwareProtectionEnabled": true,
"managedDeviceHealthState": "Clean",
"realTimeProtectionEnabled": true,
"networkInspectionSystemEnabled": true,
"quickScanOverdue": false,
"fullScanOverdue": false,
"signatureUpdateOverdue": false,
"rebootRequired": false,
"attentionRequired": false,
"fullScanRequired": false,
"engineVersion": "1.1.18300.4",
"signatureVersion": "1.343.642.0",
"antiMalwareVersion": "4.18.2106.6",
"lastQuickScanDateTime": "2021-06-24T14:50:28Z",
"lastFullScanDateTime": null,
"lastQuickScanSignatureVersion": "1.341.1288.0",
"lastFullScanSignatureVersion": "0.0.0.0",
"lastReportedDateTime": "2021-07-09T14:43:45Z",
"devicePropertiesRefreshTime": "2021-07-09T14:44:28Z",
"deviceDeleted": false,
"lastRefreshedDateTime": "2021-07-11T02:02:35.9816065Z",
"tenantId": "34298981-4fc8-4974-9486-c8909ed1521b",
"tenantDisplayName": "Fourth Coffee",
"devicePropertiesRefreshDateTime": "2021-07-09T14:44:28Z"
}
フィードバック
フィードバックの送信と表示