Skip to content

Commit 9a611ca

Browse files
authored
Merge pull request #26148 from microsoftgraph/zhuolingli/cpc_addActivityId
Add activityId to cloudPcConnectivityEvent resource type
2 parents af74cde + f4f016c commit 9a611ca

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

api-reference/beta/api/cloudpc-getcloudpcconnectivityhistory.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ Content-Type: application/json
116116
"value": [
117117
{
118118
"@odata.type": "microsoft.graph.cloudPcConnectivityEvent",
119+
"activityId": "00000000-0000-0000-0000-000000000000",
119120
"eventDateTime": "2022-03-23T18:40:00Z",
120121
"eventName": "DomainJoinCheck",
121122
"eventResult": "failure",

api-reference/beta/resources/cloudpcconnectivityevent.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Describes a user connection record, including when and how the Cloud PC was conn
1919
## Properties
2020
|Property|Type|Description|
2121
|:---|:---|:---|
22+
|activityId|string|The unique identifier (GUID) that represents the activity associated with this event. When the event type is `userConnection`, this value is the activity identifier for this event. For any other event types, this value is `00000000-0000-0000-0000-000000000000`.|
2223
|eventDateTime|DateTimeOffset|Indicates the date and time when this event was created. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 appears as `2014-01-01T00:00:00Z`.|
2324
|eventName|string|Name of the event.|
2425
|eventResult|[cloudPcConnectivityEventResult](#cloudpcconnectivityeventresult-values)|Result of this event. Possible values are: `unknown`, `success`, `failure`, and `unknownFutureValue`.|
@@ -57,6 +58,7 @@ The following JSON representation shows the resource type.
5758
``` json
5859
{
5960
"@odata.type": "#microsoft.graph.cloudPcConnectivityEvent",
61+
"activityId": "String",
6062
"eventDateTime": "String (timestamp)",
6163
"eventName": "String",
6264
"eventResult": "String",

changelog/Microsoft.CloudManagedDesktop.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6475,6 +6475,24 @@
64756475
"CreatedDateTime": "2025-01-06T06:58:17.7596396Z",
64766476
"WorkloadArea": "Device and app management",
64776477
"SubArea": "Cloud PC"
6478+
},
6479+
{
6480+
"ChangeList": [
6481+
{
6482+
"Id": "51186d13-0d6a-4a64-a631-e841ccb1f999",
6483+
"ApiChange": "Property",
6484+
"ChangedApiName": "activityId",
6485+
"ChangeType": "Addition",
6486+
"Description": "Added the **activityId** property to the [cloudPcConnectivityEvent](https://learn.microsoft.com/en-us/graph/api/resources/cloudpcconnectivityevent?view=graph-rest-beta) resource.",
6487+
"Target": "cloudPcConnectivityEvent"
6488+
}
6489+
],
6490+
"Id": "51186d13-0d6a-4a64-a631-e841ccb1f999",
6491+
"Cloud": "Prod",
6492+
"Version": "beta",
6493+
"CreatedDateTime": "2025-02-06T06:47:17.939782Z",
6494+
"WorkloadArea": "Device and app management",
6495+
"SubArea": "Cloud PC"
64786496
}
64796497
]
64806498
}

0 commit comments

Comments
 (0)