Skip to content

Commit 68d9d18

Browse files
snippet-gen-pull-automation[bot]Microsoft Graph DevX Tooling
andauthored
Update generated files with build 214310 (#28560)
Co-authored-by: Microsoft Graph DevX Tooling <GraphTooling@service.microsoft.com>
1 parent de3ab84 commit 68d9d18

254 files changed

Lines changed: 5088 additions & 83 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

api-reference/beta/api/cloudpcdeviceimage-retryupload.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ If successful, this method returns a `204 No Content` response code.
5454

5555
### Request
5656
The following example shows a request.
57+
# [HTTP](#tab/http)
5758
<!-- {
5859
"blockType": "request",
5960
"name": "retryupload_deviceimages_from_virtualendpoint"
@@ -64,6 +65,12 @@ The following example shows a request.
6465
POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/deviceImages/594e2046-2a4f-43d3-829c-be36bb984f11/retryUpload
6566
```
6667

68+
# [JavaScript](#tab/javascript)
69+
[!INCLUDE [sample-code](../includes/snippets/javascript/retryupload-deviceimages-from-virtualendpoint-javascript-snippets.md)]
70+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
71+
72+
---
73+
6774
### Response
6875
The following example shows the response.
6976
<!-- {

api-reference/beta/api/crosstenantaccesspolicyconfigurationdefault-update.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ The following example shows how to configure the default cross-tenant access pol
293293

294294
#### Request
295295
The following example shows a request.
296+
# [HTTP](#tab/http)
296297
<!-- {
297298
"blockType": "request",
298299
"name": "update_crosstenantaccesspolicyconfigurationdefault_m365collab"
@@ -318,6 +319,36 @@ Content-Type: application/json
318319
}
319320
```
320321

322+
# [C#](#tab/csharp)
323+
[!INCLUDE [sample-code](../includes/snippets/csharp/update-crosstenantaccesspolicyconfigurationdefault-m365collab-csharp-snippets.md)]
324+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
325+
326+
# [Go](#tab/go)
327+
[!INCLUDE [snippet-not-available](../includes/snippets/snippet-not-available.md)]
328+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
329+
330+
# [Java](#tab/java)
331+
[!INCLUDE [sample-code](../includes/snippets/java/update-crosstenantaccesspolicyconfigurationdefault-m365collab-java-snippets.md)]
332+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
333+
334+
# [JavaScript](#tab/javascript)
335+
[!INCLUDE [sample-code](../includes/snippets/javascript/update-crosstenantaccesspolicyconfigurationdefault-m365collab-javascript-snippets.md)]
336+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
337+
338+
# [PHP](#tab/php)
339+
[!INCLUDE [sample-code](../includes/snippets/php/update-crosstenantaccesspolicyconfigurationdefault-m365collab-php-snippets.md)]
340+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
341+
342+
# [PowerShell](#tab/powershell)
343+
[!INCLUDE [sample-code](../includes/snippets/powershell/update-crosstenantaccesspolicyconfigurationdefault-m365collab-powershell-snippets.md)]
344+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
345+
346+
# [Python](#tab/python)
347+
[!INCLUDE [sample-code](../includes/snippets/python/update-crosstenantaccesspolicyconfigurationdefault-m365collab-python-snippets.md)]
348+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
349+
350+
---
351+
321352
#### Response
322353
The following example shows the response.
323354
<!-- {

api-reference/beta/api/crosstenantaccesspolicyconfigurationpartner-update.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ The following example shows how to configure the partner-specific cross-tenant a
305305

306306
The following example shows a request.
307307

308+
# [HTTP](#tab/http)
308309
<!-- {
309310
"blockType": "request",
310311
"name": "update_crosstenantaccesspolicyconfigurationpartner_m365collab"
@@ -330,6 +331,36 @@ Content-Type: application/json
330331
}
331332
```
332333

334+
# [C#](#tab/csharp)
335+
[!INCLUDE [sample-code](../includes/snippets/csharp/update-crosstenantaccesspolicyconfigurationpartner-m365collab-csharp-snippets.md)]
336+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
337+
338+
# [Go](#tab/go)
339+
[!INCLUDE [snippet-not-available](../includes/snippets/snippet-not-available.md)]
340+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
341+
342+
# [Java](#tab/java)
343+
[!INCLUDE [sample-code](../includes/snippets/java/update-crosstenantaccesspolicyconfigurationpartner-m365collab-java-snippets.md)]
344+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
345+
346+
# [JavaScript](#tab/javascript)
347+
[!INCLUDE [sample-code](../includes/snippets/javascript/update-crosstenantaccesspolicyconfigurationpartner-m365collab-javascript-snippets.md)]
348+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
349+
350+
# [PHP](#tab/php)
351+
[!INCLUDE [sample-code](../includes/snippets/php/update-crosstenantaccesspolicyconfigurationpartner-m365collab-php-snippets.md)]
352+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
353+
354+
# [PowerShell](#tab/powershell)
355+
[!INCLUDE [sample-code](../includes/snippets/powershell/update-crosstenantaccesspolicyconfigurationpartner-m365collab-powershell-snippets.md)]
356+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
357+
358+
# [Python](#tab/python)
359+
[!INCLUDE [sample-code](../includes/snippets/python/update-crosstenantaccesspolicyconfigurationpartner-m365collab-python-snippets.md)]
360+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
361+
362+
---
363+
333364
#### Response
334365

335366
The following example shows the response.

api-reference/beta/api/entitlementmanagement-list-externaloriginresourceconnectors.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ If successful, this method returns a `200 OK` response code and a collection of
6060
### Request
6161

6262
The following example shows a request.
63+
# [HTTP](#tab/http)
6364
<!-- {
6465
"blockType": "request",
6566
"name": "list_externaloriginresourceconnector"
@@ -69,6 +70,36 @@ The following example shows a request.
6970
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/externalOriginResourceConnectors
7071
```
7172

73+
# [C#](#tab/csharp)
74+
[!INCLUDE [sample-code](../includes/snippets/csharp/list-externaloriginresourceconnector-csharp-snippets.md)]
75+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
76+
77+
# [Go](#tab/go)
78+
[!INCLUDE [sample-code](../includes/snippets/go/list-externaloriginresourceconnector-go-snippets.md)]
79+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
80+
81+
# [Java](#tab/java)
82+
[!INCLUDE [sample-code](../includes/snippets/java/list-externaloriginresourceconnector-java-snippets.md)]
83+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
84+
85+
# [JavaScript](#tab/javascript)
86+
[!INCLUDE [sample-code](../includes/snippets/javascript/list-externaloriginresourceconnector-javascript-snippets.md)]
87+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
88+
89+
# [PHP](#tab/php)
90+
[!INCLUDE [sample-code](../includes/snippets/php/list-externaloriginresourceconnector-php-snippets.md)]
91+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
92+
93+
# [PowerShell](#tab/powershell)
94+
[!INCLUDE [sample-code](../includes/snippets/powershell/list-externaloriginresourceconnector-powershell-snippets.md)]
95+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
96+
97+
# [Python](#tab/python)
98+
[!INCLUDE [sample-code](../includes/snippets/python/list-externaloriginresourceconnector-python-snippets.md)]
99+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
100+
101+
---
102+
72103

73104
### Response
74105

api-reference/beta/api/entitlementmanagement-post-accesspackageresourcerequests.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,7 @@ Content-type: application/json
634634

635635
The following example shows a request for adding an external origin resource connector to a catalog, including specifying a required attribute of that resource connector.
636636

637+
# [HTTP](#tab/http)
637638
<!-- {
638639
"blockType": "request",
639640
"name": "create_accesspackageresourcerequest_from_accesspackageresourcerequests_connector"
@@ -677,6 +678,36 @@ Content-type: application/json
677678
678679
```
679680

681+
# [C#](#tab/csharp)
682+
[!INCLUDE [sample-code](../includes/snippets/csharp/create-accesspackageresourcerequest-from-accesspackageresourcerequests-connector-csharp-snippets.md)]
683+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
684+
685+
# [Go](#tab/go)
686+
[!INCLUDE [snippet-not-available](../includes/snippets/snippet-not-available.md)]
687+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
688+
689+
# [Java](#tab/java)
690+
[!INCLUDE [sample-code](../includes/snippets/java/create-accesspackageresourcerequest-from-accesspackageresourcerequests-connector-java-snippets.md)]
691+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
692+
693+
# [JavaScript](#tab/javascript)
694+
[!INCLUDE [sample-code](../includes/snippets/javascript/create-accesspackageresourcerequest-from-accesspackageresourcerequests-connector-javascript-snippets.md)]
695+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
696+
697+
# [PHP](#tab/php)
698+
[!INCLUDE [sample-code](../includes/snippets/php/create-accesspackageresourcerequest-from-accesspackageresourcerequests-connector-php-snippets.md)]
699+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
700+
701+
# [PowerShell](#tab/powershell)
702+
[!INCLUDE [sample-code](../includes/snippets/powershell/create-accesspackageresourcerequest-from-accesspackageresourcerequests-connector-powershell-snippets.md)]
703+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
704+
705+
# [Python](#tab/python)
706+
[!INCLUDE [sample-code](../includes/snippets/python/create-accesspackageresourcerequest-from-accesspackageresourcerequests-connector-python-snippets.md)]
707+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
708+
709+
---
710+
680711

681712

682713
#### Response

api-reference/beta/api/entitlementmanagement-post-externaloriginresourceconnectors.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ If successful, this method returns a `201 Created` response code and an [externa
6969
### Request
7070

7171
The following example shows a request.
72+
# [HTTP](#tab/http)
7273
<!-- {
7374
"blockType": "request",
7475
"name": "create_externaloriginresourceconnector_from_"
@@ -96,6 +97,36 @@ Content-Type: application/json
9697
}
9798
```
9899

100+
# [C#](#tab/csharp)
101+
[!INCLUDE [sample-code](../includes/snippets/csharp/create-externaloriginresourceconnector-from--csharp-snippets.md)]
102+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
103+
104+
# [Go](#tab/go)
105+
[!INCLUDE [sample-code](../includes/snippets/go/create-externaloriginresourceconnector-from--go-snippets.md)]
106+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
107+
108+
# [Java](#tab/java)
109+
[!INCLUDE [sample-code](../includes/snippets/java/create-externaloriginresourceconnector-from--java-snippets.md)]
110+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
111+
112+
# [JavaScript](#tab/javascript)
113+
[!INCLUDE [sample-code](../includes/snippets/javascript/create-externaloriginresourceconnector-from--javascript-snippets.md)]
114+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
115+
116+
# [PHP](#tab/php)
117+
[!INCLUDE [sample-code](../includes/snippets/php/create-externaloriginresourceconnector-from--php-snippets.md)]
118+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
119+
120+
# [PowerShell](#tab/powershell)
121+
[!INCLUDE [sample-code](../includes/snippets/powershell/create-externaloriginresourceconnector-from--powershell-snippets.md)]
122+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
123+
124+
# [Python](#tab/python)
125+
[!INCLUDE [sample-code](../includes/snippets/python/create-externaloriginresourceconnector-from--python-snippets.md)]
126+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
127+
128+
---
129+
99130

100131
### Response
101132

api-reference/beta/api/entrarecoveryservices-recovery-list-jobs.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ If successful, this method returns a `200 OK` response code and a collection of
6464
### Request
6565

6666
The following example shows a request.
67+
# [HTTP](#tab/http)
6768
<!-- {
6869
"blockType": "request",
6970
"name": "list_recoveryjobbase"
@@ -73,6 +74,12 @@ The following example shows a request.
7374
GET https://graph.microsoft.com/beta/directory/recovery/jobs
7475
```
7576

77+
# [JavaScript](#tab/javascript)
78+
[!INCLUDE [sample-code](../includes/snippets/javascript/list-recoveryjobbase-javascript-snippets.md)]
79+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
80+
81+
---
82+
7683
### Response
7784

7885
The following example shows the response.

api-reference/beta/api/entrarecoveryservices-recovery-list-snapshots.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ If successful, this method returns a `200 OK` response code and a collection of
6464
### Request
6565

6666
The following example shows a request.
67+
# [HTTP](#tab/http)
6768
<!-- {
6869
"blockType": "request",
6970
"name": "list_snapshot"
@@ -73,6 +74,12 @@ The following example shows a request.
7374
GET https://graph.microsoft.com/beta/directory/recovery/snapshots
7475
```
7576

77+
# [JavaScript](#tab/javascript)
78+
[!INCLUDE [sample-code](../includes/snippets/javascript/list-snapshot-javascript-snippets.md)]
79+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
80+
81+
---
82+
7683
### Response
7784

7885
The following example shows the response.

api-reference/beta/api/entrarecoveryservices-recoveryjob-get.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ If successful, this method returns a `200 OK` response code and a [microsoft.gra
6464
### Request
6565

6666
The following example shows a request.
67+
# [HTTP](#tab/http)
6768
<!-- {
6869
"blockType": "request",
6970
"name": "get_recoveryjob"
@@ -73,6 +74,12 @@ The following example shows a request.
7374
GET https://graph.microsoft.com/beta/directory/recovery/snapshots/MjAyNC0wOC0yNlQwMjozMDowMFo=/recoveryJobs/3f4a6b60-7c1e-4e7c-9c7b-13f8d44b20c4
7475
```
7576

77+
# [JavaScript](#tab/javascript)
78+
[!INCLUDE [sample-code](../includes/snippets/javascript/get-recoveryjob-javascript-snippets.md)]
79+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
80+
81+
---
82+
7683
### Response
7784

7885
The following example shows the response.

api-reference/beta/api/entrarecoveryservices-recoveryjob-getfailedchanges.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ The following example shows a request to retrieve changes that failed to apply d
7272
#### Request
7373

7474
The following example shows a request.
75+
# [HTTP](#tab/http)
7576
<!-- {
7677
"blockType": "request",
7778
"name": "recoveryjobthis.getfailedchanges.example1"
@@ -81,6 +82,12 @@ The following example shows a request.
8182
GET https://graph.microsoft.com/beta/directory/recovery/snapshots/MjAyNC0wOC0yNlQwMjozMDowMFo=/recoveryJobs/3f4a6b60-7c1e-4e7c-9c7b-13f8d44b20c4/getFailedChanges
8283
```
8384

85+
# [JavaScript](#tab/javascript)
86+
[!INCLUDE [sample-code](../includes/snippets/javascript/recoveryjobthisgetfailedchangesexample1-javascript-snippets.md)]
87+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
88+
89+
---
90+
8491
#### Response
8592

8693
The following example shows the response.
@@ -154,6 +161,7 @@ The following example shows a request using the `$top` query parameter to limit
154161
#### Request
155162

156163
The following example shows a request.
164+
# [HTTP](#tab/http)
157165
<!-- {
158166
"blockType": "request",
159167
"name": "recoveryjobthis.getfailedchanges.example2"
@@ -163,6 +171,12 @@ The following example shows a request.
163171
GET https://graph.microsoft.com/beta/directory/recovery/snapshots/MjAyNC0wOC0yNlQwMjozMDowMFo=/recoveryJobs/3f4a6b60-7c1e-4e7c-9c7b-13f8d44b20c4/getFailedChanges?$top=1
164172
```
165173

174+
# [JavaScript](#tab/javascript)
175+
[!INCLUDE [sample-code](../includes/snippets/javascript/recoveryjobthisgetfailedchangesexample2-javascript-snippets.md)]
176+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
177+
178+
---
179+
166180
#### Response
167181

168182
The following example shows the response.

0 commit comments

Comments
 (0)