Updates from: 05/23/2022 01:03:10
Service Microsoft Docs article Related commit history on GitHub Change details
beta Manageddevice Bulksetcloudpcreviewstatus https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/manageddevice-bulksetcloudpcreviewstatus.md
+
+ Title: "managedDevice: bulkSetCloudPcReviewStatus"
+description: "Set the review status of multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices."
+
+ms.localizationpriority: medium
++
+# managedDevice: bulkSetCloudPcReviewStatus
+
+Namespace: microsoft.graph
++
+Set the review status of multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices.
+
+## Permissions
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+|Permission type|Permissions (from least to most privileged)|
+|:|:|
+|Delegated (work or school account)|CloudPC.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|CloudPC.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+POST /deviceManagement/managedDevices/bulkSetCloudPcReviewStatus
+```
+
+## Request headers
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+|Content-Type|application/json. Required.|
+
+## Request body
+In the request body, supply a JSON representation of the parameters.
+
+The following table shows the parameters that can be used with this action.
+
+|Parameter|Type|Description|
+|:|:|:|
+|managedDeviceIds|String collection|The managed device IDs of the Cloud PC devices.|
+|reviewStatus|[cloudPcReviewStatus](../resources/cloudpcreviewstatus.md)|The new review status of the Cloud PC devices. |
++
+## Response
+
+If successful, this action returns a `200 OK` response code and a [cloudPcBulkRemoteActionResult](../resources/cloudpcbulkremoteactionresult.md) object in the response body.
+
+## Examples
+
+### Request
+
+The following is an example of a request.
+
+<!-- {
+ "blockType": "request",
+ "name": "manageddevicethis.bulksetcloudpcreviewstatus"
+}
+-->
+``` http
+POST https://graph.microsoft.com/beta/deviceManagement/managedDevices/bulkSetCloudPcReviewStatus
+Content-Type: application/json
+
+{
+ "managedDeviceIds": [
+ "30d0e128-de93-41dc-89ec-33d84bb662a0",
+ "7c82a3e3-9459-44e4-94d9-b92f93bf78dd"
+ ],
+ "reviewStatus": {
+ "inReview": true,
+ "userAccessLevel": "restricted",
+ "azureStorageAccountId": "/subscriptions/f68bd846-16ad-4b51-a7c6-c84944a3367c/resourceGroups/Review/providers/Microsoft.Storage/storageAccounts/snapshotsUnderReview"
+ }
+}
+```
++
+### Response
+
+The following is an example of the response.
+
+<!-- {
+ "blockType": "response",
+ "@odata.type": "microsoft.graph.cloudPcBulkRemoteActionResult",
+ "name": "manageddevicethis.bulksetcloudpcreviewstatus"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "@odata.type": "microsoft.graph.cloudPcBulkRemoteActionResult",
+ "successfulDeviceIds": [
+ "30d0e128-de93-41dc-89ec-33d84bb662a0"
+ ],
+ "failedDeviceIds": [
+ "7c82a3e3-9459-44e4-94d9-b92f93bf78dd"
+ ],
+ "notFoundDeviceIds": [],
+ "notSupportedDeviceIds": []
+}
+```
+
beta Manageddevice Getcloudpcreviewstatus https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/manageddevice-getcloudpcreviewstatus.md
+
+ Title: "managedDevice: getCloudPcReviewStatus"
+description: "Get the review status of a specific Cloud PC device."
+
+ms.localizationpriority: medium
++
+# managedDevice: getCloudPcReviewStatus
+
+Namespace: microsoft.graph
++
+Get the review status of a specific Cloud PC device.
+
+## Permissions
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+|Permission type|Permissions (from least to most privileged)|
+|:|:|
+|Delegated (work or school account)|CloudPC.Read.All, CloudPC.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|CloudPC.Read.All, CloudPC.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /deviceManagement/managedDevices/{managedDeviceId}/getCloudPcReviewStatus
+```
+
+## Request headers
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+
+## Request body
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this function returns a `200 OK` response code and a [cloudPcReviewStatus](../resources/cloudpcreviewstatus.md) object in the response body.
+
+## Examples
+
+### Request
+
+The following is an example of a request.
+
+<!-- {
+ "blockType": "request",
+ "name": "manageddevicethis.getcloudpcreviewstatus"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/deviceManagement/managedDevices/185f01c2de954929afb129392e5d9f47/getCloudPcReviewStatus
+```
++
+### Response
+
+The following is an example of the response.
+
+<!-- {
+ "blockType": "response",
+ "@odata.type": "microsoft.graph.cloudPcReviewStatus",
+ "name": "manageddevicethis.getcloudpcreviewstatus"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "@odata.type": "microsoft.graph.cloudPcReviewStatus",
+ "inReview": true,
+ "userAccessLevel": "restricted",
+ "reviewStartDateTime": "2022-02-15T06:52:34Z",
+ "restorePointDateTime": "2022-02-15T07:05:03Z",
+ "subscriptionId": "f68bd846-16ad-4b51-a7c6-c84944a3367c",
+ "subscriptionName": "deschutes-INT-DR-test",
+ "azureStorageAccountId": "/subscriptions/f68bd846-16ad-4b51-a7c6-c84944a3367c/resourceGroups/Review/providers/Microsoft.Storage/storageAccounts/snapshotsUnderReview",
+ "azureStorageAccountName": "snapshotsUnderReview"
+}
+```
+
beta Manageddevice Setcloudpcreviewstatus https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/manageddevice-setcloudpcreviewstatus.md
+
+ Title: "managedDevice: setCloudPcReviewStatus"
+description: "Set the review status of a specific Cloud PC device."
+
+ms.localizationpriority: medium
++
+# managedDevice: setCloudPcReviewStatus
+
+Namespace: microsoft.graph
++
+Set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state.
+
+## Permissions
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+|Permission type|Permissions (from least to most privileged)|
+|:|:|
+|Delegated (work or school account)|CloudPC.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|CloudPC.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+
+``` http
+POST /deviceManagement/managedDevices/{managedDeviceId}/setCloudPcReviewStatus
+```
+
+## Request headers
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+|Content-Type|application/json. Required.|
+
+## Request body
+In the request body, supply a JSON representation of the parameters.
+
+The following table shows the parameter that can be used with this action.
+
+|Parameter|Type|Description|
+|:|:|:|
+|reviewStatus|[cloudPcReviewStatus](../resources/cloudpcreviewstatus.md)|The new review status of the Cloud PC.|
++
+## Response
+
+If successful, this action returns a `204 No Content` response code.
+
+## Examples
+
+### Request
+
+The following is an example of a request.
+
+<!-- {
+ "blockType": "request",
+ "name": "manageddevicethis.setcloudpcreviewstatus"
+}
+-->
+``` http
+POST https://graph.microsoft.com/beta/deviceManagement/managedDevices/185f01c2de954929afb129392e5d9f47/setCloudPcReviewStatus
+Content-Type: application/json
+
+{
+ "reviewStatus": {
+ "inReview": true,
+ "userAccessLevel": "restricted",
+ "azureStorageAccountId": "/subscriptions/f68bd846-16ad-4b51-a7c6-c84944a3367c/resourceGroups/Review/providers/Microsoft.Storage/storageAccounts/snapshotsUnderReview"
+ }
+}
+```
++
+### Response
+
+The following is an example of the response.
+
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "name": "manageddevicethis.setcloudpcreviewstatus"
+}
+-->
+``` http
+HTTP/1.1 204 No Content
+```
+
beta Cloudpc https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/cloudpc.md
Represents a cloud-managed virtual desktop. This Cloud PC is also enrolled into
|[Troubleshoot](../api/cloudpc-troubleshoot.md)|None|Troubleshoot a specific [cloudPC](../resources/cloudpc.md) object. Use this API to check the health status of the Cloud PC and the session host.| |[Restore remote action](../api/manageddevice-restorecloudpc.md)|None|Restore a Cloud PC device to a previous state from a snapshot.| |[Bulk restore remote action](../api/manageddevice-bulkrestorecloudpc.md)|[cloudPcBulkRemoteActionResult](../resources/cloudpcbulkremoteactionresult.md)|Restore multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices and a restore point date and time.|
+|[Set review status](../api/manageddevice-setcloudpcreviewstatus.md)|None|Set the review status of a specific Cloud PC device.|
+|[Get review status](../api/manageddevice-getcloudpcreviewstatus.md)|[cloudPcReviewStatus](../resources/cloudpcreviewstatus.md)|Get the review status of a specific Cloud PC device.|
+|[Bulk set review status](../api/manageddevice-bulksetcloudpcreviewstatus.md)|[cloudPcBulkRemoteActionResult](../resources/cloudpcbulkremoteactionresult.md)|Set the review status of multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices.|
|[List for user](../api/user-list-cloudpcs.md)|[cloudPC](../resources/cloudpc.md) collection|List the [cloudPC](../resources/cloudpc.md) devices that are attributed to the signed-in user.| |[Get launch info for user](../api/cloudpc-getcloudpclaunchinfo.md)|[cloudPCLaunchInfo](../resources/cloudpclaunchinfo.md)|Get the [cloudPCLaunchInfo](../resources/cloudpclaunchinfo.md) for the signed-in user.|
beta Cloudpcreviewstatus https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/cloudpcreviewstatus.md
+
+ Title: "cloudPcReviewStatus resource type"
+description: "Represents details about the review status of a Cloud PC."
+
+ms.localizationpriority: medium
++
+# cloudPcReviewStatus resource type
+
+Namespace: microsoft.graph
++
+Represents details about the review status of a Cloud PC.
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|azureStorageAccountId|String|The resource ID of the Azure Storage account in which the Cloud PC snapshot is being saved.|
+|azureStorageAccountName|String|The name of the Azure Storage account in which the Cloud PC snapshot is being saved.|
+|inReview|Boolean| `True` if the Cloud PC is set to in review by the administrator.|
+|restorePointDateTime|DateTimeOffset|The specific date and time of the Cloud PC snapshot that was taken and saved automatically, when the Cloud PC is set to in review. 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`.|
+|reviewStartDateTime|DateTimeOffset|The specific date and time when the Cloud PC was set to in review. 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`.|
+|subscriptionId|String|The ID of the Azure subscription in which the Cloud PC snapshot is being saved, in GUID format.|
+|subscriptionName|String|The name of the Azure subscription in which the Cloud PC snapshot is being saved.|
+|userAccessLevel|[cloudPcUserAccessLevel](#cloudpcuseraccesslevel-values)|The access level of the end user on the Cloud PC. Possible values are: `unrestricted`, `restricted`.|
+
+### cloudPcUserAccessLevel values
+
+|Member|Value|Description|
+|:|:|:|
+|unrestricted|0|No restriction. Users can access the Cloud PC.|
+|restricted|1|Users are not allowed to access the Cloud PC.|
+|unknownFutureValue|999|Evolvable enumeration sentinel value. Do not use.|
++
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.cloudPcReviewStatus"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.cloudPcReviewStatus",
+ "azureStorageAccountId": "String",
+ "azureStorageAccountName": "String",
+ "inReview": "Boolean",
+ "restorePointDateTime": "String (timestamp)",
+ "reviewStartDateTime": "String (timestamp)",
+ "subscriptionId": "String",
+ "subscriptionName": "String",
+ "userAccessLevel": "String"
+}
+```
+