@itentialopensource/adapter-azure_aks 0.4.6 → 0.5.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 (45) hide show
  1. package/.eslintrc.js +1 -0
  2. package/AUTH.md +4 -4
  3. package/BROKER.md +4 -4
  4. package/CALLS.md +9 -9
  5. package/ENHANCE.md +3 -3
  6. package/PROPERTIES.md +24 -9
  7. package/README.md +24 -23
  8. package/SUMMARY.md +2 -2
  9. package/SYSTEMINFO.md +1 -1
  10. package/TAB1.md +2 -2
  11. package/TAB2.md +8 -4
  12. package/TROUBLESHOOT.md +10 -1
  13. package/UTILITIES.md +473 -0
  14. package/adapter.js +12 -12
  15. package/adapterBase.js +52 -16
  16. package/package.json +24 -28
  17. package/pronghorn.json +15 -13
  18. package/propertiesSchema.json +68 -7
  19. package/report/adapterInfo.json +7 -7
  20. package/report/auto-adapter-openapi.json +1502 -0
  21. package/report/updateReport1748555368042.json +120 -0
  22. package/sampleProperties.json +4 -0
  23. package/test/integration/adapterTestBasicGet.js +88 -54
  24. package/test/integration/adapterTestConnectivity.js +15 -16
  25. package/test/integration/adapterTestIntegration.js +12 -45
  26. package/test/unit/adapterBaseTestUnit.js +641 -39
  27. package/test/unit/adapterTestUnit.js +28 -61
  28. package/utils/adapterInfo.js +114 -164
  29. package/utils/argParser.js +44 -0
  30. package/utils/checkMigrate.js +77 -38
  31. package/utils/entitiesToDB.js +53 -42
  32. package/utils/logger.js +26 -0
  33. package/utils/modify.js +56 -55
  34. package/utils/mongoDbConnection.js +79 -0
  35. package/utils/mongoUtils.js +162 -0
  36. package/utils/taskMover.js +31 -32
  37. package/utils/tbScript.js +36 -172
  38. package/utils/tbUtils.js +84 -226
  39. package/utils/troubleshootingAdapter.js +68 -84
  40. package/utils/updateAdapterConfig.js +158 -0
  41. package/utils/addAuth.js +0 -94
  42. package/utils/artifactize.js +0 -146
  43. package/utils/basicGet.js +0 -50
  44. package/utils/packModificationScript.js +0 -35
  45. package/utils/patches2bundledDeps.js +0 -90
