Skip to content

Commit 43e5125

Browse files
authored
Merge branch 'main' into owinfreyATL-Permissions-Missed-Beta
2 parents b659410 + 2319fab commit 43e5125

File tree

6 files changed

+132
-0
lines changed

6 files changed

+132
-0
lines changed
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
---
2+
title: "cloudPcBulkAction: retry"
3+
description: "Retry a cloudPcBulkAction object with selected Cloud PCs."
4+
author: "AshleyYangSZ"
5+
ms.localizationpriority: medium
6+
ms.subservice: "cloud-pc"
7+
doc_type: apiPageType
8+
ms.date: 01/01/2025
9+
---
10+
11+
# cloudPcBulkAction: retry
12+
13+
Namespace: microsoft.graph
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Retry a [cloudPcBulkAction](../resources/cloudpcbulkaction.md) object with selected Cloud PCs.
18+
19+
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]
20+
21+
## Permissions
22+
23+
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).
24+
25+
<!-- { "blockType": "permissions", "name": "cloudpcbulkaction_retry" } -->
26+
[!INCLUDE [permissions-table](../includes/permissions/cloudpcbulkaction-retry-permissions.md)]
27+
28+
## HTTP request
29+
30+
<!-- {
31+
"blockType": "ignored"
32+
}
33+
-->
34+
35+
``` http
36+
POST /deviceManagement/virtualEndpoint/bulkAction/{id}/retry
37+
```
38+
39+
## Request headers
40+
41+
|Name|Description|
42+
|:---|:---|
43+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
44+
|Content-Type|application/json. Required.|
45+
46+
## Request body
47+
48+
In the request body, supply a JSON representation of the parameters.
49+
50+
The following table shows the parameters that can be used with this method.
51+
52+
|Property|Type|Description|
53+
|:---|:---|:---|
54+
|cloudPcIds|String collection|A list of IDs for the Cloud PC devices to be retried for the given bulk action. This is optional; if not provided, all failed devices are retried.|
55+
56+
## Response
57+
58+
If successful, this method returns a `202 Accepted` response code.
59+
60+
## Examples
61+
62+
### Request
63+
64+
The following example shows a request.
65+
66+
<!-- {
67+
"blockType": "request",
68+
"name": "cloudpcbulkaction_retry"
69+
}
70+
-->
71+
``` http
72+
POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/bulkAction/0d76d02b-e0a0-4f58-baff-d1718cc2d144/retry
73+
Content-Type: application/json
74+
75+
{
76+
"@odata.type": "#microsoft.graph.cloudPcBulkAction",
77+
"cloudPcIds": [
78+
"30d0e128-de93-41dc-89ec-33d84bb662a0",
79+
"7c82a3e3-9459-44e4-94d9-b92f93bf78dd"
80+
]
81+
}
82+
```
83+
84+
### Response
85+
86+
The following example shows the response.
87+
88+
<!-- {
89+
"blockType": "response",
90+
"truncated": true
91+
}
92+
-->
93+
``` http
94+
HTTP/1.1 202 Accepted
95+
```
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
description: "Automatically generated file. DO NOT MODIFY"
3+
ms.topic: include
4+
ms.localizationpriority: medium
5+
---
6+
7+
|Permission type|Least privileged permissions|Higher privileged permissions|
8+
|:---|:---|:---|
9+
|Delegated (work or school account)|CloudPC.ReadWrite.All|Not available.|
10+
|Delegated (personal Microsoft account)|Not supported.|Not supported.|
11+
|Application|Not supported.|Not supported.|
12+

api-reference/beta/resources/cloudpcbulkaction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Inherits from [entity](../resources/entity.md).
2626
|[List](../api/virtualendpoint-list-bulkactions.md)|[cloudPcBulkAction](../resources/cloudpcbulkaction.md) collection|Get a list of the [cloudPcBulkAction](../resources/cloudpcbulkaction.md) objects and their properties.|
2727
|[Create](../api/virtualendpoint-post-bulkactions.md)|[cloudPcBulkAction](../resources/cloudpcbulkaction.md)|Create a new [cloudPcBulkAction](../resources/cloudpcbulkaction.md) object.|
2828
|[Get](../api/cloudpcbulkaction-get.md)|[cloudPcBulkAction](../resources/cloudpcbulkaction.md)|Read the properties and relationships of a [cloudPcBulkAction](../resources/cloudpcbulkaction.md) object.|
29+
|[Retry](../api/cloudpcbulkaction-retry.md)|None|Retry a [cloudPcBulkAction](../resources/cloudpcbulkaction.md) object with selected Cloud PCs.|
2930

3031
## Properties
3132
|Property|Type|Description|

api-reference/beta/toc/device-and-app-management/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,8 @@ items:
406406
href: ../../api/virtualendpoint-post-bulkactions.md
407407
- name: Get
408408
href: ../../api/cloudpcbulkaction-get.md
409+
- name: Retry
410+
href: ../../api/cloudpcbulkaction-retry.md
409411
- name: Alert monitoring
410412
items:
411413
- name: Monitoring

changelog/Microsoft.CloudManagedDesktop.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,24 @@
6060
"WorkloadArea": "Device and app management",
6161
"SubArea": "Cloud PC"
6262
},
63+
{
64+
"ChangeList": [
65+
{
66+
"Id": "5c8fb671-d9f9-4993-8320-1d305a26773c",
67+
"ApiChange": "Method",
68+
"ChangedApiName": "retry",
69+
"ChangeType": "Addition",
70+
"Description": "Added the [retry](https://learn.microsoft.com/en-us/graph/api/cloudpcbulkaction-retry?view=graph-rest-beta) method to the [cloudPcBulkAction](https://learn.microsoft.com/en-us/graph/api/resources/cloudpcbulkaction?view=graph-rest-beta) resource.",
71+
"Target": "cloudPcBulkAction"
72+
}
73+
],
74+
"Id": "5c8fb671-d9f9-4993-8320-1d305a26773c",
75+
"Cloud": "Prod",
76+
"Version": "beta",
77+
"CreatedDateTime": "2024-11-18T12:23:41.3476306Z",
78+
"WorkloadArea": "Device and app management",
79+
"SubArea": "Cloud PC"
80+
},
6381
{
6482
"ChangeList": [
6583
{

concepts/whats-new-overview.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ For details about previous updates to Microsoft Graph, see [Microsoft Graph what
1919
2020
## January 2025: New in preview only
2121

22+
### Device and app management | Cloud PC
23+
24+
[Retry](/graph/api/cloudpcbulkaction-retry?view=graph-rest-beta&preserve-view=true) a bulk action with selected Cloud PCs.
25+
2226
### Identity and access | Directory management
2327

2428
- Use the **alternativeNames** property on [device](/graph/api/resources/device?view=graph-rest-beta&preserve-view=true) to get or set alternative names for a device.

0 commit comments

Comments
 (0)