Skip to content

Commit 8400c73

Browse files
wcchen101Alan ChenCopilotWenyan Qiu (from Dev Box)Copilot
authored
Add Cloud PC cloud profile post-GA documentation (#29564)
* add configuration and type doc * add cloud profile post ga public doc, including dynamic sizing, auto cleanup, manual take snapshot, export, restore * Fix API Doctor response annotations Co-authored-by: wcchen101 <15329151+wcchen101@users.noreply.github.com> * fix schema issue * Fix snapshot list response annotations * update * update * Enhance Cloud PC resource properties Added new properties to Cloud PC resources for disaster recovery, status, storage configuration, auto cleanup, snapshots, usage details, and encryption types. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Update description for lastUsedSizeSyncDateTime property Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Refine description of autoCleanupDetail property Updated the description for the autoCleanupDetail property to clarify its purpose. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Update response example for restore_cloudpcuserprofilesnapshot Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Update documentation for cloud PC user profile snapshots Clarified the purpose and usage of user profile snapshots in the documentation. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Enhance profileDiskEncryptionType description with link Updated the description for profileDiskEncryptionType to include a reference link. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Change ApiChange type for cloudPcStorageConfiguration Updated ApiChange from 'Resource' to 'ComplexType' for cloudPcStorageConfiguration. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Modify response example for get_cloudpcusersettingspersistencedetail Updated the response example for clarity. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Fix typo in WorkloadArea field Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Update Cloud PC storage configuration documentation Add methods section to Cloud PC storage configuration documentation. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Modify response example for update operation Updated response example in the documentation. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Update targetAssignmentId in cloudpcuserprofilesnapshot Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Update cloudPcAutoCleanupMode values description Clarified the definition of cloudPcAutoCleanupMode values and added information about the evolvable enumeration. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Add baseType to cloudPcUserProfileSnapshotCreateBulkActionResult Updated JSON representation to include baseType for clarity. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Document Cloud PC property deprecation Co-authored-by: wcchen101 <15329151+wcchen101@users.noreply.github.com> * Change response block type in user profiles snapshots Updated example response block type for clarity. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Clarify response for bulk export user profile snapshots Updated response documentation for bulk export of user profile snapshots to clarify validation results. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Change response block type in API documentation Updated response block type for bulk create user profile snapshot. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * update * fix * fix schema * Fix malformed Cloud Managed Desktop changelog JSON Co-authored-by: wcchen101 <15329151+wcchen101@users.noreply.github.com> * Change ApiChange type for cloudPCUserSettings resource Updated ApiChange from 'Resource' to 'ComplexType' for cloudPCUserSettingsPersistenceProfileUsageDetail. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Change ApiChange field to 'EntityType' Updated ApiChange from 'Resource' to 'EntityType' for cloudPcUserProfileSnapshot. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Update cloudpcuserprofilesnapshot-restore.md * Update cloudpcusersettingspersistencedetail-bulkcreateuserprofilesnapshot.md * Update cloudpcusersettingspersistencedetail-bulkexportuserprofilesnapshot.md * Update cloudpcusersettingspersistencedetail-bulkcreateuserprofilesnapshot.md * Update cloudpcuserprofilesnapshot-restore.md * Update cloudpcusersettingspersistencedetail-get.md * Update cloudpcusersettingspersistencedetail-list-userprofilesnapshots.md * Update cloudpcusersettingspersistencedetail-update.md * Update cloudpcusersettingspersistencedetail-update.md * Update cloudpcstorageconfiguration.md * Delete api-reference/beta/resources/cloudpcstoragesizingtype.md * Update cloudpcuserprofilebulkactionresult.md * Update cloudpcuserprofilesnapshot.md * Add baseType to cloudPcUserProfileSnapshot resource Add baseType property to cloudPcUserProfileSnapshot. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Update cloudpcuserprofilesnapshot.md * Update cloudpcuserprofilesnapshotcreatebulkactionresult.md * Update cloudpcuserprofilesnapshotexportbulkactionresult.md * Update cloudpcuserprofilesnapshotstoragedetail.md * Update cloudpcusersettingspersistenceautocleanupdetail.md * Update cloudpcusersettingspersistencedetail.md * Update cloudpcusersettingspersistenceprofileusagedetail.md * Update cloudpcusersettingspersistencesnapshotconfiguration.md * Update whats-new-overview.md * Update Microsoft.CloudManagedDesktop.json * Add missing beta TOC complex types Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> * Update reference TOC * update permission file * Fix cloud PC snapshot metadata JSON Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> * Rename cloudPCPersistenceProfileStatus to cloudPCUserSettingsPersistenceProfileStatus Updated the API name for the cloudPCUserSettingsPersistenceProfileStatus enumeration. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Update Microsoft.CloudManagedDesktop.json * Add baseType to cloudPcUserProfileSnapshotExportBulkActionResult Updated JSON representation to include baseType. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Apply suggestion from @JarbasHorst * Apply suggestion from @JarbasHorst * Apply suggestion from @JarbasHorst --------- Co-authored-by: Alan Chen <weicc@microsoft.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: wcchen101 <15329151+wcchen101@users.noreply.github.com> Co-authored-by: Wenyan Qiu (from Dev Box) <wenyqiu@microsoft.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Jarbas Horst <26866873+JarbasHorst@users.noreply.github.com> Co-authored-by: Microsoft Graph DevX Tooling <GraphTooling@service.microsoft.com>
1 parent 06d79d3 commit 8400c73

29 files changed

Lines changed: 1381 additions & 10 deletions

File tree

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
---
2+
title: "cloudPcUserProfileSnapshot: restore"
3+
description: "Restore a user settings persistence profile from the bound snapshot as a long-running operation."
4+
author: "weicc"
5+
ms.date: 09/07/2026
6+
ms.localizationpriority: medium
7+
ms.subservice: "cloud-pc"
8+
doc_type: apiPageType
9+
---
10+
11+
# cloudPcUserProfileSnapshot: restore
12+
13+
Namespace: microsoft.graph
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Restore a user settings persistence profile from the bound snapshot as a long-running operation. This action is bound to a single [cloudPcUserProfileSnapshot](../resources/cloudpcuserprofilesnapshot.md) entity, identified by its **id** in the URL. This API overwrites the current profile data with the snapshot's data. Restore can happen within the same policy or across different policies.
18+
19+
> [!CAUTION]
20+
> This overwrites the current profile data with the snapshot's data.
21+
22+
## Permissions
23+
24+
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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
25+
26+
<!-- { "blockType": "permissions", "name": "cloudpcuserprofilesnapshot_restore_permissions" } -->
27+
[!INCLUDE [permissions-table](../includes/permissions/cloudpcuserprofilesnapshot-restore-permissions.md)]
28+
29+
## HTTP request
30+
31+
<!-- { "blockType": "ignored" } -->
32+
``` http
33+
POST /deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy-id}/assignments/{cloudPcProvisioningPolicyAssignment-id}/userSettingsPersistenceDetail/userProfileSnapshots/{cloudPcUserProfileSnapshot-id}/restore
34+
```
35+
36+
## Request headers
37+
38+
|Name|Description|
39+
|:---|:---|
40+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
41+
|Content-Type|application/json. Required.|
42+
43+
## Request body
44+
45+
In the request body, supply a JSON representation of the parameters.
46+
47+
|Parameter|Type|Description|
48+
|:---|:---|:---|
49+
|targetAssignmentId|String|Required. Indicates the unique identifier of the target assignment to restore the profile into. The restore can target a different assignment than the original. Not nullable.|
50+
51+
## Response
52+
53+
If successful, this action returns a `202 Accepted` response code. It doesn't return anything in the response body.
54+
55+
## Examples
56+
57+
### Request
58+
59+
The following example restores the selected snapshot to a different assignment.
60+
61+
<!-- { "blockType": "request", "name": "restore_cloudpcuserprofilesnapshot" } -->
62+
``` http
63+
POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisioningPolicies/b0c2d35f-3385-46c8-a6f5-6c3dfad7708b/assignments/64ff06de-9c00-4a5a-98b5-7f5abe26bfd9/userSettingsPersistenceDetail/userProfileSnapshots/a1b2c3d4-e5f6-7890-abcd-ef1234567890/restore
64+
Content-Type: application/json
65+
66+
{
67+
"targetAssignmentId": "e9d4eb36-7056-4161-93a4-2d6f8d20d6c0"
68+
}
69+
```
70+
71+
### Response
72+
73+
The following example shows the response.
74+
75+
<!-- { "blockType": "response", "name": "restore_cloudpcuserprofilesnapshot" } -->
76+
``` http
77+
HTTP/1.1 202 Accepted
78+
```
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
---
2+
title: "cloudPCUserSettingsPersistenceDetail: bulkCreateUserProfileSnapshot"
3+
description: "Trigger a manual snapshot for selected user settings persistence profiles as a long-running operation."
4+
author: "weicc"
5+
ms.date: 09/07/2026
6+
ms.localizationpriority: medium
7+
ms.subservice: "cloud-pc"
8+
doc_type: apiPageType
9+
---
10+
11+
# cloudPCUserSettingsPersistenceDetail: bulkCreateUserProfileSnapshot
12+
13+
Namespace: microsoft.graph
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Trigger a manual snapshot for selected user settings persistence profiles as a long-running operation. This action is bound to the [cloudPCUserSettingsPersistenceDetail](../resources/cloudpcusersettingspersistencedetail.md) entity. The created snapshots have **snapshotType** set to `manual`.
18+
19+
## Permissions
20+
21+
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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
22+
23+
<!-- { "blockType": "permissions", "name": "cloudpcusersettingspersistencedetail_bulkcreateuserprofilesnapshot_permissions" } -->
24+
[!INCLUDE [permissions-table](../includes/permissions/cloudpcusersettingspersistencedetail-bulkcreateuserprofilesnapshot-permissions.md)]
25+
26+
## HTTP request
27+
28+
<!-- { "blockType": "ignored" } -->
29+
``` http
30+
POST /deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy-id}/assignments/{cloudPcProvisioningPolicyAssignment-id}/userSettingsPersistenceDetail/bulkCreateUserProfileSnapshot
31+
```
32+
33+
## Request headers
34+
35+
|Name|Description|
36+
|:---|:---|
37+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
38+
|Content-Type|application/json. Required.|
39+
40+
## Request body
41+
42+
In the request body, supply a JSON representation of the parameters.
43+
44+
|Parameter|Type|Description|
45+
|:---|:---|:---|
46+
|cloudProfileIds|String collection|Required. Indicates the list of unique identifiers for the user settings persistence profiles to take snapshots for. The collection must contain at least one and at most 50 items. If the collection is empty or contains more than 50 items, the API responds with `400 Bad Request` and error code `invalidCloudProfileIdCount`. Not nullable.|
47+
48+
## Response
49+
50+
If successful, this action returns a `202 Accepted` response code and a [cloudPcUserProfileSnapshotCreateBulkActionResult](../resources/cloudpcuserprofilesnapshotcreatebulkactionresult.md) object in the response body, derived from [cloudPcUserProfileBulkActionResult](../resources/cloudpcuserprofilebulkactionresult.md).
51+
52+
Represents the result of the **bulkCreateUserProfileSnapshot** action. Failed items are cloud profile IDs from the **cloudProfileIds** request parameter. The inherited **totalCount** and **failedCount** properties count cloud profile IDs.
53+
54+
If the collection is empty or contains more than 50 items, the API responds with `400 Bad Request` and error code `invalidCloudProfileIdCount`.
55+
56+
## Examples
57+
58+
### Request
59+
60+
The following example requests snapshots for two profiles.
61+
62+
<!-- { "blockType": "request", "name": "bulkcreate_cloudpcuserprofilesnapshot" } -->
63+
``` http
64+
POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisioningPolicies/b0c2d35f-3385-46c8-a6f5-6c3dfad7708b/assignments/64ff06de-9c00-4a5a-98b5-7f5abe26bfd9/userSettingsPersistenceDetail/bulkCreateUserProfileSnapshot
65+
Content-Type: application/json
66+
67+
{
68+
"cloudProfileIds": [
69+
"8fd04a0b-ed49-46c0-a62d-e7980d829058",
70+
"95d04a0b-ed49-46c0-a62d-e7980d829058"
71+
]
72+
}
73+
```
74+
75+
### Response
76+
77+
The following response indicates that one profile was rejected during input validation.
78+
79+
<!-- { "blockType": "response", "name": "bulkcreate_cloudpcuserprofilesnapshot", "@odata.type": "microsoft.graph.cloudPcUserProfileSnapshotCreateBulkActionResult" } -->
80+
``` http
81+
HTTP/1.1 202 Accepted
82+
Content-Type: application/json
83+
84+
{
85+
"@odata.type": "#microsoft.graph.cloudPcUserProfileSnapshotCreateBulkActionResult",
86+
"totalCount": 2,
87+
"failedCount": 1,
88+
"failedCloudProfileIds": [
89+
"95d04a0b-ed49-46c0-a62d-e7980d829058"
90+
]
91+
}
92+
```
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
title: "cloudPCUserSettingsPersistenceDetail: bulkExportUserProfileSnapshot"
3+
description: "Export selected snapshots to a customer-managed Azure storage account as a long-running operation."
4+
author: "weicc"
5+
ms.date: 09/07/2026
6+
ms.localizationpriority: medium
7+
ms.subservice: "cloud-pc"
8+
doc_type: apiPageType
9+
---
10+
11+
# cloudPCUserSettingsPersistenceDetail: bulkExportUserProfileSnapshot
12+
13+
Namespace: microsoft.graph
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Export selected snapshots to a customer-managed Azure storage account as a long-running operation. This action is bound to the [cloudPCUserSettingsPersistenceDetail](../resources/cloudpcusersettingspersistencedetail.md) entity. Use [Get subscriptions](../api/cloudpcsnapshot-getsubscriptions.md) and [Get storage accounts](../api/cloudpcsnapshot-getstorageaccounts.md) to discover available storage accounts before you export the snapshots.
18+
19+
## Permissions
20+
21+
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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
22+
23+
<!-- { "blockType": "permissions", "name": "cloudpcusersettingspersistencedetail_bulkexportuserprofilesnapshot_permissions" } -->
24+
[!INCLUDE [permissions-table](../includes/permissions/cloudpcusersettingspersistencedetail-bulkexportuserprofilesnapshot-permissions.md)]
25+
26+
## HTTP request
27+
28+
<!-- { "blockType": "ignored" } -->
29+
``` http
30+
POST /deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy-id}/assignments/{cloudPcProvisioningPolicyAssignment-id}/userSettingsPersistenceDetail/bulkExportUserProfileSnapshot
31+
```
32+
33+
## Request headers
34+
35+
|Name|Description|
36+
|:---|:---|
37+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
38+
|Content-Type|application/json. Required.|
39+
40+
## Request body
41+
42+
In the request body, supply a JSON representation of the parameters.
43+
44+
|Parameter|Type|Description|
45+
|:---|:---|:---|
46+
|snapshotIds|String collection|Required. Indicates the list of unique identifiers for the snapshots to export. The collection must contain at least one and at most 50 items. Not nullable.|
47+
|storageDetail|[cloudPcUserProfileSnapshotStorageDetail](../resources/cloudpcuserprofilesnapshotstoragedetail.md)|Indicates the target storage details for the snapshot export, including the storage account ID, container name, and access tier. Not nullable.|
48+
49+
## Response
50+
51+
If successful, this action returns a `202 Accepted` response code and a [cloudPcUserProfileSnapshotExportBulkActionResult](../resources/cloudpcuserprofilesnapshotexportbulkactionresult.md) object in the response body, derived from [cloudPcUserProfileBulkActionResult](../resources/cloudpcuserprofilebulkactionresult.md).
52+
53+
Failed items are snapshot IDs from the **snapshotIds** request parameter. The inherited **totalCount** and **failedCount** properties count snapshot IDs.
54+
55+
## Examples
56+
57+
### Request
58+
59+
The following example exports a snapshot to a blob container in the selected storage account.
60+
61+
<!-- { "blockType": "request", "name": "bulkexport_cloudpcuserprofilesnapshot" } -->
62+
``` http
63+
POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisioningPolicies/b0c2d35f-3385-46c8-a6f5-6c3dfad7708b/assignments/64ff06de-9c00-4a5a-98b5-7f5abe26bfd9/userSettingsPersistenceDetail/bulkExportUserProfileSnapshot
64+
Content-Type: application/json
65+
66+
{
67+
"snapshotIds": ["a1b2c3d4-e5f6-7890-abcd-ef1234567890"],
68+
"storageDetail": {
69+
"storageAccountId": "/subscriptions/cb6ad4c4-8a17-4245-a644-e4436b1ee204/resourceGroups/profile-recovery/providers/Microsoft.Storage/storageAccounts/contosoprofiles",
70+
"containerName": "profile-snapshots",
71+
"accessTier": "cool"
72+
}
73+
}
74+
```
75+
76+
### Response
77+
78+
The following response indicates that no snapshot IDs were rejected during validation. It doesn't indicate that export has completed.
79+
80+
<!-- { "blockType": "response", "name": "bulkexport_cloudpcuserprofilesnapshot", "@odata.type": "microsoft.graph.cloudPcUserProfileSnapshotExportBulkActionResult" } -->
81+
``` http
82+
HTTP/1.1 202 Accepted
83+
Content-Type: application/json
84+
85+
{
86+
"@odata.type": "#microsoft.graph.cloudPcUserProfileSnapshotExportBulkActionResult",
87+
"totalCount": 1,
88+
"failedCount": 0,
89+
"failedSnapshotIds": []
90+
}
91+
```
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
---
2+
title: "Get cloudPCUserSettingsPersistenceDetail"
3+
description: "Get a specific cloudPCUserSettingsPersistenceDetail under the selected policy assignment."
4+
author: "weicc"
5+
ms.date: 09/07/2026
6+
ms.localizationpriority: medium
7+
ms.subservice: "cloud-pc"
8+
doc_type: apiPageType
9+
---
10+
11+
# Get cloudPCUserSettingsPersistenceDetail
12+
13+
Namespace: microsoft.graph
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Get a specific [cloudPCUserSettingsPersistenceDetail](../resources/cloudpcusersettingspersistencedetail.md) under the selected policy assignment.
18+
19+
## Permissions
20+
21+
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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
22+
23+
<!-- { "blockType": "permissions", "name": "cloudpcusersettingspersistencedetail_get_permissions" } -->
24+
[!INCLUDE [permissions-table](../includes/permissions/cloudpcusersettingspersistencedetail-get-permissions.md)]
25+
26+
## HTTP request
27+
28+
<!-- { "blockType": "ignored" } -->
29+
``` http
30+
GET /deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy-id}/assignments/{cloudPcProvisioningPolicyAssignment-id}/userSettingsPersistenceDetail
31+
```
32+
33+
## Request headers
34+
35+
|Name|Description|
36+
|:---|:---|
37+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
38+
39+
## Request body
40+
41+
Don't supply a request body for this method.
42+
43+
## Response
44+
45+
If successful, this method returns a `200 OK` response code and a [cloudPCUserSettingsPersistenceDetail](../resources/cloudpcusersettingspersistencedetail.md) object in the response body.
46+
47+
## Examples
48+
49+
### Request
50+
51+
The following example shows a request.
52+
53+
<!-- { "blockType": "request", "name": "get_cloudpcusersettingspersistencedetail" } -->
54+
``` http
55+
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisioningPolicies/b0c2d35f-3385-46c8-a6f5-6c3dfad7708b/assignments/64ff06de-9c00-4a5a-98b5-7f5abe26bfd9/userSettingsPersistenceDetail
56+
```
57+
58+
### Response
59+
60+
The following example shows the response.
61+
62+
<!-- { "blockType": "response", "name": "get_cloudpcusersettingspersistencedetail", "@odata.type": "microsoft.graph.cloudPCUserSettingsPersistenceDetail" } -->
63+
``` http
64+
HTTP/1.1 200 OK
65+
Content-Type: application/json
66+
67+
{
68+
"@odata.type": "#microsoft.graph.cloudPCUserSettingsPersistenceDetail",
69+
"id": "7fd04a0b-ed49-46c0-a62d-e7980d829058",
70+
"gracePeriodEndDateTime": null,
71+
"storageConfiguration": {
72+
"storageSizingType": "dynamic",
73+
"allocatedStorageSizeCategory": "sixtyFourGB"
74+
},
75+
"autoCleanupDetail": {
76+
"autoCleanupMode": "scheduled, onQuotaExceeded",
77+
"inactiveProfileRetentionDays": 365
78+
},
79+
"snapshotConfiguration": {
80+
"autoSnapshotFrequencyInDays": 30
81+
}
82+
}
83+
```

0 commit comments

Comments
 (0)