@@ -0,0 +1,1502 @@
1
+ {
2
+ "openapi": "3.1.0",
3
+ "info": {
4
+ "title": "",
5
+ "version": "1.0.0"
6
+ },
7
+ "paths": {
8
+ "/providers/Microsoft.ContainerService/operations": {
9
+ "get": {
10
+ "tags": [
11
+ "ManagedClusters"
12
+ ],
13
+ "operationId": "operationsList",
14
+ "description": "The parameters and request body are for method: operationsList. Same endpoint also used in methods:",
15
+ "responses": {
16
+ "200": {
17
+ "description": "Successful operation",
18
+ "content": {
19
+ "application/json": {
20
+ "schema": {
21
+ "type": "object",
22
+ "properties": {
23
+ "value": {
24
+ "type": "array",
25
+ "items": {
26
+ "type": "object",
27
+ "properties": {
28
+ "display": {
29
+ "type": "object"
30
+ },
31
+ "name": {
32
+ "type": "string"
33
+ },
34
+ "origin": {
35
+ "type": "string"
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ },
42
+ "example": {
43
+ "value": [
44
+ {
45
+ "display": null,
46
+ "name": "string",
47
+ "origin": "string"
48
+ },
49
+ {
50
+ "display": null,
51
+ "name": "string",
52
+ "origin": "string"
53
+ },
54
+ {
55
+ "display": null,
56
+ "name": "string",
57
+ "origin": "string"
58
+ },
59
+ {
60
+ "display": null,
61
+ "name": "string",
62
+ "origin": "string"
63
+ },
64
+ {
65
+ "display": null,
66
+ "name": "string",
67
+ "origin": "string"
68
+ },
69
+ {
70
+ "display": null,
71
+ "name": "string",
72
+ "origin": "string"
73
+ }
74
+ ]
75
+ }
76
+ }
77
+ }
78
+ }
79
+ },
80
+ "parameters": [
81
+ {
82
+ "name": "apiVersion",
83
+ "in": "query",
84
+ "required": true,
85
+ "schema": {
86
+ "type": "string"
87
+ }
88
+ }
89
+ ],
90
+ "requestBody": {
91
+ "content": {
92
+ "application/json": {
93
+ "schema": {
94
+ "type": "object"
95
+ },
96
+ "example": {}
97
+ }
98
+ }
99
+ }
100
+ }
101
+ },
102
+ "/subscriptions/{pathv1}/providers/Microsoft.ContainerService/managedClusters": {
103
+ "get": {
104
+ "tags": [
105
+ "ManagedClusters"
106
+ ],
107
+ "operationId": "managedClustersList",
108
+ "description": "The parameters and request body are for method: managedClustersList. Same endpoint also used in methods:",
109
+ "responses": {
110
+ "200": {
111
+ "description": "Successful operation",
112
+ "content": {
113
+ "application/json": {
114
+ "schema": {
115
+ "type": "object",
116
+ "properties": {
117
+ "nextLink": {
118
+ "type": "string"
119
+ },
120
+ "value": {
121
+ "type": "array",
122
+ "items": {
123
+ "type": "object",
124
+ "properties": {
125
+ "id": {
126
+ "type": "string"
127
+ },
128
+ "location": {
129
+ "type": "string"
130
+ },
131
+ "name": {
132
+ "type": "string"
133
+ },
134
+ "tags": {
135
+ "type": "object"
136
+ },
137
+ "type": {
138
+ "type": "string"
139
+ },
140
+ "identity": {
141
+ "type": "object"
142
+ },
143
+ "properties": {
144
+ "type": "object"
145
+ }
146
+ }
147
+ }
148
+ }
149
+ }
150
+ },
151
+ "example": {
152
+ "nextLink": "string",
153
+ "value": [
154
+ {
155
+ "id": "string",
156
+ "location": "string",
157
+ "name": "string",
158
+ "tags": {},
159
+ "type": "string",
160
+ "identity": null,
161
+ "properties": null
162
+ },
163
+ {
164
+ "id": "string",
165
+ "location": "string",
166
+ "name": "string",
167
+ "tags": {},
168
+ "type": "string",
169
+ "identity": null,
170
+ "properties": null
171
+ },
172
+ {
173
+ "id": "string",
174
+ "location": "string",
175
+ "name": "string",
176
+ "tags": {},
177
+ "type": "string",
178
+ "identity": null,
179
+ "properties": null
180
+ }
181
+ ]
182
+ }
183
+ }
184
+ }
185
+ }
186
+ },
187
+ "parameters": [
188
+ {
189
+ "name": "apiVersion",
190
+ "in": "query",
191
+ "required": true,
192
+ "schema": {
193
+ "type": "string"
194
+ }
195
+ }
196
+ ],
197
+ "requestBody": {
198
+ "content": {
199
+ "application/json": {
200
+ "schema": {
201
+ "type": "object"
202
+ },
203
+ "example": {}
204
+ }
205
+ }
206
+ }
207
+ }
208
+ },
209
+ "/subscriptions/{pathv1}/resourceGroups/{pathv2}/providers/Microsoft.ContainerService/managedClusters": {
210
+ "get": {
211
+ "tags": [
212
+ "ManagedClusters"
213
+ ],
214
+ "operationId": "managedClustersListByResourceGroup",
215
+ "description": "The parameters and request body are for method: managedClustersListByResourceGroup. Same endpoint also used in methods:",
216
+ "responses": {
217
+ "200": {
218
+ "description": "Successful operation",
219
+ "content": {
220
+ "application/json": {
221
+ "schema": {
222
+ "type": "object",
223
+ "properties": {
224
+ "nextLink": {
225
+ "type": "string"
226
+ },
227
+ "value": {
228
+ "type": "array",
229
+ "items": {
230
+ "type": "object",
231
+ "properties": {
232
+ "id": {
233
+ "type": "string"
234
+ },
235
+ "location": {
236
+ "type": "string"
237
+ },
238
+ "name": {
239
+ "type": "string"
240
+ },
241
+ "tags": {
242
+ "type": "object"
243
+ },
244
+ "type": {
245
+ "type": "string"
246
+ },
247
+ "identity": {
248
+ "type": "object"
249
+ },
250
+ "properties": {
251
+ "type": "object"
252
+ }
253
+ }
254
+ }
255
+ }
256
+ }
257
+ },
258
+ "example": {
259
+ "nextLink": "string",
260
+ "value": [
261
+ {
262
+ "id": "string",
263
+ "location": "string",
264
+ "name": "string",
265
+ "tags": {},
266
+ "type": "string",
267
+ "identity": null,
268
+ "properties": null
269
+ },
270
+ {
271
+ "id": "string",
272
+ "location": "string",
273
+ "name": "string",
274
+ "tags": {},
275
+ "type": "string",
276
+ "identity": null,
277
+ "properties": null
278
+ },
279
+ {
280
+ "id": "string",
281
+ "location": "string",
282
+ "name": "string",
283
+ "tags": {},
284
+ "type": "string",
285
+ "identity": null,
286
+ "properties": null
287
+ },
288
+ {
289
+ "id": "string",
290
+ "location": "string",
291
+ "name": "string",
292
+ "tags": {},
293
+ "type": "string",
294
+ "identity": null,
295
+ "properties": null
296
+ },
297
+ {
298
+ "id": "string",
299
+ "location": "string",
300
+ "name": "string",
301
+ "tags": {},
302
+ "type": "string",
303
+ "identity": null,
304
+ "properties": null
305
+ },
306
+ {
307
+ "id": "string",
308
+ "location": "string",
309
+ "name": "string",
310
+ "tags": {},
311
+ "type": "string",
312
+ "identity": null,
313
+ "properties": null
314
+ }
315
+ ]
316
+ }
317
+ }
318
+ }
319
+ }
320
+ },
321
+ "parameters": [
322
+ {
323
+ "name": "apiVersion",
324
+ "in": "query",
325
+ "required": true,
326
+ "schema": {
327
+ "type": "string"
328
+ }
329
+ }
330
+ ],
331
+ "requestBody": {
332
+ "content": {
333
+ "application/json": {
334
+ "schema": {
335
+ "type": "object"
336
+ },
337
+ "example": {}
338
+ }
339
+ }
340
+ }
341
+ }
342
+ },
343
+ "/subscriptions/{pathv1}/resourceGroups/{pathv2}/providers/Microsoft.ContainerService/managedClusters/{pathv3}": {
344
+ "delete": {
345
+ "tags": [
346
+ "ManagedClusters"
347
+ ],
348
+ "operationId": "managedClustersDelete",
349
+ "description": "The parameters and request body are for method: managedClustersDelete. Same endpoint also used in methods:",
350
+ "responses": {
351
+ "200": {
352
+ "description": "Successful operation",
353
+ "content": {
354
+ "application/json": {
355
+ "schema": {
356
+ "title": "result",
357
+ "type": "object"
358
+ }
359
+ }
360
+ }
361
+ }
362
+ },
363
+ "parameters": [
364
+ {
365
+ "name": "apiVersion",
366
+ "in": "query",
367
+ "required": true,
368
+ "schema": {
369
+ "type": "string"
370
+ }
371
+ }
372
+ ],
373
+ "requestBody": {
374
+ "content": {
375
+ "application/json": {
376
+ "schema": {
377
+ "type": "object"
378
+ },
379
+ "example": {}
380
+ }
381
+ }
382
+ }
383
+ },
384
+ "get": {
385
+ "tags": [
386
+ "ManagedClusters"
387
+ ],
388
+ "operationId": "managedClustersGet",
389
+ "description": "The parameters and request body are for method: managedClustersGet. Same endpoint also used in methods:",
390
+ "responses": {
391
+ "200": {
392
+ "description": "Successful operation",
393
+ "content": {
394
+ "application/json": {
395
+ "schema": {
396
+ "type": "object",
397
+ "properties": {
398
+ "id": {
399
+ "type": "string"
400
+ },
401
+ "location": {
402
+ "type": "string"
403
+ },
404
+ "name": {
405
+ "type": "string"
406
+ },
407
+ "tags": {
408
+ "type": "object"
409
+ },
410
+ "type": {
411
+ "type": "string"
412
+ },
413
+ "identity": {
414
+ "type": "object"
415
+ },
416
+ "properties": {
417
+ "type": "object"
418
+ }
419
+ }
420
+ },
421
+ "example": {
422
+ "id": "string",
423
+ "location": "string",
424
+ "name": "string",
425
+ "tags": {},
426
+ "type": "string",
427
+ "identity": null,
428
+ "properties": null
429
+ }
430
+ }
431
+ }
432
+ }
433
+ },
434
+ "parameters": [
435
+ {
436
+ "name": "apiVersion",
437
+ "in": "query",
438
+ "required": true,
439
+ "schema": {
440
+ "type": "string"
441
+ }
442
+ }
443
+ ],
444
+ "requestBody": {
445
+ "content": {
446
+ "application/json": {
447
+ "schema": {
448
+ "type": "object"
449
+ },
450
+ "example": {}
451
+ }
452
+ }
453
+ }
454
+ },
455
+ "patch": {
456
+ "tags": [
457
+ "ManagedClusters"
458
+ ],
459
+ "operationId": "managedClustersUpdateTags",
460
+ "description": "The parameters and request body are for method: managedClustersUpdateTags. Same endpoint also used in methods:",
461
+ "responses": {
462
+ "200": {
463
+ "description": "Successful operation",
464
+ "content": {
465
+ "application/json": {
466
+ "schema": {
467
+ "type": "object",
468
+ "properties": {
469
+ "id": {
470
+ "type": "string"
471
+ },
472
+ "location": {
473
+ "type": "string"
474
+ },
475
+ "name": {
476
+ "type": "string"
477
+ },
478
+ "tags": {
479
+ "type": "object"
480
+ },
481
+ "type": {
482
+ "type": "string"
483
+ },
484
+ "identity": {
485
+ "type": "object"
486
+ },
487
+ "properties": {
488
+ "type": "object"
489
+ }
490
+ }
491
+ },
492
+ "example": {
493
+ "id": "string",
494
+ "location": "string",
495
+ "name": "string",
496
+ "tags": {},
497
+ "type": "string",
498
+ "identity": null,
499
+ "properties": null
500
+ }
501
+ }
502
+ }
503
+ }
504
+ },
505
+ "parameters": [
506
+ {
507
+ "name": "apiVersion",
508
+ "in": "query",
509
+ "required": true,
510
+ "schema": {
511
+ "type": "string"
512
+ }
513
+ }
514
+ ],
515
+ "requestBody": {
516
+ "content": {
517
+ "application/json": {
518
+ "schema": {
519
+ "type": "object"
520
+ },
521
+ "example": {}
522
+ }
523
+ }
524
+ }
525
+ },
526
+ "put": {
527
+ "tags": [
528
+ "ManagedClusters"
529
+ ],
530
+ "operationId": "managedClustersCreateOrUpdate",
531
+ "description": "The parameters and request body are for method: managedClustersCreateOrUpdate. Same endpoint also used in methods:",
532
+ "responses": {
533
+ "200": {
534
+ "description": "Successful operation",
535
+ "content": {
536
+ "application/json": {
537
+ "schema": {
538
+ "type": "object",
539
+ "properties": {
540
+ "id": {
541
+ "type": "string"
542
+ },
543
+ "location": {
544
+ "type": "string"
545
+ },
546
+ "name": {
547
+ "type": "string"
548
+ },
549
+ "tags": {
550
+ "type": "object"
551
+ },
552
+ "type": {
553
+ "type": "string"
554
+ },
555
+ "identity": {
556
+ "type": "object"
557
+ },
558
+ "properties": {
559
+ "type": "object"
560
+ }
561
+ }
562
+ },
563
+ "example": {
564
+ "id": "string",
565
+ "location": "string",
566
+ "name": "string",
567
+ "tags": {},
568
+ "type": "string",
569
+ "identity": null,
570
+ "properties": null
571
+ }
572
+ }
573
+ }
574
+ }
575
+ },
576
+ "parameters": [
577
+ {
578
+ "name": "apiVersion",
579
+ "in": "query",
580
+ "required": true,
581
+ "schema": {
582
+ "type": "string"
583
+ }
584
+ }
585
+ ],
586
+ "requestBody": {
587
+ "content": {
588
+ "application/json": {
589
+ "schema": {
590
+ "type": "string"
591
+ },
592
+ "example": "parameters"
593
+ }
594
+ }
595
+ }
596
+ }
597
+ },
598
+ "/subscriptions/{pathv1}/resourceGroups/{pathv2}/providers/Microsoft.ContainerService/managedClusters/{pathv3}/accessProfiles/{pathv4}/listCredential": {
599
+ "post": {
600
+ "tags": [
601
+ "ManagedClusters"
602
+ ],
603
+ "operationId": "managedClustersGetAccessProfile",
604
+ "description": "The parameters and request body are for method: managedClustersGetAccessProfile. Same endpoint also used in methods:",
605
+ "responses": {
606
+ "200": {
607
+ "description": "Successful operation",
608
+ "content": {
609
+ "application/json": {
610
+ "schema": {
611
+ "type": "object",
612
+ "properties": {
613
+ "id": {
614
+ "type": "string"
615
+ },
616
+ "location": {
617
+ "type": "string"
618
+ },
619
+ "name": {
620
+ "type": "string"
621
+ },
622
+ "tags": {
623
+ "type": "object"
624
+ },
625
+ "type": {
626
+ "type": "string"
627
+ },
628
+ "properties": {
629
+ "type": "object"
630
+ }
631
+ }
632
+ },
633
+ "example": {
634
+ "id": "string",
635
+ "location": "string",
636
+ "name": "string",
637
+ "tags": {},
638
+ "type": "string",
639
+ "properties": null
640
+ }
641
+ }
642
+ }
643
+ }
644
+ },
645
+ "parameters": [
646
+ {
647
+ "name": "apiVersion",
648
+ "in": "query",
649
+ "required": true,
650
+ "schema": {
651
+ "type": "string"
652
+ }
653
+ }
654
+ ],
655
+ "requestBody": {
656
+ "content": {
657
+ "application/json": {
658
+ "schema": {
659
+ "type": "object"
660
+ },
661
+ "example": {}
662
+ }
663
+ }
664
+ }
665
+ }
666
+ },
667
+ "/subscriptions/{pathv1}/resourceGroups/{pathv2}/providers/Microsoft.ContainerService/managedClusters/{pathv3}/listClusterAdminCredential": {
668
+ "post": {
669
+ "tags": [
670
+ "ManagedClusters"
671
+ ],
672
+ "operationId": "managedClustersListClusterAdminCredentials",
673
+ "description": "The parameters and request body are for method: managedClustersListClusterAdminCredentials. Same endpoint also used in methods:",
674
+ "responses": {
675
+ "200": {
676
+ "description": "Successful operation",
677
+ "content": {
678
+ "application/json": {
679
+ "schema": {
680
+ "type": "object",
681
+ "properties": {
682
+ "kubeconfigs": {
683
+ "type": "array",
684
+ "items": {
685
+ "type": "object",
686
+ "properties": {
687
+ "name": {
688
+ "type": "string"
689
+ },
690
+ "value": {
691
+ "type": "string"
692
+ }
693
+ }
694
+ }
695
+ }
696
+ }
697
+ },
698
+ "example": {
699
+ "kubeconfigs": [
700
+ {
701
+ "name": "string",
702
+ "value": "string"
703
+ },
704
+ {
705
+ "name": "string",
706
+ "value": "string"
707
+ }
708
+ ]
709
+ }
710
+ }
711
+ }
712
+ }
713
+ },
714
+ "parameters": [
715
+ {
716
+ "name": "apiVersion",
717
+ "in": "query",
718
+ "required": true,
719
+ "schema": {
720
+ "type": "string"
721
+ }
722
+ }
723
+ ],
724
+ "requestBody": {
725
+ "content": {
726
+ "application/json": {
727
+ "schema": {
728
+ "type": "object"
729
+ },
730
+ "example": {}
731
+ }
732
+ }
733
+ }
734
+ }
735
+ },
736
+ "/subscriptions/{pathv1}/resourceGroups/{pathv2}/providers/Microsoft.ContainerService/managedClusters/{pathv3}/listClusterMonitoringUserCredential": {
737
+ "post": {
738
+ "tags": [
739
+ "ManagedClusters"
740
+ ],
741
+ "operationId": "managedClustersListClusterMonitoringUserCredentials",
742
+ "description": "The parameters and request body are for method: managedClustersListClusterMonitoringUserCredentials. Same endpoint also used in methods:",
743
+ "responses": {
744
+ "200": {
745
+ "description": "Successful operation",
746
+ "content": {
747
+ "application/json": {
748
+ "schema": {
749
+ "type": "object",
750
+ "properties": {
751
+ "kubeconfigs": {
752
+ "type": "array",
753
+ "items": {
754
+ "type": "object",
755
+ "properties": {
756
+ "name": {
757
+ "type": "string"
758
+ },
759
+ "value": {
760
+ "type": "string"
761
+ }
762
+ }
763
+ }
764
+ }
765
+ }
766
+ },
767
+ "example": {
768
+ "kubeconfigs": [
769
+ {
770
+ "name": "string",
771
+ "value": "string"
772
+ },
773
+ {
774
+ "name": "string",
775
+ "value": "string"
776
+ },
777
+ {
778
+ "name": "string",
779
+ "value": "string"
780
+ },
781
+ {
782
+ "name": "string",
783
+ "value": "string"
784
+ },
785
+ {
786
+ "name": "string",
787
+ "value": "string"
788
+ },
789
+ {
790
+ "name": "string",
791
+ "value": "string"
792
+ },
793
+ {
794
+ "name": "string",
795
+ "value": "string"
796
+ },
797
+ {
798
+ "name": "string",
799
+ "value": "string"
800
+ },
801
+ {
802
+ "name": "string",
803
+ "value": "string"
804
+ },
805
+ {
806
+ "name": "string",
807
+ "value": "string"
808
+ }
809
+ ]
810
+ }
811
+ }
812
+ }
813
+ }
814
+ },
815
+ "parameters": [
816
+ {
817
+ "name": "apiVersion",
818
+ "in": "query",
819
+ "required": true,
820
+ "schema": {
821
+ "type": "string"
822
+ }
823
+ }
824
+ ],
825
+ "requestBody": {
826
+ "content": {
827
+ "application/json": {
828
+ "schema": {
829
+ "type": "object"
830
+ },
831
+ "example": {}
832
+ }
833
+ }
834
+ }
835
+ }
836
+ },
837
+ "/subscriptions/{pathv1}/resourceGroups/{pathv2}/providers/Microsoft.ContainerService/managedClusters/{pathv3}/listClusterUserCredential": {
838
+ "post": {
839
+ "tags": [
840
+ "ManagedClusters"
841
+ ],
842
+ "operationId": "managedClustersListClusterUserCredentials",
843
+ "description": "The parameters and request body are for method: managedClustersListClusterUserCredentials. Same endpoint also used in methods:",
844
+ "responses": {
845
+ "200": {
846
+ "description": "Successful operation",
847
+ "content": {
848
+ "application/json": {
849
+ "schema": {
850
+ "type": "object",
851
+ "properties": {
852
+ "kubeconfigs": {
853
+ "type": "array",
854
+ "items": {
855
+ "type": "object",
856
+ "properties": {
857
+ "name": {
858
+ "type": "string"
859
+ },
860
+ "value": {
861
+ "type": "string"
862
+ }
863
+ }
864
+ }
865
+ }
866
+ }
867
+ },
868
+ "example": {
869
+ "kubeconfigs": [
870
+ {
871
+ "name": "string",
872
+ "value": "string"
873
+ },
874
+ {
875
+ "name": "string",
876
+ "value": "string"
877
+ },
878
+ {
879
+ "name": "string",
880
+ "value": "string"
881
+ },
882
+ {
883
+ "name": "string",
884
+ "value": "string"
885
+ },
886
+ {
887
+ "name": "string",
888
+ "value": "string"
889
+ },
890
+ {
891
+ "name": "string",
892
+ "value": "string"
893
+ }
894
+ ]
895
+ }
896
+ }
897
+ }
898
+ }
899
+ },
900
+ "parameters": [
901
+ {
902
+ "name": "apiVersion",
903
+ "in": "query",
904
+ "required": true,
905
+ "schema": {
906
+ "type": "string"
907
+ }
908
+ }
909
+ ],
910
+ "requestBody": {
911
+ "content": {
912
+ "application/json": {
913
+ "schema": {
914
+ "type": "object"
915
+ },
916
+ "example": {}
917
+ }
918
+ }
919
+ }
920
+ }
921
+ },
922
+ "/subscriptions/{pathv1}/resourceGroups/{pathv2}/providers/Microsoft.ContainerService/managedClusters/{pathv3}/resetAADProfile": {
923
+ "post": {
924
+ "tags": [
925
+ "ManagedClusters"
926
+ ],
927
+ "operationId": "managedClustersResetAADProfile",
928
+ "description": "The parameters and request body are for method: managedClustersResetAADProfile. Same endpoint also used in methods:",
929
+ "responses": {
930
+ "200": {
931
+ "description": "Successful operation",
932
+ "content": {
933
+ "application/json": {
934
+ "schema": {
935
+ "title": "result",
936
+ "type": "object"
937
+ }
938
+ }
939
+ }
940
+ }
941
+ },
942
+ "parameters": [
943
+ {
944
+ "name": "apiVersion",
945
+ "in": "query",
946
+ "required": true,
947
+ "schema": {
948
+ "type": "string"
949
+ }
950
+ }
951
+ ],
952
+ "requestBody": {
953
+ "content": {
954
+ "application/json": {
955
+ "schema": {
956
+ "type": "string"
957
+ },
958
+ "example": "parameters"
959
+ }
960
+ }
961
+ }
962
+ }
963
+ },
964
+ "/subscriptions/{pathv1}/resourceGroups/{pathv2}/providers/Microsoft.ContainerService/managedClusters/{pathv3}/resetServicePrincipalProfile": {
965
+ "post": {
966
+ "tags": [
967
+ "ManagedClusters"
968
+ ],
969
+ "operationId": "managedClustersResetServicePrincipalProfile",
970
+ "description": "The parameters and request body are for method: managedClustersResetServicePrincipalProfile. Same endpoint also used in methods:",
971
+ "responses": {
972
+ "200": {
973
+ "description": "Successful operation",
974
+ "content": {
975
+ "application/json": {
976
+ "schema": {
977
+ "title": "result",
978
+ "type": "object"
979
+ }
980
+ }
981
+ }
982
+ }
983
+ },
984
+ "parameters": [
985
+ {
986
+ "name": "apiVersion",
987
+ "in": "query",
988
+ "required": true,
989
+ "schema": {
990
+ "type": "string"
991
+ }
992
+ }
993
+ ],
994
+ "requestBody": {
995
+ "content": {
996
+ "application/json": {
997
+ "schema": {
998
+ "type": "string"
999
+ },
1000
+ "example": "parameters"
1001
+ }
1002
+ }
1003
+ }
1004
+ }
1005
+ },
1006
+ "/subscriptions/{pathv1}/resourceGroups/{pathv2}/providers/Microsoft.ContainerService/managedClusters/{pathv3}/rotateClusterCertificates": {
1007
+ "post": {
1008
+ "tags": [
1009
+ "ManagedClusters"
1010
+ ],
1011
+ "operationId": "managedClustersRotateClusterCertificates",
1012
+ "description": "The parameters and request body are for method: managedClustersRotateClusterCertificates. Same endpoint also used in methods:",
1013
+ "responses": {
1014
+ "200": {
1015
+ "description": "Successful operation",
1016
+ "content": {
1017
+ "application/json": {
1018
+ "schema": {
1019
+ "title": "result",
1020
+ "type": "object"
1021
+ }
1022
+ }
1023
+ }
1024
+ }
1025
+ },
1026
+ "parameters": [
1027
+ {
1028
+ "name": "apiVersion",
1029
+ "in": "query",
1030
+ "required": true,
1031
+ "schema": {
1032
+ "type": "string"
1033
+ }
1034
+ }
1035
+ ],
1036
+ "requestBody": {
1037
+ "content": {
1038
+ "application/json": {
1039
+ "schema": {
1040
+ "type": "object"
1041
+ },
1042
+ "example": {}
1043
+ }
1044
+ }
1045
+ }
1046
+ }
1047
+ },
1048
+ "/subscriptions/{pathv1}/resourceGroups/{pathv2}/providers/Microsoft.ContainerService/managedClusters/{pathv3}/upgradeProfiles/default": {
1049
+ "get": {
1050
+ "tags": [
1051
+ "ManagedClusters"
1052
+ ],
1053
+ "operationId": "managedClustersGetUpgradeProfile",
1054
+ "description": "The parameters and request body are for method: managedClustersGetUpgradeProfile. Same endpoint also used in methods:",
1055
+ "responses": {
1056
+ "200": {
1057
+ "description": "Successful operation",
1058
+ "content": {
1059
+ "application/json": {
1060
+ "schema": {
1061
+ "type": "object",
1062
+ "properties": {
1063
+ "id": {
1064
+ "type": "string"
1065
+ },
1066
+ "name": {
1067
+ "type": "string"
1068
+ },
1069
+ "properties": {
1070
+ "type": "object"
1071
+ },
1072
+ "type": {
1073
+ "type": "string"
1074
+ }
1075
+ }
1076
+ },
1077
+ "example": {
1078
+ "id": "string",
1079
+ "name": "string",
1080
+ "properties": null,
1081
+ "type": "string"
1082
+ }
1083
+ }
1084
+ }
1085
+ }
1086
+ },
1087
+ "parameters": [
1088
+ {
1089
+ "name": "apiVersion",
1090
+ "in": "query",
1091
+ "required": true,
1092
+ "schema": {
1093
+ "type": "string"
1094
+ }
1095
+ }
1096
+ ],
1097
+ "requestBody": {
1098
+ "content": {
1099
+ "application/json": {
1100
+ "schema": {
1101
+ "type": "object"
1102
+ },
1103
+ "example": {}
1104
+ }
1105
+ }
1106
+ }
1107
+ }
1108
+ },
1109
+ "/subscriptions/{pathv1}/resourceGroups/{pathv2}/providers/Microsoft.ContainerService/managedClusters/{pathv3}/agentPools": {
1110
+ "get": {
1111
+ "tags": [
1112
+ "AgentPools"
1113
+ ],
1114
+ "operationId": "agentPoolsList",
1115
+ "description": "The parameters and request body are for method: agentPoolsList. Same endpoint also used in methods:",
1116
+ "responses": {
1117
+ "200": {
1118
+ "description": "Successful operation",
1119
+ "content": {
1120
+ "application/json": {
1121
+ "schema": {
1122
+ "type": "object",
1123
+ "properties": {
1124
+ "nextLink": {
1125
+ "type": "string"
1126
+ },
1127
+ "value": {
1128
+ "type": "array",
1129
+ "items": {
1130
+ "type": "object",
1131
+ "properties": {
1132
+ "id": {
1133
+ "type": "string"
1134
+ },
1135
+ "name": {
1136
+ "type": "string"
1137
+ },
1138
+ "type": {
1139
+ "type": "string"
1140
+ },
1141
+ "properties": {
1142
+ "type": "object"
1143
+ }
1144
+ }
1145
+ }
1146
+ }
1147
+ }
1148
+ },
1149
+ "example": {
1150
+ "nextLink": "string",
1151
+ "value": [
1152
+ {
1153
+ "id": "string",
1154
+ "name": "string",
1155
+ "type": "string",
1156
+ "properties": null
1157
+ },
1158
+ {
1159
+ "id": "string",
1160
+ "name": "string",
1161
+ "type": "string",
1162
+ "properties": null
1163
+ },
1164
+ {
1165
+ "id": "string",
1166
+ "name": "string",
1167
+ "type": "string",
1168
+ "properties": null
1169
+ },
1170
+ {
1171
+ "id": "string",
1172
+ "name": "string",
1173
+ "type": "string",
1174
+ "properties": null
1175
+ },
1176
+ {
1177
+ "id": "string",
1178
+ "name": "string",
1179
+ "type": "string",
1180
+ "properties": null
1181
+ },
1182
+ {
1183
+ "id": "string",
1184
+ "name": "string",
1185
+ "type": "string",
1186
+ "properties": null
1187
+ }
1188
+ ]
1189
+ }
1190
+ }
1191
+ }
1192
+ }
1193
+ },
1194
+ "parameters": [
1195
+ {
1196
+ "name": "apiVersion",
1197
+ "in": "query",
1198
+ "required": true,
1199
+ "schema": {
1200
+ "type": "string"
1201
+ }
1202
+ }
1203
+ ],
1204
+ "requestBody": {
1205
+ "content": {
1206
+ "application/json": {
1207
+ "schema": {
1208
+ "type": "object"
1209
+ },
1210
+ "example": {}
1211
+ }
1212
+ }
1213
+ }
1214
+ }
1215
+ },
1216
+ "/subscriptions/{pathv1}/resourceGroups/{pathv2}/providers/Microsoft.ContainerService/managedClusters/{pathv3}/agentPools/{pathv4}": {
1217
+ "delete": {
1218
+ "tags": [
1219
+ "AgentPools"
1220
+ ],
1221
+ "operationId": "agentPoolsDelete",
1222
+ "description": "The parameters and request body are for method: agentPoolsDelete. Same endpoint also used in methods:",
1223
+ "responses": {
1224
+ "200": {
1225
+ "description": "Successful operation",
1226
+ "content": {
1227
+ "application/json": {
1228
+ "schema": {
1229
+ "title": "result",
1230
+ "type": "object"
1231
+ }
1232
+ }
1233
+ }
1234
+ }
1235
+ },
1236
+ "parameters": [
1237
+ {
1238
+ "name": "apiVersion",
1239
+ "in": "query",
1240
+ "required": true,
1241
+ "schema": {
1242
+ "type": "string"
1243
+ }
1244
+ }
1245
+ ],
1246
+ "requestBody": {
1247
+ "content": {
1248
+ "application/json": {
1249
+ "schema": {
1250
+ "type": "object"
1251
+ },
1252
+ "example": {}
1253
+ }
1254
+ }
1255
+ }
1256
+ },
1257
+ "get": {
1258
+ "tags": [
1259
+ "AgentPools"
1260
+ ],
1261
+ "operationId": "agentPoolsGet",
1262
+ "description": "The parameters and request body are for method: agentPoolsGet. Same endpoint also used in methods:",
1263
+ "responses": {
1264
+ "200": {
1265
+ "description": "Successful operation",
1266
+ "content": {
1267
+ "application/json": {
1268
+ "schema": {
1269
+ "type": "object",
1270
+ "properties": {
1271
+ "id": {
1272
+ "type": "string"
1273
+ },
1274
+ "name": {
1275
+ "type": "string"
1276
+ },
1277
+ "type": {
1278
+ "type": "string"
1279
+ },
1280
+ "properties": {
1281
+ "type": "object"
1282
+ }
1283
+ }
1284
+ },
1285
+ "example": {
1286
+ "id": "string",
1287
+ "name": "string",
1288
+ "type": "string",
1289
+ "properties": null
1290
+ }
1291
+ }
1292
+ }
1293
+ }
1294
+ },
1295
+ "parameters": [
1296
+ {
1297
+ "name": "apiVersion",
1298
+ "in": "query",
1299
+ "required": true,
1300
+ "schema": {
1301
+ "type": "string"
1302
+ }
1303
+ }
1304
+ ],
1305
+ "requestBody": {
1306
+ "content": {
1307
+ "application/json": {
1308
+ "schema": {
1309
+ "type": "object"
1310
+ },
1311
+ "example": {}
1312
+ }
1313
+ }
1314
+ }
1315
+ },
1316
+ "put": {
1317
+ "tags": [
1318
+ "AgentPools"
1319
+ ],
1320
+ "operationId": "agentPoolsCreateOrUpdate",
1321
+ "description": "The parameters and request body are for method: agentPoolsCreateOrUpdate. Same endpoint also used in methods:",
1322
+ "responses": {
1323
+ "200": {
1324
+ "description": "Successful operation",
1325
+ "content": {
1326
+ "application/json": {
1327
+ "schema": {
1328
+ "type": "object",
1329
+ "properties": {
1330
+ "id": {
1331
+ "type": "string"
1332
+ },
1333
+ "name": {
1334
+ "type": "string"
1335
+ },
1336
+ "type": {
1337
+ "type": "string"
1338
+ },
1339
+ "properties": {
1340
+ "type": "object"
1341
+ }
1342
+ }
1343
+ },
1344
+ "example": {
1345
+ "id": "string",
1346
+ "name": "string",
1347
+ "type": "string",
1348
+ "properties": null
1349
+ }
1350
+ }
1351
+ }
1352
+ }
1353
+ },
1354
+ "parameters": [
1355
+ {
1356
+ "name": "apiVersion",
1357
+ "in": "query",
1358
+ "required": true,
1359
+ "schema": {
1360
+ "type": "string"
1361
+ }
1362
+ }
1363
+ ],
1364
+ "requestBody": {
1365
+ "content": {
1366
+ "application/json": {
1367
+ "schema": {
1368
+ "type": "string"
1369
+ },
1370
+ "example": "parameters"
1371
+ }
1372
+ }
1373
+ }
1374
+ }
1375
+ },
1376
+ "/subscriptions/{pathv1}/resourceGroups/{pathv2}/providers/Microsoft.ContainerService/managedClusters/{pathv3}/agentPools/{pathv4}/upgradeProfiles/default": {
1377
+ "get": {
1378
+ "tags": [
1379
+ "AgentPools"
1380
+ ],
1381
+ "operationId": "agentPoolsGetUpgradeProfile",
1382
+ "description": "The parameters and request body are for method: agentPoolsGetUpgradeProfile. Same endpoint also used in methods:",
1383
+ "responses": {
1384
+ "200": {
1385
+ "description": "Successful operation",
1386
+ "content": {
1387
+ "application/json": {
1388
+ "schema": {
1389
+ "type": "object",
1390
+ "properties": {
1391
+ "id": {
1392
+ "type": "string"
1393
+ },
1394
+ "name": {
1395
+ "type": "string"
1396
+ },
1397
+ "properties": {
1398
+ "type": "object"
1399
+ },
1400
+ "type": {
1401
+ "type": "string"
1402
+ }
1403
+ }
1404
+ },
1405
+ "example": {
1406
+ "id": "string",
1407
+ "name": "string",
1408
+ "properties": null,
1409
+ "type": "string"
1410
+ }
1411
+ }
1412
+ }
1413
+ }
1414
+ },
1415
+ "parameters": [
1416
+ {
1417
+ "name": "apiVersion",
1418
+ "in": "query",
1419
+ "required": true,
1420
+ "schema": {
1421
+ "type": "string"
1422
+ }
1423
+ }
1424
+ ],
1425
+ "requestBody": {
1426
+ "content": {
1427
+ "application/json": {
1428
+ "schema": {
1429
+ "type": "object"
1430
+ },
1431
+ "example": {}
1432
+ }
1433
+ }
1434
+ }
1435
+ }
1436
+ },
1437
+ "/subscriptions/{pathv1}/resourceGroups/{pathv2}/providers/Microsoft.ContainerService/managedClusters/{pathv3}/availableAgentPoolVersions": {
1438
+ "get": {
1439
+ "tags": [
1440
+ "AgentPools"
1441
+ ],
1442
+ "operationId": "agentPoolsGetAvailableAgentPoolVersions",
1443
+ "description": "The parameters and request body are for method: agentPoolsGetAvailableAgentPoolVersions. Same endpoint also used in methods:",
1444
+ "responses": {
1445
+ "200": {
1446
+ "description": "Successful operation",
1447
+ "content": {
1448
+ "application/json": {
1449
+ "schema": {
1450
+ "type": "object",
1451
+ "properties": {
1452
+ "id": {
1453
+ "type": "string"
1454
+ },
1455
+ "name": {
1456
+ "type": "string"
1457
+ },
1458
+ "properties": {
1459
+ "type": "object"
1460
+ },
1461
+ "type": {
1462
+ "type": "string"
1463
+ }
1464
+ }
1465
+ },
1466
+ "example": {
1467
+ "id": "string",
1468
+ "name": "string",
1469
+ "properties": null,
1470
+ "type": "string"
1471
+ }
1472
+ }
1473
+ }
1474
+ }
1475
+ },
1476
+ "parameters": [
1477
+ {
1478
+ "name": "apiVersion",
1479
+ "in": "query",
1480
+ "required": true,
1481
+ "schema": {
1482
+ "type": "string"
1483
+ }
1484
+ }
1485
+ ],
1486
+ "requestBody": {
1487
+ "content": {
1488
+ "application/json": {
1489
+ "schema": {
1490
+ "type": "object"
1491
+ },
1492
+ "example": {}
1493
+ }
1494
+ }
1495
+ }
1496
+ }
1497
+ }
1498
+ },
1499
+ "components": {
1500
+ "schemas": {}
1501
+ }
1502
+ }