-
Notifications
You must be signed in to change notification settings - Fork 5.2k
/
help.json
1929 lines (1929 loc) · 59.9 KB
/
help.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"swagger": "2.0",
"info": {
"title": "HelpRP",
"description": "Help RP provider",
"version": "2023-09-01-preview"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {
"/providers/Microsoft.Help/operations": {
"get": {
"tags": [
"operations"
],
"description": "Returns list of operations.",
"operationId": "Operations_List",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Operation details.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"deprecated": false,
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"List All Operations": {
"$ref": "./examples/ListOperations.json"
}
}
}
},
"/{scope}/providers/Microsoft.Help/checkNameAvailability": {
"post": {
"tags": [
"checkNameAvailability"
],
"description": "This API is used to check the uniqueness of a resource name used for a diagnostic, troubleshooter or solutions",
"operationId": "CheckNameAvailability_Post",
"parameters": [
{
"$ref": "#/parameters/ScopeParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"in": "body",
"name": "CheckNameAvailabilityRequest",
"description": "The required parameters for availability check.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/CheckNameAvailabilityRequest"
}
}
],
"responses": {
"200": {
"description": "Response for the availability of the requested resource name.",
"schema": {
"$ref": "#/definitions/CheckNameAvailabilityResponse"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Example when name is available for a Diagnostic resource": {
"$ref": "./examples/CheckNameAvailabilityForDiagnosticWhenNameIsAvailable.json"
},
"Example when name is not available for a Diagnostic resource": {
"$ref": "./examples/CheckNameAvailabilityForDiagnosticWhenNameIsNotAvailable.json"
}
}
}
},
"/{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}": {
"put": {
"tags": [
"diagnostics"
],
"description": "Creates a diagnostic for the specific resource using solutionId and requiredInputs* from discovery solutions. <br/>Diagnostics are powerful solutions that access product resources or other relevant data and provide the root cause of the issue and the steps to address the issue.<br/><br/> <b>Note: </b> ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics API.",
"operationId": "Diagnostics_Create",
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
},
"parameters": [
{
"$ref": "#/parameters/ScopeParameter"
},
{
"$ref": "#/parameters/DiagnosticsResourceNameParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"in": "body",
"name": "diagnosticResourceRequest",
"description": "The required request body for this insightResource invocation.",
"schema": {
"$ref": "#/definitions/DiagnosticResource"
}
}
],
"responses": {
"201": {
"description": "Create or Update diagnostics successfully.",
"schema": {
"$ref": "#/definitions/DiagnosticResource"
}
},
"200": {
"description": "Create or Update diagnostics successfully.",
"schema": {
"$ref": "#/definitions/DiagnosticResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Creates a Diagnostic for a KeyVault resource": {
"$ref": "./examples/CreateDiagnosticForKeyVaultResource.json"
}
}
},
"get": {
"tags": [
"diagnostics"
],
"description": "Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.",
"operationId": "Diagnostics_Get",
"parameters": [
{
"$ref": "#/parameters/ScopeParameter"
},
{
"$ref": "#/parameters/DiagnosticsResourceNameParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Successful fetched insight diagnostic (may contain errors).",
"schema": {
"$ref": "#/definitions/DiagnosticResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Gets a Diagnostic for a KeyVault resource": {
"$ref": "./examples/GetDiagnosticForKeyVaultResource.json"
}
}
}
},
"/{scope}/providers/Microsoft.Help/discoverySolutions": {
"get": {
"tags": [
"discoverySolutions"
],
"description": "Lists the relevant Azure diagnostics and solutions using [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API, which identifies relevant Azure diagnostics and solutions. <br/><br/> Required Input : problemClassificationId (Use the [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics and Solutions API.",
"operationId": "DiscoverySolution_List",
"parameters": [
{
"$ref": "#/parameters/ScopeParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/FilterParameter"
},
{
"$ref": "#/parameters/SkipTokenParameter"
}
],
"responses": {
"200": {
"description": "Successful fetched list of solution metadata.",
"schema": {
"$ref": "#/definitions/DiscoveryResponse"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"List DiscoverySolutions at resource scope": {
"$ref": "./examples/ListDiscoverySolutionsAtResourceScope.json"
},
"List DiscoverySolutions at subscription scope": {
"$ref": "./examples/ListDiscoverySolutionsAtSubscriptionScope.json"
}
}
}
},
"/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}": {
"put": {
"tags": [
"solutions"
],
"description": "Creates a solution for the specific Azure resource or subscription using the inputs ‘solutionId and requiredInputs’ from discovery solutions. <br/> Azure solutions comprise a comprehensive library of self-help resources that have been thoughtfully curated by Azure engineers to aid customers in resolving typical troubleshooting issues. These solutions encompass (1.) dynamic and context-aware diagnostics, guided troubleshooting wizards, and data visualizations, (2.) rich instructional video tutorials and illustrative diagrams and images, and (3.) thoughtfully assembled textual troubleshooting instructions. All these components are seamlessly converged into unified solutions tailored to address a specific support problem area. Each solution type may require one or more ‘requiredParameters’ that are required to execute the individual solution component. In the absence of the ‘requiredParameters’ it is likely that some of the solutions might fail execution, and you might see an empty response. <br/><br/> <b>Note:</b> <br/>1. ‘requiredInputs’ from Discovery solutions response must be passed via ‘parameters’ in the request body of Solutions API. <br/>2. ‘requiredParameters’ from the Solutions response is the same as ‘ additionalParameters’ in the request for diagnostics <br/>3. ‘requiredParameters’ from the Solutions response is the same as ‘properties.parameters’ in the request for Troubleshooters",
"operationId": "Solution_Create",
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
},
"parameters": [
{
"$ref": "#/parameters/ScopeParameter"
},
{
"$ref": "#/parameters/SolutionResourceNameParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"name": "solutionRequestBody",
"description": "The required request body for this solution resource creation.",
"in": "body",
"schema": {
"$ref": "#/definitions/SolutionResource"
}
}
],
"responses": {
"201": {
"description": "Create or Update solution invocation.",
"schema": {
"$ref": "#/definitions/SolutionResource"
}
},
"200": {
"description": "Create or Update solution invocation.",
"schema": {
"$ref": "#/definitions/SolutionResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Solution_Create": {
"$ref": "./examples/Solution_Create.json"
}
}
},
"get": {
"tags": [
"solutions"
],
"description": "Get the solution using the applicable solutionResourceName while creating the solution.",
"operationId": "Solution_Get",
"parameters": [
{
"$ref": "#/parameters/ScopeParameter"
},
{
"$ref": "#/parameters/SolutionResourceNameParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Successful fetched solution result.",
"schema": {
"$ref": "#/definitions/SolutionResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Solution_Get": {
"$ref": "./examples/Solution_Get.json"
}
}
},
"patch": {
"tags": [
"solutions"
],
"description": "Update the requiredInputs or additional information needed to execute the solution ",
"operationId": "Solution_Update",
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
},
"parameters": [
{
"$ref": "#/parameters/ScopeParameter"
},
{
"$ref": "#/parameters/SolutionResourceNameParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"name": "solutionPatchRequestBody",
"description": "The required request body for updating a solution resource.",
"in": "body",
"schema": {
"$ref": "#/definitions/SolutionPatchRequestBody"
}
}
],
"responses": {
"202": {
"description": "Successful updated solution resource.",
"headers": {
"Location": {
"type": "string"
}
},
"schema": {
"$ref": "#/definitions/SolutionResource"
}
},
"200": {
"description": "Successful updated solution resource.",
"headers": {
"Location": {
"type": "string"
}
},
"schema": {
"$ref": "#/definitions/SolutionResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Solution_Update": {
"$ref": "./examples/Solution_Update.json"
}
}
}
},
"/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}": {
"put": {
"tags": [
"troubleshooter"
],
"description": "Creates the specific troubleshooter action under a resource or subscription using the ‘solutionId’ and ‘properties.parameters’ as the trigger. <br/> Azure Troubleshooters help with hard to classify issues, reducing the gap between customer observed problems and solutions by guiding the user effortlessly through the troubleshooting process. Each Troubleshooter flow represents a problem area within Azure and has a complex tree-like structure that addresses many root causes. These flows are prepared with the help of Subject Matter experts and customer support engineers by carefully considering previous support requests raised by customers. Troubleshooters terminate at a well curated solution based off of resource backend signals and customer manual selections.",
"operationId": "Troubleshooters_Create",
"parameters": [
{
"$ref": "#/parameters/ScopeParameter"
},
{
"$ref": "#/parameters/TroubleshooterNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
"name": "createTroubleshooterRequestBody",
"description": "The required request body for this Troubleshooter resource creation.",
"in": "body",
"schema": {
"$ref": "#/definitions/TroubleshooterResource"
}
}
],
"responses": {
"201": {
"description": "Successful Troubleshooter create invocation.",
"schema": {
"$ref": "#/definitions/TroubleshooterResource"
}
},
"200": {
"description": "Successful Troubleshooter update invocation.",
"schema": {
"$ref": "#/definitions/TroubleshooterResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Troubleshooters_Create": {
"$ref": "./examples/Troubleshooter_Create.json"
}
}
},
"get": {
"tags": [
"troubleshooter"
],
"description": "Gets troubleshooter instance result which includes the step status/result of the troubleshooter resource name that is being executed.<br/> Get API is used to retrieve the result of a Troubleshooter instance, which includes the status and result of each step in the Troubleshooter workflow. This API requires the Troubleshooter resource name that was created using the Create API.",
"operationId": "Troubleshooters_Get",
"parameters": [
{
"$ref": "#/parameters/ScopeParameter"
},
{
"$ref": "#/parameters/TroubleshooterNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Successful fetched Troubleshooter instance.",
"schema": {
"$ref": "#/definitions/TroubleshooterResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Troubleshooters_Get": {
"$ref": "./examples/Troubleshooter_Get.json"
}
}
}
},
"/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/continue": {
"post": {
"tags": [
"troubleshooter"
],
"description": "Uses ‘stepId’ and ‘responses’ as the trigger to continue the troubleshooting steps for the respective troubleshooter resource name. <br/>Continue API is used to provide inputs that are required for the specific troubleshooter to progress into the next step in the process. This API is used after the Troubleshooter has been created using the Create API.",
"operationId": "Troubleshooters_Continue",
"parameters": [
{
"$ref": "#/parameters/ScopeParameter"
},
{
"$ref": "#/parameters/TroubleshooterNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
"name": "continueRequestBody",
"description": "The required request body for going to next step in Troubleshooter resource.",
"in": "body",
"schema": {
"$ref": "#/definitions/ContinueRequestBody"
}
}
],
"responses": {
"204": {
"description": "Successfully Continued to next step",
"headers": {
"Location": {
"type": "string"
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Troubleshooter_Continue": {
"$ref": "./examples/Troubleshooter_Continue.json"
}
}
}
},
"/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/end": {
"post": {
"tags": [
"troubleshooter"
],
"description": "Ends the troubleshooter action",
"operationId": "Troubleshooters_End",
"parameters": [
{
"$ref": "#/parameters/ScopeParameter"
},
{
"$ref": "#/parameters/TroubleshooterNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"204": {
"description": "Successfully ended the Troubleshooter instance",
"headers": {
"Location": {
"type": "string"
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Troubleshooters_End": {
"$ref": "./examples/Troubleshooter_End.json"
}
}
}
},
"/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/restart": {
"post": {
"tags": [
"troubleshooter"
],
"description": "Restarts the troubleshooter API using applicable troubleshooter resource name as the input.<br/> It returns new resource name which should be used in subsequent request. The old resource name is obsolete after this API is invoked.",
"operationId": "Troubleshooters_Restart",
"parameters": [
{
"$ref": "#/parameters/ScopeParameter"
},
{
"$ref": "#/parameters/TroubleshooterNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Successfully restarted troubleshooter instance.",
"headers": {
"Location": {
"type": "string"
}
},
"schema": {
"$ref": "#/definitions/RestartTroubleshooterResponse"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Troubleshooters_Restart": {
"$ref": "./examples/Troubleshooter_Restart.json"
}
}
}
}
},
"definitions": {
"CheckNameAvailabilityResponse": {
"description": "Response for whether the requested resource name is available or not.",
"type": "object",
"properties": {
"nameAvailable": {
"description": "Returns true or false depending on the availability of the name",
"type": "boolean"
},
"reason": {
"description": "Reason for why value is not available. This field is returned if nameAvailable is false.",
"type": "string"
},
"message": {
"description": "Gets an error message explaining the 'reason' value with more details. This field is returned iif nameAvailable is false.",
"type": "string"
}
}
},
"DiagnosticInvocation": {
"description": "Solution Invocation with additional params needed for invocation.",
"type": "object",
"properties": {
"solutionId": {
"description": "Solution Id to invoke.",
"type": "string"
},
"additionalParameters": {
"description": "Additional parameters required to invoke the solutionId.",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"DiagnosticResource": {
"description": "Diagnostic resource",
"type": "object",
"x-ms-azure-resource": true,
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/DiagnosticResourceProperties",
"description": "Diagnostic Resource properties."
}
},
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
}
]
},
"DiagnosticResourceProperties": {
"description": "Diagnostic resource properties.",
"type": "object",
"properties": {
"globalParameters": {
"description": "Global parameters is an optional map which can be used to add key and value to request body to improve the diagnostics results",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"insights": {
"description": "SolutionIds that are needed to be invoked.",
"type": "array",
"items": {
"$ref": "#/definitions/DiagnosticInvocation"
},
"x-ms-identifiers": [
"solutionId"
]
},
"acceptedAt": {
"description": "Diagnostic Request Accepted time.",
"type": "string",
"readOnly": true
},
"provisioningState": {
"description": "Status of diagnostic provisioning.",
"type": "string",
"readOnly": true,
"enum": [
"Succeeded",
"PartialComplete",
"Failed",
"Running",
"Canceled"
],
"x-ms-enum": {
"name": "DiagnosticProvisioningState",
"modelAsString": true,
"values": [
{
"value": "Succeeded",
"description": "All Diagnostics in the Batch succeeded."
},
{
"value": "PartialComplete",
"description": "Some Diagnostics are still running or failed."
},
{
"value": "Failed",
"description": "All Diagnostics failed to run."
},
{
"value": "Running",
"description": "All Diagnostics are still running."
},
{
"value": "Canceled",
"description": "When Diagnostic request gets canceled."
}
]
}
},
"diagnostics": {
"description": "Array of Diagnostics.",
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/Diagnostic"
},
"x-ms-identifiers": [
"solutionId"
]
}
}
},
"Diagnostic": {
"description": "Properties returned with in an insight.",
"type": "object",
"properties": {
"solutionId": {
"description": "Solution Id",
"type": "string"
},
"status": {
"$ref": "#/definitions/DiagnosticStatus"
},
"insights": {
"description": "The problems (if any) detected by this insight.",
"type": "array",
"items": {
"$ref": "#/definitions/Insight"
},
"x-ms-identifiers": []
},
"error": {
"$ref": "#/definitions/Error"
}
}
},
"DiagnosticStatus": {
"description": "Denotes the status of the diagnostic resource.",
"type": "string",
"enum": [
"Failed",
"MissingInputs",
"Running",
"Succeeded",
"Timeout"
],
"x-ms-enum": {
"name": "Status",
"modelAsString": true,
"values": [
{
"value": "Failed",
"description": "Diagnostic creation failed."
},
{
"value": "MissingInputs",
"description": "Request is missing required inputs to run."
},
{
"value": "Running",
"description": "Diagnostic is still running."
},
{
"value": "Succeeded",
"description": "Diagnostic creation succeeded."
},
{
"value": "Timeout",
"description": "Diagnostic was timed out."
}
]
}
},
"Error": {
"description": "Error definition.",
"type": "object",
"properties": {
"code": {
"description": "Service specific error code which serves as the substatus for the HTTP error code.",
"type": "string",
"readOnly": true
},
"type": {
"description": "Service specific error type which serves as additional context for the error herein.",
"type": "string",
"readOnly": true
},
"message": {
"description": "Description of the error.",
"type": "string",
"readOnly": true
},
"details": {
"description": "An array of additional nested error response info objects, as described by this contract.",
"type": "array",
"items": {
"$ref": "#/definitions/Error"
},
"x-ms-identifiers": [
"type",
"message"
]
}
}
},
"DiscoveryResponse": {
"description": "Discovery response.",
"type": "object",
"properties": {
"value": {
"description": "The list of metadata.",
"type": "array",
"items": {
"$ref": "#/definitions/SolutionMetadataResource"
}
},
"nextLink": {
"description": "The link used to get the next page of solution metadata.",
"type": "string"
}
}
},
"SolutionMetadataResource": {
"description": "Metadata resource",
"type": "object",
"x-ms-azure-resource": true,
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/Solutions",
"description": "Solution metadata Resource properties."
}
},
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
}
]
},
"Solutions": {
"description": "List of solutions",
"type": "object",
"properties": {
"solutions": {
"description": "List of metadata.",
"type": "array",
"items": {
"$ref": "#/definitions/SolutionMetadataProperties"
},
"x-ms-identifiers": []
}
}
},
"SolutionMetadataProperties": {
"description": "Metadata Properties",
"type": "object",
"properties": {
"solutionId": {
"description": "Solution Id.",
"type": "string"
},
"solutionType": {
"$ref": "#/definitions/SolutionType"
},
"description": {
"description": "A detailed description of solution.",
"type": "string",
"readOnly": true
},
"requiredInputs": {
"description": "Required parameters for invoking this particular solution.",
"type": "array",
"readOnly": true,
"items": {
"type": "string"
},
"x-ms-identifiers": []
}
}
},
"SolutionType": {
"description": "Solution Type.",
"type": "string",
"readOnly": true,
"enum": [
"Diagnostics",
"Solutions"
],
"x-ms-enum": {
"name": "SolutionType",
"modelAsString": true,
"values": [
{
"value": "Diagnostics",
"description": "Diagnostics resource type."
},
{
"value": "Solutions",
"description": "Solutions resource type."
}
]
}
},
"TriggerCriterion": {
"description": "Solution request trigger criterion. SolutionId/ProblemClassificationId is the only supported trigger type for Solution PUT request. ReplacementKey is the only supported trigger type for Solution PATCH request.",
"type": "object",
"properties": {
"name": {
"description": "Trigger criterion name.",
"type": "string",
"enum": [
"SolutionId",
"ProblemClassificationId",
"ReplacementKey"
],
"x-ms-enum": {
"name": "name",
"modelAsString": true
}
},
"value": {
"description": "Trigger criterion value.",
"type": "string"
}
}
},
"SolutionPatchRequestBody": {
"description": "Solution response",
"type": "object",
"x-ms-azure-resource": true,
"properties": {
"properties": {
"$ref": "#/definitions/SolutionResourceProperties",
"x-ms-client-flatten": true
}
}