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