@azure/arm-deviceprovisioningservices 2.1.0 → 4.0.0

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 (147) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +21 -21
  4. package/README.md +98 -96
  5. package/dist/index.js +3108 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/src/index.d.ts +5 -0
  10. package/dist-esm/src/index.d.ts.map +1 -0
  11. package/dist-esm/src/index.js +12 -0
  12. package/dist-esm/src/index.js.map +1 -0
  13. package/dist-esm/src/iotDpsClient.d.ts +20 -0
  14. package/dist-esm/src/iotDpsClient.d.ts.map +1 -0
  15. package/dist-esm/src/iotDpsClient.js +53 -0
  16. package/dist-esm/src/iotDpsClient.js.map +1 -0
  17. package/dist-esm/src/lroImpl.d.ts +16 -0
  18. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  19. package/dist-esm/src/lroImpl.js +29 -0
  20. package/dist-esm/src/lroImpl.js.map +1 -0
  21. package/dist-esm/src/models/index.d.ts +825 -0
  22. package/dist-esm/src/models/index.d.ts.map +1 -0
  23. package/dist-esm/src/models/index.js +72 -0
  24. package/dist-esm/src/models/index.js.map +1 -0
  25. package/dist-esm/src/models/mappers.d.ts +36 -0
  26. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  27. package/{esm → dist-esm/src}/models/mappers.js +565 -322
  28. package/dist-esm/src/models/mappers.js.map +1 -0
  29. package/dist-esm/src/models/parameters.d.ts +34 -0
  30. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  31. package/dist-esm/src/models/parameters.js +293 -0
  32. package/dist-esm/src/models/parameters.js.map +1 -0
  33. package/dist-esm/src/operations/dpsCertificate.d.ts +70 -0
  34. package/dist-esm/src/operations/dpsCertificate.d.ts.map +1 -0
  35. package/dist-esm/src/operations/dpsCertificate.js +289 -0
  36. package/dist-esm/src/operations/dpsCertificate.js.map +1 -0
  37. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  38. package/dist-esm/src/operations/index.d.ts.map +1 -0
  39. package/{esm → dist-esm/src}/operations/index.js +3 -5
  40. package/dist-esm/src/operations/index.js.map +1 -0
  41. package/dist-esm/src/operations/iotDpsResource.d.ts +253 -0
  42. package/dist-esm/src/operations/iotDpsResource.d.ts.map +1 -0
  43. package/dist-esm/src/operations/iotDpsResource.js +1154 -0
  44. package/dist-esm/src/operations/iotDpsResource.js.map +1 -0
  45. package/dist-esm/src/operations/operations.d.ts +32 -0
  46. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  47. package/dist-esm/src/operations/operations.js +120 -0
  48. package/dist-esm/src/operations/operations.js.map +1 -0
  49. package/dist-esm/src/operationsInterfaces/dpsCertificate.d.ts +62 -0
  50. package/dist-esm/src/operationsInterfaces/dpsCertificate.d.ts.map +1 -0
  51. package/dist-esm/src/operationsInterfaces/dpsCertificate.js +9 -0
  52. package/dist-esm/src/operationsInterfaces/dpsCertificate.js.map +1 -0
  53. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  54. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  55. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  56. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  57. package/dist-esm/src/operationsInterfaces/iotDpsResource.d.ts +183 -0
  58. package/dist-esm/src/operationsInterfaces/iotDpsResource.d.ts.map +1 -0
  59. package/dist-esm/src/operationsInterfaces/iotDpsResource.js +9 -0
  60. package/dist-esm/src/operationsInterfaces/iotDpsResource.js.map +1 -0
  61. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  62. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  63. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  64. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  65. package/dist-esm/test/sampleTest.d.ts +2 -0
  66. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  67. package/dist-esm/test/sampleTest.js +40 -0
  68. package/dist-esm/test/sampleTest.js.map +1 -0
  69. package/package.json +70 -34
  70. package/review/arm-deviceprovisioningservices.api.md +690 -0
  71. package/rollup.config.js +184 -27
  72. package/src/index.ts +12 -0
  73. package/src/iotDpsClient.ts +87 -0
  74. package/src/lroImpl.ts +34 -0
  75. package/src/models/index.ts +946 -0
  76. package/{lib → src}/models/mappers.ts +576 -323
  77. package/src/models/parameters.ts +337 -0
  78. package/src/operations/dpsCertificate.ts +374 -0
  79. package/{lib → src}/operations/index.ts +3 -5
  80. package/src/operations/iotDpsResource.ts +1595 -0
  81. package/src/operations/operations.ts +137 -0
  82. package/src/operationsInterfaces/dpsCertificate.ts +118 -0
  83. package/src/operationsInterfaces/index.ts +11 -0
  84. package/src/operationsInterfaces/iotDpsResource.ts +351 -0
  85. package/src/operationsInterfaces/operations.ts +22 -0
  86. package/tsconfig.json +4 -4
  87. package/types/arm-deviceprovisioningservices.d.ts +1205 -0
  88. package/types/tsdoc-metadata.json +11 -0
  89. package/dist/arm-deviceprovisioningservices.js +0 -2251
  90. package/dist/arm-deviceprovisioningservices.js.map +0 -1
  91. package/dist/arm-deviceprovisioningservices.min.js +0 -1
  92. package/dist/arm-deviceprovisioningservices.min.js.map +0 -1
  93. package/esm/iotDpsClient.d.ts +0 -20
  94. package/esm/iotDpsClient.d.ts.map +0 -1
  95. package/esm/iotDpsClient.js +0 -35
  96. package/esm/iotDpsClient.js.map +0 -1
  97. package/esm/iotDpsClientContext.d.ts +0 -16
  98. package/esm/iotDpsClientContext.d.ts.map +0 -1
  99. package/esm/iotDpsClientContext.js +0 -56
  100. package/esm/iotDpsClientContext.js.map +0 -1
  101. package/esm/models/dpsCertificateMappers.d.ts +0 -2
  102. package/esm/models/dpsCertificateMappers.d.ts.map +0 -1
  103. package/esm/models/dpsCertificateMappers.js +0 -11
  104. package/esm/models/dpsCertificateMappers.js.map +0 -1
  105. package/esm/models/index.d.ts +0 -1273
  106. package/esm/models/index.d.ts.map +0 -1
  107. package/esm/models/index.js +0 -10
  108. package/esm/models/index.js.map +0 -1
  109. package/esm/models/iotDpsResourceMappers.d.ts +0 -2
  110. package/esm/models/iotDpsResourceMappers.d.ts.map +0 -1
  111. package/esm/models/iotDpsResourceMappers.js +0 -11
  112. package/esm/models/iotDpsResourceMappers.js.map +0 -1
  113. package/esm/models/mappers.d.ts +0 -30
  114. package/esm/models/mappers.d.ts.map +0 -1
  115. package/esm/models/mappers.js.map +0 -1
  116. package/esm/models/operationsMappers.d.ts +0 -2
  117. package/esm/models/operationsMappers.d.ts.map +0 -1
  118. package/esm/models/operationsMappers.js +0 -11
  119. package/esm/models/operationsMappers.js.map +0 -1
  120. package/esm/models/parameters.d.ts +0 -23
  121. package/esm/models/parameters.d.ts.map +0 -1
  122. package/esm/models/parameters.js +0 -243
  123. package/esm/models/parameters.js.map +0 -1
  124. package/esm/operations/dpsCertificate.d.ts +0 -188
  125. package/esm/operations/dpsCertificate.d.ts.map +0 -1
  126. package/esm/operations/dpsCertificate.js +0 -265
  127. package/esm/operations/dpsCertificate.js.map +0 -1
  128. package/esm/operations/index.d.ts.map +0 -1
  129. package/esm/operations/index.js.map +0 -1
  130. package/esm/operations/iotDpsResource.d.ts +0 -337
  131. package/esm/operations/iotDpsResource.d.ts.map +0 -1
  132. package/esm/operations/iotDpsResource.js +0 -560
  133. package/esm/operations/iotDpsResource.js.map +0 -1
  134. package/esm/operations/operations.d.ts +0 -46
  135. package/esm/operations/operations.d.ts.map +0 -1
  136. package/esm/operations/operations.js +0 -77
  137. package/esm/operations/operations.js.map +0 -1
  138. package/lib/iotDpsClient.ts +0 -46
  139. package/lib/iotDpsClientContext.ts +0 -62
  140. package/lib/models/dpsCertificateMappers.ts +0 -28
  141. package/lib/models/index.ts +0 -1342
  142. package/lib/models/iotDpsResourceMappers.ts +0 -35
  143. package/lib/models/operationsMappers.ts +0 -17
  144. package/lib/models/parameters.ts +0 -245
  145. package/lib/operations/dpsCertificate.ts +0 -478
  146. package/lib/operations/iotDpsResource.ts +0 -907
  147. package/lib/operations/operations.ts +0 -123
