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