@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,1141 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __assign } from "tslib";
9
+ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
10
+ export var CloudError = CloudErrorMapper;
11
+ export var BaseResource = BaseResourceMapper;
12
+ export var ErrorMesssage = {
13
+ serializedName: "ErrorMesssage",
14
+ type: {
15
+ name: "Composite",
16
+ className: "ErrorMesssage",
17
+ modelProperties: {
18
+ code: {
19
+ serializedName: "code",
20
+ type: {
21
+ name: "String"
22
+ }
23
+ },
24
+ message: {
25
+ serializedName: "message",
26
+ type: {
27
+ name: "String"
28
+ }
29
+ },
30
+ details: {
31
+ serializedName: "details",
32
+ type: {
33
+ name: "String"
34
+ }
35
+ }
36
+ }
37
+ }
38
+ };
39
+ export var AsyncOperationResult = {
40
+ serializedName: "AsyncOperationResult",
41
+ type: {
42
+ name: "Composite",
43
+ className: "AsyncOperationResult",
44
+ modelProperties: {
45
+ status: {
46
+ serializedName: "status",
47
+ type: {
48
+ name: "String"
49
+ }
50
+ },
51
+ error: {
52
+ serializedName: "error",
53
+ type: {
54
+ name: "Composite",
55
+ className: "ErrorMesssage"
56
+ }
57
+ }
58
+ }
59
+ }
60
+ };
61
+ export var CertificateProperties = {
62
+ serializedName: "CertificateProperties",
63
+ type: {
64
+ name: "Composite",
65
+ className: "CertificateProperties",
66
+ modelProperties: {
67
+ subject: {
68
+ readOnly: true,
69
+ serializedName: "subject",
70
+ type: {
71
+ name: "String"
72
+ }
73
+ },
74
+ expiry: {
75
+ readOnly: true,
76
+ serializedName: "expiry",
77
+ type: {
78
+ name: "DateTimeRfc1123"
79
+ }
80
+ },
81
+ thumbprint: {
82
+ readOnly: true,
83
+ serializedName: "thumbprint",
84
+ type: {
85
+ name: "String"
86
+ }
87
+ },
88
+ isVerified: {
89
+ readOnly: true,
90
+ serializedName: "isVerified",
91
+ type: {
92
+ name: "Boolean"
93
+ }
94
+ },
95
+ certificate: {
96
+ readOnly: true,
97
+ serializedName: "certificate",
98
+ type: {
99
+ name: "ByteArray"
100
+ }
101
+ },
102
+ created: {
103
+ readOnly: true,
104
+ serializedName: "created",
105
+ type: {
106
+ name: "DateTimeRfc1123"
107
+ }
108
+ },
109
+ updated: {
110
+ readOnly: true,
111
+ serializedName: "updated",
112
+ type: {
113
+ name: "DateTimeRfc1123"
114
+ }
115
+ }
116
+ }
117
+ }
118
+ };
119
+ export var CertificateResponse = {
120
+ serializedName: "CertificateResponse",
121
+ type: {
122
+ name: "Composite",
123
+ className: "CertificateResponse",
124
+ modelProperties: {
125
+ properties: {
126
+ serializedName: "properties",
127
+ type: {
128
+ name: "Composite",
129
+ className: "CertificateProperties"
130
+ }
131
+ },
132
+ id: {
133
+ readOnly: true,
134
+ serializedName: "id",
135
+ type: {
136
+ name: "String"
137
+ }
138
+ },
139
+ name: {
140
+ readOnly: true,
141
+ serializedName: "name",
142
+ type: {
143
+ name: "String"
144
+ }
145
+ },
146
+ etag: {
147
+ readOnly: true,
148
+ serializedName: "etag",
149
+ type: {
150
+ name: "String"
151
+ }
152
+ },
153
+ type: {
154
+ readOnly: true,
155
+ serializedName: "type",
156
+ type: {
157
+ name: "String"
158
+ }
159
+ }
160
+ }
161
+ }
162
+ };
163
+ export var CertificateListDescription = {
164
+ serializedName: "CertificateListDescription",
165
+ type: {
166
+ name: "Composite",
167
+ className: "CertificateListDescription",
168
+ modelProperties: {
169
+ value: {
170
+ serializedName: "value",
171
+ type: {
172
+ name: "Sequence",
173
+ element: {
174
+ type: {
175
+ name: "Composite",
176
+ className: "CertificateResponse"
177
+ }
178
+ }
179
+ }
180
+ }
181
+ }
182
+ }
183
+ };
184
+ export var CertificateBodyDescription = {
185
+ serializedName: "CertificateBodyDescription",
186
+ type: {
187
+ name: "Composite",
188
+ className: "CertificateBodyDescription",
189
+ modelProperties: {
190
+ certificate: {
191
+ serializedName: "certificate",
192
+ type: {
193
+ name: "String"
194
+ }
195
+ },
196
+ isVerified: {
197
+ serializedName: "isVerified",
198
+ type: {
199
+ name: "Boolean"
200
+ }
201
+ }
202
+ }
203
+ }
204
+ };
205
+ export var IotDpsSkuInfo = {
206
+ serializedName: "IotDpsSkuInfo",
207
+ type: {
208
+ name: "Composite",
209
+ className: "IotDpsSkuInfo",
210
+ modelProperties: {
211
+ name: {
212
+ serializedName: "name",
213
+ type: {
214
+ name: "String"
215
+ }
216
+ },
217
+ tier: {
218
+ readOnly: true,
219
+ serializedName: "tier",
220
+ type: {
221
+ name: "String"
222
+ }
223
+ },
224
+ capacity: {
225
+ serializedName: "capacity",
226
+ type: {
227
+ name: "Number"
228
+ }
229
+ }
230
+ }
231
+ }
232
+ };
233
+ export var IpFilterRule = {
234
+ serializedName: "IpFilterRule",
235
+ type: {
236
+ name: "Composite",
237
+ className: "IpFilterRule",
238
+ modelProperties: {
239
+ filterName: {
240
+ required: true,
241
+ serializedName: "filterName",
242
+ type: {
243
+ name: "String"
244
+ }
245
+ },
246
+ action: {
247
+ required: true,
248
+ serializedName: "action",
249
+ type: {
250
+ name: "Enum",
251
+ allowedValues: [
252
+ "Accept",
253
+ "Reject"
254
+ ]
255
+ }
256
+ },
257
+ ipMask: {
258
+ required: true,
259
+ serializedName: "ipMask",
260
+ type: {
261
+ name: "String"
262
+ }
263
+ },
264
+ target: {
265
+ serializedName: "target",
266
+ type: {
267
+ name: "Enum",
268
+ allowedValues: [
269
+ "all",
270
+ "serviceApi",
271
+ "deviceApi"
272
+ ]
273
+ }
274
+ }
275
+ }
276
+ }
277
+ };
278
+ export var PrivateEndpoint = {
279
+ serializedName: "PrivateEndpoint",
280
+ type: {
281
+ name: "Composite",
282
+ className: "PrivateEndpoint",
283
+ modelProperties: {
284
+ id: {
285
+ readOnly: true,
286
+ serializedName: "id",
287
+ type: {
288
+ name: "String"
289
+ }
290
+ }
291
+ }
292
+ }
293
+ };
294
+ export var PrivateLinkServiceConnectionState = {
295
+ serializedName: "PrivateLinkServiceConnectionState",
296
+ type: {
297
+ name: "Composite",
298
+ className: "PrivateLinkServiceConnectionState",
299
+ modelProperties: {
300
+ status: {
301
+ required: true,
302
+ serializedName: "status",
303
+ type: {
304
+ name: "String"
305
+ }
306
+ },
307
+ description: {
308
+ required: true,
309
+ serializedName: "description",
310
+ type: {
311
+ name: "String"
312
+ }
313
+ },
314
+ actionsRequired: {
315
+ serializedName: "actionsRequired",
316
+ type: {
317
+ name: "String"
318
+ }
319
+ }
320
+ }
321
+ }
322
+ };
323
+ export var PrivateEndpointConnectionProperties = {
324
+ serializedName: "PrivateEndpointConnectionProperties",
325
+ type: {
326
+ name: "Composite",
327
+ className: "PrivateEndpointConnectionProperties",
328
+ modelProperties: {
329
+ privateEndpoint: {
330
+ serializedName: "privateEndpoint",
331
+ type: {
332
+ name: "Composite",
333
+ className: "PrivateEndpoint"
334
+ }
335
+ },
336
+ privateLinkServiceConnectionState: {
337
+ required: true,
338
+ serializedName: "privateLinkServiceConnectionState",
339
+ type: {
340
+ name: "Composite",
341
+ className: "PrivateLinkServiceConnectionState"
342
+ }
343
+ }
344
+ }
345
+ }
346
+ };
347
+ export var PrivateEndpointConnection = {
348
+ serializedName: "PrivateEndpointConnection",
349
+ type: {
350
+ name: "Composite",
351
+ className: "PrivateEndpointConnection",
352
+ modelProperties: {
353
+ id: {
354
+ readOnly: true,
355
+ serializedName: "id",
356
+ type: {
357
+ name: "String"
358
+ }
359
+ },
360
+ name: {
361
+ readOnly: true,
362
+ serializedName: "name",
363
+ constraints: {
364
+ Pattern: /^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$/
365
+ },
366
+ type: {
367
+ name: "String"
368
+ }
369
+ },
370
+ type: {
371
+ readOnly: true,
372
+ serializedName: "type",
373
+ type: {
374
+ name: "String"
375
+ }
376
+ },
377
+ properties: {
378
+ required: true,
379
+ serializedName: "properties",
380
+ type: {
381
+ name: "Composite",
382
+ className: "PrivateEndpointConnectionProperties"
383
+ }
384
+ }
385
+ }
386
+ }
387
+ };
388
+ export var IotHubDefinitionDescription = {
389
+ serializedName: "IotHubDefinitionDescription",
390
+ type: {
391
+ name: "Composite",
392
+ className: "IotHubDefinitionDescription",
393
+ modelProperties: {
394
+ applyAllocationPolicy: {
395
+ serializedName: "applyAllocationPolicy",
396
+ type: {
397
+ name: "Boolean"
398
+ }
399
+ },
400
+ allocationWeight: {
401
+ serializedName: "allocationWeight",
402
+ type: {
403
+ name: "Number"
404
+ }
405
+ },
406
+ name: {
407
+ readOnly: true,
408
+ serializedName: "name",
409
+ type: {
410
+ name: "String"
411
+ }
412
+ },
413
+ connectionString: {
414
+ required: true,
415
+ serializedName: "connectionString",
416
+ type: {
417
+ name: "String"
418
+ }
419
+ },
420
+ location: {
421
+ required: true,
422
+ serializedName: "location",
423
+ type: {
424
+ name: "String"
425
+ }
426
+ }
427
+ }
428
+ }
429
+ };
430
+ export var SharedAccessSignatureAuthorizationRuleAccessRightsDescription = {
431
+ serializedName: "SharedAccessSignatureAuthorizationRule_AccessRightsDescription_",
432
+ type: {
433
+ name: "Composite",
434
+ className: "SharedAccessSignatureAuthorizationRuleAccessRightsDescription",
435
+ modelProperties: {
436
+ keyName: {
437
+ required: true,
438
+ serializedName: "keyName",
439
+ type: {
440
+ name: "String"
441
+ }
442
+ },
443
+ primaryKey: {
444
+ serializedName: "primaryKey",
445
+ type: {
446
+ name: "String"
447
+ }
448
+ },
449
+ secondaryKey: {
450
+ serializedName: "secondaryKey",
451
+ type: {
452
+ name: "String"
453
+ }
454
+ },
455
+ rights: {
456
+ required: true,
457
+ serializedName: "rights",
458
+ type: {
459
+ name: "String"
460
+ }
461
+ }
462
+ }
463
+ }
464
+ };
465
+ export var IotDpsPropertiesDescription = {
466
+ serializedName: "IotDpsPropertiesDescription",
467
+ type: {
468
+ name: "Composite",
469
+ className: "IotDpsPropertiesDescription",
470
+ modelProperties: {
471
+ state: {
472
+ serializedName: "state",
473
+ type: {
474
+ name: "String"
475
+ }
476
+ },
477
+ publicNetworkAccess: {
478
+ serializedName: "publicNetworkAccess",
479
+ type: {
480
+ name: "String"
481
+ }
482
+ },
483
+ ipFilterRules: {
484
+ serializedName: "ipFilterRules",
485
+ type: {
486
+ name: "Sequence",
487
+ element: {
488
+ type: {
489
+ name: "Composite",
490
+ className: "IpFilterRule"
491
+ }
492
+ }
493
+ }
494
+ },
495
+ privateEndpointConnections: {
496
+ serializedName: "privateEndpointConnections",
497
+ type: {
498
+ name: "Sequence",
499
+ element: {
500
+ type: {
501
+ name: "Composite",
502
+ className: "PrivateEndpointConnection"
503
+ }
504
+ }
505
+ }
506
+ },
507
+ provisioningState: {
508
+ serializedName: "provisioningState",
509
+ type: {
510
+ name: "String"
511
+ }
512
+ },
513
+ iotHubs: {
514
+ serializedName: "iotHubs",
515
+ type: {
516
+ name: "Sequence",
517
+ element: {
518
+ type: {
519
+ name: "Composite",
520
+ className: "IotHubDefinitionDescription"
521
+ }
522
+ }
523
+ }
524
+ },
525
+ allocationPolicy: {
526
+ serializedName: "allocationPolicy",
527
+ type: {
528
+ name: "String"
529
+ }
530
+ },
531
+ serviceOperationsHostName: {
532
+ readOnly: true,
533
+ serializedName: "serviceOperationsHostName",
534
+ type: {
535
+ name: "String"
536
+ }
537
+ },
538
+ deviceProvisioningHostName: {
539
+ readOnly: true,
540
+ serializedName: "deviceProvisioningHostName",
541
+ type: {
542
+ name: "String"
543
+ }
544
+ },
545
+ idScope: {
546
+ readOnly: true,
547
+ serializedName: "idScope",
548
+ type: {
549
+ name: "String"
550
+ }
551
+ },
552
+ authorizationPolicies: {
553
+ serializedName: "authorizationPolicies",
554
+ type: {
555
+ name: "Sequence",
556
+ element: {
557
+ type: {
558
+ name: "Composite",
559
+ className: "SharedAccessSignatureAuthorizationRuleAccessRightsDescription"
560
+ }
561
+ }
562
+ }
563
+ }
564
+ }
565
+ }
566
+ };
567
+ export var Resource = {
568
+ serializedName: "Resource",
569
+ type: {
570
+ name: "Composite",
571
+ className: "Resource",
572
+ modelProperties: {
573
+ id: {
574
+ readOnly: true,
575
+ serializedName: "id",
576
+ type: {
577
+ name: "String"
578
+ }
579
+ },
580
+ name: {
581
+ readOnly: true,
582
+ serializedName: "name",
583
+ constraints: {
584
+ Pattern: /^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$/
585
+ },
586
+ type: {
587
+ name: "String"
588
+ }
589
+ },
590
+ type: {
591
+ readOnly: true,
592
+ serializedName: "type",
593
+ type: {
594
+ name: "String"
595
+ }
596
+ },
597
+ location: {
598
+ required: true,
599
+ serializedName: "location",
600
+ type: {
601
+ name: "String"
602
+ }
603
+ },
604
+ tags: {
605
+ serializedName: "tags",
606
+ type: {
607
+ name: "Dictionary",
608
+ value: {
609
+ type: {
610
+ name: "String"
611
+ }
612
+ }
613
+ }
614
+ }
615
+ }
616
+ }
617
+ };
618
+ export var ProvisioningServiceDescription = {
619
+ serializedName: "ProvisioningServiceDescription",
620
+ type: {
621
+ name: "Composite",
622
+ className: "ProvisioningServiceDescription",
623
+ modelProperties: __assign(__assign({}, Resource.type.modelProperties), { etag: {
624
+ serializedName: "etag",
625
+ type: {
626
+ name: "String"
627
+ }
628
+ }, properties: {
629
+ required: true,
630
+ serializedName: "properties",
631
+ type: {
632
+ name: "Composite",
633
+ className: "IotDpsPropertiesDescription"
634
+ }
635
+ }, sku: {
636
+ required: true,
637
+ serializedName: "sku",
638
+ type: {
639
+ name: "Composite",
640
+ className: "IotDpsSkuInfo"
641
+ }
642
+ } })
643
+ }
644
+ };
645
+ export var GroupIdInformationProperties = {
646
+ serializedName: "GroupIdInformationProperties",
647
+ type: {
648
+ name: "Composite",
649
+ className: "GroupIdInformationProperties",
650
+ modelProperties: {
651
+ groupId: {
652
+ serializedName: "groupId",
653
+ type: {
654
+ name: "String"
655
+ }
656
+ },
657
+ requiredMembers: {
658
+ serializedName: "requiredMembers",
659
+ type: {
660
+ name: "Sequence",
661
+ element: {
662
+ type: {
663
+ name: "String"
664
+ }
665
+ }
666
+ }
667
+ },
668
+ requiredZoneNames: {
669
+ serializedName: "requiredZoneNames",
670
+ type: {
671
+ name: "Sequence",
672
+ element: {
673
+ type: {
674
+ name: "String"
675
+ }
676
+ }
677
+ }
678
+ }
679
+ }
680
+ }
681
+ };
682
+ export var GroupIdInformation = {
683
+ serializedName: "GroupIdInformation",
684
+ type: {
685
+ name: "Composite",
686
+ className: "GroupIdInformation",
687
+ modelProperties: {
688
+ id: {
689
+ readOnly: true,
690
+ serializedName: "id",
691
+ type: {
692
+ name: "String"
693
+ }
694
+ },
695
+ name: {
696
+ readOnly: true,
697
+ serializedName: "name",
698
+ constraints: {
699
+ Pattern: /^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$/
700
+ },
701
+ type: {
702
+ name: "String"
703
+ }
704
+ },
705
+ type: {
706
+ readOnly: true,
707
+ serializedName: "type",
708
+ type: {
709
+ name: "String"
710
+ }
711
+ },
712
+ properties: {
713
+ required: true,
714
+ serializedName: "properties",
715
+ type: {
716
+ name: "Composite",
717
+ className: "GroupIdInformationProperties"
718
+ }
719
+ }
720
+ }
721
+ }
722
+ };
723
+ export var PrivateLinkResources = {
724
+ serializedName: "PrivateLinkResources",
725
+ type: {
726
+ name: "Composite",
727
+ className: "PrivateLinkResources",
728
+ modelProperties: {
729
+ value: {
730
+ serializedName: "value",
731
+ type: {
732
+ name: "Sequence",
733
+ element: {
734
+ type: {
735
+ name: "Composite",
736
+ className: "GroupIdInformation"
737
+ }
738
+ }
739
+ }
740
+ }
741
+ }
742
+ }
743
+ };
744
+ export var OperationDisplay = {
745
+ serializedName: "Operation_display",
746
+ type: {
747
+ name: "Composite",
748
+ className: "OperationDisplay",
749
+ modelProperties: {
750
+ provider: {
751
+ readOnly: true,
752
+ serializedName: "provider",
753
+ type: {
754
+ name: "String"
755
+ }
756
+ },
757
+ resource: {
758
+ readOnly: true,
759
+ serializedName: "resource",
760
+ type: {
761
+ name: "String"
762
+ }
763
+ },
764
+ operation: {
765
+ readOnly: true,
766
+ serializedName: "operation",
767
+ type: {
768
+ name: "String"
769
+ }
770
+ }
771
+ }
772
+ }
773
+ };
774
+ export var Operation = {
775
+ serializedName: "Operation",
776
+ type: {
777
+ name: "Composite",
778
+ className: "Operation",
779
+ modelProperties: {
780
+ name: {
781
+ readOnly: true,
782
+ serializedName: "name",
783
+ type: {
784
+ name: "String"
785
+ }
786
+ },
787
+ display: {
788
+ serializedName: "display",
789
+ type: {
790
+ name: "Composite",
791
+ className: "OperationDisplay"
792
+ }
793
+ }
794
+ }
795
+ }
796
+ };
797
+ export var ErrorDetails = {
798
+ serializedName: "ErrorDetails",
799
+ type: {
800
+ name: "Composite",
801
+ className: "ErrorDetails",
802
+ modelProperties: {
803
+ code: {
804
+ readOnly: true,
805
+ serializedName: "code",
806
+ type: {
807
+ name: "String"
808
+ }
809
+ },
810
+ httpStatusCode: {
811
+ readOnly: true,
812
+ serializedName: "httpStatusCode",
813
+ type: {
814
+ name: "String"
815
+ }
816
+ },
817
+ message: {
818
+ readOnly: true,
819
+ serializedName: "message",
820
+ type: {
821
+ name: "String"
822
+ }
823
+ },
824
+ details: {
825
+ readOnly: true,
826
+ serializedName: "details",
827
+ type: {
828
+ name: "String"
829
+ }
830
+ }
831
+ }
832
+ }
833
+ };
834
+ export var IotDpsSkuDefinition = {
835
+ serializedName: "IotDpsSkuDefinition",
836
+ type: {
837
+ name: "Composite",
838
+ className: "IotDpsSkuDefinition",
839
+ modelProperties: {
840
+ name: {
841
+ serializedName: "name",
842
+ type: {
843
+ name: "String"
844
+ }
845
+ }
846
+ }
847
+ }
848
+ };
849
+ export var OperationInputs = {
850
+ serializedName: "OperationInputs",
851
+ type: {
852
+ name: "Composite",
853
+ className: "OperationInputs",
854
+ modelProperties: {
855
+ name: {
856
+ required: true,
857
+ serializedName: "name",
858
+ type: {
859
+ name: "String"
860
+ }
861
+ }
862
+ }
863
+ }
864
+ };
865
+ export var NameAvailabilityInfo = {
866
+ serializedName: "NameAvailabilityInfo",
867
+ type: {
868
+ name: "Composite",
869
+ className: "NameAvailabilityInfo",
870
+ modelProperties: {
871
+ nameAvailable: {
872
+ serializedName: "nameAvailable",
873
+ type: {
874
+ name: "Boolean"
875
+ }
876
+ },
877
+ reason: {
878
+ serializedName: "reason",
879
+ type: {
880
+ name: "String"
881
+ }
882
+ },
883
+ message: {
884
+ serializedName: "message",
885
+ type: {
886
+ name: "String"
887
+ }
888
+ }
889
+ }
890
+ }
891
+ };
892
+ export var TagsResource = {
893
+ serializedName: "TagsResource",
894
+ type: {
895
+ name: "Composite",
896
+ className: "TagsResource",
897
+ modelProperties: {
898
+ tags: {
899
+ serializedName: "tags",
900
+ type: {
901
+ name: "Dictionary",
902
+ value: {
903
+ type: {
904
+ name: "String"
905
+ }
906
+ }
907
+ }
908
+ }
909
+ }
910
+ }
911
+ };
912
+ export var VerificationCodeResponseProperties = {
913
+ serializedName: "VerificationCodeResponse_properties",
914
+ type: {
915
+ name: "Composite",
916
+ className: "VerificationCodeResponseProperties",
917
+ modelProperties: {
918
+ verificationCode: {
919
+ serializedName: "verificationCode",
920
+ type: {
921
+ name: "String"
922
+ }
923
+ },
924
+ subject: {
925
+ serializedName: "subject",
926
+ type: {
927
+ name: "String"
928
+ }
929
+ },
930
+ expiry: {
931
+ serializedName: "expiry",
932
+ type: {
933
+ name: "String"
934
+ }
935
+ },
936
+ thumbprint: {
937
+ serializedName: "thumbprint",
938
+ type: {
939
+ name: "String"
940
+ }
941
+ },
942
+ isVerified: {
943
+ serializedName: "isVerified",
944
+ type: {
945
+ name: "Boolean"
946
+ }
947
+ },
948
+ certificate: {
949
+ serializedName: "certificate",
950
+ type: {
951
+ name: "ByteArray"
952
+ }
953
+ },
954
+ created: {
955
+ serializedName: "created",
956
+ type: {
957
+ name: "String"
958
+ }
959
+ },
960
+ updated: {
961
+ serializedName: "updated",
962
+ type: {
963
+ name: "String"
964
+ }
965
+ }
966
+ }
967
+ }
968
+ };
969
+ export var VerificationCodeResponse = {
970
+ serializedName: "VerificationCodeResponse",
971
+ type: {
972
+ name: "Composite",
973
+ className: "VerificationCodeResponse",
974
+ modelProperties: {
975
+ name: {
976
+ readOnly: true,
977
+ serializedName: "name",
978
+ type: {
979
+ name: "String"
980
+ }
981
+ },
982
+ etag: {
983
+ readOnly: true,
984
+ serializedName: "etag",
985
+ type: {
986
+ name: "String"
987
+ }
988
+ },
989
+ id: {
990
+ readOnly: true,
991
+ serializedName: "id",
992
+ type: {
993
+ name: "String"
994
+ }
995
+ },
996
+ type: {
997
+ readOnly: true,
998
+ serializedName: "type",
999
+ type: {
1000
+ name: "String"
1001
+ }
1002
+ },
1003
+ properties: {
1004
+ serializedName: "properties",
1005
+ type: {
1006
+ name: "Composite",
1007
+ className: "VerificationCodeResponseProperties"
1008
+ }
1009
+ }
1010
+ }
1011
+ }
1012
+ };
1013
+ export var VerificationCodeRequest = {
1014
+ serializedName: "VerificationCodeRequest",
1015
+ type: {
1016
+ name: "Composite",
1017
+ className: "VerificationCodeRequest",
1018
+ modelProperties: {
1019
+ certificate: {
1020
+ serializedName: "certificate",
1021
+ type: {
1022
+ name: "String"
1023
+ }
1024
+ }
1025
+ }
1026
+ }
1027
+ };
1028
+ export var OperationListResult = {
1029
+ serializedName: "OperationListResult",
1030
+ type: {
1031
+ name: "Composite",
1032
+ className: "OperationListResult",
1033
+ modelProperties: {
1034
+ value: {
1035
+ readOnly: true,
1036
+ serializedName: "",
1037
+ type: {
1038
+ name: "Sequence",
1039
+ element: {
1040
+ type: {
1041
+ name: "Composite",
1042
+ className: "Operation"
1043
+ }
1044
+ }
1045
+ }
1046
+ },
1047
+ nextLink: {
1048
+ readOnly: true,
1049
+ serializedName: "nextLink",
1050
+ type: {
1051
+ name: "String"
1052
+ }
1053
+ }
1054
+ }
1055
+ }
1056
+ };
1057
+ export var ProvisioningServiceDescriptionListResult = {
1058
+ serializedName: "ProvisioningServiceDescriptionListResult",
1059
+ type: {
1060
+ name: "Composite",
1061
+ className: "ProvisioningServiceDescriptionListResult",
1062
+ modelProperties: {
1063
+ value: {
1064
+ serializedName: "",
1065
+ type: {
1066
+ name: "Sequence",
1067
+ element: {
1068
+ type: {
1069
+ name: "Composite",
1070
+ className: "ProvisioningServiceDescription"
1071
+ }
1072
+ }
1073
+ }
1074
+ },
1075
+ nextLink: {
1076
+ readOnly: true,
1077
+ serializedName: "nextLink",
1078
+ type: {
1079
+ name: "String"
1080
+ }
1081
+ }
1082
+ }
1083
+ }
1084
+ };
1085
+ export var IotDpsSkuDefinitionListResult = {
1086
+ serializedName: "IotDpsSkuDefinitionListResult",
1087
+ type: {
1088
+ name: "Composite",
1089
+ className: "IotDpsSkuDefinitionListResult",
1090
+ modelProperties: {
1091
+ value: {
1092
+ serializedName: "",
1093
+ type: {
1094
+ name: "Sequence",
1095
+ element: {
1096
+ type: {
1097
+ name: "Composite",
1098
+ className: "IotDpsSkuDefinition"
1099
+ }
1100
+ }
1101
+ }
1102
+ },
1103
+ nextLink: {
1104
+ readOnly: true,
1105
+ serializedName: "nextLink",
1106
+ type: {
1107
+ name: "String"
1108
+ }
1109
+ }
1110
+ }
1111
+ }
1112
+ };
1113
+ export var SharedAccessSignatureAuthorizationRuleListResult = {
1114
+ serializedName: "SharedAccessSignatureAuthorizationRuleListResult",
1115
+ type: {
1116
+ name: "Composite",
1117
+ className: "SharedAccessSignatureAuthorizationRuleListResult",
1118
+ modelProperties: {
1119
+ value: {
1120
+ serializedName: "",
1121
+ type: {
1122
+ name: "Sequence",
1123
+ element: {
1124
+ type: {
1125
+ name: "Composite",
1126
+ className: "SharedAccessSignatureAuthorizationRuleAccessRightsDescription"
1127
+ }
1128
+ }
1129
+ }
1130
+ },
1131
+ nextLink: {
1132
+ readOnly: true,
1133
+ serializedName: "nextLink",
1134
+ type: {
1135
+ name: "String"
1136
+ }
1137
+ }
1138
+ }
1139
+ }
1140
+ };
1141
+ //# sourceMappingURL=mappers.js.map