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