Skip to content

Latest commit

 

History

History
124 lines (90 loc) · 3.98 KB

File metadata and controls

124 lines (90 loc) · 3.98 KB
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

cloudPC: getCloudPcConnectivityHistory

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Get the connectivity history of a specific Cloud PC.

[!INCLUDE national-cloud-support]

Permissions

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]

HTTP request

GET /deviceManagement/virtualEndpoint/cloudPCs/{id}/getCloudPcConnectivityHistory

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a cloudPcConnectivityEvent collection object in the response body.

Examples

Request

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]


Response

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"
    }
  ]
}