@@ -1,1273 +0,0 @@
1
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
2
- import * as msRest from "@azure/ms-rest-js";
3
- export { BaseResource, CloudError };
4
- /**
5
- * @interface
6
- * An interface representing ErrorMesssage.
7
- * Error response containing message and code.
8
- *
9
- */
10
- export interface ErrorMesssage {
11
- /**
12
- * @member {string} [code] standard error code
13
- */
14
- code?: string;
15
- /**
16
- * @member {string} [message] standard error description
17
- */
18
- message?: string;
19
- /**
20
- * @member {string} [details] detailed summary of error
21
- */
22
- details?: string;
23
- }
24
- /**
25
- * @interface
26
- * An interface representing AsyncOperationResult.
27
- * Result of a long running operation.
28
- *
29
- */
30
- export interface AsyncOperationResult {
31
- /**
32
- * @member {string} [status] current status of a long running operation.
33
- */
34
- status?: string;
35
- /**
36
- * @member {ErrorMesssage} [error] Error message containing code, description
37
- * and details
38
- */
39
- error?: ErrorMesssage;
40
- }
41
- /**
42
- * @interface
43
- * An interface representing CertificateProperties.
44
- * The description of an X509 CA Certificate.
45
- *
46
- */
47
- export interface CertificateProperties {
48
- /**
49
- * @member {string} [subject] The certificate's subject name.
50
- * **NOTE: This property will not be serialized. It can only be populated by
51
- * the server.**
52
- */
53
- readonly subject?: string;
54
- /**
55
- * @member {Date} [expiry] The certificate's expiration date and time.
56
- * **NOTE: This property will not be serialized. It can only be populated by
57
- * the server.**
58
- */
59
- readonly expiry?: Date;
60
- /**
61
- * @member {string} [thumbprint] The certificate's thumbprint.
62
- * **NOTE: This property will not be serialized. It can only be populated by
63
- * the server.**
64
- */
65
- readonly thumbprint?: string;
66
- /**
67
- * @member {boolean} [isVerified] Determines whether certificate has been
68
- * verified.
69
- * **NOTE: This property will not be serialized. It can only be populated by
70
- * the server.**
71
- */
72
- readonly isVerified?: boolean;
73
- /**
74
- * @member {Date} [created] The certificate's creation date and time.
75
- * **NOTE: This property will not be serialized. It can only be populated by
76
- * the server.**
77
- */
78
- readonly created?: Date;
79
- /**
80
- * @member {Date} [updated] The certificate's last update date and time.
81
- * **NOTE: This property will not be serialized. It can only be populated by
82
- * the server.**
83
- */
84
- readonly updated?: Date;
85
- }
86
- /**
87
- * @interface
88
- * An interface representing CertificateResponse.
89
- * The X509 Certificate.
90
- *
91
- * @extends BaseResource
92
- */
93
- export interface CertificateResponse extends BaseResource {
94
- /**
95
- * @member {CertificateProperties} [properties] properties of a certificate
96
- */
97
- properties?: CertificateProperties;
98
- /**
99
- * @member {string} [id] The resource identifier.
100
- * **NOTE: This property will not be serialized. It can only be populated by
101
- * the server.**
102
- */
103
- readonly id?: string;
104
- /**
105
- * @member {string} [name] The name of the certificate.
106
- * **NOTE: This property will not be serialized. It can only be populated by
107
- * the server.**
108
- */
109
- readonly name?: string;
110
- /**
111
- * @member {string} [etag] The entity tag.
112
- * **NOTE: This property will not be serialized. It can only be populated by
113
- * the server.**
114
- */
115
- readonly etag?: string;
116
- /**
117
- * @member {string} [type] The resource type.
118
- * **NOTE: This property will not be serialized. It can only be populated by
119
- * the server.**
120
- */
121
- readonly type?: string;
122
- }
123
- /**
124
- * @interface
125
- * An interface representing CertificateListDescription.
126
- * The JSON-serialized array of Certificate objects.
127
- *
128
- */
129
- export interface CertificateListDescription {
130
- /**
131
- * @member {CertificateResponse[]} [value] The array of Certificate objects.
132
- */
133
- value?: CertificateResponse[];
134
- }
135
- /**
136
- * @interface
137
- * An interface representing CertificateBodyDescription.
138
- * The JSON-serialized X509 Certificate.
139
- *
140
- */
141
- export interface CertificateBodyDescription {
142
- /**
143
- * @member {string} [certificate] Base-64 representation of the X509 leaf
144
- * certificate .cer file or just .pem file content.
145
- */
146
- certificate?: string;
147
- }
148
- /**
149
- * @interface
150
- * An interface representing IotDpsSkuInfo.
151
- * List of possible provisoning service SKUs.
152
- *
153
- */
154
- export interface IotDpsSkuInfo {
155
- /**
156
- * @member {IotDpsSku} [name] Sku name. Possible values include: 'S1'
157
- */
158
- name?: IotDpsSku;
159
- /**
160
- * @member {string} [tier] Pricing tier name of the provisioning service.
161
- * **NOTE: This property will not be serialized. It can only be populated by
162
- * the server.**
163
- */
164
- readonly tier?: string;
165
- /**
166
- * @member {number} [capacity] The number of units to provision
167
- */
168
- capacity?: number;
169
- }
170
- /**
171
- * @interface
172
- * An interface representing IotHubDefinitionDescription.
173
- * Description of the IoT hub.
174
- *
175
- */
176
- export interface IotHubDefinitionDescription {
177
- /**
178
- * @member {boolean} [applyAllocationPolicy] flag for applying
179
- * allocationPolicy or not for a given iot hub.
180
- */
181
- applyAllocationPolicy?: boolean;
182
- /**
183
- * @member {number} [allocationWeight] weight to apply for a given iot h.
184
- */
185
- allocationWeight?: number;
186
- /**
187
- * @member {string} [name] Host name of the IoT hub.
188
- * **NOTE: This property will not be serialized. It can only be populated by
189
- * the server.**
190
- */
191
- readonly name?: string;
192
- /**
193
- * @member {string} connectionString Connection string og the IoT hub.
194
- */
195
- connectionString: string;
196
- /**
197
- * @member {string} location ARM region of the IoT hub.
198
- */
199
- location: string;
200
- }
201
- /**
202
- * @interface
203
- * An interface representing SharedAccessSignatureAuthorizationRuleAccessRightsDescription.
204
- * Description of the shared access key.
205
- *
206
- */
207
- export interface SharedAccessSignatureAuthorizationRuleAccessRightsDescription {
208
- /**
209
- * @member {string} keyName Name of the key.
210
- */
211
- keyName: string;
212
- /**
213
- * @member {string} [primaryKey] Primary SAS key value.
214
- */
215
- primaryKey?: string;
216
- /**
217
- * @member {string} [secondaryKey] Secondary SAS key value.
218
- */
219
- secondaryKey?: string;
220
- /**
221
- * @member {AccessRightsDescription} rights Rights that this key has.
222
- * Possible values include: 'ServiceConfig', 'EnrollmentRead',
223
- * 'EnrollmentWrite', 'DeviceConnect', 'RegistrationStatusRead',
224
- * 'RegistrationStatusWrite'
225
- */
226
- rights: AccessRightsDescription;
227
- }
228
- /**
229
- * @interface
230
- * An interface representing IotDpsPropertiesDescription.
231
- * the service specific properties of a provisoning service, including keys,
232
- * linked iot hubs, current state, and system generated properties such as
233
- * hostname and idScope
234
- *
235
- */
236
- export interface IotDpsPropertiesDescription {
237
- /**
238
- * @member {State} [state] Current state of the provisioning service.
239
- * Possible values include: 'Activating', 'Active', 'Deleting', 'Deleted',
240
- * 'ActivationFailed', 'DeletionFailed', 'Transitioning', 'Suspending',
241
- * 'Suspended', 'Resuming', 'FailingOver', 'FailoverFailed'
242
- */
243
- state?: State;
244
- /**
245
- * @member {string} [provisioningState] The ARM provisioning state of the
246
- * provisioning service.
247
- */
248
- provisioningState?: string;
249
- /**
250
- * @member {IotHubDefinitionDescription[]} [iotHubs] List of IoT hubs
251
- * assosciated with this provisioning service.
252
- */
253
- iotHubs?: IotHubDefinitionDescription[];
254
- /**
255
- * @member {AllocationPolicy} [allocationPolicy] Allocation policy to be used
256
- * by this provisioning service. Possible values include: 'Hashed',
257
- * 'GeoLatency', 'Static'
258
- */
259
- allocationPolicy?: AllocationPolicy;
260
- /**
261
- * @member {string} [serviceOperationsHostName] Service endpoint for
262
- * provisioning service.
263
- * **NOTE: This property will not be serialized. It can only be populated by
264
- * the server.**
265
- */
266
- readonly serviceOperationsHostName?: string;
267
- /**
268
- * @member {string} [deviceProvisioningHostName] Device endpoint for this
269
- * provisioning service.
270
- * **NOTE: This property will not be serialized. It can only be populated by
271
- * the server.**
272
- */
273
- readonly deviceProvisioningHostName?: string;
274
- /**
275
- * @member {string} [idScope] Unique identifier of this provisioning service.
276
- * **NOTE: This property will not be serialized. It can only be populated by
277
- * the server.**
278
- */
279
- readonly idScope?: string;
280
- /**
281
- * @member {SharedAccessSignatureAuthorizationRuleAccessRightsDescription[]}
282
- * [authorizationPolicies] List of authorization keys for a provisioning
283
- * service.
284
- */
285
- authorizationPolicies?: SharedAccessSignatureAuthorizationRuleAccessRightsDescription[];
286
- }
287
- /**
288
- * @interface
289
- * An interface representing Resource.
290
- * The common properties of an Azure resource.
291
- *
292
- * @extends BaseResource
293
- */
294
- export interface Resource extends BaseResource {
295
- /**
296
- * @member {string} [id] The resource identifier.
297
- * **NOTE: This property will not be serialized. It can only be populated by
298
- * the server.**
299
- */
300
- readonly id?: string;
301
- /**
302
- * @member {string} [name] The resource name.
303
- * **NOTE: This property will not be serialized. It can only be populated by
304
- * the server.**
305
- */
306
- readonly name?: string;
307
- /**
308
- * @member {string} [type] The resource type.
309
- * **NOTE: This property will not be serialized. It can only be populated by
310
- * the server.**
311
- */
312
- readonly type?: string;
313
- /**
314
- * @member {string} location The resource location.
315
- */
316
- location: string;
317
- /**
318
- * @member {{ [propertyName: string]: string }} [tags] The resource tags.
319
- */
320
- tags?: {
321
- [propertyName: string]: string;
322
- };
323
- }
324
- /**
325
- * @interface
326
- * An interface representing ProvisioningServiceDescription.
327
- * The description of the provisioning service.
328
- *
329
- * @extends Resource
330
- */
331
- export interface ProvisioningServiceDescription extends Resource {
332
- /**
333
- * @member {string} [etag] The Etag field is *not* required. If it is
334
- * provided in the response body, it must also be provided as a header per
335
- * the normal ETag convention.
336
- */
337
- etag?: string;
338
- /**
339
- * @member {IotDpsPropertiesDescription} properties Service specific
340
- * properties for a provisioning service
341
- */
342
- properties: IotDpsPropertiesDescription;
343
- /**
344
- * @member {IotDpsSkuInfo} sku Sku info for a provisioning Service.
345
- */
346
- sku: IotDpsSkuInfo;
347
- }
348
- /**
349
- * @interface
350
- * An interface representing OperationDisplay.
351
- * The object that represents the operation.
352
- *
353
- */
354
- export interface OperationDisplay {
355
- /**
356
- * @member {string} [provider] Service provider: Microsoft Devices.
357
- * **NOTE: This property will not be serialized. It can only be populated by
358
- * the server.**
359
- */
360
- readonly provider?: string;
361
- /**
362
- * @member {string} [resource] Resource Type: ProvisioningServices.
363
- * **NOTE: This property will not be serialized. It can only be populated by
364
- * the server.**
365
- */
366
- readonly resource?: string;
367
- /**
368
- * @member {string} [operation] Name of the operation.
369
- * **NOTE: This property will not be serialized. It can only be populated by
370
- * the server.**
371
- */
372
- readonly operation?: string;
373
- }
374
- /**
375
- * @interface
376
- * An interface representing Operation.
377
- * IoT Hub REST API operation.
378
- *
379
- */
380
- export interface Operation {
381
- /**
382
- * @member {string} [name] Operation name: {provider}/{resource}/{read |
383
- * write | action | delete}
384
- * **NOTE: This property will not be serialized. It can only be populated by
385
- * the server.**
386
- */
387
- readonly name?: string;
388
- /**
389
- * @member {OperationDisplay} [display] The object that represents the
390
- * operation.
391
- */
392
- display?: OperationDisplay;
393
- }
394
- /**
395
- * @interface
396
- * An interface representing ErrorDetails.
397
- * Error details.
398
- *
399
- */
400
- export interface ErrorDetails {
401
- /**
402
- * @member {string} [code] The error code.
403
- * **NOTE: This property will not be serialized. It can only be populated by
404
- * the server.**
405
- */
406
- readonly code?: string;
407
- /**
408
- * @member {string} [httpStatusCode] The HTTP status code.
409
- * **NOTE: This property will not be serialized. It can only be populated by
410
- * the server.**
411
- */
412
- readonly httpStatusCode?: string;
413
- /**
414
- * @member {string} [message] The error message.
415
- * **NOTE: This property will not be serialized. It can only be populated by
416
- * the server.**
417
- */
418
- readonly message?: string;
419
- /**
420
- * @member {string} [details] The error details.
421
- * **NOTE: This property will not be serialized. It can only be populated by
422
- * the server.**
423
- */
424
- readonly details?: string;
425
- }
426
- /**
427
- * @interface
428
- * An interface representing IotDpsSkuDefinition.
429
- * Available Sku's of tier and units.
430
- *
431
- */
432
- export interface IotDpsSkuDefinition {
433
- /**
434
- * @member {IotDpsSku} [name] Sku name. Possible values include: 'S1'
435
- */
436
- name?: IotDpsSku;
437
- }
438
- /**
439
- * @interface
440
- * An interface representing OperationInputs.
441
- * Input values for operation results call.
442
- *
443
- */
444
- export interface OperationInputs {
445
- /**
446
- * @member {string} name The name of the Provisioning Service to check.
447
- */
448
- name: string;
449
- }
450
- /**
451
- * @interface
452
- * An interface representing NameAvailabilityInfo.
453
- * Description of name availability.
454
- *
455
- */
456
- export interface NameAvailabilityInfo {
457
- /**
458
- * @member {boolean} [nameAvailable] specifies if a name is available or not
459
- */
460
- nameAvailable?: boolean;
461
- /**
462
- * @member {NameUnavailabilityReason} [reason] specifies the reason a name is
463
- * unavailable. Possible values include: 'Invalid', 'AlreadyExists'
464
- */
465
- reason?: NameUnavailabilityReason;
466
- /**
467
- * @member {string} [message] message containing a etailed reason name is
468
- * unavailable
469
- */
470
- message?: string;
471
- }
472
- /**
473
- * @interface
474
- * An interface representing TagsResource.
475
- * A container holding only the Tags for a resource, allowing the user to
476
- * update the tags on a Provisioning Service instance.
477
- *
478
- */
479
- export interface TagsResource {
480
- /**
481
- * @member {{ [propertyName: string]: string }} [tags] Resource tags
482
- */
483
- tags?: {
484
- [propertyName: string]: string;
485
- };
486
- }
487
- /**
488
- * @interface
489
- * An interface representing VerificationCodeResponseProperties.
490
- */
491
- export interface VerificationCodeResponseProperties {
492
- /**
493
- * @member {string} [verificationCode] Verification code.
494
- */
495
- verificationCode?: string;
496
- /**
497
- * @member {string} [subject] Certificate subject.
498
- */
499
- subject?: string;
500
- /**
501
- * @member {string} [expiry] Code expiry.
502
- */
503
- expiry?: string;
504
- /**
505
- * @member {string} [thumbprint] Certificate thumbprint.
506
- */
507
- thumbprint?: string;
508
- /**
509
- * @member {boolean} [isVerified] Indicate if the certificate is verified by
510
- * owner of private key.
511
- */
512
- isVerified?: boolean;
513
- /**
514
- * @member {string} [created] Certificate created time.
515
- */
516
- created?: string;
517
- /**
518
- * @member {string} [updated] Certificate updated time.
519
- */
520
- updated?: string;
521
- }
522
- /**
523
- * @interface
524
- * An interface representing VerificationCodeResponse.
525
- * Description of the response of the verification code.
526
- *
527
- * @extends BaseResource
528
- */
529
- export interface VerificationCodeResponse extends BaseResource {
530
- /**
531
- * @member {string} [name] Name of certificate.
532
- * **NOTE: This property will not be serialized. It can only be populated by
533
- * the server.**
534
- */
535
- readonly name?: string;
536
- /**
537
- * @member {string} [etag] Request etag.
538
- * **NOTE: This property will not be serialized. It can only be populated by
539
- * the server.**
540
- */
541
- readonly etag?: string;
542
- /**
543
- * @member {string} [id] The resource identifier.
544
- * **NOTE: This property will not be serialized. It can only be populated by
545
- * the server.**
546
- */
547
- readonly id?: string;
548
- /**
549
- * @member {string} [type] The resource type.
550
- * **NOTE: This property will not be serialized. It can only be populated by
551
- * the server.**
552
- */
553
- readonly type?: string;
554
- /**
555
- * @member {VerificationCodeResponseProperties} [properties]
556
- */
557
- properties?: VerificationCodeResponseProperties;
558
- }
559
- /**
560
- * @interface
561
- * An interface representing VerificationCodeRequest.
562
- * The JSON-serialized leaf certificate
563
- *
564
- */
565
- export interface VerificationCodeRequest {
566
- /**
567
- * @member {string} [certificate] base-64 representation of X509 certificate
568
- * .cer file or just .pem file content.
569
- */
570
- certificate?: string;
571
- }
572
- /**
573
- * @interface
574
- * An interface representing DpsCertificateGetOptionalParams.
575
- * Optional Parameters.
576
- *
577
- * @extends RequestOptionsBase
578
- */
579
- export interface DpsCertificateGetOptionalParams extends msRest.RequestOptionsBase {
580
- /**
581
- * @member {string} [ifMatch] ETag of the certificate.
582
- */
583
- ifMatch?: string;
584
- }
585
- /**
586
- * @interface
587
- * An interface representing DpsCertificateCreateOrUpdateOptionalParams.
588
- * Optional Parameters.
589
- *
590
- * @extends RequestOptionsBase
591
- */
592
- export interface DpsCertificateCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
593
- /**
594
- * @member {string} [ifMatch] ETag of the certificate. This is required to
595
- * update an existing certificate, and ignored while creating a brand new
596
- * certificate.
597
- */
598
- ifMatch?: string;
599
- }
600
- /**
601
- * @interface
602
- * An interface representing DpsCertificateDeleteMethodOptionalParams.
603
- * Optional Parameters.
604
- *
605
- * @extends RequestOptionsBase
606
- */
607
- export interface DpsCertificateDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
608
- /**
609
- * @member {string} [certificatename] This is optional, and it is the Common
610
- * Name of the certificate.
611
- */
612
- certificatename?: string;
613
- /**
614
- * @member {Uint8Array} [certificaterawBytes] Raw data within the
615
- * certificate.
616
- */
617
- certificaterawBytes?: Uint8Array;
618
- /**
619
- * @member {boolean} [certificateisVerified] Indicates if certificate has
620
- * been verified by owner of the private key.
621
- */
622
- certificateisVerified?: boolean;
623
- /**
624
- * @member {CertificatePurpose} [certificatepurpose] A description that
625
- * mentions the purpose of the certificate. Possible values include:
626
- * 'clientAuthentication', 'serverAuthentication'
627
- */
628
- certificatepurpose?: CertificatePurpose;
629
- /**
630
- * @member {Date} [certificatecreated] Time the certificate is created.
631
- */
632
- certificatecreated?: Date;
633
- /**
634
- * @member {Date} [certificatelastUpdated] Time the certificate is last
635
- * updated.
636
- */
637
- certificatelastUpdated?: Date;
638
- /**
639
- * @member {boolean} [certificatehasPrivateKey] Indicates if the certificate
640
- * contains a private key.
641
- */
642
- certificatehasPrivateKey?: boolean;
643
- /**
644
- * @member {string} [certificatenonce] Random number generated to indicate
645
- * Proof of Possession.
646
- */
647
- certificatenonce?: string;
648
- }
649
- /**
650
- * @interface
651
- * An interface representing DpsCertificateGenerateVerificationCodeOptionalParams.
652
- * Optional Parameters.
653
- *
654
- * @extends RequestOptionsBase
655
- */
656
- export interface DpsCertificateGenerateVerificationCodeOptionalParams extends msRest.RequestOptionsBase {
657
- /**
658
- * @member {string} [certificatename] Common Name for the certificate.
659
- */
660
- certificatename?: string;
661
- /**
662
- * @member {Uint8Array} [certificaterawBytes] Raw data of certificate.
663
- */
664
- certificaterawBytes?: Uint8Array;
665
- /**
666
- * @member {boolean} [certificateisVerified] Indicates if the certificate has
667
- * been verified by owner of the private key.
668
- */
669
- certificateisVerified?: boolean;
670
- /**
671
- * @member {CertificatePurpose} [certificatepurpose] Description mentioning
672
- * the purpose of the certificate. Possible values include:
673
- * 'clientAuthentication', 'serverAuthentication'
674
- */
675
- certificatepurpose?: CertificatePurpose;
676
- /**
677
- * @member {Date} [certificatecreated] Certificate creation time.
678
- */
679
- certificatecreated?: Date;
680
- /**
681
- * @member {Date} [certificatelastUpdated] Certificate last updated time.
682
- */
683
- certificatelastUpdated?: Date;
684
- /**
685
- * @member {boolean} [certificatehasPrivateKey] Indicates if the certificate
686
- * contains private key.
687
- */
688
- certificatehasPrivateKey?: boolean;
689
- /**
690
- * @member {string} [certificatenonce] Random number generated to indicate
691
- * Proof of Possession.
692
- */
693
- certificatenonce?: string;
694
- }
695
- /**
696
- * @interface
697
- * An interface representing DpsCertificateVerifyCertificateOptionalParams.
698
- * Optional Parameters.
699
- *
700
- * @extends RequestOptionsBase
701
- */
702
- export interface DpsCertificateVerifyCertificateOptionalParams extends msRest.RequestOptionsBase {
703
- /**
704
- * @member {string} [certificatename] Common Name for the certificate.
705
- */
706
- certificatename?: string;
707
- /**
708
- * @member {Uint8Array} [certificaterawBytes] Raw data of certificate.
709
- */
710
- certificaterawBytes?: Uint8Array;
711
- /**
712
- * @member {boolean} [certificateisVerified] Indicates if the certificate has
713
- * been verified by owner of the private key.
714
- */
715
- certificateisVerified?: boolean;
716
- /**
717
- * @member {CertificatePurpose} [certificatepurpose] Describe the purpose of
718
- * the certificate. Possible values include: 'clientAuthentication',
719
- * 'serverAuthentication'
720
- */
721
- certificatepurpose?: CertificatePurpose;
722
- /**
723
- * @member {Date} [certificatecreated] Certificate creation time.
724
- */
725
- certificatecreated?: Date;
726
- /**
727
- * @member {Date} [certificatelastUpdated] Certificate last updated time.
728
- */
729
- certificatelastUpdated?: Date;
730
- /**
731
- * @member {boolean} [certificatehasPrivateKey] Indicates if the certificate
732
- * contains private key.
733
- */
734
- certificatehasPrivateKey?: boolean;
735
- /**
736
- * @member {string} [certificatenonce] Random number generated to indicate
737
- * Proof of Possession.
738
- */
739
- certificatenonce?: string;
740
- }
741
- /**
742
- * @interface
743
- * An interface representing IotDpsClientOptions.
744
- * @extends AzureServiceClientOptions
745
- */
746
- export interface IotDpsClientOptions extends AzureServiceClientOptions {
747
- /**
748
- * @member {string} [baseUri]
749
- */
750
- baseUri?: string;
751
- }
752
- /**
753
- * @interface
754
- * An interface representing the OperationListResult.
755
- * Result of the request to list IoT Hub operations. It contains a list of
756
- * operations and a URL link to get the next set of results.
757
- *
758
- * @extends Array<Operation>
759
- */
760
- export interface OperationListResult extends Array<Operation> {
761
- /**
762
- * @member {string} [nextLink] URL to get the next set of operation list
763
- * results if there are any.
764
- * **NOTE: This property will not be serialized. It can only be populated by
765
- * the server.**
766
- */
767
- readonly nextLink?: string;
768
- }
769
- /**
770
- * @interface
771
- * An interface representing the ProvisioningServiceDescriptionListResult.
772
- * List of provisioning service descriptions.
773
- *
774
- * @extends Array<ProvisioningServiceDescription>
775
- */
776
- export interface ProvisioningServiceDescriptionListResult extends Array<ProvisioningServiceDescription> {
777
- /**
778
- * @member {string} [nextLink] the next link
779
- * **NOTE: This property will not be serialized. It can only be populated by
780
- * the server.**
781
- */
782
- readonly nextLink?: string;
783
- }
784
- /**
785
- * @interface
786
- * An interface representing the IotDpsSkuDefinitionListResult.
787
- * List of available SKUs.
788
- *
789
- * @extends Array<IotDpsSkuDefinition>
790
- */
791
- export interface IotDpsSkuDefinitionListResult extends Array<IotDpsSkuDefinition> {
792
- /**
793
- * @member {string} [nextLink] The next link.
794
- * **NOTE: This property will not be serialized. It can only be populated by
795
- * the server.**
796
- */
797
- readonly nextLink?: string;
798
- }
799
- /**
800
- * @interface
801
- * An interface representing the SharedAccessSignatureAuthorizationRuleListResult.
802
- * List of shared access keys.
803
- *
804
- * @extends Array<SharedAccessSignatureAuthorizationRuleAccessRightsDescription>
805
- */
806
- export interface SharedAccessSignatureAuthorizationRuleListResult extends Array<SharedAccessSignatureAuthorizationRuleAccessRightsDescription> {
807
- /**
808
- * @member {string} [nextLink] The next link.
809
- * **NOTE: This property will not be serialized. It can only be populated by
810
- * the server.**
811
- */
812
- readonly nextLink?: string;
813
- }
814
- /**
815
- * Defines values for IotDpsSku.
816
- * Possible values include: 'S1'
817
- * @readonly
818
- * @enum {string}
819
- */
820
- export declare type IotDpsSku = 'S1';
821
- /**
822
- * Defines values for State.
823
- * Possible values include: 'Activating', 'Active', 'Deleting', 'Deleted', 'ActivationFailed',
824
- * 'DeletionFailed', 'Transitioning', 'Suspending', 'Suspended', 'Resuming', 'FailingOver',
825
- * 'FailoverFailed'
826
- * @readonly
827
- * @enum {string}
828
- */
829
- export declare type State = 'Activating' | 'Active' | 'Deleting' | 'Deleted' | 'ActivationFailed' | 'DeletionFailed' | 'Transitioning' | 'Suspending' | 'Suspended' | 'Resuming' | 'FailingOver' | 'FailoverFailed';
830
- /**
831
- * Defines values for AllocationPolicy.
832
- * Possible values include: 'Hashed', 'GeoLatency', 'Static'
833
- * @readonly
834
- * @enum {string}
835
- */
836
- export declare type AllocationPolicy = 'Hashed' | 'GeoLatency' | 'Static';
837
- /**
838
- * Defines values for AccessRightsDescription.
839
- * Possible values include: 'ServiceConfig', 'EnrollmentRead', 'EnrollmentWrite', 'DeviceConnect',
840
- * 'RegistrationStatusRead', 'RegistrationStatusWrite'
841
- * @readonly
842
- * @enum {string}
843
- */
844
- export declare type AccessRightsDescription = 'ServiceConfig' | 'EnrollmentRead' | 'EnrollmentWrite' | 'DeviceConnect' | 'RegistrationStatusRead' | 'RegistrationStatusWrite';
845
- /**
846
- * Defines values for NameUnavailabilityReason.
847
- * Possible values include: 'Invalid', 'AlreadyExists'
848
- * @readonly
849
- * @enum {string}
850
- */
851
- export declare type NameUnavailabilityReason = 'Invalid' | 'AlreadyExists';
852
- /**
853
- * Defines values for CertificatePurpose.
854
- * Possible values include: 'clientAuthentication', 'serverAuthentication'
855
- * @readonly
856
- * @enum {string}
857
- */
858
- export declare type CertificatePurpose = 'clientAuthentication' | 'serverAuthentication';
859
- /**
860
- * Contains response data for the list operation.
861
- */
862
- export declare type OperationsListResponse = OperationListResult & {
863
- /**
864
- * The underlying HTTP response.
865
- */
866
- _response: msRest.HttpResponse & {
867
- /**
868
- * The response body as text (string format)
869
- */
870
- bodyAsText: string;
871
- /**
872
- * The response body as parsed JSON or XML
873
- */
874
- parsedBody: OperationListResult;
875
- };
876
- };
877
- /**
878
- * Contains response data for the listNext operation.
879
- */
880
- export declare type OperationsListNextResponse = OperationListResult & {
881
- /**
882
- * The underlying HTTP response.
883
- */
884
- _response: msRest.HttpResponse & {
885
- /**
886
- * The response body as text (string format)
887
- */
888
- bodyAsText: string;
889
- /**
890
- * The response body as parsed JSON or XML
891
- */
892
- parsedBody: OperationListResult;
893
- };
894
- };
895
- /**
896
- * Contains response data for the get operation.
897
- */
898
- export declare type DpsCertificateGetResponse = CertificateResponse & {
899
- /**
900
- * The underlying HTTP response.
901
- */
902
- _response: msRest.HttpResponse & {
903
- /**
904
- * The response body as text (string format)
905
- */
906
- bodyAsText: string;
907
- /**
908
- * The response body as parsed JSON or XML
909
- */
910
- parsedBody: CertificateResponse;
911
- };
912
- };
913
- /**
914
- * Contains response data for the createOrUpdate operation.
915
- */
916
- export declare type DpsCertificateCreateOrUpdateResponse = CertificateResponse & {
917
- /**
918
- * The underlying HTTP response.
919
- */
920
- _response: msRest.HttpResponse & {
921
- /**
922
- * The response body as text (string format)
923
- */
924
- bodyAsText: string;
925
- /**
926
- * The response body as parsed JSON or XML
927
- */
928
- parsedBody: CertificateResponse;
929
- };
930
- };
931
- /**
932
- * Contains response data for the list operation.
933
- */
934
- export declare type DpsCertificateListResponse = CertificateListDescription & {
935
- /**
936
- * The underlying HTTP response.
937
- */
938
- _response: msRest.HttpResponse & {
939
- /**
940
- * The response body as text (string format)
941
- */
942
- bodyAsText: string;
943
- /**
944
- * The response body as parsed JSON or XML
945
- */
946
- parsedBody: CertificateListDescription;
947
- };
948
- };
949
- /**
950
- * Contains response data for the generateVerificationCode operation.
951
- */
952
- export declare type DpsCertificateGenerateVerificationCodeResponse = VerificationCodeResponse & {
953
- /**
954
- * The underlying HTTP response.
955
- */
956
- _response: msRest.HttpResponse & {
957
- /**
958
- * The response body as text (string format)
959
- */
960
- bodyAsText: string;
961
- /**
962
- * The response body as parsed JSON or XML
963
- */
964
- parsedBody: VerificationCodeResponse;
965
- };
966
- };
967
- /**
968
- * Contains response data for the verifyCertificate operation.
969
- */
970
- export declare type DpsCertificateVerifyCertificateResponse = CertificateResponse & {
971
- /**
972
- * The underlying HTTP response.
973
- */
974
- _response: msRest.HttpResponse & {
975
- /**
976
- * The response body as text (string format)
977
- */
978
- bodyAsText: string;
979
- /**
980
- * The response body as parsed JSON or XML
981
- */
982
- parsedBody: CertificateResponse;
983
- };
984
- };
985
- /**
986
- * Contains response data for the get operation.
987
- */
988
- export declare type IotDpsResourceGetResponse = ProvisioningServiceDescription & {
989
- /**
990
- * The underlying HTTP response.
991
- */
992
- _response: msRest.HttpResponse & {
993
- /**
994
- * The response body as text (string format)
995
- */
996
- bodyAsText: string;
997
- /**
998
- * The response body as parsed JSON or XML
999
- */
1000
- parsedBody: ProvisioningServiceDescription;
1001
- };
1002
- };
1003
- /**
1004
- * Contains response data for the createOrUpdate operation.
1005
- */
1006
- export declare type IotDpsResourceCreateOrUpdateResponse = ProvisioningServiceDescription & {
1007
- /**
1008
- * The underlying HTTP response.
1009
- */
1010
- _response: msRest.HttpResponse & {
1011
- /**
1012
- * The response body as text (string format)
1013
- */
1014
- bodyAsText: string;
1015
- /**
1016
- * The response body as parsed JSON or XML
1017
- */
1018
- parsedBody: ProvisioningServiceDescription;
1019
- };
1020
- };
1021
- /**
1022
- * Contains response data for the update operation.
1023
- */
1024
- export declare type IotDpsResourceUpdateResponse = ProvisioningServiceDescription & {
1025
- /**
1026
- * The underlying HTTP response.
1027
- */
1028
- _response: msRest.HttpResponse & {
1029
- /**
1030
- * The response body as text (string format)
1031
- */
1032
- bodyAsText: string;
1033
- /**
1034
- * The response body as parsed JSON or XML
1035
- */
1036
- parsedBody: ProvisioningServiceDescription;
1037
- };
1038
- };
1039
- /**
1040
- * Contains response data for the listBySubscription operation.
1041
- */
1042
- export declare type IotDpsResourceListBySubscriptionResponse = ProvisioningServiceDescriptionListResult & {
1043
- /**
1044
- * The underlying HTTP response.
1045
- */
1046
- _response: msRest.HttpResponse & {
1047
- /**
1048
- * The response body as text (string format)
1049
- */
1050
- bodyAsText: string;
1051
- /**
1052
- * The response body as parsed JSON or XML
1053
- */
1054
- parsedBody: ProvisioningServiceDescriptionListResult;
1055
- };
1056
- };
1057
- /**
1058
- * Contains response data for the listByResourceGroup operation.
1059
- */
1060
- export declare type IotDpsResourceListByResourceGroupResponse = ProvisioningServiceDescriptionListResult & {
1061
- /**
1062
- * The underlying HTTP response.
1063
- */
1064
- _response: msRest.HttpResponse & {
1065
- /**
1066
- * The response body as text (string format)
1067
- */
1068
- bodyAsText: string;
1069
- /**
1070
- * The response body as parsed JSON or XML
1071
- */
1072
- parsedBody: ProvisioningServiceDescriptionListResult;
1073
- };
1074
- };
1075
- /**
1076
- * Contains response data for the getOperationResult operation.
1077
- */
1078
- export declare type IotDpsResourceGetOperationResultResponse = AsyncOperationResult & {
1079
- /**
1080
- * The underlying HTTP response.
1081
- */
1082
- _response: msRest.HttpResponse & {
1083
- /**
1084
- * The response body as text (string format)
1085
- */
1086
- bodyAsText: string;
1087
- /**
1088
- * The response body as parsed JSON or XML
1089
- */
1090
- parsedBody: AsyncOperationResult;
1091
- };
1092
- };
1093
- /**
1094
- * Contains response data for the listValidSkus operation.
1095
- */
1096
- export declare type IotDpsResourceListValidSkusResponse = IotDpsSkuDefinitionListResult & {
1097
- /**
1098
- * The underlying HTTP response.
1099
- */
1100
- _response: msRest.HttpResponse & {
1101
- /**
1102
- * The response body as text (string format)
1103
- */
1104
- bodyAsText: string;
1105
- /**
1106
- * The response body as parsed JSON or XML
1107
- */
1108
- parsedBody: IotDpsSkuDefinitionListResult;
1109
- };
1110
- };
1111
- /**
1112
- * Contains response data for the checkProvisioningServiceNameAvailability operation.
1113
- */
1114
- export declare type IotDpsResourceCheckProvisioningServiceNameAvailabilityResponse = NameAvailabilityInfo & {
1115
- /**
1116
- * The underlying HTTP response.
1117
- */
1118
- _response: msRest.HttpResponse & {
1119
- /**
1120
- * The response body as text (string format)
1121
- */
1122
- bodyAsText: string;
1123
- /**
1124
- * The response body as parsed JSON or XML
1125
- */
1126
- parsedBody: NameAvailabilityInfo;
1127
- };
1128
- };
1129
- /**
1130
- * Contains response data for the listKeys operation.
1131
- */
1132
- export declare type IotDpsResourceListKeysResponse = SharedAccessSignatureAuthorizationRuleListResult & {
1133
- /**
1134
- * The underlying HTTP response.
1135
- */
1136
- _response: msRest.HttpResponse & {
1137
- /**
1138
- * The response body as text (string format)
1139
- */
1140
- bodyAsText: string;
1141
- /**
1142
- * The response body as parsed JSON or XML
1143
- */
1144
- parsedBody: SharedAccessSignatureAuthorizationRuleListResult;
1145
- };
1146
- };
1147
- /**
1148
- * Contains response data for the listKeysForKeyName operation.
1149
- */
1150
- export declare type IotDpsResourceListKeysForKeyNameResponse = SharedAccessSignatureAuthorizationRuleAccessRightsDescription & {
1151
- /**
1152
- * The underlying HTTP response.
1153
- */
1154
- _response: msRest.HttpResponse & {
1155
- /**
1156
- * The response body as text (string format)
1157
- */
1158
- bodyAsText: string;
1159
- /**
1160
- * The response body as parsed JSON or XML
1161
- */
1162
- parsedBody: SharedAccessSignatureAuthorizationRuleAccessRightsDescription;
1163
- };
1164
- };
1165
- /**
1166
- * Contains response data for the beginCreateOrUpdate operation.
1167
- */
1168
- export declare type IotDpsResourceBeginCreateOrUpdateResponse = ProvisioningServiceDescription & {
1169
- /**
1170
- * The underlying HTTP response.
1171
- */
1172
- _response: msRest.HttpResponse & {
1173
- /**
1174
- * The response body as text (string format)
1175
- */
1176
- bodyAsText: string;
1177
- /**
1178
- * The response body as parsed JSON or XML
1179
- */
1180
- parsedBody: ProvisioningServiceDescription;
1181
- };
1182
- };
1183
- /**
1184
- * Contains response data for the beginUpdate operation.
1185
- */
1186
- export declare type IotDpsResourceBeginUpdateResponse = ProvisioningServiceDescription & {
1187
- /**
1188
- * The underlying HTTP response.
1189
- */
1190
- _response: msRest.HttpResponse & {
1191
- /**
1192
- * The response body as text (string format)
1193
- */
1194
- bodyAsText: string;
1195
- /**
1196
- * The response body as parsed JSON or XML
1197
- */
1198
- parsedBody: ProvisioningServiceDescription;
1199
- };
1200
- };
1201
- /**
1202
- * Contains response data for the listBySubscriptionNext operation.
1203
- */
1204
- export declare type IotDpsResourceListBySubscriptionNextResponse = ProvisioningServiceDescriptionListResult & {
1205
- /**
1206
- * The underlying HTTP response.
1207
- */
1208
- _response: msRest.HttpResponse & {
1209
- /**
1210
- * The response body as text (string format)
1211
- */
1212
- bodyAsText: string;
1213
- /**
1214
- * The response body as parsed JSON or XML
1215
- */
1216
- parsedBody: ProvisioningServiceDescriptionListResult;
1217
- };
1218
- };
1219
- /**
1220
- * Contains response data for the listByResourceGroupNext operation.
1221
- */
1222
- export declare type IotDpsResourceListByResourceGroupNextResponse = ProvisioningServiceDescriptionListResult & {
1223
- /**
1224
- * The underlying HTTP response.
1225
- */
1226
- _response: msRest.HttpResponse & {
1227
- /**
1228
- * The response body as text (string format)
1229
- */
1230
- bodyAsText: string;
1231
- /**
1232
- * The response body as parsed JSON or XML
1233
- */
1234
- parsedBody: ProvisioningServiceDescriptionListResult;
1235
- };
1236
- };
1237
- /**
1238
- * Contains response data for the listValidSkusNext operation.
1239
- */
1240
- export declare type IotDpsResourceListValidSkusNextResponse = IotDpsSkuDefinitionListResult & {
1241
- /**
1242
- * The underlying HTTP response.
1243
- */
1244
- _response: msRest.HttpResponse & {
1245
- /**
1246
- * The response body as text (string format)
1247
- */
1248
- bodyAsText: string;
1249
- /**
1250
- * The response body as parsed JSON or XML
1251
- */
1252
- parsedBody: IotDpsSkuDefinitionListResult;
1253
- };
1254
- };
1255
- /**
1256
- * Contains response data for the listKeysNext operation.
1257
- */
1258
- export declare type IotDpsResourceListKeysNextResponse = SharedAccessSignatureAuthorizationRuleListResult & {
1259
- /**
1260
- * The underlying HTTP response.
1261
- */
1262
- _response: msRest.HttpResponse & {
1263
- /**
1264
- * The response body as text (string format)
1265
- */
1266
- bodyAsText: string;
1267
- /**
1268
- * The response body as parsed JSON or XML
1269
- */
1270
- parsedBody: SharedAccessSignatureAuthorizationRuleListResult;
1271
- };
1272
- };
1273
- //# sourceMappingURL=index.d.ts.map