@azure-rest/iot-device-update 1.1.1-alpha.20250718.1 → 1.1.1-alpha.20250730.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/browser/deviceUpdate.js +13 -11
  2. package/dist/browser/deviceUpdate.js.map +1 -1
  3. package/dist/browser/isUnexpected.js +4 -5
  4. package/dist/browser/isUnexpected.js.map +1 -1
  5. package/dist/browser/paginateHelper.js +43 -73
  6. package/dist/browser/paginateHelper.js.map +1 -1
  7. package/dist/browser/pollingHelper.js +11 -8
  8. package/dist/browser/pollingHelper.js.map +1 -1
  9. package/dist/commonjs/deviceUpdate.js +13 -11
  10. package/dist/commonjs/deviceUpdate.js.map +1 -1
  11. package/dist/commonjs/isUnexpected.js +4 -5
  12. package/dist/commonjs/isUnexpected.js.map +1 -1
  13. package/dist/commonjs/paginateHelper.js +43 -73
  14. package/dist/commonjs/paginateHelper.js.map +1 -1
  15. package/dist/commonjs/pollingHelper.js +11 -8
  16. package/dist/commonjs/pollingHelper.js.map +1 -1
  17. package/dist/commonjs/tsdoc-metadata.json +11 -11
  18. package/dist/esm/deviceUpdate.js +13 -11
  19. package/dist/esm/deviceUpdate.js.map +1 -1
  20. package/dist/esm/isUnexpected.js +4 -5
  21. package/dist/esm/isUnexpected.js.map +1 -1
  22. package/dist/esm/paginateHelper.js +43 -73
  23. package/dist/esm/paginateHelper.js.map +1 -1
  24. package/dist/esm/pollingHelper.js +11 -8
  25. package/dist/esm/pollingHelper.js.map +1 -1
  26. package/dist/react-native/deviceUpdate.js +13 -11
  27. package/dist/react-native/deviceUpdate.js.map +1 -1
  28. package/dist/react-native/isUnexpected.js +4 -5
  29. package/dist/react-native/isUnexpected.js.map +1 -1
  30. package/dist/react-native/paginateHelper.js +43 -73
  31. package/dist/react-native/paginateHelper.js.map +1 -1
  32. package/dist/react-native/pollingHelper.js +11 -8
  33. package/dist/react-native/pollingHelper.js.map +1 -1
  34. package/package.json +2 -2
  35. package/review/iot-device-update-node.api.md +2211 -2211
