@@ -247,22 +247,15 @@ Content-Type: application/octet-stream
247
247
}
248
248
```
249
249
250
- ### Example 2: Get the weekly regional aggregated report of inaccessible cloud PC trend
250
+ ### Example 2: Get the weekly regional aggregated report of inaccessible Cloud PC trend
251
251
252
252
#### Request
253
253
254
254
The following example shows a request.
255
255
256
- # [ HTTP] ( #tab/http )
257
- <!-- {
258
- "blockType": "request",
259
- "name": "cloudpcreports.getInaccessibleCloudPcReports_regionalTrend"
260
- }
261
- -->
262
256
``` http
263
257
POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/reports/getInaccessibleCloudPcReports
264
258
Content-Type: application/json
265
- Content-length: 199
266
259
267
260
{
268
261
"reportName":"regionalInaccessibleCloudPcTrendReport",
@@ -280,43 +273,11 @@ Content-length: 199
280
273
}
281
274
```
282
275
283
- # [ C#] ( #tab/csharp )
284
- [ !INCLUDE [ sample-code] ( ../includes/snippets/csharp/cloudpcreportsgetinaccessiblecloudpcreports-csharp-snippets.md )]
285
- [ !INCLUDE [ sdk-documentation] ( ../includes/snippets/snippets-sdk-documentation-link.md )]
286
-
287
- # [ CLI] ( #tab/cli )
288
- [ !INCLUDE [ sample-code] ( ../includes/snippets/cli/cloudpcreportsgetinaccessiblecloudpcreports-cli-snippets.md )]
289
- [ !INCLUDE [ sdk-documentation] ( ../includes/snippets/snippets-sdk-documentation-link.md )]
290
-
291
- # [ Go] ( #tab/go )
292
- [ !INCLUDE [ sample-code] ( ../includes/snippets/go/cloudpcreportsgetinaccessiblecloudpcreports-go-snippets.md )]
293
- [ !INCLUDE [ sdk-documentation] ( ../includes/snippets/snippets-sdk-documentation-link.md )]
294
-
295
- # [ Java] ( #tab/java )
296
- [ !INCLUDE [ sample-code] ( ../includes/snippets/java/cloudpcreportsgetinaccessiblecloudpcreports-java-snippets.md )]
297
- [ !INCLUDE [ sdk-documentation] ( ../includes/snippets/snippets-sdk-documentation-link.md )]
298
-
299
- # [ JavaScript] ( #tab/javascript )
300
- [ !INCLUDE [ sample-code] ( ../includes/snippets/javascript/cloudpcreportsgetinaccessiblecloudpcreports-javascript-snippets.md )]
301
- [ !INCLUDE [ sdk-documentation] ( ../includes/snippets/snippets-sdk-documentation-link.md )]
302
-
303
- # [ PHP] ( #tab/php )
304
- [ !INCLUDE [ sample-code] ( ../includes/snippets/php/cloudpcreportsgetinaccessiblecloudpcreports-php-snippets.md )]
305
- [ !INCLUDE [ sdk-documentation] ( ../includes/snippets/snippets-sdk-documentation-link.md )]
306
-
307
- # [ PowerShell] ( #tab/powershell )
308
- [ !INCLUDE [ sample-code] ( ../includes/snippets/powershell/cloudpcreportsgetinaccessiblecloudpcreports-powershell-snippets.md )]
309
- [ !INCLUDE [ sdk-documentation] ( ../includes/snippets/snippets-sdk-documentation-link.md )]
310
-
311
- # [ Python] ( #tab/python )
312
- [ !INCLUDE [ sample-code] ( ../includes/snippets/python/cloudpcreportsgetinaccessiblecloudpcreports-python-snippets.md )]
313
- [ !INCLUDE [ sdk-documentation] ( ../includes/snippets/snippets-sdk-documentation-link.md )]
314
-
315
- ---
316
-
317
276
#### Response
318
277
319
278
The following example shows the response.
279
+
280
+ > ** Note:** The response object shown here might be shortened for readability.
320
281
<!-- {
321
282
"blockType": "response",
322
283
"truncated": true,
@@ -327,35 +288,34 @@ The following example shows the response.
327
288
HTTP/1.1 200 OK
328
289
Content-Type: application/octet-stream
329
290
330
- HTTP/1.1 200 OK
331
291
{
332
- "TotalRowCount": 2,
333
- "Schema": [
334
- {
335
- "Column": "HostRegionName",
336
- "PropertyType": "String"
337
- },
338
- {
339
- "Column": "CloudPcCount",
340
- "PropertyType": "Int"
341
- },
342
- {
343
- "Column": "WeeklyPeakInaccessibleCloudPcCount",
344
- "PropertyType": "Int"
345
- },
346
- {
347
- "Column": "Last24hPeakInaccessibleCloudPcCount",
348
- "PropertyType": "Int"
349
- },
350
- {
351
- "Column": "WeeklyInaccessibleTrend",
352
- "PropertyType": "String"
353
- }
354
- ],
355
- "Values": [
356
- [ "Japan East", 46, 10, 5, "Increasing" ],
357
- [ "East US", 1, 0, 0, "Decreasing" ]
358
- ]
292
+ "TotalRowCount": 2,
293
+ "Schema": [
294
+ {
295
+ "Column": "HostRegionName",
296
+ "PropertyType": "String"
297
+ },
298
+ {
299
+ "Column": "CloudPcCount",
300
+ "PropertyType": "Int"
301
+ },
302
+ {
303
+ "Column": "WeeklyPeakInaccessibleCloudPcCount",
304
+ "PropertyType": "Int"
305
+ },
306
+ {
307
+ "Column": "Last24hPeakInaccessibleCloudPcCount",
308
+ "PropertyType": "Int"
309
+ },
310
+ {
311
+ "Column": "WeeklyInaccessibleTrend",
312
+ "PropertyType": "String"
313
+ }
314
+ ],
315
+ "Values": [
316
+ [ "Japan East", 46, 10, 5, "Increasing" ],
317
+ [ "East US", 1, 0, 0, "Decreasing" ]
318
+ ]
359
319
}
360
320
```
361
321
0 commit comments