Skip to content

Latest commit

 

History

History
90 lines (65 loc) · 3.47 KB

File metadata and controls

90 lines (65 loc) · 3.47 KB
title cloudPCUserSettingsPersistenceDetail: retrieveUserSettingsPersistenceProfileUsage
description Retrieve the usage of Cloud PC user settings persistence in the selected Cloud PC policy assignment.
author AshleyYangSZ
ms.localizationpriority medium
ms.subservice cloud-pc
doc_type apiPageType
ms.date 10/20/2025

cloudPCUserSettingsPersistenceDetail: retrieveUserSettingsPersistenceProfileUsage

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Retrieve the usage of Cloud PC user settings persistence in the selected Cloud PC policy assignment.

[!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/provisioningPolicies/{id}/assignments/{assignment_id}/cloudPCUserSettingsPersistence/retrieveUserSettingsPersistenceProfileUsage(configurationId='{value}')

Function parameters

In the request URL, provide the following function parameters with values.

Parameter Type Description
configurationId String The unique identifier for the selected Cloud PC user's settings persistence.

Request headers

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

Response

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

Examples

Request

The following example shows a request to retrieve the specific user settings persistence usage for a Cloud PC policy assignment.

GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisioningPolicies/bed92b3e-4b42-4be5-af0d-ebb2d96c432f/assignments/e9d4eb36-7056-4161-93a4-2d6f8d20d6c0/cloudPCUserSettingsPersistence/retrieveUserSettingsPersistenceProfileUsage(configurationId='64ff06de-9c00-4a5a-98b5-7f5abe26bfd9')

Response

The following example shows the response.

HTTP/1.1 200 OK

{
  "@odata.context": "https://graph.microsoft.com/beta/$metadata#retrieveUserSettingsPersistenceProfileUsage",
  "totalAllocatedStorageInGB": 1200,
  "remainingAvailableStorageInGB": 100,
  "usedStorageInGB": 1100
}