@@ -1,2211 +1,2211 @@
1
- ## API Report File for "@azure-rest/iot-device-update"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import type { AbortSignalLike } from '@azure/abort-controller';
8
- import type { CancelOnProgress } from '@azure/core-lro';
9
- import type { Client } from '@azure-rest/core-client';
10
- import type { ClientOptions } from '@azure-rest/core-client';
11
- import type { CreateHttpPollerOptions } from '@azure/core-lro';
12
- import type { HttpResponse } from '@azure-rest/core-client';
13
- import type { OperationState } from '@azure/core-lro';
14
- import type { PathUncheckedResponse } from '@azure-rest/core-client';
15
- import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
16
- import type { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
17
- import type { RequestParameters } from '@azure-rest/core-client';
18
- import type { StreamableMethod } from '@azure-rest/core-client';
19
- import type { TokenCredential } from '@azure/core-auth';
20
-
21
- // @public
22
- export interface CloudInitiatedRollbackPolicy {
23
- failure: CloudInitiatedRollbackPolicyFailure;
24
- update: UpdateInfo;
25
- }
26
-
27
- // @public
28
- export interface CloudInitiatedRollbackPolicyFailure {
29
- devicesFailedCount: number;
30
- devicesFailedPercentage: number;
31
- }
32
-
33
- // @public
34
- export interface CloudInitiatedRollbackPolicyFailureOutput {
35
- devicesFailedCount: number;
36
- devicesFailedPercentage: number;
37
- }
38
-
39
- // @public
40
- export interface CloudInitiatedRollbackPolicyOutput {
41
- failure: CloudInitiatedRollbackPolicyFailureOutput;
42
- update: UpdateInfoOutput;
43
- }
44
-
45
- // @public
46
- export interface ContractModelOutput {
47
- id: string;
48
- name: string;
49
- }
50
-
51
- // @public
52
- function createClient(endpoint: string, credentials: TokenCredential, { apiVersion, ...options }?: DeviceUpdateClientOptions): DeviceUpdateClient;
53
- export default createClient;
54
-
55
- // @public
56
- export interface Deployment {
57
- deploymentId: string;
58
- deviceClassSubgroups?: Array<string>;
59
- groupId: string;
60
- isCanceled?: boolean;
61
- isCloudInitiatedRollback?: boolean;
62
- isRetried?: boolean;
63
- rollbackPolicy?: CloudInitiatedRollbackPolicy;
64
- startDateTime: Date | string;
65
- update: UpdateInfo;
66
- }
67
-
68
- // @public
69
- export interface DeploymentDeviceStateOutput {
70
- deviceId: string;
71
- deviceState: "Succeeded" | "InProgress" | "Canceled" | "Failed";
72
- moduleId?: string;
73
- movedOnToNewDeployment: boolean;
74
- retryCount: number;
75
- }
76
-
77
- // @public
78
- export interface DeploymentDeviceStatesListOutput {
79
- nextLink?: string;
80
- value: Array<DeploymentDeviceStateOutput>;
81
- }
82
-
83
- // @public
84
- export interface DeploymentOutput {
85
- deploymentId: string;
86
- deviceClassSubgroups?: Array<string>;
87
- groupId: string;
88
- isCanceled?: boolean;
89
- isCloudInitiatedRollback?: boolean;
90
- isRetried?: boolean;
91
- rollbackPolicy?: CloudInitiatedRollbackPolicyOutput;
92
- startDateTime: string;
93
- update: UpdateInfoOutput;
94
- }
95
-
96
- // @public
97
- export interface DeploymentsListOutput {
98
- nextLink?: string;
99
- value: Array<DeploymentOutput>;
100
- }
101
-
102
- // @public
103
- export interface DeploymentStatusOutput {
104
- deploymentState: "Active" | "ActiveWithSubgroupFailures" | "Failed" | "Inactive" | "Canceled";
105
- error?: ErrorModelOutput;
106
- groupId: string;
107
- subgroupStatus: Array<DeviceClassSubgroupDeploymentStatusOutput>;
108
- }
109
-
110
- // @public
111
- export interface DeviceClassesListOutput {
112
- nextLink?: string;
113
- value: Array<DeviceClassOutput>;
114
- }
115
-
116
- // @public
117
- export interface DeviceClassOutput {
118
- bestCompatibleUpdate?: UpdateInfoOutput;
119
- deviceClassId: string;
120
- deviceClassProperties: DeviceClassPropertiesOutput;
121
- friendlyName?: string;
122
- }
123
-
124
- // @public
125
- export interface DeviceClassPropertiesOutput {
126
- compatProperties: Record<string, string>;
127
- contractModel?: ContractModelOutput;
128
- }
129
-
130
- // @public
131
- export interface DeviceClassSubgroupDeploymentStatusOutput {
132
- deploymentState: "Active" | "Failed" | "Inactive" | "Canceled";
133
- deviceClassId: string;
134
- devicesCanceledCount?: number;
135
- devicesCompletedFailedCount?: number;
136
- devicesCompletedSucceededCount?: number;
137
- devicesInProgressCount?: number;
138
- error?: ErrorModelOutput;
139
- groupId: string;
140
- totalDevices?: number;
141
- }
142
-
143
- // @public
144
- export interface DeviceClassSubgroupOutput {
145
- createdDateTime: string;
146
- deploymentId?: string;
147
- deviceClassId: string;
148
- deviceCount?: number;
149
- groupId: string;
150
- }
151
-
152
- // @public
153
- export interface DeviceClassSubgroupsListOutput {
154
- nextLink?: string;
155
- value: Array<DeviceClassSubgroupOutput>;
156
- }
157
-
158
- // @public
159
- export interface DeviceClassSubgroupUpdatableDevicesListOutput {
160
- nextLink?: string;
161
- value: Array<DeviceClassSubgroupUpdatableDevicesOutput>;
162
- }
163
-
164
- // @public
165
- export interface DeviceClassSubgroupUpdatableDevicesOutput {
166
- deviceClassId: string;
167
- deviceCount: number;
168
- groupId: string;
169
- update: UpdateInfoOutput;
170
- }
171
-
172
- // @public
173
- export interface DeviceHealthListOutput {
174
- nextLink?: string;
175
- value: Array<DeviceHealthOutput>;
176
- }
177
-
178
- // @public
179
- export interface DeviceHealthOutput {
180
- deviceId: string;
181
- digitalTwinModelId?: string;
182
- healthChecks: Array<HealthCheckOutput>;
183
- moduleId?: string;
184
- state: "healthy" | "unhealthy";
185
- }
186
-
187
- // @public
188
- export interface DeviceManagementCreateOrUpdateDeployment200Response extends HttpResponse {
189
- // (undocumented)
190
- body: DeploymentOutput;
191
- // (undocumented)
192
- status: "200";
193
- }
194
-
195
- // @public (undocumented)
196
- export interface DeviceManagementCreateOrUpdateDeploymentBodyParam {
197
- body: Deployment;
198
- }
199
-
200
- // @public
201
- export interface DeviceManagementCreateOrUpdateDeploymentDefaultResponse extends HttpResponse {
202
- // (undocumented)
203
- body: ErrorResponseOutput;
204
- // (undocumented)
205
- status: string;
206
- }
207
-
208
- // @public (undocumented)
209
- export interface DeviceManagementCreateOrUpdateDeploymentMediaTypesParam {
210
- contentType?: "application/json";
211
- }
212
-
213
- // @public (undocumented)
214
- export type DeviceManagementCreateOrUpdateDeploymentParameters = DeviceManagementCreateOrUpdateDeploymentMediaTypesParam & DeviceManagementCreateOrUpdateDeploymentBodyParam & RequestParameters;
215
-
216
- // @public
217
- export interface DeviceManagementDeleteDeployment204Response extends HttpResponse {
218
- // (undocumented)
219
- status: "204";
220
- }
221
-
222
- // @public
223
- export interface DeviceManagementDeleteDeploymentDefaultResponse extends HttpResponse {
224
- // (undocumented)
225
- body: ErrorResponseOutput;
226
- // (undocumented)
227
- status: string;
228
- }
229
-
230
- // @public
231
- export interface DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response extends HttpResponse {
232
- // (undocumented)
233
- status: "204";
234
- }
235
-
236
- // @public
237
- export interface DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse extends HttpResponse {
238
- // (undocumented)
239
- body: ErrorResponseOutput;
240
- // (undocumented)
241
- status: string;
242
- }
243
-
244
- // @public (undocumented)
245
- export type DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters = RequestParameters;
246
-
247
- // @public (undocumented)
248
- export type DeviceManagementDeleteDeploymentParameters = RequestParameters;
249
-
250
- // @public
251
- export interface DeviceManagementDeleteDeviceClass204Response extends HttpResponse {
252
- // (undocumented)
253
- status: "204";
254
- }
255
-
256
- // @public
257
- export interface DeviceManagementDeleteDeviceClassDefaultResponse extends HttpResponse {
258
- // (undocumented)
259
- body: ErrorResponseOutput;
260
- // (undocumented)
261
- status: string;
262
- }
263
-
264
- // @public (undocumented)
265
- export type DeviceManagementDeleteDeviceClassParameters = RequestParameters;
266
-
267
- // @public
268
- export interface DeviceManagementDeleteDeviceClassSubgroup204Response extends HttpResponse {
269
- // (undocumented)
270
- status: "204";
271
- }
272
-
273
- // @public
274
- export interface DeviceManagementDeleteDeviceClassSubgroupDefaultResponse extends HttpResponse {
275
- // (undocumented)
276
- body: ErrorResponseOutput;
277
- // (undocumented)
278
- status: string;
279
- }
280
-
281
- // @public (undocumented)
282
- export type DeviceManagementDeleteDeviceClassSubgroupParameters = RequestParameters;
283
-
284
- // @public
285
- export interface DeviceManagementDeleteGroup204Response extends HttpResponse {
286
- // (undocumented)
287
- status: "204";
288
- }
289
-
290
- // @public
291
- export interface DeviceManagementDeleteGroupDefaultResponse extends HttpResponse {
292
- // (undocumented)
293
- body: ErrorResponseOutput;
294
- // (undocumented)
295
- status: string;
296
- }
297
-
298
- // @public (undocumented)
299
- export type DeviceManagementDeleteGroupParameters = RequestParameters;
300
-
301
- // @public (undocumented)
302
- export interface DeviceManagementGetBestUpdatesForDeviceClassSubgroup {
303
- get(options?: DeviceManagementGetBestUpdatesForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response | DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse>;
304
- }
305
-
306
- // @public
307
- export interface DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response extends HttpResponse {
308
- // (undocumented)
309
- body: DeviceClassSubgroupUpdatableDevicesOutput;
310
- // (undocumented)
311
- status: "200";
312
- }
313
-
314
- // @public
315
- export interface DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse extends HttpResponse {
316
- // (undocumented)
317
- body: ErrorResponseOutput;
318
- // (undocumented)
319
- status: string;
320
- }
321
-
322
- // @public (undocumented)
323
- export type DeviceManagementGetBestUpdatesForDeviceClassSubgroupParameters = RequestParameters;
324
-
325
- // @public (undocumented)
326
- export interface DeviceManagementGetDeployment {
327
- delete(options?: DeviceManagementDeleteDeploymentParameters): StreamableMethod<DeviceManagementDeleteDeployment204Response | DeviceManagementDeleteDeploymentDefaultResponse>;
328
- get(options?: DeviceManagementGetDeploymentParameters): StreamableMethod<DeviceManagementGetDeployment200Response | DeviceManagementGetDeploymentDefaultResponse>;
329
- put(options: DeviceManagementCreateOrUpdateDeploymentParameters): StreamableMethod<DeviceManagementCreateOrUpdateDeployment200Response | DeviceManagementCreateOrUpdateDeploymentDefaultResponse>;
330
- }
331
-
332
- // @public
333
- export interface DeviceManagementGetDeployment200Response extends HttpResponse {
334
- // (undocumented)
335
- body: DeploymentOutput;
336
- // (undocumented)
337
- status: "200";
338
- }
339
-
340
- // @public
341
- export interface DeviceManagementGetDeploymentDefaultResponse extends HttpResponse {
342
- // (undocumented)
343
- body: ErrorResponseOutput;
344
- // (undocumented)
345
- status: string;
346
- }
347
-
348
- // @public (undocumented)
349
- export interface DeviceManagementGetDeploymentForDeviceClassSubgroup {
350
- delete(options?: DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response | DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse>;
351
- get(options?: DeviceManagementGetDeploymentForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementGetDeploymentForDeviceClassSubgroup200Response | DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse>;
352
- }
353
-
354
- // @public
355
- export interface DeviceManagementGetDeploymentForDeviceClassSubgroup200Response extends HttpResponse {
356
- // (undocumented)
357
- body: DeploymentOutput;
358
- // (undocumented)
359
- status: "200";
360
- }
361
-
362
- // @public
363
- export interface DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse extends HttpResponse {
364
- // (undocumented)
365
- body: ErrorResponseOutput;
366
- // (undocumented)
367
- status: string;
368
- }
369
-
370
- // @public (undocumented)
371
- export type DeviceManagementGetDeploymentForDeviceClassSubgroupParameters = RequestParameters;
372
-
373
- // @public (undocumented)
374
- export type DeviceManagementGetDeploymentParameters = RequestParameters;
375
-
376
- // @public (undocumented)
377
- export interface DeviceManagementGetDeploymentStatus {
378
- get(options?: DeviceManagementGetDeploymentStatusParameters): StreamableMethod<DeviceManagementGetDeploymentStatus200Response | DeviceManagementGetDeploymentStatusDefaultResponse>;
379
- }
380
-
381
- // @public
382
- export interface DeviceManagementGetDeploymentStatus200Response extends HttpResponse {
383
- // (undocumented)
384
- body: DeploymentStatusOutput;
385
- // (undocumented)
386
- status: "200";
387
- }
388
-
389
- // @public
390
- export interface DeviceManagementGetDeploymentStatusDefaultResponse extends HttpResponse {
391
- // (undocumented)
392
- body: ErrorResponseOutput;
393
- // (undocumented)
394
- status: string;
395
- }
396
-
397
- // @public (undocumented)
398
- export type DeviceManagementGetDeploymentStatusParameters = RequestParameters;
399
-
400
- // @public (undocumented)
401
- export interface DeviceManagementGetDevice {
402
- get(options?: DeviceManagementGetDeviceParameters): StreamableMethod<DeviceManagementGetDevice200Response | DeviceManagementGetDeviceDefaultResponse>;
403
- }
404
-
405
- // @public
406
- export interface DeviceManagementGetDevice200Response extends HttpResponse {
407
- // (undocumented)
408
- body: DeviceOutput;
409
- // (undocumented)
410
- status: "200";
411
- }
412
-
413
- // @public (undocumented)
414
- export interface DeviceManagementGetDeviceClass {
415
- delete(options?: DeviceManagementDeleteDeviceClassParameters): StreamableMethod<DeviceManagementDeleteDeviceClass204Response | DeviceManagementDeleteDeviceClassDefaultResponse>;
416
- get(options?: DeviceManagementGetDeviceClassParameters): StreamableMethod<DeviceManagementGetDeviceClass200Response | DeviceManagementGetDeviceClassDefaultResponse>;
417
- patch(options: DeviceManagementUpdateDeviceClassParameters): StreamableMethod<DeviceManagementUpdateDeviceClass200Response | DeviceManagementUpdateDeviceClassDefaultResponse>;
418
- }
419
-
420
- // @public
421
- export interface DeviceManagementGetDeviceClass200Response extends HttpResponse {
422
- // (undocumented)
423
- body: DeviceClassOutput;
424
- // (undocumented)
425
- status: "200";
426
- }
427
-
428
- // @public
429
- export interface DeviceManagementGetDeviceClassDefaultResponse extends HttpResponse {
430
- // (undocumented)
431
- body: ErrorResponseOutput;
432
- // (undocumented)
433
- status: string;
434
- }
435
-
436
- // @public (undocumented)
437
- export type DeviceManagementGetDeviceClassParameters = RequestParameters;
438
-
439
- // @public (undocumented)
440
- export interface DeviceManagementGetDeviceClassSubgroup {
441
- delete(options?: DeviceManagementDeleteDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementDeleteDeviceClassSubgroup204Response | DeviceManagementDeleteDeviceClassSubgroupDefaultResponse>;
442
- get(options?: DeviceManagementGetDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementGetDeviceClassSubgroup200Response | DeviceManagementGetDeviceClassSubgroupDefaultResponse>;
443
- }
444
-
445
- // @public
446
- export interface DeviceManagementGetDeviceClassSubgroup200Response extends HttpResponse {
447
- // (undocumented)
448
- body: DeviceClassSubgroupOutput;
449
- // (undocumented)
450
- status: "200";
451
- }
452
-
453
- // @public
454
- export interface DeviceManagementGetDeviceClassSubgroupDefaultResponse extends HttpResponse {
455
- // (undocumented)
456
- body: ErrorResponseOutput;
457
- // (undocumented)
458
- status: string;
459
- }
460
-
461
- // @public (undocumented)
462
- export interface DeviceManagementGetDeviceClassSubgroupDeploymentStatus {
463
- get(options?: DeviceManagementGetDeviceClassSubgroupDeploymentStatusParameters): StreamableMethod<DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response | DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse>;
464
- }
465
-
466
- // @public
467
- export interface DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response extends HttpResponse {
468
- // (undocumented)
469
- body: DeviceClassSubgroupDeploymentStatusOutput;
470
- // (undocumented)
471
- status: "200";
472
- }
473
-
474
- // @public
475
- export interface DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse extends HttpResponse {
476
- // (undocumented)
477
- body: ErrorResponseOutput;
478
- // (undocumented)
479
- status: string;
480
- }
481
-
482
- // @public (undocumented)
483
- export type DeviceManagementGetDeviceClassSubgroupDeploymentStatusParameters = RequestParameters;
484
-
485
- // @public (undocumented)
486
- export type DeviceManagementGetDeviceClassSubgroupParameters = RequestParameters;
487
-
488
- // @public (undocumented)
489
- export interface DeviceManagementGetDeviceClassSubgroupUpdateCompliance {
490
- get(options?: DeviceManagementGetDeviceClassSubgroupUpdateComplianceParameters): StreamableMethod<DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response | DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse>;
491
- }
492
-
493
- // @public
494
- export interface DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response extends HttpResponse {
495
- // (undocumented)
496
- body: UpdateComplianceOutput;
497
- // (undocumented)
498
- status: "200";
499
- }
500
-
501
- // @public
502
- export interface DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse extends HttpResponse {
503
- // (undocumented)
504
- body: ErrorResponseOutput;
505
- // (undocumented)
506
- status: string;
507
- }
508
-
509
- // @public (undocumented)
510
- export type DeviceManagementGetDeviceClassSubgroupUpdateComplianceParameters = RequestParameters;
511
-
512
- // @public
513
- export interface DeviceManagementGetDeviceDefaultResponse extends HttpResponse {
514
- // (undocumented)
515
- body: ErrorResponseOutput;
516
- // (undocumented)
517
- status: string;
518
- }
519
-
520
- // @public (undocumented)
521
- export interface DeviceManagementGetDeviceModule {
522
- get(options?: DeviceManagementGetDeviceModuleParameters): StreamableMethod<DeviceManagementGetDeviceModule200Response | DeviceManagementGetDeviceModuleDefaultResponse>;
523
- }
524
-
525
- // @public
526
- export interface DeviceManagementGetDeviceModule200Response extends HttpResponse {
527
- // (undocumented)
528
- body: DeviceOutput;
529
- // (undocumented)
530
- status: "200";
531
- }
532
-
533
- // @public
534
- export interface DeviceManagementGetDeviceModuleDefaultResponse extends HttpResponse {
535
- // (undocumented)
536
- body: ErrorResponseOutput;
537
- // (undocumented)
538
- status: string;
539
- }
540
-
541
- // @public (undocumented)
542
- export type DeviceManagementGetDeviceModuleParameters = RequestParameters;
543
-
544
- // @public (undocumented)
545
- export type DeviceManagementGetDeviceParameters = RequestParameters;
546
-
547
- // @public (undocumented)
548
- export interface DeviceManagementGetGroup {
549
- delete(options?: DeviceManagementDeleteGroupParameters): StreamableMethod<DeviceManagementDeleteGroup204Response | DeviceManagementDeleteGroupDefaultResponse>;
550
- get(options?: DeviceManagementGetGroupParameters): StreamableMethod<DeviceManagementGetGroup200Response | DeviceManagementGetGroupDefaultResponse>;
551
- }
552
-
553
- // @public
554
- export interface DeviceManagementGetGroup200Response extends HttpResponse {
555
- // (undocumented)
556
- body: GroupOutput;
557
- // (undocumented)
558
- status: "200";
559
- }
560
-
561
- // @public
562
- export interface DeviceManagementGetGroupDefaultResponse extends HttpResponse {
563
- // (undocumented)
564
- body: ErrorResponseOutput;
565
- // (undocumented)
566
- status: string;
567
- }
568
-
569
- // @public (undocumented)
570
- export type DeviceManagementGetGroupParameters = RequestParameters;
571
-
572
- // @public
573
- export interface DeviceManagementGetLogCollection200Response extends HttpResponse {
574
- // (undocumented)
575
- body: LogCollectionOutput;
576
- // (undocumented)
577
- status: "200";
578
- }
579
-
580
- // @public
581
- export interface DeviceManagementGetLogCollectionDefaultResponse extends HttpResponse {
582
- // (undocumented)
583
- body: ErrorResponseOutput;
584
- // (undocumented)
585
- status: string;
586
- }
587
-
588
- // @public (undocumented)
589
- export interface DeviceManagementGetLogCollectionDetailedStatus {
590
- get(options?: DeviceManagementGetLogCollectionDetailedStatusParameters): StreamableMethod<DeviceManagementGetLogCollectionDetailedStatus200Response | DeviceManagementGetLogCollectionDetailedStatusDefaultResponse>;
591
- }
592
-
593
- // @public
594
- export interface DeviceManagementGetLogCollectionDetailedStatus200Response extends HttpResponse {
595
- // (undocumented)
596
- body: LogCollectionOperationDetailedStatusOutput;
597
- // (undocumented)
598
- status: "200";
599
- }
600
-
601
- // @public
602
- export interface DeviceManagementGetLogCollectionDetailedStatusDefaultResponse extends HttpResponse {
603
- // (undocumented)
604
- body: ErrorResponseOutput;
605
- // (undocumented)
606
- status: string;
607
- }
608
-
609
- // @public (undocumented)
610
- export type DeviceManagementGetLogCollectionDetailedStatusParameters = RequestParameters;
611
-
612
- // @public (undocumented)
613
- export type DeviceManagementGetLogCollectionParameters = RequestParameters;
614
-
615
- // @public (undocumented)
616
- export interface DeviceManagementGetOperationStatus {
617
- get(options?: DeviceManagementGetOperationStatusParameters): StreamableMethod<DeviceManagementGetOperationStatus200Response | DeviceManagementGetOperationStatus304Response | DeviceManagementGetOperationStatusDefaultResponse>;
618
- }
619
-
620
- // @public (undocumented)
621
- export interface DeviceManagementGetOperationStatus200Headers {
622
- "retry-after"?: string;
623
- }
624
-
625
- // @public
626
- export interface DeviceManagementGetOperationStatus200Response extends HttpResponse {
627
- // (undocumented)
628
- body: DeviceOperationOutput;
629
- // (undocumented)
630
- headers: RawHttpHeaders & DeviceManagementGetOperationStatus200Headers;
631
- // (undocumented)
632
- status: "200";
633
- }
634
-
635
- // @public
636
- export interface DeviceManagementGetOperationStatus304Response extends HttpResponse {
637
- // (undocumented)
638
- status: "304";
639
- }
640
-
641
- // @public
642
- export interface DeviceManagementGetOperationStatusDefaultResponse extends HttpResponse {
643
- // (undocumented)
644
- body: ErrorResponseOutput;
645
- // (undocumented)
646
- status: string;
647
- }
648
-
649
- // @public (undocumented)
650
- export interface DeviceManagementGetOperationStatusHeaderParam {
651
- // (undocumented)
652
- headers?: RawHttpHeadersInput & DeviceManagementGetOperationStatusHeaders;
653
- }
654
-
655
- // @public (undocumented)
656
- export interface DeviceManagementGetOperationStatusHeaders {
657
- "If-None-Match"?: string;
658
- }
659
-
660
- // @public (undocumented)
661
- export type DeviceManagementGetOperationStatusParameters = DeviceManagementGetOperationStatusHeaderParam & RequestParameters;
662
-
663
- // @public (undocumented)
664
- export interface DeviceManagementGetUpdateCompliance {
665
- get(options?: DeviceManagementGetUpdateComplianceParameters): StreamableMethod<DeviceManagementGetUpdateCompliance200Response | DeviceManagementGetUpdateComplianceDefaultResponse>;
666
- }
667
-
668
- // @public
669
- export interface DeviceManagementGetUpdateCompliance200Response extends HttpResponse {
670
- // (undocumented)
671
- body: UpdateComplianceOutput;
672
- // (undocumented)
673
- status: "200";
674
- }
675
-
676
- // @public
677
- export interface DeviceManagementGetUpdateComplianceDefaultResponse extends HttpResponse {
678
- // (undocumented)
679
- body: ErrorResponseOutput;
680
- // (undocumented)
681
- status: string;
682
- }
683
-
684
- // @public (undocumented)
685
- export interface DeviceManagementGetUpdateComplianceForGroup {
686
- get(options?: DeviceManagementGetUpdateComplianceForGroupParameters): StreamableMethod<DeviceManagementGetUpdateComplianceForGroup200Response | DeviceManagementGetUpdateComplianceForGroupDefaultResponse>;
687
- }
688
-
689
- // @public
690
- export interface DeviceManagementGetUpdateComplianceForGroup200Response extends HttpResponse {
691
- // (undocumented)
692
- body: UpdateComplianceOutput;
693
- // (undocumented)
694
- status: "200";
695
- }
696
-
697
- // @public
698
- export interface DeviceManagementGetUpdateComplianceForGroupDefaultResponse extends HttpResponse {
699
- // (undocumented)
700
- body: ErrorResponseOutput;
701
- // (undocumented)
702
- status: string;
703
- }
704
-
705
- // @public (undocumented)
706
- export type DeviceManagementGetUpdateComplianceForGroupParameters = RequestParameters;
707
-
708
- // @public (undocumented)
709
- export type DeviceManagementGetUpdateComplianceParameters = RequestParameters;
710
-
711
- // @public (undocumented)
712
- export interface DeviceManagementImportDevices {
713
- post(options: DeviceManagementImportDevicesParameters): StreamableMethod<DeviceManagementImportDevices202Response | DeviceManagementImportDevicesDefaultResponse>;
714
- }
715
-
716
- // @public (undocumented)
717
- export interface DeviceManagementImportDevices202Headers {
718
- "operation-location"?: string;
719
- }
720
-
721
- // @public
722
- export interface DeviceManagementImportDevices202Response extends HttpResponse {
723
- // (undocumented)
724
- headers: RawHttpHeaders & DeviceManagementImportDevices202Headers;
725
- // (undocumented)
726
- status: "202";
727
- }
728
-
729
- // @public (undocumented)
730
- export interface DeviceManagementImportDevicesBodyParam {
731
- body: "Devices" | "Modules" | "All";
732
- }
733
-
734
- // @public
735
- export interface DeviceManagementImportDevicesDefaultResponse extends HttpResponse {
736
- // (undocumented)
737
- body: ErrorResponseOutput;
738
- // (undocumented)
739
- status: string;
740
- }
741
-
742
- // @public (undocumented)
743
- export interface DeviceManagementImportDevicesMediaTypesParam {
744
- contentType?: "application/json";
745
- }
746
-
747
- // @public (undocumented)
748
- export type DeviceManagementImportDevicesParameters = DeviceManagementImportDevicesMediaTypesParam & DeviceManagementImportDevicesBodyParam & RequestParameters;
749
-
750
- // @public (undocumented)
751
- export interface DeviceManagementListBestUpdatesForGroup {
752
- get(options?: DeviceManagementListBestUpdatesForGroupParameters): StreamableMethod<DeviceManagementListBestUpdatesForGroup200Response | DeviceManagementListBestUpdatesForGroupDefaultResponse>;
753
- }
754
-
755
- // @public
756
- export interface DeviceManagementListBestUpdatesForGroup200Response extends HttpResponse {
757
- // (undocumented)
758
- body: DeviceClassSubgroupUpdatableDevicesListOutput;
759
- // (undocumented)
760
- status: "200";
761
- }
762
-
763
- // @public
764
- export interface DeviceManagementListBestUpdatesForGroupDefaultResponse extends HttpResponse {
765
- // (undocumented)
766
- body: ErrorResponseOutput;
767
- // (undocumented)
768
- status: string;
769
- }
770
-
771
- // @public (undocumented)
772
- export type DeviceManagementListBestUpdatesForGroupParameters = RequestParameters;
773
-
774
- // @public (undocumented)
775
- export interface DeviceManagementListDeploymentsForDeviceClassSubgroup {
776
- get(options?: DeviceManagementListDeploymentsForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementListDeploymentsForDeviceClassSubgroup200Response | DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse>;
777
- }
778
-
779
- // @public
780
- export interface DeviceManagementListDeploymentsForDeviceClassSubgroup200Response extends HttpResponse {
781
- // (undocumented)
782
- body: DeploymentsListOutput;
783
- // (undocumented)
784
- status: "200";
785
- }
786
-
787
- // @public
788
- export interface DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse extends HttpResponse {
789
- // (undocumented)
790
- body: ErrorResponseOutput;
791
- // (undocumented)
792
- status: string;
793
- }
794
-
795
- // @public (undocumented)
796
- export type DeviceManagementListDeploymentsForDeviceClassSubgroupParameters = DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParam & RequestParameters;
797
-
798
- // @public (undocumented)
799
- export interface DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParam {
800
- // (undocumented)
801
- queryParameters?: DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParamProperties;
802
- }
803
-
804
- // @public (undocumented)
805
- export interface DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParamProperties {
806
- orderby?: string;
807
- }
808
-
809
- // @public (undocumented)
810
- export interface DeviceManagementListDeploymentsForGroup {
811
- get(options?: DeviceManagementListDeploymentsForGroupParameters): StreamableMethod<DeviceManagementListDeploymentsForGroup200Response | DeviceManagementListDeploymentsForGroupDefaultResponse>;
812
- }
813
-
814
- // @public
815
- export interface DeviceManagementListDeploymentsForGroup200Response extends HttpResponse {
816
- // (undocumented)
817
- body: DeploymentsListOutput;
818
- // (undocumented)
819
- status: "200";
820
- }
821
-
822
- // @public
823
- export interface DeviceManagementListDeploymentsForGroupDefaultResponse extends HttpResponse {
824
- // (undocumented)
825
- body: ErrorResponseOutput;
826
- // (undocumented)
827
- status: string;
828
- }
829
-
830
- // @public (undocumented)
831
- export type DeviceManagementListDeploymentsForGroupParameters = DeviceManagementListDeploymentsForGroupQueryParam & RequestParameters;
832
-
833
- // @public (undocumented)
834
- export interface DeviceManagementListDeploymentsForGroupQueryParam {
835
- // (undocumented)
836
- queryParameters?: DeviceManagementListDeploymentsForGroupQueryParamProperties;
837
- }
838
-
839
- // @public (undocumented)
840
- export interface DeviceManagementListDeploymentsForGroupQueryParamProperties {
841
- orderby?: string;
842
- }
843
-
844
- // @public (undocumented)
845
- export interface DeviceManagementListDeviceClasses {
846
- get(options?: DeviceManagementListDeviceClassesParameters): StreamableMethod<DeviceManagementListDeviceClasses200Response | DeviceManagementListDeviceClassesDefaultResponse>;
847
- }
848
-
849
- // @public
850
- export interface DeviceManagementListDeviceClasses200Response extends HttpResponse {
851
- // (undocumented)
852
- body: DeviceClassesListOutput;
853
- // (undocumented)
854
- status: "200";
855
- }
856
-
857
- // @public
858
- export interface DeviceManagementListDeviceClassesDefaultResponse extends HttpResponse {
859
- // (undocumented)
860
- body: ErrorResponseOutput;
861
- // (undocumented)
862
- status: string;
863
- }
864
-
865
- // @public (undocumented)
866
- export type DeviceManagementListDeviceClassesParameters = DeviceManagementListDeviceClassesQueryParam & RequestParameters;
867
-
868
- // @public (undocumented)
869
- export interface DeviceManagementListDeviceClassesQueryParam {
870
- // (undocumented)
871
- queryParameters?: DeviceManagementListDeviceClassesQueryParamProperties;
872
- }
873
-
874
- // @public (undocumented)
875
- export interface DeviceManagementListDeviceClassesQueryParamProperties {
876
- filter?: string;
877
- }
878
-
879
- // @public (undocumented)
880
- export interface DeviceManagementListDeviceClassSubgroupsForGroup {
881
- get(options?: DeviceManagementListDeviceClassSubgroupsForGroupParameters): StreamableMethod<DeviceManagementListDeviceClassSubgroupsForGroup200Response | DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse>;
882
- }
883
-
884
- // @public
885
- export interface DeviceManagementListDeviceClassSubgroupsForGroup200Response extends HttpResponse {
886
- // (undocumented)
887
- body: DeviceClassSubgroupsListOutput;
888
- // (undocumented)
889
- status: "200";
890
- }
891
-
892
- // @public
893
- export interface DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse extends HttpResponse {
894
- // (undocumented)
895
- body: ErrorResponseOutput;
896
- // (undocumented)
897
- status: string;
898
- }
899
-
900
- // @public (undocumented)
901
- export type DeviceManagementListDeviceClassSubgroupsForGroupParameters = DeviceManagementListDeviceClassSubgroupsForGroupQueryParam & RequestParameters;
902
-
903
- // @public (undocumented)
904
- export interface DeviceManagementListDeviceClassSubgroupsForGroupQueryParam {
905
- // (undocumented)
906
- queryParameters?: DeviceManagementListDeviceClassSubgroupsForGroupQueryParamProperties;
907
- }
908
-
909
- // @public (undocumented)
910
- export interface DeviceManagementListDeviceClassSubgroupsForGroupQueryParamProperties {
911
- filter?: string;
912
- }
913
-
914
- // @public (undocumented)
915
- export interface DeviceManagementListDevices {
916
- get(options?: DeviceManagementListDevicesParameters): StreamableMethod<DeviceManagementListDevices200Response | DeviceManagementListDevicesDefaultResponse>;
917
- }
918
-
919
- // @public
920
- export interface DeviceManagementListDevices200Response extends HttpResponse {
921
- // (undocumented)
922
- body: DevicesListOutput;
923
- // (undocumented)
924
- status: "200";
925
- }
926
-
927
- // @public
928
- export interface DeviceManagementListDevicesDefaultResponse extends HttpResponse {
929
- // (undocumented)
930
- body: ErrorResponseOutput;
931
- // (undocumented)
932
- status: string;
933
- }
934
-
935
- // @public (undocumented)
936
- export type DeviceManagementListDevicesParameters = DeviceManagementListDevicesQueryParam & RequestParameters;
937
-
938
- // @public (undocumented)
939
- export interface DeviceManagementListDevicesQueryParam {
940
- // (undocumented)
941
- queryParameters?: DeviceManagementListDevicesQueryParamProperties;
942
- }
943
-
944
- // @public (undocumented)
945
- export interface DeviceManagementListDevicesQueryParamProperties {
946
- filter?: string;
947
- }
948
-
949
- // @public (undocumented)
950
- export interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment {
951
- get(options?: DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentParameters): StreamableMethod<DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response | DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse>;
952
- }
953
-
954
- // @public
955
- export interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response extends HttpResponse {
956
- // (undocumented)
957
- body: DeploymentDeviceStatesListOutput;
958
- // (undocumented)
959
- status: "200";
960
- }
961
-
962
- // @public
963
- export interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse extends HttpResponse {
964
- // (undocumented)
965
- body: ErrorResponseOutput;
966
- // (undocumented)
967
- status: string;
968
- }
969
-
970
- // @public (undocumented)
971
- export type DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentParameters = DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParam & RequestParameters;
972
-
973
- // @public (undocumented)
974
- export interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParam {
975
- // (undocumented)
976
- queryParameters?: DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParamProperties;
977
- }
978
-
979
- // @public (undocumented)
980
- export interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParamProperties {
981
- filter?: string;
982
- }
983
-
984
- // @public (undocumented)
985
- export interface DeviceManagementListGroups {
986
- get(options?: DeviceManagementListGroupsParameters): StreamableMethod<DeviceManagementListGroups200Response | DeviceManagementListGroupsDefaultResponse>;
987
- }
988
-
989
- // @public
990
- export interface DeviceManagementListGroups200Response extends HttpResponse {
991
- // (undocumented)
992
- body: GroupsListOutput;
993
- // (undocumented)
994
- status: "200";
995
- }
996
-
997
- // @public
998
- export interface DeviceManagementListGroupsDefaultResponse extends HttpResponse {
999
- // (undocumented)
1000
- body: ErrorResponseOutput;
1001
- // (undocumented)
1002
- status: string;
1003
- }
1004
-
1005
- // @public (undocumented)
1006
- export type DeviceManagementListGroupsParameters = DeviceManagementListGroupsQueryParam & RequestParameters;
1007
-
1008
- // @public (undocumented)
1009
- export interface DeviceManagementListGroupsQueryParam {
1010
- // (undocumented)
1011
- queryParameters?: DeviceManagementListGroupsQueryParamProperties;
1012
- }
1013
-
1014
- // @public (undocumented)
1015
- export interface DeviceManagementListGroupsQueryParamProperties {
1016
- orderby?: string;
1017
- }
1018
-
1019
- // @public (undocumented)
1020
- export interface DeviceManagementListHealthOfDevices {
1021
- get(options: DeviceManagementListHealthOfDevicesParameters): StreamableMethod<DeviceManagementListHealthOfDevices200Response | DeviceManagementListHealthOfDevicesDefaultResponse>;
1022
- }
1023
-
1024
- // @public
1025
- export interface DeviceManagementListHealthOfDevices200Response extends HttpResponse {
1026
- // (undocumented)
1027
- body: DeviceHealthListOutput;
1028
- // (undocumented)
1029
- status: "200";
1030
- }
1031
-
1032
- // @public
1033
- export interface DeviceManagementListHealthOfDevicesDefaultResponse extends HttpResponse {
1034
- // (undocumented)
1035
- body: ErrorResponseOutput;
1036
- // (undocumented)
1037
- status: string;
1038
- }
1039
-
1040
- // @public (undocumented)
1041
- export type DeviceManagementListHealthOfDevicesParameters = DeviceManagementListHealthOfDevicesQueryParam & RequestParameters;
1042
-
1043
- // @public (undocumented)
1044
- export interface DeviceManagementListHealthOfDevicesQueryParam {
1045
- // (undocumented)
1046
- queryParameters: DeviceManagementListHealthOfDevicesQueryParamProperties;
1047
- }
1048
-
1049
- // @public (undocumented)
1050
- export interface DeviceManagementListHealthOfDevicesQueryParamProperties {
1051
- filter: string;
1052
- }
1053
-
1054
- // @public (undocumented)
1055
- export interface DeviceManagementListInstallableUpdatesForDeviceClass {
1056
- get(options?: DeviceManagementListInstallableUpdatesForDeviceClassParameters): StreamableMethod<DeviceManagementListInstallableUpdatesForDeviceClass200Response | DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse>;
1057
- }
1058
-
1059
- // @public
1060
- export interface DeviceManagementListInstallableUpdatesForDeviceClass200Response extends HttpResponse {
1061
- // (undocumented)
1062
- body: UpdateInfoListOutput;
1063
- // (undocumented)
1064
- status: "200";
1065
- }
1066
-
1067
- // @public
1068
- export interface DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse extends HttpResponse {
1069
- // (undocumented)
1070
- body: ErrorResponseOutput;
1071
- // (undocumented)
1072
- status: string;
1073
- }
1074
-
1075
- // @public (undocumented)
1076
- export type DeviceManagementListInstallableUpdatesForDeviceClassParameters = RequestParameters;
1077
-
1078
- // @public (undocumented)
1079
- export interface DeviceManagementListLogCollections {
1080
- get(options?: DeviceManagementListLogCollectionsParameters): StreamableMethod<DeviceManagementListLogCollections200Response | DeviceManagementListLogCollectionsDefaultResponse>;
1081
- }
1082
-
1083
- // @public
1084
- export interface DeviceManagementListLogCollections200Response extends HttpResponse {
1085
- // (undocumented)
1086
- body: LogCollectionListOutput;
1087
- // (undocumented)
1088
- status: "200";
1089
- }
1090
-
1091
- // @public
1092
- export interface DeviceManagementListLogCollectionsDefaultResponse extends HttpResponse {
1093
- // (undocumented)
1094
- body: ErrorResponseOutput;
1095
- // (undocumented)
1096
- status: string;
1097
- }
1098
-
1099
- // @public (undocumented)
1100
- export type DeviceManagementListLogCollectionsParameters = RequestParameters;
1101
-
1102
- // @public (undocumented)
1103
- export interface DeviceManagementListOperationStatuses {
1104
- get(options?: DeviceManagementListOperationStatusesParameters): StreamableMethod<DeviceManagementListOperationStatuses200Response | DeviceManagementListOperationStatusesDefaultResponse>;
1105
- }
1106
-
1107
- // @public
1108
- export interface DeviceManagementListOperationStatuses200Response extends HttpResponse {
1109
- // (undocumented)
1110
- body: DeviceOperationsListOutput;
1111
- // (undocumented)
1112
- status: "200";
1113
- }
1114
-
1115
- // @public
1116
- export interface DeviceManagementListOperationStatusesDefaultResponse extends HttpResponse {
1117
- // (undocumented)
1118
- body: ErrorResponseOutput;
1119
- // (undocumented)
1120
- status: string;
1121
- }
1122
-
1123
- // @public (undocumented)
1124
- export type DeviceManagementListOperationStatusesParameters = DeviceManagementListOperationStatusesQueryParam & RequestParameters;
1125
-
1126
- // @public (undocumented)
1127
- export interface DeviceManagementListOperationStatusesQueryParam {
1128
- // (undocumented)
1129
- queryParameters?: DeviceManagementListOperationStatusesQueryParamProperties;
1130
- }
1131
-
1132
- // @public (undocumented)
1133
- export interface DeviceManagementListOperationStatusesQueryParamProperties {
1134
- filter?: string;
1135
- top?: number;
1136
- }
1137
-
1138
- // @public (undocumented)
1139
- export interface DeviceManagementRetryDeployment {
1140
- post(options?: DeviceManagementRetryDeploymentParameters): StreamableMethod<DeviceManagementRetryDeployment200Response | DeviceManagementRetryDeploymentDefaultResponse>;
1141
- }
1142
-
1143
- // @public
1144
- export interface DeviceManagementRetryDeployment200Response extends HttpResponse {
1145
- // (undocumented)
1146
- body: DeploymentOutput;
1147
- // (undocumented)
1148
- status: "200";
1149
- }
1150
-
1151
- // @public
1152
- export interface DeviceManagementRetryDeploymentDefaultResponse extends HttpResponse {
1153
- // (undocumented)
1154
- body: ErrorResponseOutput;
1155
- // (undocumented)
1156
- status: string;
1157
- }
1158
-
1159
- // @public (undocumented)
1160
- export type DeviceManagementRetryDeploymentParameters = RequestParameters;
1161
-
1162
- // @public (undocumented)
1163
- export interface DeviceManagementStartLogCollection {
1164
- get(options?: DeviceManagementGetLogCollectionParameters): StreamableMethod<DeviceManagementGetLogCollection200Response | DeviceManagementGetLogCollectionDefaultResponse>;
1165
- put(options: DeviceManagementStartLogCollectionParameters): StreamableMethod<DeviceManagementStartLogCollection201Response | DeviceManagementStartLogCollectionDefaultResponse>;
1166
- }
1167
-
1168
- // @public
1169
- export interface DeviceManagementStartLogCollection201Response extends HttpResponse {
1170
- // (undocumented)
1171
- body: LogCollectionOutput;
1172
- // (undocumented)
1173
- status: "201";
1174
- }
1175
-
1176
- // @public (undocumented)
1177
- export interface DeviceManagementStartLogCollectionBodyParam {
1178
- body: LogCollection;
1179
- }
1180
-
1181
- // @public
1182
- export interface DeviceManagementStartLogCollectionDefaultResponse extends HttpResponse {
1183
- // (undocumented)
1184
- body: ErrorResponseOutput;
1185
- // (undocumented)
1186
- status: string;
1187
- }
1188
-
1189
- // @public (undocumented)
1190
- export interface DeviceManagementStartLogCollectionMediaTypesParam {
1191
- contentType?: "application/json";
1192
- }
1193
-
1194
- // @public (undocumented)
1195
- export type DeviceManagementStartLogCollectionParameters = DeviceManagementStartLogCollectionMediaTypesParam & DeviceManagementStartLogCollectionBodyParam & RequestParameters;
1196
-
1197
- // @public (undocumented)
1198
- export interface DeviceManagementStopDeployment {
1199
- post(options?: DeviceManagementStopDeploymentParameters): StreamableMethod<DeviceManagementStopDeployment200Response | DeviceManagementStopDeploymentDefaultResponse>;
1200
- }
1201
-
1202
- // @public
1203
- export interface DeviceManagementStopDeployment200Response extends HttpResponse {
1204
- // (undocumented)
1205
- body: DeploymentOutput;
1206
- // (undocumented)
1207
- status: "200";
1208
- }
1209
-
1210
- // @public
1211
- export interface DeviceManagementStopDeploymentDefaultResponse extends HttpResponse {
1212
- // (undocumented)
1213
- body: ErrorResponseOutput;
1214
- // (undocumented)
1215
- status: string;
1216
- }
1217
-
1218
- // @public (undocumented)
1219
- export type DeviceManagementStopDeploymentParameters = RequestParameters;
1220
-
1221
- // @public
1222
- export interface DeviceManagementUpdateDeviceClass200Response extends HttpResponse {
1223
- // (undocumented)
1224
- body: DeviceClassOutput;
1225
- // (undocumented)
1226
- status: "200";
1227
- }
1228
-
1229
- // @public (undocumented)
1230
- export interface DeviceManagementUpdateDeviceClassBodyParam {
1231
- body: PatchBodyResourceMergeAndPatch;
1232
- }
1233
-
1234
- // @public
1235
- export interface DeviceManagementUpdateDeviceClassDefaultResponse extends HttpResponse {
1236
- // (undocumented)
1237
- body: ErrorResponseOutput;
1238
- // (undocumented)
1239
- status: string;
1240
- }
1241
-
1242
- // @public (undocumented)
1243
- export interface DeviceManagementUpdateDeviceClassMediaTypesParam {
1244
- contentType?: "application/merge-patch+json";
1245
- }
1246
-
1247
- // @public (undocumented)
1248
- export type DeviceManagementUpdateDeviceClassParameters = DeviceManagementUpdateDeviceClassMediaTypesParam & DeviceManagementUpdateDeviceClassBodyParam & RequestParameters;
1249
-
1250
- // @public
1251
- export interface DeviceOperationOutput {
1252
- createdDateTime: string;
1253
- error?: ErrorModelOutput;
1254
- etag?: string;
1255
- lastActionDateTime: string;
1256
- operationId: string;
1257
- status: "NotStarted" | "Running" | "Succeeded" | "Failed";
1258
- traceId?: string;
1259
- }
1260
-
1261
- // @public
1262
- export interface DeviceOperationsListOutput {
1263
- nextLink?: string;
1264
- value: Array<DeviceOperationOutput>;
1265
- }
1266
-
1267
- // @public
1268
- export interface DeviceOutput {
1269
- deploymentStatus?: "Succeeded" | "InProgress" | "Canceled" | "Failed";
1270
- deviceClassId: string;
1271
- deviceId: string;
1272
- groupId?: string;
1273
- installedUpdate?: UpdateInfoOutput;
1274
- lastAttemptedUpdate?: UpdateInfoOutput;
1275
- lastDeploymentId?: string;
1276
- lastInstallResult?: InstallResultOutput;
1277
- moduleId?: string;
1278
- onLatestUpdate: boolean;
1279
- }
1280
-
1281
- // @public
1282
- export interface DevicesListOutput {
1283
- nextLink?: string;
1284
- value: Array<DeviceOutput>;
1285
- }
1286
-
1287
- // @public
1288
- export interface DeviceUpdateAgentId {
1289
- deviceId: string;
1290
- moduleId?: string;
1291
- }
1292
-
1293
- // @public
1294
- export interface DeviceUpdateAgentIdOutput {
1295
- deviceId: string;
1296
- moduleId?: string;
1297
- }
1298
-
1299
- // @public (undocumented)
1300
- export type DeviceUpdateClient = Client & {
1301
- path: Routes;
1302
- };
1303
-
1304
- // @public
1305
- export interface DeviceUpdateClientOptions extends ClientOptions {
1306
- apiVersion?: string;
1307
- }
1308
-
1309
- // @public (undocumented)
1310
- export interface DeviceUpdateDeleteUpdate202Headers {
1311
- "operation-location"?: string;
1312
- }
1313
-
1314
- // @public
1315
- export interface DeviceUpdateDeleteUpdate202Response extends HttpResponse {
1316
- // (undocumented)
1317
- headers: RawHttpHeaders & DeviceUpdateDeleteUpdate202Headers;
1318
- // (undocumented)
1319
- status: "202";
1320
- }
1321
-
1322
- // @public
1323
- export interface DeviceUpdateDeleteUpdateDefaultResponse extends HttpResponse {
1324
- // (undocumented)
1325
- body: ErrorResponseOutput;
1326
- // (undocumented)
1327
- status: string;
1328
- }
1329
-
1330
- // @public (undocumented)
1331
- export type DeviceUpdateDeleteUpdateParameters = RequestParameters;
1332
-
1333
- // @public (undocumented)
1334
- export interface DeviceUpdateGetFile {
1335
- get(options?: DeviceUpdateGetFileParameters): StreamableMethod<DeviceUpdateGetFile200Response | DeviceUpdateGetFile304Response | DeviceUpdateGetFileDefaultResponse>;
1336
- }
1337
-
1338
- // @public
1339
- export interface DeviceUpdateGetFile200Response extends HttpResponse {
1340
- // (undocumented)
1341
- body: UpdateFileOutput;
1342
- // (undocumented)
1343
- status: "200";
1344
- }
1345
-
1346
- // @public
1347
- export interface DeviceUpdateGetFile304Response extends HttpResponse {
1348
- // (undocumented)
1349
- status: "304";
1350
- }
1351
-
1352
- // @public
1353
- export interface DeviceUpdateGetFileDefaultResponse extends HttpResponse {
1354
- // (undocumented)
1355
- body: ErrorResponseOutput;
1356
- // (undocumented)
1357
- status: string;
1358
- }
1359
-
1360
- // @public (undocumented)
1361
- export interface DeviceUpdateGetFileHeaderParam {
1362
- // (undocumented)
1363
- headers?: RawHttpHeadersInput & DeviceUpdateGetFileHeaders;
1364
- }
1365
-
1366
- // @public (undocumented)
1367
- export interface DeviceUpdateGetFileHeaders {
1368
- "If-None-Match"?: string;
1369
- }
1370
-
1371
- // @public (undocumented)
1372
- export type DeviceUpdateGetFileParameters = DeviceUpdateGetFileHeaderParam & RequestParameters;
1373
-
1374
- // @public (undocumented)
1375
- export interface DeviceUpdateGetOperationStatus {
1376
- get(options?: DeviceUpdateGetOperationStatusParameters): StreamableMethod<DeviceUpdateGetOperationStatus200Response | DeviceUpdateGetOperationStatus304Response | DeviceUpdateGetOperationStatusDefaultResponse>;
1377
- }
1378
-
1379
- // @public (undocumented)
1380
- export interface DeviceUpdateGetOperationStatus200Headers {
1381
- "retry-after"?: string;
1382
- }
1383
-
1384
- // @public
1385
- export interface DeviceUpdateGetOperationStatus200Response extends HttpResponse {
1386
- // (undocumented)
1387
- body: UpdateOperationOutput;
1388
- // (undocumented)
1389
- headers: RawHttpHeaders & DeviceUpdateGetOperationStatus200Headers;
1390
- // (undocumented)
1391
- status: "200";
1392
- }
1393
-
1394
- // @public
1395
- export interface DeviceUpdateGetOperationStatus304Response extends HttpResponse {
1396
- // (undocumented)
1397
- status: "304";
1398
- }
1399
-
1400
- // @public
1401
- export interface DeviceUpdateGetOperationStatusDefaultResponse extends HttpResponse {
1402
- // (undocumented)
1403
- body: ErrorResponseOutput;
1404
- // (undocumented)
1405
- status: string;
1406
- }
1407
-
1408
- // @public (undocumented)
1409
- export interface DeviceUpdateGetOperationStatusHeaderParam {
1410
- // (undocumented)
1411
- headers?: RawHttpHeadersInput & DeviceUpdateGetOperationStatusHeaders;
1412
- }
1413
-
1414
- // @public (undocumented)
1415
- export interface DeviceUpdateGetOperationStatusHeaders {
1416
- "If-None-Match"?: string;
1417
- }
1418
-
1419
- // @public (undocumented)
1420
- export type DeviceUpdateGetOperationStatusParameters = DeviceUpdateGetOperationStatusHeaderParam & RequestParameters;
1421
-
1422
- // @public (undocumented)
1423
- export interface DeviceUpdateGetUpdate {
1424
- delete(options?: DeviceUpdateDeleteUpdateParameters): StreamableMethod<DeviceUpdateDeleteUpdate202Response | DeviceUpdateDeleteUpdateDefaultResponse>;
1425
- get(options?: DeviceUpdateGetUpdateParameters): StreamableMethod<DeviceUpdateGetUpdate200Response | DeviceUpdateGetUpdate304Response | DeviceUpdateGetUpdateDefaultResponse>;
1426
- }
1427
-
1428
- // @public
1429
- export interface DeviceUpdateGetUpdate200Response extends HttpResponse {
1430
- // (undocumented)
1431
- body: UpdateOutput;
1432
- // (undocumented)
1433
- status: "200";
1434
- }
1435
-
1436
- // @public
1437
- export interface DeviceUpdateGetUpdate304Response extends HttpResponse {
1438
- // (undocumented)
1439
- status: "304";
1440
- }
1441
-
1442
- // @public
1443
- export interface DeviceUpdateGetUpdateDefaultResponse extends HttpResponse {
1444
- // (undocumented)
1445
- body: ErrorResponseOutput;
1446
- // (undocumented)
1447
- status: string;
1448
- }
1449
-
1450
- // @public (undocumented)
1451
- export interface DeviceUpdateGetUpdateHeaderParam {
1452
- // (undocumented)
1453
- headers?: RawHttpHeadersInput & DeviceUpdateGetUpdateHeaders;
1454
- }
1455
-
1456
- // @public (undocumented)
1457
- export interface DeviceUpdateGetUpdateHeaders {
1458
- "If-None-Match"?: string;
1459
- }
1460
-
1461
- // @public (undocumented)
1462
- export type DeviceUpdateGetUpdateParameters = DeviceUpdateGetUpdateHeaderParam & RequestParameters;
1463
-
1464
- // @public (undocumented)
1465
- export interface DeviceUpdateImportUpdate {
1466
- post(options: DeviceUpdateImportUpdateParameters): StreamableMethod<DeviceUpdateImportUpdate200Response | DeviceUpdateImportUpdate202Response | DeviceUpdateImportUpdateDefaultResponse>;
1467
- }
1468
-
1469
- // @public
1470
- export interface DeviceUpdateImportUpdate200Response extends HttpResponse {
1471
- // (undocumented)
1472
- body: UpdateOutput;
1473
- // (undocumented)
1474
- status: "200";
1475
- }
1476
-
1477
- // @public (undocumented)
1478
- export interface DeviceUpdateImportUpdate202Headers {
1479
- "operation-location"?: string;
1480
- }
1481
-
1482
- // @public
1483
- export interface DeviceUpdateImportUpdate202Response extends HttpResponse {
1484
- // (undocumented)
1485
- headers: RawHttpHeaders & DeviceUpdateImportUpdate202Headers;
1486
- // (undocumented)
1487
- status: "202";
1488
- }
1489
-
1490
- // @public (undocumented)
1491
- export interface DeviceUpdateImportUpdateBodyParam {
1492
- body: Array<ImportUpdateInputItem>;
1493
- }
1494
-
1495
- // @public
1496
- export interface DeviceUpdateImportUpdateDefaultResponse extends HttpResponse {
1497
- // (undocumented)
1498
- body: ErrorResponseOutput;
1499
- // (undocumented)
1500
- status: string;
1501
- }
1502
-
1503
- // @public (undocumented)
1504
- export interface DeviceUpdateImportUpdateMediaTypesParam {
1505
- contentType?: "application/json";
1506
- }
1507
-
1508
- // @public (undocumented)
1509
- export type DeviceUpdateImportUpdateParameters = DeviceUpdateImportUpdateMediaTypesParam & DeviceUpdateImportUpdateBodyParam & RequestParameters;
1510
-
1511
- // @public (undocumented)
1512
- export interface DeviceUpdateListFiles {
1513
- get(options?: DeviceUpdateListFilesParameters): StreamableMethod<DeviceUpdateListFiles200Response | DeviceUpdateListFilesDefaultResponse>;
1514
- }
1515
-
1516
- // @public
1517
- export interface DeviceUpdateListFiles200Response extends HttpResponse {
1518
- // (undocumented)
1519
- body: StringsListOutput;
1520
- // (undocumented)
1521
- status: "200";
1522
- }
1523
-
1524
- // @public
1525
- export interface DeviceUpdateListFilesDefaultResponse extends HttpResponse {
1526
- // (undocumented)
1527
- body: ErrorResponseOutput;
1528
- // (undocumented)
1529
- status: string;
1530
- }
1531
-
1532
- // @public (undocumented)
1533
- export type DeviceUpdateListFilesParameters = RequestParameters;
1534
-
1535
- // @public (undocumented)
1536
- export interface DeviceUpdateListNames {
1537
- get(options?: DeviceUpdateListNamesParameters): StreamableMethod<DeviceUpdateListNames200Response | DeviceUpdateListNamesDefaultResponse>;
1538
- }
1539
-
1540
- // @public
1541
- export interface DeviceUpdateListNames200Response extends HttpResponse {
1542
- // (undocumented)
1543
- body: StringsListOutput;
1544
- // (undocumented)
1545
- status: "200";
1546
- }
1547
-
1548
- // @public
1549
- export interface DeviceUpdateListNamesDefaultResponse extends HttpResponse {
1550
- // (undocumented)
1551
- body: ErrorResponseOutput;
1552
- // (undocumented)
1553
- status: string;
1554
- }
1555
-
1556
- // @public (undocumented)
1557
- export type DeviceUpdateListNamesParameters = RequestParameters;
1558
-
1559
- // @public (undocumented)
1560
- export interface DeviceUpdateListOperationStatuses {
1561
- get(options?: DeviceUpdateListOperationStatusesParameters): StreamableMethod<DeviceUpdateListOperationStatuses200Response | DeviceUpdateListOperationStatusesDefaultResponse>;
1562
- }
1563
-
1564
- // @public
1565
- export interface DeviceUpdateListOperationStatuses200Response extends HttpResponse {
1566
- // (undocumented)
1567
- body: UpdateOperationsListOutput;
1568
- // (undocumented)
1569
- status: "200";
1570
- }
1571
-
1572
- // @public
1573
- export interface DeviceUpdateListOperationStatusesDefaultResponse extends HttpResponse {
1574
- // (undocumented)
1575
- body: ErrorResponseOutput;
1576
- // (undocumented)
1577
- status: string;
1578
- }
1579
-
1580
- // @public (undocumented)
1581
- export type DeviceUpdateListOperationStatusesParameters = DeviceUpdateListOperationStatusesQueryParam & RequestParameters;
1582
-
1583
- // @public (undocumented)
1584
- export interface DeviceUpdateListOperationStatusesQueryParam {
1585
- // (undocumented)
1586
- queryParameters?: DeviceUpdateListOperationStatusesQueryParamProperties;
1587
- }
1588
-
1589
- // @public (undocumented)
1590
- export interface DeviceUpdateListOperationStatusesQueryParamProperties {
1591
- filter?: string;
1592
- top?: number;
1593
- }
1594
-
1595
- // @public (undocumented)
1596
- export interface DeviceUpdateListProviders {
1597
- get(options?: DeviceUpdateListProvidersParameters): StreamableMethod<DeviceUpdateListProviders200Response | DeviceUpdateListProvidersDefaultResponse>;
1598
- }
1599
-
1600
- // @public
1601
- export interface DeviceUpdateListProviders200Response extends HttpResponse {
1602
- // (undocumented)
1603
- body: StringsListOutput;
1604
- // (undocumented)
1605
- status: "200";
1606
- }
1607
-
1608
- // @public
1609
- export interface DeviceUpdateListProvidersDefaultResponse extends HttpResponse {
1610
- // (undocumented)
1611
- body: ErrorResponseOutput;
1612
- // (undocumented)
1613
- status: string;
1614
- }
1615
-
1616
- // @public (undocumented)
1617
- export type DeviceUpdateListProvidersParameters = RequestParameters;
1618
-
1619
- // @public (undocumented)
1620
- export interface DeviceUpdateListUpdates {
1621
- get(options?: DeviceUpdateListUpdatesParameters): StreamableMethod<DeviceUpdateListUpdates200Response | DeviceUpdateListUpdatesDefaultResponse>;
1622
- }
1623
-
1624
- // @public
1625
- export interface DeviceUpdateListUpdates200Response extends HttpResponse {
1626
- // (undocumented)
1627
- body: UpdateListOutput;
1628
- // (undocumented)
1629
- status: "200";
1630
- }
1631
-
1632
- // @public
1633
- export interface DeviceUpdateListUpdatesDefaultResponse extends HttpResponse {
1634
- // (undocumented)
1635
- body: ErrorResponseOutput;
1636
- // (undocumented)
1637
- status: string;
1638
- }
1639
-
1640
- // @public (undocumented)
1641
- export type DeviceUpdateListUpdatesParameters = DeviceUpdateListUpdatesQueryParam & RequestParameters;
1642
-
1643
- // @public (undocumented)
1644
- export interface DeviceUpdateListUpdatesQueryParam {
1645
- // (undocumented)
1646
- queryParameters?: DeviceUpdateListUpdatesQueryParamProperties;
1647
- }
1648
-
1649
- // @public (undocumented)
1650
- export interface DeviceUpdateListUpdatesQueryParamProperties {
1651
- filter?: string;
1652
- search?: string;
1653
- }
1654
-
1655
- // @public (undocumented)
1656
- export interface DeviceUpdateListVersions {
1657
- get(options?: DeviceUpdateListVersionsParameters): StreamableMethod<DeviceUpdateListVersions200Response | DeviceUpdateListVersionsDefaultResponse>;
1658
- }
1659
-
1660
- // @public
1661
- export interface DeviceUpdateListVersions200Response extends HttpResponse {
1662
- // (undocumented)
1663
- body: StringsListOutput;
1664
- // (undocumented)
1665
- status: "200";
1666
- }
1667
-
1668
- // @public
1669
- export interface DeviceUpdateListVersionsDefaultResponse extends HttpResponse {
1670
- // (undocumented)
1671
- body: ErrorResponseOutput;
1672
- // (undocumented)
1673
- status: string;
1674
- }
1675
-
1676
- // @public (undocumented)
1677
- export type DeviceUpdateListVersionsParameters = DeviceUpdateListVersionsQueryParam & RequestParameters;
1678
-
1679
- // @public (undocumented)
1680
- export interface DeviceUpdateListVersionsQueryParam {
1681
- // (undocumented)
1682
- queryParameters?: DeviceUpdateListVersionsQueryParamProperties;
1683
- }
1684
-
1685
- // @public (undocumented)
1686
- export interface DeviceUpdateListVersionsQueryParamProperties {
1687
- filter?: string;
1688
- }
1689
-
1690
- // @public
1691
- export interface ErrorModelOutput {
1692
- code: string;
1693
- details?: Array<ErrorModelOutput>;
1694
- innererror?: InnerErrorOutput;
1695
- message: string;
1696
- occurredDateTime?: string;
1697
- target?: string;
1698
- }
1699
-
1700
- // @public
1701
- export interface ErrorResponseOutput {
1702
- error: ErrorModelOutput;
1703
- }
1704
-
1705
- // @public
1706
- export interface FileImportMetadata {
1707
- filename: string;
1708
- url: string;
1709
- }
1710
-
1711
- // @public
1712
- export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
1713
-
1714
- // @public
1715
- export function getLongRunningPoller<TResult extends HttpResponse>(client: Client, initialResponse: TResult, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
1716
-
1717
- // @public
1718
- export type GetPage<TPage> = (pageLink: string) => Promise<{
1719
- page: TPage;
1720
- nextPageLink?: string;
1721
- }>;
1722
-
1723
- // @public
1724
- export interface GroupOutput {
1725
- createdDateTime: string;
1726
- deployments?: Array<string>;
1727
- deviceCount?: number;
1728
- groupId: string;
1729
- groupType: "IoTHubTag" | "DefaultNoTag";
1730
- subgroupsWithNewUpdatesAvailableCount?: number;
1731
- subgroupsWithOnLatestUpdateCount?: number;
1732
- subgroupsWithUpdatesInProgressCount?: number;
1733
- }
1734
-
1735
- // @public
1736
- export interface GroupsListOutput {
1737
- nextLink?: string;
1738
- value: Array<GroupOutput>;
1739
- }
1740
-
1741
- // @public
1742
- export interface HealthCheckOutput {
1743
- name?: string;
1744
- result?: "success" | "userError";
1745
- }
1746
-
1747
- // @public
1748
- export interface ImportManifestMetadata {
1749
- hashes: Record<string, string>;
1750
- sizeInBytes: number;
1751
- url: string;
1752
- }
1753
-
1754
- // @public
1755
- export interface ImportUpdateInputItem {
1756
- files?: Array<FileImportMetadata>;
1757
- friendlyName?: string;
1758
- importManifest: ImportManifestMetadata;
1759
- }
1760
-
1761
- // @public
1762
- export interface InnerErrorOutput {
1763
- code: string;
1764
- errorDetail?: string;
1765
- innerError?: InnerErrorOutput;
1766
- message?: string;
1767
- }
1768
-
1769
- // @public
1770
- export interface InstallResultOutput {
1771
- extendedResultCode: number;
1772
- resultCode: number;
1773
- resultDetails?: string;
1774
- stepResults?: Array<StepResultOutput>;
1775
- }
1776
-
1777
- // @public (undocumented)
1778
- export interface InstructionsOutput {
1779
- steps: Array<StepOutput>;
1780
- }
1781
-
1782
- // @public (undocumented)
1783
- export function isUnexpected(response: DeviceUpdateListUpdates200Response | DeviceUpdateListUpdatesDefaultResponse): response is DeviceUpdateListUpdatesDefaultResponse;
1784
-
1785
- // @public (undocumented)
1786
- export function isUnexpected(response: DeviceUpdateImportUpdate200Response | DeviceUpdateImportUpdate202Response | DeviceUpdateImportUpdateDefaultResponse): response is DeviceUpdateImportUpdateDefaultResponse;
1787
-
1788
- // @public (undocumented)
1789
- export function isUnexpected(response: DeviceUpdateGetUpdate200Response | DeviceUpdateGetUpdate304Response | DeviceUpdateGetUpdateDefaultResponse): response is DeviceUpdateGetUpdateDefaultResponse;
1790
-
1791
- // @public (undocumented)
1792
- export function isUnexpected(response: DeviceUpdateDeleteUpdate202Response | DeviceUpdateDeleteUpdateDefaultResponse): response is DeviceUpdateDeleteUpdateDefaultResponse;
1793
-
1794
- // @public (undocumented)
1795
- export function isUnexpected(response: DeviceUpdateListProviders200Response | DeviceUpdateListProvidersDefaultResponse): response is DeviceUpdateListProvidersDefaultResponse;
1796
-
1797
- // @public (undocumented)
1798
- export function isUnexpected(response: DeviceUpdateListNames200Response | DeviceUpdateListNamesDefaultResponse): response is DeviceUpdateListNamesDefaultResponse;
1799
-
1800
- // @public (undocumented)
1801
- export function isUnexpected(response: DeviceUpdateListVersions200Response | DeviceUpdateListVersionsDefaultResponse): response is DeviceUpdateListVersionsDefaultResponse;
1802
-
1803
- // @public (undocumented)
1804
- export function isUnexpected(response: DeviceUpdateListFiles200Response | DeviceUpdateListFilesDefaultResponse): response is DeviceUpdateListFilesDefaultResponse;
1805
-
1806
- // @public (undocumented)
1807
- export function isUnexpected(response: DeviceUpdateGetFile200Response | DeviceUpdateGetFile304Response | DeviceUpdateGetFileDefaultResponse): response is DeviceUpdateGetFileDefaultResponse;
1808
-
1809
- // @public (undocumented)
1810
- export function isUnexpected(response: DeviceUpdateListOperationStatuses200Response | DeviceUpdateListOperationStatusesDefaultResponse): response is DeviceUpdateListOperationStatusesDefaultResponse;
1811
-
1812
- // @public (undocumented)
1813
- export function isUnexpected(response: DeviceUpdateGetOperationStatus200Response | DeviceUpdateGetOperationStatus304Response | DeviceUpdateGetOperationStatusDefaultResponse): response is DeviceUpdateGetOperationStatusDefaultResponse;
1814
-
1815
- // @public (undocumented)
1816
- export function isUnexpected(response: DeviceManagementListDeviceClasses200Response | DeviceManagementListDeviceClassesDefaultResponse): response is DeviceManagementListDeviceClassesDefaultResponse;
1817
-
1818
- // @public (undocumented)
1819
- export function isUnexpected(response: DeviceManagementGetDeviceClass200Response | DeviceManagementGetDeviceClassDefaultResponse): response is DeviceManagementGetDeviceClassDefaultResponse;
1820
-
1821
- // @public (undocumented)
1822
- export function isUnexpected(response: DeviceManagementUpdateDeviceClass200Response | DeviceManagementUpdateDeviceClassDefaultResponse): response is DeviceManagementUpdateDeviceClassDefaultResponse;
1823
-
1824
- // @public (undocumented)
1825
- export function isUnexpected(response: DeviceManagementDeleteDeviceClass204Response | DeviceManagementDeleteDeviceClassDefaultResponse): response is DeviceManagementDeleteDeviceClassDefaultResponse;
1826
-
1827
- // @public (undocumented)
1828
- export function isUnexpected(response: DeviceManagementListInstallableUpdatesForDeviceClass200Response | DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse): response is DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse;
1829
-
1830
- // @public (undocumented)
1831
- export function isUnexpected(response: DeviceManagementListDevices200Response | DeviceManagementListDevicesDefaultResponse): response is DeviceManagementListDevicesDefaultResponse;
1832
-
1833
- // @public (undocumented)
1834
- export function isUnexpected(response: DeviceManagementImportDevices202Response | DeviceManagementImportDevicesDefaultResponse): response is DeviceManagementImportDevicesDefaultResponse;
1835
-
1836
- // @public (undocumented)
1837
- export function isUnexpected(response: DeviceManagementGetDevice200Response | DeviceManagementGetDeviceDefaultResponse): response is DeviceManagementGetDeviceDefaultResponse;
1838
-
1839
- // @public (undocumented)
1840
- export function isUnexpected(response: DeviceManagementGetDeviceModule200Response | DeviceManagementGetDeviceModuleDefaultResponse): response is DeviceManagementGetDeviceModuleDefaultResponse;
1841
-
1842
- // @public (undocumented)
1843
- export function isUnexpected(response: DeviceManagementGetUpdateCompliance200Response | DeviceManagementGetUpdateComplianceDefaultResponse): response is DeviceManagementGetUpdateComplianceDefaultResponse;
1844
-
1845
- // @public (undocumented)
1846
- export function isUnexpected(response: DeviceManagementListGroups200Response | DeviceManagementListGroupsDefaultResponse): response is DeviceManagementListGroupsDefaultResponse;
1847
-
1848
- // @public (undocumented)
1849
- export function isUnexpected(response: DeviceManagementGetGroup200Response | DeviceManagementGetGroupDefaultResponse): response is DeviceManagementGetGroupDefaultResponse;
1850
-
1851
- // @public (undocumented)
1852
- export function isUnexpected(response: DeviceManagementDeleteGroup204Response | DeviceManagementDeleteGroupDefaultResponse): response is DeviceManagementDeleteGroupDefaultResponse;
1853
-
1854
- // @public (undocumented)
1855
- export function isUnexpected(response: DeviceManagementGetUpdateComplianceForGroup200Response | DeviceManagementGetUpdateComplianceForGroupDefaultResponse): response is DeviceManagementGetUpdateComplianceForGroupDefaultResponse;
1856
-
1857
- // @public (undocumented)
1858
- export function isUnexpected(response: DeviceManagementListBestUpdatesForGroup200Response | DeviceManagementListBestUpdatesForGroupDefaultResponse): response is DeviceManagementListBestUpdatesForGroupDefaultResponse;
1859
-
1860
- // @public (undocumented)
1861
- export function isUnexpected(response: DeviceManagementListDeploymentsForGroup200Response | DeviceManagementListDeploymentsForGroupDefaultResponse): response is DeviceManagementListDeploymentsForGroupDefaultResponse;
1862
-
1863
- // @public (undocumented)
1864
- export function isUnexpected(response: DeviceManagementGetDeployment200Response | DeviceManagementGetDeploymentDefaultResponse): response is DeviceManagementGetDeploymentDefaultResponse;
1865
-
1866
- // @public (undocumented)
1867
- export function isUnexpected(response: DeviceManagementCreateOrUpdateDeployment200Response | DeviceManagementCreateOrUpdateDeploymentDefaultResponse): response is DeviceManagementCreateOrUpdateDeploymentDefaultResponse;
1868
-
1869
- // @public (undocumented)
1870
- export function isUnexpected(response: DeviceManagementDeleteDeployment204Response | DeviceManagementDeleteDeploymentDefaultResponse): response is DeviceManagementDeleteDeploymentDefaultResponse;
1871
-
1872
- // @public (undocumented)
1873
- export function isUnexpected(response: DeviceManagementGetDeploymentStatus200Response | DeviceManagementGetDeploymentStatusDefaultResponse): response is DeviceManagementGetDeploymentStatusDefaultResponse;
1874
-
1875
- // @public (undocumented)
1876
- export function isUnexpected(response: DeviceManagementListDeviceClassSubgroupsForGroup200Response | DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse): response is DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse;
1877
-
1878
- // @public (undocumented)
1879
- export function isUnexpected(response: DeviceManagementGetDeviceClassSubgroup200Response | DeviceManagementGetDeviceClassSubgroupDefaultResponse): response is DeviceManagementGetDeviceClassSubgroupDefaultResponse;
1880
-
1881
- // @public (undocumented)
1882
- export function isUnexpected(response: DeviceManagementDeleteDeviceClassSubgroup204Response | DeviceManagementDeleteDeviceClassSubgroupDefaultResponse): response is DeviceManagementDeleteDeviceClassSubgroupDefaultResponse;
1883
-
1884
- // @public (undocumented)
1885
- export function isUnexpected(response: DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response | DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse): response is DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse;
1886
-
1887
- // @public (undocumented)
1888
- export function isUnexpected(response: DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response | DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse): response is DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse;
1889
-
1890
- // @public (undocumented)
1891
- export function isUnexpected(response: DeviceManagementListDeploymentsForDeviceClassSubgroup200Response | DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse): response is DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse;
1892
-
1893
- // @public (undocumented)
1894
- export function isUnexpected(response: DeviceManagementGetDeploymentForDeviceClassSubgroup200Response | DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse): response is DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse;
1895
-
1896
- // @public (undocumented)
1897
- export function isUnexpected(response: DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response | DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse): response is DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse;
1898
-
1899
- // @public (undocumented)
1900
- export function isUnexpected(response: DeviceManagementStopDeployment200Response | DeviceManagementStopDeploymentDefaultResponse): response is DeviceManagementStopDeploymentDefaultResponse;
1901
-
1902
- // @public (undocumented)
1903
- export function isUnexpected(response: DeviceManagementRetryDeployment200Response | DeviceManagementRetryDeploymentDefaultResponse): response is DeviceManagementRetryDeploymentDefaultResponse;
1904
-
1905
- // @public (undocumented)
1906
- export function isUnexpected(response: DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response | DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse): response is DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse;
1907
-
1908
- // @public (undocumented)
1909
- export function isUnexpected(response: DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response | DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse): response is DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse;
1910
-
1911
- // @public (undocumented)
1912
- export function isUnexpected(response: DeviceManagementGetOperationStatus200Response | DeviceManagementGetOperationStatus304Response | DeviceManagementGetOperationStatusDefaultResponse): response is DeviceManagementGetOperationStatusDefaultResponse;
1913
-
1914
- // @public (undocumented)
1915
- export function isUnexpected(response: DeviceManagementListOperationStatuses200Response | DeviceManagementListOperationStatusesDefaultResponse): response is DeviceManagementListOperationStatusesDefaultResponse;
1916
-
1917
- // @public (undocumented)
1918
- export function isUnexpected(response: DeviceManagementStartLogCollection201Response | DeviceManagementStartLogCollectionDefaultResponse): response is DeviceManagementStartLogCollectionDefaultResponse;
1919
-
1920
- // @public (undocumented)
1921
- export function isUnexpected(response: DeviceManagementGetLogCollection200Response | DeviceManagementGetLogCollectionDefaultResponse): response is DeviceManagementGetLogCollectionDefaultResponse;
1922
-
1923
- // @public (undocumented)
1924
- export function isUnexpected(response: DeviceManagementListLogCollections200Response | DeviceManagementListLogCollectionsDefaultResponse): response is DeviceManagementListLogCollectionsDefaultResponse;
1925
-
1926
- // @public (undocumented)
1927
- export function isUnexpected(response: DeviceManagementGetLogCollectionDetailedStatus200Response | DeviceManagementGetLogCollectionDetailedStatusDefaultResponse): response is DeviceManagementGetLogCollectionDetailedStatusDefaultResponse;
1928
-
1929
- // @public (undocumented)
1930
- export function isUnexpected(response: DeviceManagementListHealthOfDevices200Response | DeviceManagementListHealthOfDevicesDefaultResponse): response is DeviceManagementListHealthOfDevicesDefaultResponse;
1931
-
1932
- // @public
1933
- export interface LogCollection {
1934
- description?: string;
1935
- deviceList: Array<DeviceUpdateAgentId>;
1936
- operationId?: string;
1937
- }
1938
-
1939
- // @public
1940
- export interface LogCollectionListOutput {
1941
- nextLink?: string;
1942
- value: Array<LogCollectionOutput>;
1943
- }
1944
-
1945
- // @public
1946
- export interface LogCollectionOperationDetailedStatusOutput {
1947
- createdDateTime?: string;
1948
- description?: string;
1949
- deviceStatus?: Array<LogCollectionOperationDeviceStatusOutput>;
1950
- lastActionDateTime?: string;
1951
- operationId?: string;
1952
- status?: "NotStarted" | "Running" | "Succeeded" | "Failed";
1953
- }
1954
-
1955
- // @public
1956
- export interface LogCollectionOperationDeviceStatusOutput {
1957
- deviceId: string;
1958
- extendedResultCode?: string;
1959
- logLocation?: string;
1960
- moduleId?: string;
1961
- resultCode?: string;
1962
- status: "NotStarted" | "Running" | "Succeeded" | "Failed";
1963
- }
1964
-
1965
- // @public
1966
- export interface LogCollectionOutput {
1967
- readonly createdDateTime?: string;
1968
- description?: string;
1969
- deviceList: Array<DeviceUpdateAgentIdOutput>;
1970
- readonly lastActionDateTime?: string;
1971
- operationId?: string;
1972
- readonly status?: "NotStarted" | "Running" | "Succeeded" | "Failed";
1973
- }
1974
-
1975
- // @public
1976
- export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
1977
- [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
1978
- byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;
1979
- next(): Promise<IteratorResult<TElement>>;
1980
- }
1981
-
1982
- // @public
1983
- export interface PageSettings {
1984
- continuationToken?: string;
1985
- }
1986
-
1987
- // @public
1988
- export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
1989
-
1990
- // @public
1991
- export type PaginateReturn<TResult> = TResult extends {
1992
- body: {
1993
- value?: infer TPage;
1994
- };
1995
- } ? GetArrayType<TPage> : Array<unknown>;
1996
-
1997
- // @public
1998
- export interface PagingOptions<TResponse> {
1999
- customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
2000
- }
2001
-
2002
- // @public
2003
- export interface PatchBody {
2004
- friendlyName: string;
2005
- }
2006
-
2007
- // @public
2008
- export type PatchBodyResourceMergeAndPatch = Partial<PatchBody>;
2009
-
2010
- // @public (undocumented)
2011
- export interface Routes {
2012
- (path: "/deviceUpdate/{instanceId}/updates", instanceId: string): DeviceUpdateListUpdates;
2013
- (path: "/deviceUpdate/{instanceId}/updates:import", instanceId: string): DeviceUpdateImportUpdate;
2014
- (path: "/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}", instanceId: string, provider: string, name: string, version: string): DeviceUpdateGetUpdate;
2015
- (path: "/deviceUpdate/{instanceId}/updates/providers", instanceId: string): DeviceUpdateListProviders;
2016
- (path: "/deviceUpdate/{instanceId}/updates/providers/{provider}/names", instanceId: string, provider: string): DeviceUpdateListNames;
2017
- (path: "/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions", instanceId: string, provider: string, name: string): DeviceUpdateListVersions;
2018
- (path: "/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}/files", instanceId: string, provider: string, name: string, version: string): DeviceUpdateListFiles;
2019
- (path: "/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}/files/{fileId}", instanceId: string, provider: string, name: string, version: string, fileId: string): DeviceUpdateGetFile;
2020
- (path: "/deviceUpdate/{instanceId}/updates/operations", instanceId: string): DeviceUpdateListOperationStatuses;
2021
- (path: "/deviceUpdate/{instanceId}/updates/operations/{operationId}", instanceId: string, operationId: string): DeviceUpdateGetOperationStatus;
2022
- (path: "/deviceUpdate/{instanceId}/management/deviceClasses", instanceId: string): DeviceManagementListDeviceClasses;
2023
- (path: "/deviceUpdate/{instanceId}/management/deviceClasses/{deviceClassId}", instanceId: string, deviceClassId: string): DeviceManagementGetDeviceClass;
2024
- (path: "/deviceUpdate/{instanceId}/management/deviceClasses/{deviceClassId}/installableUpdates", instanceId: string, deviceClassId: string): DeviceManagementListInstallableUpdatesForDeviceClass;
2025
- (path: "/deviceUpdate/{instanceId}/management/devices", instanceId: string): DeviceManagementListDevices;
2026
- (path: "/deviceUpdate/{instanceId}/management/devices:import", instanceId: string): DeviceManagementImportDevices;
2027
- (path: "/deviceUpdate/{instanceId}/management/devices/{deviceId}", instanceId: string, deviceId: string): DeviceManagementGetDevice;
2028
- (path: "/deviceUpdate/{instanceId}/management/devices/{deviceId}/modules/{moduleId}", instanceId: string, deviceId: string, moduleId: string): DeviceManagementGetDeviceModule;
2029
- (path: "/deviceUpdate/{instanceId}/management/updateCompliance", instanceId: string): DeviceManagementGetUpdateCompliance;
2030
- (path: "/deviceUpdate/{instanceId}/management/groups", instanceId: string): DeviceManagementListGroups;
2031
- (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}", instanceId: string, groupId: string): DeviceManagementGetGroup;
2032
- (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/updateCompliance", instanceId: string, groupId: string): DeviceManagementGetUpdateComplianceForGroup;
2033
- (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/bestUpdates", instanceId: string, groupId: string): DeviceManagementListBestUpdatesForGroup;
2034
- (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments", instanceId: string, groupId: string): DeviceManagementListDeploymentsForGroup;
2035
- (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments/{deploymentId}", instanceId: string, groupId: string, deploymentId: string): DeviceManagementGetDeployment;
2036
- (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments/{deploymentId}/status", instanceId: string, groupId: string, deploymentId: string): DeviceManagementGetDeploymentStatus;
2037
- (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups", instanceId: string, groupId: string): DeviceManagementListDeviceClassSubgroupsForGroup;
2038
- (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}", instanceId: string, groupId: string, deviceClassId: string): DeviceManagementGetDeviceClassSubgroup;
2039
- (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/updateCompliance", instanceId: string, groupId: string, deviceClassId: string): DeviceManagementGetDeviceClassSubgroupUpdateCompliance;
2040
- (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/bestUpdates", instanceId: string, groupId: string, deviceClassId: string): DeviceManagementGetBestUpdatesForDeviceClassSubgroup;
2041
- (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments", instanceId: string, groupId: string, deviceClassId: string): DeviceManagementListDeploymentsForDeviceClassSubgroup;
2042
- (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}", instanceId: string, groupId: string, deviceClassId: string, deploymentId: string): DeviceManagementGetDeploymentForDeviceClassSubgroup;
2043
- (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}:cancel", instanceId: string, groupId: string, deviceClassId: string, deploymentId: string): DeviceManagementStopDeployment;
2044
- (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}:retry", instanceId: string, groupId: string, deviceClassId: string, deploymentId: string): DeviceManagementRetryDeployment;
2045
- (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}/status", instanceId: string, groupId: string, deviceClassId: string, deploymentId: string): DeviceManagementGetDeviceClassSubgroupDeploymentStatus;
2046
- (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}/devicestates", instanceId: string, groupId: string, deviceClassId: string, deploymentId: string): DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment;
2047
- (path: "/deviceUpdate/{instanceId}/management/operations/{operationId}", instanceId: string, operationId: string): DeviceManagementGetOperationStatus;
2048
- (path: "/deviceUpdate/{instanceId}/management/operations", instanceId: string): DeviceManagementListOperationStatuses;
2049
- (path: "/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections/{operationId}", instanceId: string, operationId: string): DeviceManagementStartLogCollection;
2050
- (path: "/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections", instanceId: string): DeviceManagementListLogCollections;
2051
- (path: "/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections/{operationId}/detailedStatus", instanceId: string, operationId: string): DeviceManagementGetLogCollectionDetailedStatus;
2052
- (path: "/deviceUpdate/{instanceId}/management/deviceDiagnostics/deviceHealth", instanceId: string): DeviceManagementListHealthOfDevices;
2053
- }
2054
-
2055
- // @public
2056
- export interface SimplePollerLike<TState extends OperationState<TResult>, TResult> {
2057
- getOperationState(): TState;
2058
- getResult(): TResult | undefined;
2059
- isDone(): boolean;
2060
- // @deprecated
2061
- isStopped(): boolean;
2062
- onProgress(callback: (state: TState) => void): CancelOnProgress;
2063
- poll(options?: {
2064
- abortSignal?: AbortSignalLike;
2065
- }): Promise<TState>;
2066
- pollUntilDone(pollOptions?: {
2067
- abortSignal?: AbortSignalLike;
2068
- }): Promise<TResult>;
2069
- serialize(): Promise<string>;
2070
- // @deprecated
2071
- stopPolling(): void;
2072
- submitted(): Promise<void>;
2073
- // @deprecated
2074
- toString(): string;
2075
- }
2076
-
2077
- // @public
2078
- export interface StepOutput {
2079
- description?: string;
2080
- files?: Array<string>;
2081
- handler?: string;
2082
- handlerProperties?: Record<string, unknown>;
2083
- type?: "Inline" | "Reference";
2084
- updateId?: UpdateIdOutput;
2085
- }
2086
-
2087
- // @public
2088
- export interface StepResultOutput {
2089
- description?: string;
2090
- extendedResultCode: number;
2091
- resultCode: number;
2092
- resultDetails?: string;
2093
- update?: UpdateInfoOutput;
2094
- }
2095
-
2096
- // @public
2097
- export interface StringsListOutput {
2098
- nextLink?: string;
2099
- value: Array<string>;
2100
- }
2101
-
2102
- // @public
2103
- export interface UpdateComplianceOutput {
2104
- newUpdatesAvailableDeviceCount: number;
2105
- onLatestUpdateDeviceCount: number;
2106
- totalDeviceCount: number;
2107
- updatesInProgressDeviceCount: number;
2108
- }
2109
-
2110
- // @public
2111
- export interface UpdateFileBaseOutput {
2112
- fileName: string;
2113
- hashes: Record<string, string>;
2114
- mimeType?: string;
2115
- properties?: Record<string, string>;
2116
- scanDetails?: string;
2117
- scanResult?: string;
2118
- sizeInBytes: number;
2119
- }
2120
-
2121
- // @public
2122
- export interface UpdateFileDownloadHandlerOutput {
2123
- id: string;
2124
- }
2125
-
2126
- // @public
2127
- export interface UpdateFileOutput extends UpdateFileBaseOutput {
2128
- downloadHandler?: UpdateFileDownloadHandlerOutput;
2129
- etag?: string;
2130
- fileId: string;
2131
- relatedFiles?: Array<UpdateFileBaseOutput>;
2132
- }
2133
-
2134
- // @public
2135
- export interface UpdateId {
2136
- name: string;
2137
- provider: string;
2138
- version: string;
2139
- }
2140
-
2141
- // @public
2142
- export interface UpdateIdOutput {
2143
- name: string;
2144
- provider: string;
2145
- version: string;
2146
- }
2147
-
2148
- // @public
2149
- export interface UpdateInfo {
2150
- updateId: UpdateId;
2151
- }
2152
-
2153
- // @public
2154
- export interface UpdateInfoListOutput {
2155
- nextLink?: string;
2156
- value: Array<UpdateInfoOutput>;
2157
- }
2158
-
2159
- // @public
2160
- export interface UpdateInfoOutput {
2161
- readonly description?: string;
2162
- readonly friendlyName?: string;
2163
- updateId: UpdateIdOutput;
2164
- }
2165
-
2166
- // @public
2167
- export interface UpdateListOutput {
2168
- nextLink?: string;
2169
- value: Array<UpdateOutput>;
2170
- }
2171
-
2172
- // @public
2173
- export interface UpdateOperationOutput {
2174
- createdDateTime: string;
2175
- error?: ErrorModelOutput;
2176
- etag?: string;
2177
- lastActionDateTime: string;
2178
- operationId: string;
2179
- resourceLocation?: string;
2180
- status: "NotStarted" | "Running" | "Succeeded" | "Failed";
2181
- traceId?: string;
2182
- update?: UpdateInfoOutput;
2183
- }
2184
-
2185
- // @public
2186
- export interface UpdateOperationsListOutput {
2187
- nextLink?: string;
2188
- value: Array<UpdateOperationOutput>;
2189
- }
2190
-
2191
- // @public
2192
- export interface UpdateOutput {
2193
- compatibility: Array<Record<string, string>>;
2194
- createdDateTime: string;
2195
- description?: string;
2196
- etag?: string;
2197
- friendlyName?: string;
2198
- importedDateTime: string;
2199
- installedCriteria?: string;
2200
- instructions?: InstructionsOutput;
2201
- isDeployable?: boolean;
2202
- manifestVersion: string;
2203
- referencedBy?: Array<UpdateIdOutput>;
2204
- scanResult?: string;
2205
- updateId: UpdateIdOutput;
2206
- updateType?: string;
2207
- }
2208
-
2209
- // (No @packageDocumentation comment for this package)
2210
-
2211
- ```
1
+ ## API Report File for "@azure-rest/iot-device-update"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import type { AbortSignalLike } from '@azure/abort-controller';
8
+ import type { CancelOnProgress } from '@azure/core-lro';
9
+ import type { Client } from '@azure-rest/core-client';
10
+ import type { ClientOptions } from '@azure-rest/core-client';
11
+ import type { CreateHttpPollerOptions } from '@azure/core-lro';
12
+ import type { HttpResponse } from '@azure-rest/core-client';
13
+ import type { OperationState } from '@azure/core-lro';
14
+ import type { PathUncheckedResponse } from '@azure-rest/core-client';
15
+ import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
16
+ import type { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
17
+ import type { RequestParameters } from '@azure-rest/core-client';
18
+ import type { StreamableMethod } from '@azure-rest/core-client';
19
+ import type { TokenCredential } from '@azure/core-auth';
20
+
21
+ // @public
22
+ export interface CloudInitiatedRollbackPolicy {
23
+ failure: CloudInitiatedRollbackPolicyFailure;
24
+ update: UpdateInfo;
25
+ }
26
+
27
+ // @public
28
+ export interface CloudInitiatedRollbackPolicyFailure {
29
+ devicesFailedCount: number;
30
+ devicesFailedPercentage: number;
31
+ }
32
+
33
+ // @public
34
+ export interface CloudInitiatedRollbackPolicyFailureOutput {
35
+ devicesFailedCount: number;
36
+ devicesFailedPercentage: number;
37
+ }
38
+
39
+ // @public
40
+ export interface CloudInitiatedRollbackPolicyOutput {
41
+ failure: CloudInitiatedRollbackPolicyFailureOutput;
42
+ update: UpdateInfoOutput;
43
+ }
44
+
45
+ // @public
46
+ export interface ContractModelOutput {
47
+ id: string;
48
+ name: string;
49
+ }
50
+
51
+ // @public
52
+ function createClient(endpoint: string, credentials: TokenCredential, { apiVersion, ...options }?: DeviceUpdateClientOptions): DeviceUpdateClient;
53
+ export default createClient;
54
+
55
+ // @public
56
+ export interface Deployment {
57
+ deploymentId: string;
58
+ deviceClassSubgroups?: Array<string>;
59
+ groupId: string;
60
+ isCanceled?: boolean;
61
+ isCloudInitiatedRollback?: boolean;
62
+ isRetried?: boolean;
63
+ rollbackPolicy?: CloudInitiatedRollbackPolicy;
64
+ startDateTime: Date | string;
65
+ update: UpdateInfo;
66
+ }
67
+
68
+ // @public
69
+ export interface DeploymentDeviceStateOutput {
70
+ deviceId: string;
71
+ deviceState: "Succeeded" | "InProgress" | "Canceled" | "Failed";
72
+ moduleId?: string;
73
+ movedOnToNewDeployment: boolean;
74
+ retryCount: number;
75
+ }
76
+
77
+ // @public
78
+ export interface DeploymentDeviceStatesListOutput {
79
+ nextLink?: string;
80
+ value: Array<DeploymentDeviceStateOutput>;
81
+ }
82
+
83
+ // @public
84
+ export interface DeploymentOutput {
85
+ deploymentId: string;
86
+ deviceClassSubgroups?: Array<string>;
87
+ groupId: string;
88
+ isCanceled?: boolean;
89
+ isCloudInitiatedRollback?: boolean;
90
+ isRetried?: boolean;
91
+ rollbackPolicy?: CloudInitiatedRollbackPolicyOutput;
92
+ startDateTime: string;
93
+ update: UpdateInfoOutput;
94
+ }
95
+
96
+ // @public
97
+ export interface DeploymentsListOutput {
98
+ nextLink?: string;
99
+ value: Array<DeploymentOutput>;
100
+ }
101
+
102
+ // @public
103
+ export interface DeploymentStatusOutput {
104
+ deploymentState: "Active" | "ActiveWithSubgroupFailures" | "Failed" | "Inactive" | "Canceled";
105
+ error?: ErrorModelOutput;
106
+ groupId: string;
107
+ subgroupStatus: Array<DeviceClassSubgroupDeploymentStatusOutput>;
108
+ }
109
+
110
+ // @public
111
+ export interface DeviceClassesListOutput {
112
+ nextLink?: string;
113
+ value: Array<DeviceClassOutput>;
114
+ }
115
+
116
+ // @public
117
+ export interface DeviceClassOutput {
118
+ bestCompatibleUpdate?: UpdateInfoOutput;
119
+ deviceClassId: string;
120
+ deviceClassProperties: DeviceClassPropertiesOutput;
121
+ friendlyName?: string;
122
+ }
123
+
124
+ // @public
125
+ export interface DeviceClassPropertiesOutput {
126
+ compatProperties: Record<string, string>;
127
+ contractModel?: ContractModelOutput;
128
+ }
129
+
130
+ // @public
131
+ export interface DeviceClassSubgroupDeploymentStatusOutput {
132
+ deploymentState: "Active" | "Failed" | "Inactive" | "Canceled";
133
+ deviceClassId: string;
134
+ devicesCanceledCount?: number;
135
+ devicesCompletedFailedCount?: number;
136
+ devicesCompletedSucceededCount?: number;
137
+ devicesInProgressCount?: number;
138
+ error?: ErrorModelOutput;
139
+ groupId: string;
140
+ totalDevices?: number;
141
+ }
142
+
143
+ // @public
144
+ export interface DeviceClassSubgroupOutput {
145
+ createdDateTime: string;
146
+ deploymentId?: string;
147
+ deviceClassId: string;
148
+ deviceCount?: number;
149
+ groupId: string;
150
+ }
151
+
152
+ // @public
153
+ export interface DeviceClassSubgroupsListOutput {
154
+ nextLink?: string;
155
+ value: Array<DeviceClassSubgroupOutput>;
156
+ }
157
+
158
+ // @public
159
+ export interface DeviceClassSubgroupUpdatableDevicesListOutput {
160
+ nextLink?: string;
161
+ value: Array<DeviceClassSubgroupUpdatableDevicesOutput>;
162
+ }
163
+
164
+ // @public
165
+ export interface DeviceClassSubgroupUpdatableDevicesOutput {
166
+ deviceClassId: string;
167
+ deviceCount: number;
168
+ groupId: string;
169
+ update: UpdateInfoOutput;
170
+ }
171
+
172
+ // @public
173
+ export interface DeviceHealthListOutput {
174
+ nextLink?: string;
175
+ value: Array<DeviceHealthOutput>;
176
+ }
177
+
178
+ // @public
179
+ export interface DeviceHealthOutput {
180
+ deviceId: string;
181
+ digitalTwinModelId?: string;
182
+ healthChecks: Array<HealthCheckOutput>;
183
+ moduleId?: string;
184
+ state: "healthy" | "unhealthy";
185
+ }
186
+
187
+ // @public
188
+ export interface DeviceManagementCreateOrUpdateDeployment200Response extends HttpResponse {
189
+ // (undocumented)
190
+ body: DeploymentOutput;
191
+ // (undocumented)
192
+ status: "200";
193
+ }
194
+
195
+ // @public (undocumented)
196
+ export interface DeviceManagementCreateOrUpdateDeploymentBodyParam {
197
+ body: Deployment;
198
+ }
199
+
200
+ // @public
201
+ export interface DeviceManagementCreateOrUpdateDeploymentDefaultResponse extends HttpResponse {
202
+ // (undocumented)
203
+ body: ErrorResponseOutput;
204
+ // (undocumented)
205
+ status: string;
206
+ }
207
+
208
+ // @public (undocumented)
209
+ export interface DeviceManagementCreateOrUpdateDeploymentMediaTypesParam {
210
+ contentType?: "application/json";
211
+ }
212
+
213
+ // @public (undocumented)
214
+ export type DeviceManagementCreateOrUpdateDeploymentParameters = DeviceManagementCreateOrUpdateDeploymentMediaTypesParam & DeviceManagementCreateOrUpdateDeploymentBodyParam & RequestParameters;
215
+
216
+ // @public
217
+ export interface DeviceManagementDeleteDeployment204Response extends HttpResponse {
218
+ // (undocumented)
219
+ status: "204";
220
+ }
221
+
222
+ // @public
223
+ export interface DeviceManagementDeleteDeploymentDefaultResponse extends HttpResponse {
224
+ // (undocumented)
225
+ body: ErrorResponseOutput;
226
+ // (undocumented)
227
+ status: string;
228
+ }
229
+
230
+ // @public
231
+ export interface DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response extends HttpResponse {
232
+ // (undocumented)
233
+ status: "204";
234
+ }
235
+
236
+ // @public
237
+ export interface DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse extends HttpResponse {
238
+ // (undocumented)
239
+ body: ErrorResponseOutput;
240
+ // (undocumented)
241
+ status: string;
242
+ }
243
+
244
+ // @public (undocumented)
245
+ export type DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters = RequestParameters;
246
+
247
+ // @public (undocumented)
248
+ export type DeviceManagementDeleteDeploymentParameters = RequestParameters;
249
+
250
+ // @public
251
+ export interface DeviceManagementDeleteDeviceClass204Response extends HttpResponse {
252
+ // (undocumented)
253
+ status: "204";
254
+ }
255
+
256
+ // @public
257
+ export interface DeviceManagementDeleteDeviceClassDefaultResponse extends HttpResponse {
258
+ // (undocumented)
259
+ body: ErrorResponseOutput;
260
+ // (undocumented)
261
+ status: string;
262
+ }
263
+
264
+ // @public (undocumented)
265
+ export type DeviceManagementDeleteDeviceClassParameters = RequestParameters;
266
+
267
+ // @public
268
+ export interface DeviceManagementDeleteDeviceClassSubgroup204Response extends HttpResponse {
269
+ // (undocumented)
270
+ status: "204";
271
+ }
272
+
273
+ // @public
274
+ export interface DeviceManagementDeleteDeviceClassSubgroupDefaultResponse extends HttpResponse {
275
+ // (undocumented)
276
+ body: ErrorResponseOutput;
277
+ // (undocumented)
278
+ status: string;
279
+ }
280
+
281
+ // @public (undocumented)
282
+ export type DeviceManagementDeleteDeviceClassSubgroupParameters = RequestParameters;
283
+
284
+ // @public
285
+ export interface DeviceManagementDeleteGroup204Response extends HttpResponse {
286
+ // (undocumented)
287
+ status: "204";
288
+ }
289
+
290
+ // @public
291
+ export interface DeviceManagementDeleteGroupDefaultResponse extends HttpResponse {
292
+ // (undocumented)
293
+ body: ErrorResponseOutput;
294
+ // (undocumented)
295
+ status: string;
296
+ }
297
+
298
+ // @public (undocumented)
299
+ export type DeviceManagementDeleteGroupParameters = RequestParameters;
300
+
301
+ // @public (undocumented)
302
+ export interface DeviceManagementGetBestUpdatesForDeviceClassSubgroup {
303
+ get(options?: DeviceManagementGetBestUpdatesForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response | DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse>;
304
+ }
305
+
306
+ // @public
307
+ export interface DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response extends HttpResponse {
308
+ // (undocumented)
309
+ body: DeviceClassSubgroupUpdatableDevicesOutput;
310
+ // (undocumented)
311
+ status: "200";
312
+ }
313
+
314
+ // @public
315
+ export interface DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse extends HttpResponse {
316
+ // (undocumented)
317
+ body: ErrorResponseOutput;
318
+ // (undocumented)
319
+ status: string;
320
+ }
321
+
322
+ // @public (undocumented)
323
+ export type DeviceManagementGetBestUpdatesForDeviceClassSubgroupParameters = RequestParameters;
324
+
325
+ // @public (undocumented)
326
+ export interface DeviceManagementGetDeployment {
327
+ delete(options?: DeviceManagementDeleteDeploymentParameters): StreamableMethod<DeviceManagementDeleteDeployment204Response | DeviceManagementDeleteDeploymentDefaultResponse>;
328
+ get(options?: DeviceManagementGetDeploymentParameters): StreamableMethod<DeviceManagementGetDeployment200Response | DeviceManagementGetDeploymentDefaultResponse>;
329
+ put(options: DeviceManagementCreateOrUpdateDeploymentParameters): StreamableMethod<DeviceManagementCreateOrUpdateDeployment200Response | DeviceManagementCreateOrUpdateDeploymentDefaultResponse>;
330
+ }
331
+
332
+ // @public
333
+ export interface DeviceManagementGetDeployment200Response extends HttpResponse {
334
+ // (undocumented)
335
+ body: DeploymentOutput;
336
+ // (undocumented)
337
+ status: "200";
338
+ }
339
+
340
+ // @public
341
+ export interface DeviceManagementGetDeploymentDefaultResponse extends HttpResponse {
342
+ // (undocumented)
343
+ body: ErrorResponseOutput;
344
+ // (undocumented)
345
+ status: string;
346
+ }
347
+
348
+ // @public (undocumented)
349
+ export interface DeviceManagementGetDeploymentForDeviceClassSubgroup {
350
+ delete(options?: DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response | DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse>;
351
+ get(options?: DeviceManagementGetDeploymentForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementGetDeploymentForDeviceClassSubgroup200Response | DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse>;
352
+ }
353
+
354
+ // @public
355
+ export interface DeviceManagementGetDeploymentForDeviceClassSubgroup200Response extends HttpResponse {
356
+ // (undocumented)
357
+ body: DeploymentOutput;
358
+ // (undocumented)
359
+ status: "200";
360
+ }
361
+
362
+ // @public
363
+ export interface DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse extends HttpResponse {
364
+ // (undocumented)
365
+ body: ErrorResponseOutput;
366
+ // (undocumented)
367
+ status: string;
368
+ }
369
+
370
+ // @public (undocumented)
371
+ export type DeviceManagementGetDeploymentForDeviceClassSubgroupParameters = RequestParameters;
372
+
373
+ // @public (undocumented)
374
+ export type DeviceManagementGetDeploymentParameters = RequestParameters;
375
+
376
+ // @public (undocumented)
377
+ export interface DeviceManagementGetDeploymentStatus {
378
+ get(options?: DeviceManagementGetDeploymentStatusParameters): StreamableMethod<DeviceManagementGetDeploymentStatus200Response | DeviceManagementGetDeploymentStatusDefaultResponse>;
379
+ }
380
+
381
+ // @public
382
+ export interface DeviceManagementGetDeploymentStatus200Response extends HttpResponse {
383
+ // (undocumented)
384
+ body: DeploymentStatusOutput;
385
+ // (undocumented)
386
+ status: "200";
387
+ }
388
+
389
+ // @public
390
+ export interface DeviceManagementGetDeploymentStatusDefaultResponse extends HttpResponse {
391
+ // (undocumented)
392
+ body: ErrorResponseOutput;
393
+ // (undocumented)
394
+ status: string;
395
+ }
396
+
397
+ // @public (undocumented)
398
+ export type DeviceManagementGetDeploymentStatusParameters = RequestParameters;
399
+
400
+ // @public (undocumented)
401
+ export interface DeviceManagementGetDevice {
402
+ get(options?: DeviceManagementGetDeviceParameters): StreamableMethod<DeviceManagementGetDevice200Response | DeviceManagementGetDeviceDefaultResponse>;
403
+ }
404
+
405
+ // @public
406
+ export interface DeviceManagementGetDevice200Response extends HttpResponse {
407
+ // (undocumented)
408
+ body: DeviceOutput;
409
+ // (undocumented)
410
+ status: "200";
411
+ }
412
+
413
+ // @public (undocumented)
414
+ export interface DeviceManagementGetDeviceClass {
415
+ delete(options?: DeviceManagementDeleteDeviceClassParameters): StreamableMethod<DeviceManagementDeleteDeviceClass204Response | DeviceManagementDeleteDeviceClassDefaultResponse>;
416
+ get(options?: DeviceManagementGetDeviceClassParameters): StreamableMethod<DeviceManagementGetDeviceClass200Response | DeviceManagementGetDeviceClassDefaultResponse>;
417
+ patch(options: DeviceManagementUpdateDeviceClassParameters): StreamableMethod<DeviceManagementUpdateDeviceClass200Response | DeviceManagementUpdateDeviceClassDefaultResponse>;
418
+ }
419
+
420
+ // @public
421
+ export interface DeviceManagementGetDeviceClass200Response extends HttpResponse {
422
+ // (undocumented)
423
+ body: DeviceClassOutput;
424
+ // (undocumented)
425
+ status: "200";
426
+ }
427
+
428
+ // @public
429
+ export interface DeviceManagementGetDeviceClassDefaultResponse extends HttpResponse {
430
+ // (undocumented)
431
+ body: ErrorResponseOutput;
432
+ // (undocumented)
433
+ status: string;
434
+ }
435
+
436
+ // @public (undocumented)
437
+ export type DeviceManagementGetDeviceClassParameters = RequestParameters;
438
+
439
+ // @public (undocumented)
440
+ export interface DeviceManagementGetDeviceClassSubgroup {
441
+ delete(options?: DeviceManagementDeleteDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementDeleteDeviceClassSubgroup204Response | DeviceManagementDeleteDeviceClassSubgroupDefaultResponse>;
442
+ get(options?: DeviceManagementGetDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementGetDeviceClassSubgroup200Response | DeviceManagementGetDeviceClassSubgroupDefaultResponse>;
443
+ }
444
+
445
+ // @public
446
+ export interface DeviceManagementGetDeviceClassSubgroup200Response extends HttpResponse {
447
+ // (undocumented)
448
+ body: DeviceClassSubgroupOutput;
449
+ // (undocumented)
450
+ status: "200";
451
+ }
452
+
453
+ // @public
454
+ export interface DeviceManagementGetDeviceClassSubgroupDefaultResponse extends HttpResponse {
455
+ // (undocumented)
456
+ body: ErrorResponseOutput;
457
+ // (undocumented)
458
+ status: string;
459
+ }
460
+
461
+ // @public (undocumented)
462
+ export interface DeviceManagementGetDeviceClassSubgroupDeploymentStatus {
463
+ get(options?: DeviceManagementGetDeviceClassSubgroupDeploymentStatusParameters): StreamableMethod<DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response | DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse>;
464
+ }
465
+
466
+ // @public
467
+ export interface DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response extends HttpResponse {
468
+ // (undocumented)
469
+ body: DeviceClassSubgroupDeploymentStatusOutput;
470
+ // (undocumented)
471
+ status: "200";
472
+ }
473
+
474
+ // @public
475
+ export interface DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse extends HttpResponse {
476
+ // (undocumented)
477
+ body: ErrorResponseOutput;
478
+ // (undocumented)
479
+ status: string;
480
+ }
481
+
482
+ // @public (undocumented)
483
+ export type DeviceManagementGetDeviceClassSubgroupDeploymentStatusParameters = RequestParameters;
484
+
485
+ // @public (undocumented)
486
+ export type DeviceManagementGetDeviceClassSubgroupParameters = RequestParameters;
487
+
488
+ // @public (undocumented)
489
+ export interface DeviceManagementGetDeviceClassSubgroupUpdateCompliance {
490
+ get(options?: DeviceManagementGetDeviceClassSubgroupUpdateComplianceParameters): StreamableMethod<DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response | DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse>;
491
+ }
492
+
493
+ // @public
494
+ export interface DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response extends HttpResponse {
495
+ // (undocumented)
496
+ body: UpdateComplianceOutput;
497
+ // (undocumented)
498
+ status: "200";
499
+ }
500
+
501
+ // @public
502
+ export interface DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse extends HttpResponse {
503
+ // (undocumented)
504
+ body: ErrorResponseOutput;
505
+ // (undocumented)
506
+ status: string;
507
+ }
508
+
509
+ // @public (undocumented)
510
+ export type DeviceManagementGetDeviceClassSubgroupUpdateComplianceParameters = RequestParameters;
511
+
512
+ // @public
513
+ export interface DeviceManagementGetDeviceDefaultResponse extends HttpResponse {
514
+ // (undocumented)
515
+ body: ErrorResponseOutput;
516
+ // (undocumented)
517
+ status: string;
518
+ }
519
+
520
+ // @public (undocumented)
521
+ export interface DeviceManagementGetDeviceModule {
522
+ get(options?: DeviceManagementGetDeviceModuleParameters): StreamableMethod<DeviceManagementGetDeviceModule200Response | DeviceManagementGetDeviceModuleDefaultResponse>;
523
+ }
524
+
525
+ // @public
526
+ export interface DeviceManagementGetDeviceModule200Response extends HttpResponse {
527
+ // (undocumented)
528
+ body: DeviceOutput;
529
+ // (undocumented)
530
+ status: "200";
531
+ }
532
+
533
+ // @public
534
+ export interface DeviceManagementGetDeviceModuleDefaultResponse extends HttpResponse {
535
+ // (undocumented)
536
+ body: ErrorResponseOutput;
537
+ // (undocumented)
538
+ status: string;
539
+ }
540
+
541
+ // @public (undocumented)
542
+ export type DeviceManagementGetDeviceModuleParameters = RequestParameters;
543
+
544
+ // @public (undocumented)
545
+ export type DeviceManagementGetDeviceParameters = RequestParameters;
546
+
547
+ // @public (undocumented)
548
+ export interface DeviceManagementGetGroup {
549
+ delete(options?: DeviceManagementDeleteGroupParameters): StreamableMethod<DeviceManagementDeleteGroup204Response | DeviceManagementDeleteGroupDefaultResponse>;
550
+ get(options?: DeviceManagementGetGroupParameters): StreamableMethod<DeviceManagementGetGroup200Response | DeviceManagementGetGroupDefaultResponse>;
551
+ }
552
+
553
+ // @public
554
+ export interface DeviceManagementGetGroup200Response extends HttpResponse {
555
+ // (undocumented)
556
+ body: GroupOutput;
557
+ // (undocumented)
558
+ status: "200";
559
+ }
560
+
561
+ // @public
562
+ export interface DeviceManagementGetGroupDefaultResponse extends HttpResponse {
563
+ // (undocumented)
564
+ body: ErrorResponseOutput;
565
+ // (undocumented)
566
+ status: string;
567
+ }
568
+
569
+ // @public (undocumented)
570
+ export type DeviceManagementGetGroupParameters = RequestParameters;
571
+
572
+ // @public
573
+ export interface DeviceManagementGetLogCollection200Response extends HttpResponse {
574
+ // (undocumented)
575
+ body: LogCollectionOutput;
576
+ // (undocumented)
577
+ status: "200";
578
+ }
579
+
580
+ // @public
581
+ export interface DeviceManagementGetLogCollectionDefaultResponse extends HttpResponse {
582
+ // (undocumented)
583
+ body: ErrorResponseOutput;
584
+ // (undocumented)
585
+ status: string;
586
+ }
587
+
588
+ // @public (undocumented)
589
+ export interface DeviceManagementGetLogCollectionDetailedStatus {
590
+ get(options?: DeviceManagementGetLogCollectionDetailedStatusParameters): StreamableMethod<DeviceManagementGetLogCollectionDetailedStatus200Response | DeviceManagementGetLogCollectionDetailedStatusDefaultResponse>;
591
+ }
592
+
593
+ // @public
594
+ export interface DeviceManagementGetLogCollectionDetailedStatus200Response extends HttpResponse {
595
+ // (undocumented)
596
+ body: LogCollectionOperationDetailedStatusOutput;
597
+ // (undocumented)
598
+ status: "200";
599
+ }
600
+
601
+ // @public
602
+ export interface DeviceManagementGetLogCollectionDetailedStatusDefaultResponse extends HttpResponse {
603
+ // (undocumented)
604
+ body: ErrorResponseOutput;
605
+ // (undocumented)
606
+ status: string;
607
+ }
608
+
609
+ // @public (undocumented)
610
+ export type DeviceManagementGetLogCollectionDetailedStatusParameters = RequestParameters;
611
+
612
+ // @public (undocumented)
613
+ export type DeviceManagementGetLogCollectionParameters = RequestParameters;
614
+
615
+ // @public (undocumented)
616
+ export interface DeviceManagementGetOperationStatus {
617
+ get(options?: DeviceManagementGetOperationStatusParameters): StreamableMethod<DeviceManagementGetOperationStatus200Response | DeviceManagementGetOperationStatus304Response | DeviceManagementGetOperationStatusDefaultResponse>;
618
+ }
619
+
620
+ // @public (undocumented)
621
+ export interface DeviceManagementGetOperationStatus200Headers {
622
+ "retry-after"?: string;
623
+ }
624
+
625
+ // @public
626
+ export interface DeviceManagementGetOperationStatus200Response extends HttpResponse {
627
+ // (undocumented)
628
+ body: DeviceOperationOutput;
629
+ // (undocumented)
630
+ headers: RawHttpHeaders & DeviceManagementGetOperationStatus200Headers;
631
+ // (undocumented)
632
+ status: "200";
633
+ }
634
+
635
+ // @public
636
+ export interface DeviceManagementGetOperationStatus304Response extends HttpResponse {
637
+ // (undocumented)
638
+ status: "304";
639
+ }
640
+
641
+ // @public
642
+ export interface DeviceManagementGetOperationStatusDefaultResponse extends HttpResponse {
643
+ // (undocumented)
644
+ body: ErrorResponseOutput;
645
+ // (undocumented)
646
+ status: string;
647
+ }
648
+
649
+ // @public (undocumented)
650
+ export interface DeviceManagementGetOperationStatusHeaderParam {
651
+ // (undocumented)
652
+ headers?: RawHttpHeadersInput & DeviceManagementGetOperationStatusHeaders;
653
+ }
654
+
655
+ // @public (undocumented)
656
+ export interface DeviceManagementGetOperationStatusHeaders {
657
+ "If-None-Match"?: string;
658
+ }
659
+
660
+ // @public (undocumented)
661
+ export type DeviceManagementGetOperationStatusParameters = DeviceManagementGetOperationStatusHeaderParam & RequestParameters;
662
+
663
+ // @public (undocumented)
664
+ export interface DeviceManagementGetUpdateCompliance {
665
+ get(options?: DeviceManagementGetUpdateComplianceParameters): StreamableMethod<DeviceManagementGetUpdateCompliance200Response | DeviceManagementGetUpdateComplianceDefaultResponse>;
666
+ }
667
+
668
+ // @public
669
+ export interface DeviceManagementGetUpdateCompliance200Response extends HttpResponse {
670
+ // (undocumented)
671
+ body: UpdateComplianceOutput;
672
+ // (undocumented)
673
+ status: "200";
674
+ }
675
+
676
+ // @public
677
+ export interface DeviceManagementGetUpdateComplianceDefaultResponse extends HttpResponse {
678
+ // (undocumented)
679
+ body: ErrorResponseOutput;
680
+ // (undocumented)
681
+ status: string;
682
+ }
683
+
684
+ // @public (undocumented)
685
+ export interface DeviceManagementGetUpdateComplianceForGroup {
686
+ get(options?: DeviceManagementGetUpdateComplianceForGroupParameters): StreamableMethod<DeviceManagementGetUpdateComplianceForGroup200Response | DeviceManagementGetUpdateComplianceForGroupDefaultResponse>;
687
+ }
688
+
689
+ // @public
690
+ export interface DeviceManagementGetUpdateComplianceForGroup200Response extends HttpResponse {
691
+ // (undocumented)
692
+ body: UpdateComplianceOutput;
693
+ // (undocumented)
694
+ status: "200";
695
+ }
696
+
697
+ // @public
698
+ export interface DeviceManagementGetUpdateComplianceForGroupDefaultResponse extends HttpResponse {
699
+ // (undocumented)
700
+ body: ErrorResponseOutput;
701
+ // (undocumented)
702
+ status: string;
703
+ }
704
+
705
+ // @public (undocumented)
706
+ export type DeviceManagementGetUpdateComplianceForGroupParameters = RequestParameters;
707
+
708
+ // @public (undocumented)
709
+ export type DeviceManagementGetUpdateComplianceParameters = RequestParameters;
710
+
711
+ // @public (undocumented)
712
+ export interface DeviceManagementImportDevices {
713
+ post(options: DeviceManagementImportDevicesParameters): StreamableMethod<DeviceManagementImportDevices202Response | DeviceManagementImportDevicesDefaultResponse>;
714
+ }
715
+
716
+ // @public (undocumented)
717
+ export interface DeviceManagementImportDevices202Headers {
718
+ "operation-location"?: string;
719
+ }
720
+
721
+ // @public
722
+ export interface DeviceManagementImportDevices202Response extends HttpResponse {
723
+ // (undocumented)
724
+ headers: RawHttpHeaders & DeviceManagementImportDevices202Headers;
725
+ // (undocumented)
726
+ status: "202";
727
+ }
728
+
729
+ // @public (undocumented)
730
+ export interface DeviceManagementImportDevicesBodyParam {
731
+ body: "Devices" | "Modules" | "All";
732
+ }
733
+
734
+ // @public
735
+ export interface DeviceManagementImportDevicesDefaultResponse extends HttpResponse {
736
+ // (undocumented)
737
+ body: ErrorResponseOutput;
738
+ // (undocumented)
739
+ status: string;
740
+ }
741
+
742
+ // @public (undocumented)
743
+ export interface DeviceManagementImportDevicesMediaTypesParam {
744
+ contentType?: "application/json";
745
+ }
746
+
747
+ // @public (undocumented)
748
+ export type DeviceManagementImportDevicesParameters = DeviceManagementImportDevicesMediaTypesParam & DeviceManagementImportDevicesBodyParam & RequestParameters;
749
+
750
+ // @public (undocumented)
751
+ export interface DeviceManagementListBestUpdatesForGroup {
752
+ get(options?: DeviceManagementListBestUpdatesForGroupParameters): StreamableMethod<DeviceManagementListBestUpdatesForGroup200Response | DeviceManagementListBestUpdatesForGroupDefaultResponse>;
753
+ }
754
+
755
+ // @public
756
+ export interface DeviceManagementListBestUpdatesForGroup200Response extends HttpResponse {
757
+ // (undocumented)
758
+ body: DeviceClassSubgroupUpdatableDevicesListOutput;
759
+ // (undocumented)
760
+ status: "200";
761
+ }
762
+
763
+ // @public
764
+ export interface DeviceManagementListBestUpdatesForGroupDefaultResponse extends HttpResponse {
765
+ // (undocumented)
766
+ body: ErrorResponseOutput;
767
+ // (undocumented)
768
+ status: string;
769
+ }
770
+
771
+ // @public (undocumented)
772
+ export type DeviceManagementListBestUpdatesForGroupParameters = RequestParameters;
773
+
774
+ // @public (undocumented)
775
+ export interface DeviceManagementListDeploymentsForDeviceClassSubgroup {
776
+ get(options?: DeviceManagementListDeploymentsForDeviceClassSubgroupParameters): StreamableMethod<DeviceManagementListDeploymentsForDeviceClassSubgroup200Response | DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse>;
777
+ }
778
+
779
+ // @public
780
+ export interface DeviceManagementListDeploymentsForDeviceClassSubgroup200Response extends HttpResponse {
781
+ // (undocumented)
782
+ body: DeploymentsListOutput;
783
+ // (undocumented)
784
+ status: "200";
785
+ }
786
+
787
+ // @public
788
+ export interface DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse extends HttpResponse {
789
+ // (undocumented)
790
+ body: ErrorResponseOutput;
791
+ // (undocumented)
792
+ status: string;
793
+ }
794
+
795
+ // @public (undocumented)
796
+ export type DeviceManagementListDeploymentsForDeviceClassSubgroupParameters = DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParam & RequestParameters;
797
+
798
+ // @public (undocumented)
799
+ export interface DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParam {
800
+ // (undocumented)
801
+ queryParameters?: DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParamProperties;
802
+ }
803
+
804
+ // @public (undocumented)
805
+ export interface DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParamProperties {
806
+ orderby?: string;
807
+ }
808
+
809
+ // @public (undocumented)
810
+ export interface DeviceManagementListDeploymentsForGroup {
811
+ get(options?: DeviceManagementListDeploymentsForGroupParameters): StreamableMethod<DeviceManagementListDeploymentsForGroup200Response | DeviceManagementListDeploymentsForGroupDefaultResponse>;
812
+ }
813
+
814
+ // @public
815
+ export interface DeviceManagementListDeploymentsForGroup200Response extends HttpResponse {
816
+ // (undocumented)
817
+ body: DeploymentsListOutput;
818
+ // (undocumented)
819
+ status: "200";
820
+ }
821
+
822
+ // @public
823
+ export interface DeviceManagementListDeploymentsForGroupDefaultResponse extends HttpResponse {
824
+ // (undocumented)
825
+ body: ErrorResponseOutput;
826
+ // (undocumented)
827
+ status: string;
828
+ }
829
+
830
+ // @public (undocumented)
831
+ export type DeviceManagementListDeploymentsForGroupParameters = DeviceManagementListDeploymentsForGroupQueryParam & RequestParameters;
832
+
833
+ // @public (undocumented)
834
+ export interface DeviceManagementListDeploymentsForGroupQueryParam {
835
+ // (undocumented)
836
+ queryParameters?: DeviceManagementListDeploymentsForGroupQueryParamProperties;
837
+ }
838
+
839
+ // @public (undocumented)
840
+ export interface DeviceManagementListDeploymentsForGroupQueryParamProperties {
841
+ orderby?: string;
842
+ }
843
+
844
+ // @public (undocumented)
845
+ export interface DeviceManagementListDeviceClasses {
846
+ get(options?: DeviceManagementListDeviceClassesParameters): StreamableMethod<DeviceManagementListDeviceClasses200Response | DeviceManagementListDeviceClassesDefaultResponse>;
847
+ }
848
+
849
+ // @public
850
+ export interface DeviceManagementListDeviceClasses200Response extends HttpResponse {
851
+ // (undocumented)
852
+ body: DeviceClassesListOutput;
853
+ // (undocumented)
854
+ status: "200";
855
+ }
856
+
857
+ // @public
858
+ export interface DeviceManagementListDeviceClassesDefaultResponse extends HttpResponse {
859
+ // (undocumented)
860
+ body: ErrorResponseOutput;
861
+ // (undocumented)
862
+ status: string;
863
+ }
864
+
865
+ // @public (undocumented)
866
+ export type DeviceManagementListDeviceClassesParameters = DeviceManagementListDeviceClassesQueryParam & RequestParameters;
867
+
868
+ // @public (undocumented)
869
+ export interface DeviceManagementListDeviceClassesQueryParam {
870
+ // (undocumented)
871
+ queryParameters?: DeviceManagementListDeviceClassesQueryParamProperties;
872
+ }
873
+
874
+ // @public (undocumented)
875
+ export interface DeviceManagementListDeviceClassesQueryParamProperties {
876
+ filter?: string;
877
+ }
878
+
879
+ // @public (undocumented)
880
+ export interface DeviceManagementListDeviceClassSubgroupsForGroup {
881
+ get(options?: DeviceManagementListDeviceClassSubgroupsForGroupParameters): StreamableMethod<DeviceManagementListDeviceClassSubgroupsForGroup200Response | DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse>;
882
+ }
883
+
884
+ // @public
885
+ export interface DeviceManagementListDeviceClassSubgroupsForGroup200Response extends HttpResponse {
886
+ // (undocumented)
887
+ body: DeviceClassSubgroupsListOutput;
888
+ // (undocumented)
889
+ status: "200";
890
+ }
891
+
892
+ // @public
893
+ export interface DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse extends HttpResponse {
894
+ // (undocumented)
895
+ body: ErrorResponseOutput;
896
+ // (undocumented)
897
+ status: string;
898
+ }
899
+
900
+ // @public (undocumented)
901
+ export type DeviceManagementListDeviceClassSubgroupsForGroupParameters = DeviceManagementListDeviceClassSubgroupsForGroupQueryParam & RequestParameters;
902
+
903
+ // @public (undocumented)
904
+ export interface DeviceManagementListDeviceClassSubgroupsForGroupQueryParam {
905
+ // (undocumented)
906
+ queryParameters?: DeviceManagementListDeviceClassSubgroupsForGroupQueryParamProperties;
907
+ }
908
+
909
+ // @public (undocumented)
910
+ export interface DeviceManagementListDeviceClassSubgroupsForGroupQueryParamProperties {
911
+ filter?: string;
912
+ }
913
+
914
+ // @public (undocumented)
915
+ export interface DeviceManagementListDevices {
916
+ get(options?: DeviceManagementListDevicesParameters): StreamableMethod<DeviceManagementListDevices200Response | DeviceManagementListDevicesDefaultResponse>;
917
+ }
918
+
919
+ // @public
920
+ export interface DeviceManagementListDevices200Response extends HttpResponse {
921
+ // (undocumented)
922
+ body: DevicesListOutput;
923
+ // (undocumented)
924
+ status: "200";
925
+ }
926
+
927
+ // @public
928
+ export interface DeviceManagementListDevicesDefaultResponse extends HttpResponse {
929
+ // (undocumented)
930
+ body: ErrorResponseOutput;
931
+ // (undocumented)
932
+ status: string;
933
+ }
934
+
935
+ // @public (undocumented)
936
+ export type DeviceManagementListDevicesParameters = DeviceManagementListDevicesQueryParam & RequestParameters;
937
+
938
+ // @public (undocumented)
939
+ export interface DeviceManagementListDevicesQueryParam {
940
+ // (undocumented)
941
+ queryParameters?: DeviceManagementListDevicesQueryParamProperties;
942
+ }
943
+
944
+ // @public (undocumented)
945
+ export interface DeviceManagementListDevicesQueryParamProperties {
946
+ filter?: string;
947
+ }
948
+
949
+ // @public (undocumented)
950
+ export interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment {
951
+ get(options?: DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentParameters): StreamableMethod<DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response | DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse>;
952
+ }
953
+
954
+ // @public
955
+ export interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response extends HttpResponse {
956
+ // (undocumented)
957
+ body: DeploymentDeviceStatesListOutput;
958
+ // (undocumented)
959
+ status: "200";
960
+ }
961
+
962
+ // @public
963
+ export interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse extends HttpResponse {
964
+ // (undocumented)
965
+ body: ErrorResponseOutput;
966
+ // (undocumented)
967
+ status: string;
968
+ }
969
+
970
+ // @public (undocumented)
971
+ export type DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentParameters = DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParam & RequestParameters;
972
+
973
+ // @public (undocumented)
974
+ export interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParam {
975
+ // (undocumented)
976
+ queryParameters?: DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParamProperties;
977
+ }
978
+
979
+ // @public (undocumented)
980
+ export interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParamProperties {
981
+ filter?: string;
982
+ }
983
+
984
+ // @public (undocumented)
985
+ export interface DeviceManagementListGroups {
986
+ get(options?: DeviceManagementListGroupsParameters): StreamableMethod<DeviceManagementListGroups200Response | DeviceManagementListGroupsDefaultResponse>;
987
+ }
988
+
989
+ // @public
990
+ export interface DeviceManagementListGroups200Response extends HttpResponse {
991
+ // (undocumented)
992
+ body: GroupsListOutput;
993
+ // (undocumented)
994
+ status: "200";
995
+ }
996
+
997
+ // @public
998
+ export interface DeviceManagementListGroupsDefaultResponse extends HttpResponse {
999
+ // (undocumented)
1000
+ body: ErrorResponseOutput;
1001
+ // (undocumented)
1002
+ status: string;
1003
+ }
1004
+
1005
+ // @public (undocumented)
1006
+ export type DeviceManagementListGroupsParameters = DeviceManagementListGroupsQueryParam & RequestParameters;
1007
+
1008
+ // @public (undocumented)
1009
+ export interface DeviceManagementListGroupsQueryParam {
1010
+ // (undocumented)
1011
+ queryParameters?: DeviceManagementListGroupsQueryParamProperties;
1012
+ }
1013
+
1014
+ // @public (undocumented)
1015
+ export interface DeviceManagementListGroupsQueryParamProperties {
1016
+ orderby?: string;
1017
+ }
1018
+
1019
+ // @public (undocumented)
1020
+ export interface DeviceManagementListHealthOfDevices {
1021
+ get(options: DeviceManagementListHealthOfDevicesParameters): StreamableMethod<DeviceManagementListHealthOfDevices200Response | DeviceManagementListHealthOfDevicesDefaultResponse>;
1022
+ }
1023
+
1024
+ // @public
1025
+ export interface DeviceManagementListHealthOfDevices200Response extends HttpResponse {
1026
+ // (undocumented)
1027
+ body: DeviceHealthListOutput;
1028
+ // (undocumented)
1029
+ status: "200";
1030
+ }
1031
+
1032
+ // @public
1033
+ export interface DeviceManagementListHealthOfDevicesDefaultResponse extends HttpResponse {
1034
+ // (undocumented)
1035
+ body: ErrorResponseOutput;
1036
+ // (undocumented)
1037
+ status: string;
1038
+ }
1039
+
1040
+ // @public (undocumented)
1041
+ export type DeviceManagementListHealthOfDevicesParameters = DeviceManagementListHealthOfDevicesQueryParam & RequestParameters;
1042
+
1043
+ // @public (undocumented)
1044
+ export interface DeviceManagementListHealthOfDevicesQueryParam {
1045
+ // (undocumented)
1046
+ queryParameters: DeviceManagementListHealthOfDevicesQueryParamProperties;
1047
+ }
1048
+
1049
+ // @public (undocumented)
1050
+ export interface DeviceManagementListHealthOfDevicesQueryParamProperties {
1051
+ filter: string;
1052
+ }
1053
+
1054
+ // @public (undocumented)
1055
+ export interface DeviceManagementListInstallableUpdatesForDeviceClass {
1056
+ get(options?: DeviceManagementListInstallableUpdatesForDeviceClassParameters): StreamableMethod<DeviceManagementListInstallableUpdatesForDeviceClass200Response | DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse>;
1057
+ }
1058
+
1059
+ // @public
1060
+ export interface DeviceManagementListInstallableUpdatesForDeviceClass200Response extends HttpResponse {
1061
+ // (undocumented)
1062
+ body: UpdateInfoListOutput;
1063
+ // (undocumented)
1064
+ status: "200";
1065
+ }
1066
+
1067
+ // @public
1068
+ export interface DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse extends HttpResponse {
1069
+ // (undocumented)
1070
+ body: ErrorResponseOutput;
1071
+ // (undocumented)
1072
+ status: string;
1073
+ }
1074
+
1075
+ // @public (undocumented)
1076
+ export type DeviceManagementListInstallableUpdatesForDeviceClassParameters = RequestParameters;
1077
+
1078
+ // @public (undocumented)
1079
+ export interface DeviceManagementListLogCollections {
1080
+ get(options?: DeviceManagementListLogCollectionsParameters): StreamableMethod<DeviceManagementListLogCollections200Response | DeviceManagementListLogCollectionsDefaultResponse>;
1081
+ }
1082
+
1083
+ // @public
1084
+ export interface DeviceManagementListLogCollections200Response extends HttpResponse {
1085
+ // (undocumented)
1086
+ body: LogCollectionListOutput;
1087
+ // (undocumented)
1088
+ status: "200";
1089
+ }
1090
+
1091
+ // @public
1092
+ export interface DeviceManagementListLogCollectionsDefaultResponse extends HttpResponse {
1093
+ // (undocumented)
1094
+ body: ErrorResponseOutput;
1095
+ // (undocumented)
1096
+ status: string;
1097
+ }
1098
+
1099
+ // @public (undocumented)
1100
+ export type DeviceManagementListLogCollectionsParameters = RequestParameters;
1101
+
1102
+ // @public (undocumented)
1103
+ export interface DeviceManagementListOperationStatuses {
1104
+ get(options?: DeviceManagementListOperationStatusesParameters): StreamableMethod<DeviceManagementListOperationStatuses200Response | DeviceManagementListOperationStatusesDefaultResponse>;
1105
+ }
1106
+
1107
+ // @public
1108
+ export interface DeviceManagementListOperationStatuses200Response extends HttpResponse {
1109
+ // (undocumented)
1110
+ body: DeviceOperationsListOutput;
1111
+ // (undocumented)
1112
+ status: "200";
1113
+ }
1114
+
1115
+ // @public
1116
+ export interface DeviceManagementListOperationStatusesDefaultResponse extends HttpResponse {
1117
+ // (undocumented)
1118
+ body: ErrorResponseOutput;
1119
+ // (undocumented)
1120
+ status: string;
1121
+ }
1122
+
1123
+ // @public (undocumented)
1124
+ export type DeviceManagementListOperationStatusesParameters = DeviceManagementListOperationStatusesQueryParam & RequestParameters;
1125
+
1126
+ // @public (undocumented)
1127
+ export interface DeviceManagementListOperationStatusesQueryParam {
1128
+ // (undocumented)
1129
+ queryParameters?: DeviceManagementListOperationStatusesQueryParamProperties;
1130
+ }
1131
+
1132
+ // @public (undocumented)
1133
+ export interface DeviceManagementListOperationStatusesQueryParamProperties {
1134
+ filter?: string;
1135
+ top?: number;
1136
+ }
1137
+
1138
+ // @public (undocumented)
1139
+ export interface DeviceManagementRetryDeployment {
1140
+ post(options?: DeviceManagementRetryDeploymentParameters): StreamableMethod<DeviceManagementRetryDeployment200Response | DeviceManagementRetryDeploymentDefaultResponse>;
1141
+ }
1142
+
1143
+ // @public
1144
+ export interface DeviceManagementRetryDeployment200Response extends HttpResponse {
1145
+ // (undocumented)
1146
+ body: DeploymentOutput;
1147
+ // (undocumented)
1148
+ status: "200";
1149
+ }
1150
+
1151
+ // @public
1152
+ export interface DeviceManagementRetryDeploymentDefaultResponse extends HttpResponse {
1153
+ // (undocumented)
1154
+ body: ErrorResponseOutput;
1155
+ // (undocumented)
1156
+ status: string;
1157
+ }
1158
+
1159
+ // @public (undocumented)
1160
+ export type DeviceManagementRetryDeploymentParameters = RequestParameters;
1161
+
1162
+ // @public (undocumented)
1163
+ export interface DeviceManagementStartLogCollection {
1164
+ get(options?: DeviceManagementGetLogCollectionParameters): StreamableMethod<DeviceManagementGetLogCollection200Response | DeviceManagementGetLogCollectionDefaultResponse>;
1165
+ put(options: DeviceManagementStartLogCollectionParameters): StreamableMethod<DeviceManagementStartLogCollection201Response | DeviceManagementStartLogCollectionDefaultResponse>;
1166
+ }
1167
+
1168
+ // @public
1169
+ export interface DeviceManagementStartLogCollection201Response extends HttpResponse {
1170
+ // (undocumented)
1171
+ body: LogCollectionOutput;
1172
+ // (undocumented)
1173
+ status: "201";
1174
+ }
1175
+
1176
+ // @public (undocumented)
1177
+ export interface DeviceManagementStartLogCollectionBodyParam {
1178
+ body: LogCollection;
1179
+ }
1180
+
1181
+ // @public
1182
+ export interface DeviceManagementStartLogCollectionDefaultResponse extends HttpResponse {
1183
+ // (undocumented)
1184
+ body: ErrorResponseOutput;
1185
+ // (undocumented)
1186
+ status: string;
1187
+ }
1188
+
1189
+ // @public (undocumented)
1190
+ export interface DeviceManagementStartLogCollectionMediaTypesParam {
1191
+ contentType?: "application/json";
1192
+ }
1193
+
1194
+ // @public (undocumented)
1195
+ export type DeviceManagementStartLogCollectionParameters = DeviceManagementStartLogCollectionMediaTypesParam & DeviceManagementStartLogCollectionBodyParam & RequestParameters;
1196
+
1197
+ // @public (undocumented)
1198
+ export interface DeviceManagementStopDeployment {
1199
+ post(options?: DeviceManagementStopDeploymentParameters): StreamableMethod<DeviceManagementStopDeployment200Response | DeviceManagementStopDeploymentDefaultResponse>;
1200
+ }
1201
+
1202
+ // @public
1203
+ export interface DeviceManagementStopDeployment200Response extends HttpResponse {
1204
+ // (undocumented)
1205
+ body: DeploymentOutput;
1206
+ // (undocumented)
1207
+ status: "200";
1208
+ }
1209
+
1210
+ // @public
1211
+ export interface DeviceManagementStopDeploymentDefaultResponse extends HttpResponse {
1212
+ // (undocumented)
1213
+ body: ErrorResponseOutput;
1214
+ // (undocumented)
1215
+ status: string;
1216
+ }
1217
+
1218
+ // @public (undocumented)
1219
+ export type DeviceManagementStopDeploymentParameters = RequestParameters;
1220
+
1221
+ // @public
1222
+ export interface DeviceManagementUpdateDeviceClass200Response extends HttpResponse {
1223
+ // (undocumented)
1224
+ body: DeviceClassOutput;
1225
+ // (undocumented)
1226
+ status: "200";
1227
+ }
1228
+
1229
+ // @public (undocumented)
1230
+ export interface DeviceManagementUpdateDeviceClassBodyParam {
1231
+ body: PatchBodyResourceMergeAndPatch;
1232
+ }
1233
+
1234
+ // @public
1235
+ export interface DeviceManagementUpdateDeviceClassDefaultResponse extends HttpResponse {
1236
+ // (undocumented)
1237
+ body: ErrorResponseOutput;
1238
+ // (undocumented)
1239
+ status: string;
1240
+ }
1241
+
1242
+ // @public (undocumented)
1243
+ export interface DeviceManagementUpdateDeviceClassMediaTypesParam {
1244
+ contentType?: "application/merge-patch+json";
1245
+ }
1246
+
1247
+ // @public (undocumented)
1248
+ export type DeviceManagementUpdateDeviceClassParameters = DeviceManagementUpdateDeviceClassMediaTypesParam & DeviceManagementUpdateDeviceClassBodyParam & RequestParameters;
1249
+
1250
+ // @public
1251
+ export interface DeviceOperationOutput {
1252
+ createdDateTime: string;
1253
+ error?: ErrorModelOutput;
1254
+ etag?: string;
1255
+ lastActionDateTime: string;
1256
+ operationId: string;
1257
+ status: "NotStarted" | "Running" | "Succeeded" | "Failed";
1258
+ traceId?: string;
1259
+ }
1260
+
1261
+ // @public
1262
+ export interface DeviceOperationsListOutput {
1263
+ nextLink?: string;
1264
+ value: Array<DeviceOperationOutput>;
1265
+ }
1266
+
1267
+ // @public
1268
+ export interface DeviceOutput {
1269
+ deploymentStatus?: "Succeeded" | "InProgress" | "Canceled" | "Failed";
1270
+ deviceClassId: string;
1271
+ deviceId: string;
1272
+ groupId?: string;
1273
+ installedUpdate?: UpdateInfoOutput;
1274
+ lastAttemptedUpdate?: UpdateInfoOutput;
1275
+ lastDeploymentId?: string;
1276
+ lastInstallResult?: InstallResultOutput;
1277
+ moduleId?: string;
1278
+ onLatestUpdate: boolean;
1279
+ }
1280
+
1281
+ // @public
1282
+ export interface DevicesListOutput {
1283
+ nextLink?: string;
1284
+ value: Array<DeviceOutput>;
1285
+ }
1286
+
1287
+ // @public
1288
+ export interface DeviceUpdateAgentId {
1289
+ deviceId: string;
1290
+ moduleId?: string;
1291
+ }
1292
+
1293
+ // @public
1294
+ export interface DeviceUpdateAgentIdOutput {
1295
+ deviceId: string;
1296
+ moduleId?: string;
1297
+ }
1298
+
1299
+ // @public (undocumented)
1300
+ export type DeviceUpdateClient = Client & {
1301
+ path: Routes;
1302
+ };
1303
+
1304
+ // @public
1305
+ export interface DeviceUpdateClientOptions extends ClientOptions {
1306
+ apiVersion?: string;
1307
+ }
1308
+
1309
+ // @public (undocumented)
1310
+ export interface DeviceUpdateDeleteUpdate202Headers {
1311
+ "operation-location"?: string;
1312
+ }
1313
+
1314
+ // @public
1315
+ export interface DeviceUpdateDeleteUpdate202Response extends HttpResponse {
1316
+ // (undocumented)
1317
+ headers: RawHttpHeaders & DeviceUpdateDeleteUpdate202Headers;
1318
+ // (undocumented)
1319
+ status: "202";
1320
+ }
1321
+
1322
+ // @public
1323
+ export interface DeviceUpdateDeleteUpdateDefaultResponse extends HttpResponse {
1324
+ // (undocumented)
1325
+ body: ErrorResponseOutput;
1326
+ // (undocumented)
1327
+ status: string;
1328
+ }
1329
+
1330
+ // @public (undocumented)
1331
+ export type DeviceUpdateDeleteUpdateParameters = RequestParameters;
1332
+
1333
+ // @public (undocumented)
1334
+ export interface DeviceUpdateGetFile {
1335
+ get(options?: DeviceUpdateGetFileParameters): StreamableMethod<DeviceUpdateGetFile200Response | DeviceUpdateGetFile304Response | DeviceUpdateGetFileDefaultResponse>;
1336
+ }
1337
+
1338
+ // @public
1339
+ export interface DeviceUpdateGetFile200Response extends HttpResponse {
1340
+ // (undocumented)
1341
+ body: UpdateFileOutput;
1342
+ // (undocumented)
1343
+ status: "200";
1344
+ }
1345
+
1346
+ // @public
1347
+ export interface DeviceUpdateGetFile304Response extends HttpResponse {
1348
+ // (undocumented)
1349
+ status: "304";
1350
+ }
1351
+
1352
+ // @public
1353
+ export interface DeviceUpdateGetFileDefaultResponse extends HttpResponse {
1354
+ // (undocumented)
1355
+ body: ErrorResponseOutput;
1356
+ // (undocumented)
1357
+ status: string;
1358
+ }
1359
+
1360
+ // @public (undocumented)
1361
+ export interface DeviceUpdateGetFileHeaderParam {
1362
+ // (undocumented)
1363
+ headers?: RawHttpHeadersInput & DeviceUpdateGetFileHeaders;
1364
+ }
1365
+
1366
+ // @public (undocumented)
1367
+ export interface DeviceUpdateGetFileHeaders {
1368
+ "If-None-Match"?: string;
1369
+ }
1370
+
1371
+ // @public (undocumented)
1372
+ export type DeviceUpdateGetFileParameters = DeviceUpdateGetFileHeaderParam & RequestParameters;
1373
+
1374
+ // @public (undocumented)
1375
+ export interface DeviceUpdateGetOperationStatus {
1376
+ get(options?: DeviceUpdateGetOperationStatusParameters): StreamableMethod<DeviceUpdateGetOperationStatus200Response | DeviceUpdateGetOperationStatus304Response | DeviceUpdateGetOperationStatusDefaultResponse>;
1377
+ }
1378
+
1379
+ // @public (undocumented)
1380
+ export interface DeviceUpdateGetOperationStatus200Headers {
1381
+ "retry-after"?: string;
1382
+ }
1383
+
1384
+ // @public
1385
+ export interface DeviceUpdateGetOperationStatus200Response extends HttpResponse {
1386
+ // (undocumented)
1387
+ body: UpdateOperationOutput;
1388
+ // (undocumented)
1389
+ headers: RawHttpHeaders & DeviceUpdateGetOperationStatus200Headers;
1390
+ // (undocumented)
1391
+ status: "200";
1392
+ }
1393
+
1394
+ // @public
1395
+ export interface DeviceUpdateGetOperationStatus304Response extends HttpResponse {
1396
+ // (undocumented)
1397
+ status: "304";
1398
+ }
1399
+
1400
+ // @public
1401
+ export interface DeviceUpdateGetOperationStatusDefaultResponse extends HttpResponse {
1402
+ // (undocumented)
1403
+ body: ErrorResponseOutput;
1404
+ // (undocumented)
1405
+ status: string;
1406
+ }
1407
+
1408
+ // @public (undocumented)
1409
+ export interface DeviceUpdateGetOperationStatusHeaderParam {
1410
+ // (undocumented)
1411
+ headers?: RawHttpHeadersInput & DeviceUpdateGetOperationStatusHeaders;
1412
+ }
1413
+
1414
+ // @public (undocumented)
1415
+ export interface DeviceUpdateGetOperationStatusHeaders {
1416
+ "If-None-Match"?: string;
1417
+ }
1418
+
1419
+ // @public (undocumented)
1420
+ export type DeviceUpdateGetOperationStatusParameters = DeviceUpdateGetOperationStatusHeaderParam & RequestParameters;
1421
+
1422
+ // @public (undocumented)
1423
+ export interface DeviceUpdateGetUpdate {
1424
+ delete(options?: DeviceUpdateDeleteUpdateParameters): StreamableMethod<DeviceUpdateDeleteUpdate202Response | DeviceUpdateDeleteUpdateDefaultResponse>;
1425
+ get(options?: DeviceUpdateGetUpdateParameters): StreamableMethod<DeviceUpdateGetUpdate200Response | DeviceUpdateGetUpdate304Response | DeviceUpdateGetUpdateDefaultResponse>;
1426
+ }
1427
+
1428
+ // @public
1429
+ export interface DeviceUpdateGetUpdate200Response extends HttpResponse {
1430
+ // (undocumented)
1431
+ body: UpdateOutput;
1432
+ // (undocumented)
1433
+ status: "200";
1434
+ }
1435
+
1436
+ // @public
1437
+ export interface DeviceUpdateGetUpdate304Response extends HttpResponse {
1438
+ // (undocumented)
1439
+ status: "304";
1440
+ }
1441
+
1442
+ // @public
1443
+ export interface DeviceUpdateGetUpdateDefaultResponse extends HttpResponse {
1444
+ // (undocumented)
1445
+ body: ErrorResponseOutput;
1446
+ // (undocumented)
1447
+ status: string;
1448
+ }
1449
+
1450
+ // @public (undocumented)
1451
+ export interface DeviceUpdateGetUpdateHeaderParam {
1452
+ // (undocumented)
1453
+ headers?: RawHttpHeadersInput & DeviceUpdateGetUpdateHeaders;
1454
+ }
1455
+
1456
+ // @public (undocumented)
1457
+ export interface DeviceUpdateGetUpdateHeaders {
1458
+ "If-None-Match"?: string;
1459
+ }
1460
+
1461
+ // @public (undocumented)
1462
+ export type DeviceUpdateGetUpdateParameters = DeviceUpdateGetUpdateHeaderParam & RequestParameters;
1463
+
1464
+ // @public (undocumented)
1465
+ export interface DeviceUpdateImportUpdate {
1466
+ post(options: DeviceUpdateImportUpdateParameters): StreamableMethod<DeviceUpdateImportUpdate200Response | DeviceUpdateImportUpdate202Response | DeviceUpdateImportUpdateDefaultResponse>;
1467
+ }
1468
+
1469
+ // @public
1470
+ export interface DeviceUpdateImportUpdate200Response extends HttpResponse {
1471
+ // (undocumented)
1472
+ body: UpdateOutput;
1473
+ // (undocumented)
1474
+ status: "200";
1475
+ }
1476
+
1477
+ // @public (undocumented)
1478
+ export interface DeviceUpdateImportUpdate202Headers {
1479
+ "operation-location"?: string;
1480
+ }
1481
+
1482
+ // @public
1483
+ export interface DeviceUpdateImportUpdate202Response extends HttpResponse {
1484
+ // (undocumented)
1485
+ headers: RawHttpHeaders & DeviceUpdateImportUpdate202Headers;
1486
+ // (undocumented)
1487
+ status: "202";
1488
+ }
1489
+
1490
+ // @public (undocumented)
1491
+ export interface DeviceUpdateImportUpdateBodyParam {
1492
+ body: Array<ImportUpdateInputItem>;
1493
+ }
1494
+
1495
+ // @public
1496
+ export interface DeviceUpdateImportUpdateDefaultResponse extends HttpResponse {
1497
+ // (undocumented)
1498
+ body: ErrorResponseOutput;
1499
+ // (undocumented)
1500
+ status: string;
1501
+ }
1502
+
1503
+ // @public (undocumented)
1504
+ export interface DeviceUpdateImportUpdateMediaTypesParam {
1505
+ contentType?: "application/json";
1506
+ }
1507
+
1508
+ // @public (undocumented)
1509
+ export type DeviceUpdateImportUpdateParameters = DeviceUpdateImportUpdateMediaTypesParam & DeviceUpdateImportUpdateBodyParam & RequestParameters;
1510
+
1511
+ // @public (undocumented)
1512
+ export interface DeviceUpdateListFiles {
1513
+ get(options?: DeviceUpdateListFilesParameters): StreamableMethod<DeviceUpdateListFiles200Response | DeviceUpdateListFilesDefaultResponse>;
1514
+ }
1515
+
1516
+ // @public
1517
+ export interface DeviceUpdateListFiles200Response extends HttpResponse {
1518
+ // (undocumented)
1519
+ body: StringsListOutput;
1520
+ // (undocumented)
1521
+ status: "200";
1522
+ }
1523
+
1524
+ // @public
1525
+ export interface DeviceUpdateListFilesDefaultResponse extends HttpResponse {
1526
+ // (undocumented)
1527
+ body: ErrorResponseOutput;
1528
+ // (undocumented)
1529
+ status: string;
1530
+ }
1531
+
1532
+ // @public (undocumented)
1533
+ export type DeviceUpdateListFilesParameters = RequestParameters;
1534
+
1535
+ // @public (undocumented)
1536
+ export interface DeviceUpdateListNames {
1537
+ get(options?: DeviceUpdateListNamesParameters): StreamableMethod<DeviceUpdateListNames200Response | DeviceUpdateListNamesDefaultResponse>;
1538
+ }
1539
+
1540
+ // @public
1541
+ export interface DeviceUpdateListNames200Response extends HttpResponse {
1542
+ // (undocumented)
1543
+ body: StringsListOutput;
1544
+ // (undocumented)
1545
+ status: "200";
1546
+ }
1547
+
1548
+ // @public
1549
+ export interface DeviceUpdateListNamesDefaultResponse extends HttpResponse {
1550
+ // (undocumented)
1551
+ body: ErrorResponseOutput;
1552
+ // (undocumented)
1553
+ status: string;
1554
+ }
1555
+
1556
+ // @public (undocumented)
1557
+ export type DeviceUpdateListNamesParameters = RequestParameters;
1558
+
1559
+ // @public (undocumented)
1560
+ export interface DeviceUpdateListOperationStatuses {
1561
+ get(options?: DeviceUpdateListOperationStatusesParameters): StreamableMethod<DeviceUpdateListOperationStatuses200Response | DeviceUpdateListOperationStatusesDefaultResponse>;
1562
+ }
1563
+
1564
+ // @public
1565
+ export interface DeviceUpdateListOperationStatuses200Response extends HttpResponse {
1566
+ // (undocumented)
1567
+ body: UpdateOperationsListOutput;
1568
+ // (undocumented)
1569
+ status: "200";
1570
+ }
1571
+
1572
+ // @public
1573
+ export interface DeviceUpdateListOperationStatusesDefaultResponse extends HttpResponse {
1574
+ // (undocumented)
1575
+ body: ErrorResponseOutput;
1576
+ // (undocumented)
1577
+ status: string;
1578
+ }
1579
+
1580
+ // @public (undocumented)
1581
+ export type DeviceUpdateListOperationStatusesParameters = DeviceUpdateListOperationStatusesQueryParam & RequestParameters;
1582
+
1583
+ // @public (undocumented)
1584
+ export interface DeviceUpdateListOperationStatusesQueryParam {
1585
+ // (undocumented)
1586
+ queryParameters?: DeviceUpdateListOperationStatusesQueryParamProperties;
1587
+ }
1588
+
1589
+ // @public (undocumented)
1590
+ export interface DeviceUpdateListOperationStatusesQueryParamProperties {
1591
+ filter?: string;
1592
+ top?: number;
1593
+ }
1594
+
1595
+ // @public (undocumented)
1596
+ export interface DeviceUpdateListProviders {
1597
+ get(options?: DeviceUpdateListProvidersParameters): StreamableMethod<DeviceUpdateListProviders200Response | DeviceUpdateListProvidersDefaultResponse>;
1598
+ }
1599
+
1600
+ // @public
1601
+ export interface DeviceUpdateListProviders200Response extends HttpResponse {
1602
+ // (undocumented)
1603
+ body: StringsListOutput;
1604
+ // (undocumented)
1605
+ status: "200";
1606
+ }
1607
+
1608
+ // @public
1609
+ export interface DeviceUpdateListProvidersDefaultResponse extends HttpResponse {
1610
+ // (undocumented)
1611
+ body: ErrorResponseOutput;
1612
+ // (undocumented)
1613
+ status: string;
1614
+ }
1615
+
1616
+ // @public (undocumented)
1617
+ export type DeviceUpdateListProvidersParameters = RequestParameters;
1618
+
1619
+ // @public (undocumented)
1620
+ export interface DeviceUpdateListUpdates {
1621
+ get(options?: DeviceUpdateListUpdatesParameters): StreamableMethod<DeviceUpdateListUpdates200Response | DeviceUpdateListUpdatesDefaultResponse>;
1622
+ }
1623
+
1624
+ // @public
1625
+ export interface DeviceUpdateListUpdates200Response extends HttpResponse {
1626
+ // (undocumented)
1627
+ body: UpdateListOutput;
1628
+ // (undocumented)
1629
+ status: "200";
1630
+ }
1631
+
1632
+ // @public
1633
+ export interface DeviceUpdateListUpdatesDefaultResponse extends HttpResponse {
1634
+ // (undocumented)
1635
+ body: ErrorResponseOutput;
1636
+ // (undocumented)
1637
+ status: string;
1638
+ }
1639
+
1640
+ // @public (undocumented)
1641
+ export type DeviceUpdateListUpdatesParameters = DeviceUpdateListUpdatesQueryParam & RequestParameters;
1642
+
1643
+ // @public (undocumented)
1644
+ export interface DeviceUpdateListUpdatesQueryParam {
1645
+ // (undocumented)
1646
+ queryParameters?: DeviceUpdateListUpdatesQueryParamProperties;
1647
+ }
1648
+
1649
+ // @public (undocumented)
1650
+ export interface DeviceUpdateListUpdatesQueryParamProperties {
1651
+ filter?: string;
1652
+ search?: string;
1653
+ }
1654
+
1655
+ // @public (undocumented)
1656
+ export interface DeviceUpdateListVersions {
1657
+ get(options?: DeviceUpdateListVersionsParameters): StreamableMethod<DeviceUpdateListVersions200Response | DeviceUpdateListVersionsDefaultResponse>;
1658
+ }
1659
+
1660
+ // @public
1661
+ export interface DeviceUpdateListVersions200Response extends HttpResponse {
1662
+ // (undocumented)
1663
+ body: StringsListOutput;
1664
+ // (undocumented)
1665
+ status: "200";
1666
+ }
1667
+
1668
+ // @public
1669
+ export interface DeviceUpdateListVersionsDefaultResponse extends HttpResponse {
1670
+ // (undocumented)
1671
+ body: ErrorResponseOutput;
1672
+ // (undocumented)
1673
+ status: string;
1674
+ }
1675
+
1676
+ // @public (undocumented)
1677
+ export type DeviceUpdateListVersionsParameters = DeviceUpdateListVersionsQueryParam & RequestParameters;
1678
+
1679
+ // @public (undocumented)
1680
+ export interface DeviceUpdateListVersionsQueryParam {
1681
+ // (undocumented)
1682
+ queryParameters?: DeviceUpdateListVersionsQueryParamProperties;
1683
+ }
1684
+
1685
+ // @public (undocumented)
1686
+ export interface DeviceUpdateListVersionsQueryParamProperties {
1687
+ filter?: string;
1688
+ }
1689
+
1690
+ // @public
1691
+ export interface ErrorModelOutput {
1692
+ code: string;
1693
+ details?: Array<ErrorModelOutput>;
1694
+ innererror?: InnerErrorOutput;
1695
+ message: string;
1696
+ occurredDateTime?: string;
1697
+ target?: string;
1698
+ }
1699
+
1700
+ // @public
1701
+ export interface ErrorResponseOutput {
1702
+ error: ErrorModelOutput;
1703
+ }
1704
+
1705
+ // @public
1706
+ export interface FileImportMetadata {
1707
+ filename: string;
1708
+ url: string;
1709
+ }
1710
+
1711
+ // @public
1712
+ export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
1713
+
1714
+ // @public
1715
+ export function getLongRunningPoller<TResult extends HttpResponse>(client: Client, initialResponse: TResult, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
1716
+
1717
+ // @public
1718
+ export type GetPage<TPage> = (pageLink: string) => Promise<{
1719
+ page: TPage;
1720
+ nextPageLink?: string;
1721
+ }>;
1722
+
1723
+ // @public
1724
+ export interface GroupOutput {
1725
+ createdDateTime: string;
1726
+ deployments?: Array<string>;
1727
+ deviceCount?: number;
1728
+ groupId: string;
1729
+ groupType: "IoTHubTag" | "DefaultNoTag";
1730
+ subgroupsWithNewUpdatesAvailableCount?: number;
1731
+ subgroupsWithOnLatestUpdateCount?: number;
1732
+ subgroupsWithUpdatesInProgressCount?: number;
1733
+ }
1734
+
1735
+ // @public
1736
+ export interface GroupsListOutput {
1737
+ nextLink?: string;
1738
+ value: Array<GroupOutput>;
1739
+ }
1740
+
1741
+ // @public
1742
+ export interface HealthCheckOutput {
1743
+ name?: string;
1744
+ result?: "success" | "userError";
1745
+ }
1746
+
1747
+ // @public
1748
+ export interface ImportManifestMetadata {
1749
+ hashes: Record<string, string>;
1750
+ sizeInBytes: number;
1751
+ url: string;
1752
+ }
1753
+
1754
+ // @public
1755
+ export interface ImportUpdateInputItem {
1756
+ files?: Array<FileImportMetadata>;
1757
+ friendlyName?: string;
1758
+ importManifest: ImportManifestMetadata;
1759
+ }
1760
+
1761
+ // @public
1762
+ export interface InnerErrorOutput {
1763
+ code: string;
1764
+ errorDetail?: string;
1765
+ innerError?: InnerErrorOutput;
1766
+ message?: string;
1767
+ }
1768
+
1769
+ // @public
1770
+ export interface InstallResultOutput {
1771
+ extendedResultCode: number;
1772
+ resultCode: number;
1773
+ resultDetails?: string;
1774
+ stepResults?: Array<StepResultOutput>;
1775
+ }
1776
+
1777
+ // @public (undocumented)
1778
+ export interface InstructionsOutput {
1779
+ steps: Array<StepOutput>;
1780
+ }
1781
+
1782
+ // @public (undocumented)
1783
+ export function isUnexpected(response: DeviceUpdateListUpdates200Response | DeviceUpdateListUpdatesDefaultResponse): response is DeviceUpdateListUpdatesDefaultResponse;
1784
+
1785
+ // @public (undocumented)
1786
+ export function isUnexpected(response: DeviceUpdateImportUpdate200Response | DeviceUpdateImportUpdate202Response | DeviceUpdateImportUpdateDefaultResponse): response is DeviceUpdateImportUpdateDefaultResponse;
1787
+
1788
+ // @public (undocumented)
1789
+ export function isUnexpected(response: DeviceUpdateGetUpdate200Response | DeviceUpdateGetUpdate304Response | DeviceUpdateGetUpdateDefaultResponse): response is DeviceUpdateGetUpdateDefaultResponse;
1790
+
1791
+ // @public (undocumented)
1792
+ export function isUnexpected(response: DeviceUpdateDeleteUpdate202Response | DeviceUpdateDeleteUpdateDefaultResponse): response is DeviceUpdateDeleteUpdateDefaultResponse;
1793
+
1794
+ // @public (undocumented)
1795
+ export function isUnexpected(response: DeviceUpdateListProviders200Response | DeviceUpdateListProvidersDefaultResponse): response is DeviceUpdateListProvidersDefaultResponse;
1796
+
1797
+ // @public (undocumented)
1798
+ export function isUnexpected(response: DeviceUpdateListNames200Response | DeviceUpdateListNamesDefaultResponse): response is DeviceUpdateListNamesDefaultResponse;
1799
+
1800
+ // @public (undocumented)
1801
+ export function isUnexpected(response: DeviceUpdateListVersions200Response | DeviceUpdateListVersionsDefaultResponse): response is DeviceUpdateListVersionsDefaultResponse;
1802
+
1803
+ // @public (undocumented)
1804
+ export function isUnexpected(response: DeviceUpdateListFiles200Response | DeviceUpdateListFilesDefaultResponse): response is DeviceUpdateListFilesDefaultResponse;
1805
+
1806
+ // @public (undocumented)
1807
+ export function isUnexpected(response: DeviceUpdateGetFile200Response | DeviceUpdateGetFile304Response | DeviceUpdateGetFileDefaultResponse): response is DeviceUpdateGetFileDefaultResponse;
1808
+
1809
+ // @public (undocumented)
1810
+ export function isUnexpected(response: DeviceUpdateListOperationStatuses200Response | DeviceUpdateListOperationStatusesDefaultResponse): response is DeviceUpdateListOperationStatusesDefaultResponse;
1811
+
1812
+ // @public (undocumented)
1813
+ export function isUnexpected(response: DeviceUpdateGetOperationStatus200Response | DeviceUpdateGetOperationStatus304Response | DeviceUpdateGetOperationStatusDefaultResponse): response is DeviceUpdateGetOperationStatusDefaultResponse;
1814
+
1815
+ // @public (undocumented)
1816
+ export function isUnexpected(response: DeviceManagementListDeviceClasses200Response | DeviceManagementListDeviceClassesDefaultResponse): response is DeviceManagementListDeviceClassesDefaultResponse;
1817
+
1818
+ // @public (undocumented)
1819
+ export function isUnexpected(response: DeviceManagementGetDeviceClass200Response | DeviceManagementGetDeviceClassDefaultResponse): response is DeviceManagementGetDeviceClassDefaultResponse;
1820
+
1821
+ // @public (undocumented)
1822
+ export function isUnexpected(response: DeviceManagementUpdateDeviceClass200Response | DeviceManagementUpdateDeviceClassDefaultResponse): response is DeviceManagementUpdateDeviceClassDefaultResponse;
1823
+
1824
+ // @public (undocumented)
1825
+ export function isUnexpected(response: DeviceManagementDeleteDeviceClass204Response | DeviceManagementDeleteDeviceClassDefaultResponse): response is DeviceManagementDeleteDeviceClassDefaultResponse;
1826
+
1827
+ // @public (undocumented)
1828
+ export function isUnexpected(response: DeviceManagementListInstallableUpdatesForDeviceClass200Response | DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse): response is DeviceManagementListInstallableUpdatesForDeviceClassDefaultResponse;
1829
+
1830
+ // @public (undocumented)
1831
+ export function isUnexpected(response: DeviceManagementListDevices200Response | DeviceManagementListDevicesDefaultResponse): response is DeviceManagementListDevicesDefaultResponse;
1832
+
1833
+ // @public (undocumented)
1834
+ export function isUnexpected(response: DeviceManagementImportDevices202Response | DeviceManagementImportDevicesDefaultResponse): response is DeviceManagementImportDevicesDefaultResponse;
1835
+
1836
+ // @public (undocumented)
1837
+ export function isUnexpected(response: DeviceManagementGetDevice200Response | DeviceManagementGetDeviceDefaultResponse): response is DeviceManagementGetDeviceDefaultResponse;
1838
+
1839
+ // @public (undocumented)
1840
+ export function isUnexpected(response: DeviceManagementGetDeviceModule200Response | DeviceManagementGetDeviceModuleDefaultResponse): response is DeviceManagementGetDeviceModuleDefaultResponse;
1841
+
1842
+ // @public (undocumented)
1843
+ export function isUnexpected(response: DeviceManagementGetUpdateCompliance200Response | DeviceManagementGetUpdateComplianceDefaultResponse): response is DeviceManagementGetUpdateComplianceDefaultResponse;
1844
+
1845
+ // @public (undocumented)
1846
+ export function isUnexpected(response: DeviceManagementListGroups200Response | DeviceManagementListGroupsDefaultResponse): response is DeviceManagementListGroupsDefaultResponse;
1847
+
1848
+ // @public (undocumented)
1849
+ export function isUnexpected(response: DeviceManagementGetGroup200Response | DeviceManagementGetGroupDefaultResponse): response is DeviceManagementGetGroupDefaultResponse;
1850
+
1851
+ // @public (undocumented)
1852
+ export function isUnexpected(response: DeviceManagementDeleteGroup204Response | DeviceManagementDeleteGroupDefaultResponse): response is DeviceManagementDeleteGroupDefaultResponse;
1853
+
1854
+ // @public (undocumented)
1855
+ export function isUnexpected(response: DeviceManagementGetUpdateComplianceForGroup200Response | DeviceManagementGetUpdateComplianceForGroupDefaultResponse): response is DeviceManagementGetUpdateComplianceForGroupDefaultResponse;
1856
+
1857
+ // @public (undocumented)
1858
+ export function isUnexpected(response: DeviceManagementListBestUpdatesForGroup200Response | DeviceManagementListBestUpdatesForGroupDefaultResponse): response is DeviceManagementListBestUpdatesForGroupDefaultResponse;
1859
+
1860
+ // @public (undocumented)
1861
+ export function isUnexpected(response: DeviceManagementListDeploymentsForGroup200Response | DeviceManagementListDeploymentsForGroupDefaultResponse): response is DeviceManagementListDeploymentsForGroupDefaultResponse;
1862
+
1863
+ // @public (undocumented)
1864
+ export function isUnexpected(response: DeviceManagementGetDeployment200Response | DeviceManagementGetDeploymentDefaultResponse): response is DeviceManagementGetDeploymentDefaultResponse;
1865
+
1866
+ // @public (undocumented)
1867
+ export function isUnexpected(response: DeviceManagementCreateOrUpdateDeployment200Response | DeviceManagementCreateOrUpdateDeploymentDefaultResponse): response is DeviceManagementCreateOrUpdateDeploymentDefaultResponse;
1868
+
1869
+ // @public (undocumented)
1870
+ export function isUnexpected(response: DeviceManagementDeleteDeployment204Response | DeviceManagementDeleteDeploymentDefaultResponse): response is DeviceManagementDeleteDeploymentDefaultResponse;
1871
+
1872
+ // @public (undocumented)
1873
+ export function isUnexpected(response: DeviceManagementGetDeploymentStatus200Response | DeviceManagementGetDeploymentStatusDefaultResponse): response is DeviceManagementGetDeploymentStatusDefaultResponse;
1874
+
1875
+ // @public (undocumented)
1876
+ export function isUnexpected(response: DeviceManagementListDeviceClassSubgroupsForGroup200Response | DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse): response is DeviceManagementListDeviceClassSubgroupsForGroupDefaultResponse;
1877
+
1878
+ // @public (undocumented)
1879
+ export function isUnexpected(response: DeviceManagementGetDeviceClassSubgroup200Response | DeviceManagementGetDeviceClassSubgroupDefaultResponse): response is DeviceManagementGetDeviceClassSubgroupDefaultResponse;
1880
+
1881
+ // @public (undocumented)
1882
+ export function isUnexpected(response: DeviceManagementDeleteDeviceClassSubgroup204Response | DeviceManagementDeleteDeviceClassSubgroupDefaultResponse): response is DeviceManagementDeleteDeviceClassSubgroupDefaultResponse;
1883
+
1884
+ // @public (undocumented)
1885
+ export function isUnexpected(response: DeviceManagementGetDeviceClassSubgroupUpdateCompliance200Response | DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse): response is DeviceManagementGetDeviceClassSubgroupUpdateComplianceDefaultResponse;
1886
+
1887
+ // @public (undocumented)
1888
+ export function isUnexpected(response: DeviceManagementGetBestUpdatesForDeviceClassSubgroup200Response | DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse): response is DeviceManagementGetBestUpdatesForDeviceClassSubgroupDefaultResponse;
1889
+
1890
+ // @public (undocumented)
1891
+ export function isUnexpected(response: DeviceManagementListDeploymentsForDeviceClassSubgroup200Response | DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse): response is DeviceManagementListDeploymentsForDeviceClassSubgroupDefaultResponse;
1892
+
1893
+ // @public (undocumented)
1894
+ export function isUnexpected(response: DeviceManagementGetDeploymentForDeviceClassSubgroup200Response | DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse): response is DeviceManagementGetDeploymentForDeviceClassSubgroupDefaultResponse;
1895
+
1896
+ // @public (undocumented)
1897
+ export function isUnexpected(response: DeviceManagementDeleteDeploymentForDeviceClassSubgroup204Response | DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse): response is DeviceManagementDeleteDeploymentForDeviceClassSubgroupDefaultResponse;
1898
+
1899
+ // @public (undocumented)
1900
+ export function isUnexpected(response: DeviceManagementStopDeployment200Response | DeviceManagementStopDeploymentDefaultResponse): response is DeviceManagementStopDeploymentDefaultResponse;
1901
+
1902
+ // @public (undocumented)
1903
+ export function isUnexpected(response: DeviceManagementRetryDeployment200Response | DeviceManagementRetryDeploymentDefaultResponse): response is DeviceManagementRetryDeploymentDefaultResponse;
1904
+
1905
+ // @public (undocumented)
1906
+ export function isUnexpected(response: DeviceManagementGetDeviceClassSubgroupDeploymentStatus200Response | DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse): response is DeviceManagementGetDeviceClassSubgroupDeploymentStatusDefaultResponse;
1907
+
1908
+ // @public (undocumented)
1909
+ export function isUnexpected(response: DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment200Response | DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse): response is DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentDefaultResponse;
1910
+
1911
+ // @public (undocumented)
1912
+ export function isUnexpected(response: DeviceManagementGetOperationStatus200Response | DeviceManagementGetOperationStatus304Response | DeviceManagementGetOperationStatusDefaultResponse): response is DeviceManagementGetOperationStatusDefaultResponse;
1913
+
1914
+ // @public (undocumented)
1915
+ export function isUnexpected(response: DeviceManagementListOperationStatuses200Response | DeviceManagementListOperationStatusesDefaultResponse): response is DeviceManagementListOperationStatusesDefaultResponse;
1916
+
1917
+ // @public (undocumented)
1918
+ export function isUnexpected(response: DeviceManagementStartLogCollection201Response | DeviceManagementStartLogCollectionDefaultResponse): response is DeviceManagementStartLogCollectionDefaultResponse;
1919
+
1920
+ // @public (undocumented)
1921
+ export function isUnexpected(response: DeviceManagementGetLogCollection200Response | DeviceManagementGetLogCollectionDefaultResponse): response is DeviceManagementGetLogCollectionDefaultResponse;
1922
+
1923
+ // @public (undocumented)
1924
+ export function isUnexpected(response: DeviceManagementListLogCollections200Response | DeviceManagementListLogCollectionsDefaultResponse): response is DeviceManagementListLogCollectionsDefaultResponse;
1925
+
1926
+ // @public (undocumented)
1927
+ export function isUnexpected(response: DeviceManagementGetLogCollectionDetailedStatus200Response | DeviceManagementGetLogCollectionDetailedStatusDefaultResponse): response is DeviceManagementGetLogCollectionDetailedStatusDefaultResponse;
1928
+
1929
+ // @public (undocumented)
1930
+ export function isUnexpected(response: DeviceManagementListHealthOfDevices200Response | DeviceManagementListHealthOfDevicesDefaultResponse): response is DeviceManagementListHealthOfDevicesDefaultResponse;
1931
+
1932
+ // @public
1933
+ export interface LogCollection {
1934
+ description?: string;
1935
+ deviceList: Array<DeviceUpdateAgentId>;
1936
+ operationId?: string;
1937
+ }
1938
+
1939
+ // @public
1940
+ export interface LogCollectionListOutput {
1941
+ nextLink?: string;
1942
+ value: Array<LogCollectionOutput>;
1943
+ }
1944
+
1945
+ // @public
1946
+ export interface LogCollectionOperationDetailedStatusOutput {
1947
+ createdDateTime?: string;
1948
+ description?: string;
1949
+ deviceStatus?: Array<LogCollectionOperationDeviceStatusOutput>;
1950
+ lastActionDateTime?: string;
1951
+ operationId?: string;
1952
+ status?: "NotStarted" | "Running" | "Succeeded" | "Failed";
1953
+ }
1954
+
1955
+ // @public
1956
+ export interface LogCollectionOperationDeviceStatusOutput {
1957
+ deviceId: string;
1958
+ extendedResultCode?: string;
1959
+ logLocation?: string;
1960
+ moduleId?: string;
1961
+ resultCode?: string;
1962
+ status: "NotStarted" | "Running" | "Succeeded" | "Failed";
1963
+ }
1964
+
1965
+ // @public
1966
+ export interface LogCollectionOutput {
1967
+ readonly createdDateTime?: string;
1968
+ description?: string;
1969
+ deviceList: Array<DeviceUpdateAgentIdOutput>;
1970
+ readonly lastActionDateTime?: string;
1971
+ operationId?: string;
1972
+ readonly status?: "NotStarted" | "Running" | "Succeeded" | "Failed";
1973
+ }
1974
+
1975
+ // @public
1976
+ export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
1977
+ [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
1978
+ byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;
1979
+ next(): Promise<IteratorResult<TElement>>;
1980
+ }
1981
+
1982
+ // @public
1983
+ export interface PageSettings {
1984
+ continuationToken?: string;
1985
+ }
1986
+
1987
+ // @public
1988
+ export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
1989
+
1990
+ // @public
1991
+ export type PaginateReturn<TResult> = TResult extends {
1992
+ body: {
1993
+ value?: infer TPage;
1994
+ };
1995
+ } ? GetArrayType<TPage> : Array<unknown>;
1996
+
1997
+ // @public
1998
+ export interface PagingOptions<TResponse> {
1999
+ customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
2000
+ }
2001
+
2002
+ // @public
2003
+ export interface PatchBody {
2004
+ friendlyName: string;
2005
+ }
2006
+
2007
+ // @public
2008
+ export type PatchBodyResourceMergeAndPatch = Partial<PatchBody>;
2009
+
2010
+ // @public (undocumented)
2011
+ export interface Routes {
2012
+ (path: "/deviceUpdate/{instanceId}/updates", instanceId: string): DeviceUpdateListUpdates;
2013
+ (path: "/deviceUpdate/{instanceId}/updates:import", instanceId: string): DeviceUpdateImportUpdate;
2014
+ (path: "/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}", instanceId: string, provider: string, name: string, version: string): DeviceUpdateGetUpdate;
2015
+ (path: "/deviceUpdate/{instanceId}/updates/providers", instanceId: string): DeviceUpdateListProviders;
2016
+ (path: "/deviceUpdate/{instanceId}/updates/providers/{provider}/names", instanceId: string, provider: string): DeviceUpdateListNames;
2017
+ (path: "/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions", instanceId: string, provider: string, name: string): DeviceUpdateListVersions;
2018
+ (path: "/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}/files", instanceId: string, provider: string, name: string, version: string): DeviceUpdateListFiles;
2019
+ (path: "/deviceUpdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}/files/{fileId}", instanceId: string, provider: string, name: string, version: string, fileId: string): DeviceUpdateGetFile;
2020
+ (path: "/deviceUpdate/{instanceId}/updates/operations", instanceId: string): DeviceUpdateListOperationStatuses;
2021
+ (path: "/deviceUpdate/{instanceId}/updates/operations/{operationId}", instanceId: string, operationId: string): DeviceUpdateGetOperationStatus;
2022
+ (path: "/deviceUpdate/{instanceId}/management/deviceClasses", instanceId: string): DeviceManagementListDeviceClasses;
2023
+ (path: "/deviceUpdate/{instanceId}/management/deviceClasses/{deviceClassId}", instanceId: string, deviceClassId: string): DeviceManagementGetDeviceClass;
2024
+ (path: "/deviceUpdate/{instanceId}/management/deviceClasses/{deviceClassId}/installableUpdates", instanceId: string, deviceClassId: string): DeviceManagementListInstallableUpdatesForDeviceClass;
2025
+ (path: "/deviceUpdate/{instanceId}/management/devices", instanceId: string): DeviceManagementListDevices;
2026
+ (path: "/deviceUpdate/{instanceId}/management/devices:import", instanceId: string): DeviceManagementImportDevices;
2027
+ (path: "/deviceUpdate/{instanceId}/management/devices/{deviceId}", instanceId: string, deviceId: string): DeviceManagementGetDevice;
2028
+ (path: "/deviceUpdate/{instanceId}/management/devices/{deviceId}/modules/{moduleId}", instanceId: string, deviceId: string, moduleId: string): DeviceManagementGetDeviceModule;
2029
+ (path: "/deviceUpdate/{instanceId}/management/updateCompliance", instanceId: string): DeviceManagementGetUpdateCompliance;
2030
+ (path: "/deviceUpdate/{instanceId}/management/groups", instanceId: string): DeviceManagementListGroups;
2031
+ (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}", instanceId: string, groupId: string): DeviceManagementGetGroup;
2032
+ (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/updateCompliance", instanceId: string, groupId: string): DeviceManagementGetUpdateComplianceForGroup;
2033
+ (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/bestUpdates", instanceId: string, groupId: string): DeviceManagementListBestUpdatesForGroup;
2034
+ (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments", instanceId: string, groupId: string): DeviceManagementListDeploymentsForGroup;
2035
+ (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments/{deploymentId}", instanceId: string, groupId: string, deploymentId: string): DeviceManagementGetDeployment;
2036
+ (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deployments/{deploymentId}/status", instanceId: string, groupId: string, deploymentId: string): DeviceManagementGetDeploymentStatus;
2037
+ (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups", instanceId: string, groupId: string): DeviceManagementListDeviceClassSubgroupsForGroup;
2038
+ (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}", instanceId: string, groupId: string, deviceClassId: string): DeviceManagementGetDeviceClassSubgroup;
2039
+ (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/updateCompliance", instanceId: string, groupId: string, deviceClassId: string): DeviceManagementGetDeviceClassSubgroupUpdateCompliance;
2040
+ (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/bestUpdates", instanceId: string, groupId: string, deviceClassId: string): DeviceManagementGetBestUpdatesForDeviceClassSubgroup;
2041
+ (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments", instanceId: string, groupId: string, deviceClassId: string): DeviceManagementListDeploymentsForDeviceClassSubgroup;
2042
+ (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}", instanceId: string, groupId: string, deviceClassId: string, deploymentId: string): DeviceManagementGetDeploymentForDeviceClassSubgroup;
2043
+ (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}:cancel", instanceId: string, groupId: string, deviceClassId: string, deploymentId: string): DeviceManagementStopDeployment;
2044
+ (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}:retry", instanceId: string, groupId: string, deviceClassId: string, deploymentId: string): DeviceManagementRetryDeployment;
2045
+ (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}/status", instanceId: string, groupId: string, deviceClassId: string, deploymentId: string): DeviceManagementGetDeviceClassSubgroupDeploymentStatus;
2046
+ (path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups/{deviceClassId}/deployments/{deploymentId}/devicestates", instanceId: string, groupId: string, deviceClassId: string, deploymentId: string): DeviceManagementListDeviceStatesForDeviceClassSubgroupDeployment;
2047
+ (path: "/deviceUpdate/{instanceId}/management/operations/{operationId}", instanceId: string, operationId: string): DeviceManagementGetOperationStatus;
2048
+ (path: "/deviceUpdate/{instanceId}/management/operations", instanceId: string): DeviceManagementListOperationStatuses;
2049
+ (path: "/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections/{operationId}", instanceId: string, operationId: string): DeviceManagementStartLogCollection;
2050
+ (path: "/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections", instanceId: string): DeviceManagementListLogCollections;
2051
+ (path: "/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections/{operationId}/detailedStatus", instanceId: string, operationId: string): DeviceManagementGetLogCollectionDetailedStatus;
2052
+ (path: "/deviceUpdate/{instanceId}/management/deviceDiagnostics/deviceHealth", instanceId: string): DeviceManagementListHealthOfDevices;
2053
+ }
2054
+
2055
+ // @public
2056
+ export interface SimplePollerLike<TState extends OperationState<TResult>, TResult> {
2057
+ getOperationState(): TState;
2058
+ getResult(): TResult | undefined;
2059
+ isDone(): boolean;
2060
+ // @deprecated
2061
+ isStopped(): boolean;
2062
+ onProgress(callback: (state: TState) => void): CancelOnProgress;
2063
+ poll(options?: {
2064
+ abortSignal?: AbortSignalLike;
2065
+ }): Promise<TState>;
2066
+ pollUntilDone(pollOptions?: {
2067
+ abortSignal?: AbortSignalLike;
2068
+ }): Promise<TResult>;
2069
+ serialize(): Promise<string>;
2070
+ // @deprecated
2071
+ stopPolling(): void;
2072
+ submitted(): Promise<void>;
2073
+ // @deprecated
2074
+ toString(): string;
2075
+ }
2076
+
2077
+ // @public
2078
+ export interface StepOutput {
2079
+ description?: string;
2080
+ files?: Array<string>;
2081
+ handler?: string;
2082
+ handlerProperties?: Record<string, unknown>;
2083
+ type?: "Inline" | "Reference";
2084
+ updateId?: UpdateIdOutput;
2085
+ }
2086
+
2087
+ // @public
2088
+ export interface StepResultOutput {
2089
+ description?: string;
2090
+ extendedResultCode: number;
2091
+ resultCode: number;
2092
+ resultDetails?: string;
2093
+ update?: UpdateInfoOutput;
2094
+ }
2095
+
2096
+ // @public
2097
+ export interface StringsListOutput {
2098
+ nextLink?: string;
2099
+ value: Array<string>;
2100
+ }
2101
+
2102
+ // @public
2103
+ export interface UpdateComplianceOutput {
2104
+ newUpdatesAvailableDeviceCount: number;
2105
+ onLatestUpdateDeviceCount: number;
2106
+ totalDeviceCount: number;
2107
+ updatesInProgressDeviceCount: number;
2108
+ }
2109
+
2110
+ // @public
2111
+ export interface UpdateFileBaseOutput {
2112
+ fileName: string;
2113
+ hashes: Record<string, string>;
2114
+ mimeType?: string;
2115
+ properties?: Record<string, string>;
2116
+ scanDetails?: string;
2117
+ scanResult?: string;
2118
+ sizeInBytes: number;
2119
+ }
2120
+
2121
+ // @public
2122
+ export interface UpdateFileDownloadHandlerOutput {
2123
+ id: string;
2124
+ }
2125
+
2126
+ // @public
2127
+ export interface UpdateFileOutput extends UpdateFileBaseOutput {
2128
+ downloadHandler?: UpdateFileDownloadHandlerOutput;
2129
+ etag?: string;
2130
+ fileId: string;
2131
+ relatedFiles?: Array<UpdateFileBaseOutput>;
2132
+ }
2133
+
2134
+ // @public
2135
+ export interface UpdateId {
2136
+ name: string;
2137
+ provider: string;
2138
+ version: string;
2139
+ }
2140
+
2141
+ // @public
2142
+ export interface UpdateIdOutput {
2143
+ name: string;
2144
+ provider: string;
2145
+ version: string;
2146
+ }
2147
+
2148
+ // @public
2149
+ export interface UpdateInfo {
2150
+ updateId: UpdateId;
2151
+ }
2152
+
2153
+ // @public
2154
+ export interface UpdateInfoListOutput {
2155
+ nextLink?: string;
2156
+ value: Array<UpdateInfoOutput>;
2157
+ }
2158
+
2159
+ // @public
2160
+ export interface UpdateInfoOutput {
2161
+ readonly description?: string;
2162
+ readonly friendlyName?: string;
2163
+ updateId: UpdateIdOutput;
2164
+ }
2165
+
2166
+ // @public
2167
+ export interface UpdateListOutput {
2168
+ nextLink?: string;
2169
+ value: Array<UpdateOutput>;
2170
+ }
2171
+
2172
+ // @public
2173
+ export interface UpdateOperationOutput {
2174
+ createdDateTime: string;
2175
+ error?: ErrorModelOutput;
2176
+ etag?: string;
2177
+ lastActionDateTime: string;
2178
+ operationId: string;
2179
+ resourceLocation?: string;
2180
+ status: "NotStarted" | "Running" | "Succeeded" | "Failed";
2181
+ traceId?: string;
2182
+ update?: UpdateInfoOutput;
2183
+ }
2184
+
2185
+ // @public
2186
+ export interface UpdateOperationsListOutput {
2187
+ nextLink?: string;
2188
+ value: Array<UpdateOperationOutput>;
2189
+ }
2190
+
2191
+ // @public
2192
+ export interface UpdateOutput {
2193
+ compatibility: Array<Record<string, string>>;
2194
+ createdDateTime: string;
2195
+ description?: string;
2196
+ etag?: string;
2197
+ friendlyName?: string;
2198
+ importedDateTime: string;
2199
+ installedCriteria?: string;
2200
+ instructions?: InstructionsOutput;
2201
+ isDeployable?: boolean;
2202
+ manifestVersion: string;
2203
+ referencedBy?: Array<UpdateIdOutput>;
2204
+ scanResult?: string;
2205
+ updateId: UpdateIdOutput;
2206
+ updateType?: string;
2207
+ }
2208
+
2209
+ // (No @packageDocumentation comment for this package)
2210
+
2211
+ ```