| title | cloudPC: getCloudPcConnectivityHistory |
|---|---|
| description | Get the connectivity history of a specific Cloud PC. |
| author | yayang3 |
| ms.localizationpriority | medium |
| ms.subservice | cloud-pc |
| doc_type | apiPageType |
| ms.date | 04/04/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Get the connectivity history of a specific Cloud PC.
[!INCLUDE national-cloud-support]
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
[!INCLUDE permissions-table]
GET /deviceManagement/virtualEndpoint/cloudPCs/{id}/getCloudPcConnectivityHistory| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this method returns a 200 OK response code and a cloudPcConnectivityEvent collection object in the response body.
The following example shows a request.
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs/{id}/getCloudPcConnectivityHistory
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
The following example shows the response.
HTTP/1.1 200 OK
Content-Type: application/json
{
"value": [
{
"@odata.type": "microsoft.graph.cloudPcConnectivityEvent",
"activityId": "00000000-0000-0000-0000-000000000000",
"eventDateTime": "2022-03-23T18:40:00Z",
"eventName": "DomainJoinCheck",
"eventResult": "failure",
"eventType": "deviceHealthCheck",
"message": "SessionHost unhealthy: SessionHost is not joined to a domain"
}
]
}