Skip to content

Commit bef9e96

Browse files
authored
[Hub Generated] Review request for Microsoft.Help to add version preview/2023-09-01-preview (#26204)
1 parent d6d9527 commit bef9e96

File tree

8 files changed

+192
-308
lines changed

8 files changed

+192
-308
lines changed

specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/CreateDiagnosticForKeyVaultResource.json

Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,16 @@
33
"api-version": "2023-09-01-preview",
44
"scope": "subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read",
55
"diagnosticsResourceName": "VMNotWorkingInsight",
6-
"diagnosticItemRequest": {
6+
"diagnosticResourceRequest": {
77
"properties": {
88
"insights": [
99
{
10-
"solutionId": "SampleSolutionId",
11-
"additionalParameters": {
12-
"serverName": "testServer"
13-
}
10+
"solutionId": "SampleSolutionId1"
11+
},
12+
{
13+
"solutionId": "SampleSolutionId2"
1414
}
15-
],
16-
"globalParameters": {
17-
"startTime": "2020-07-01"
18-
}
15+
]
1916
}
2017
}
2118
},
@@ -26,8 +23,8 @@
2623
"name": "VMNotWorkingInsight",
2724
"type": "Microsoft.Help/diagnostics",
2825
"properties": {
29-
"provisioningState": "Succeeded",
30-
"acceptedAt": "2023-03-10T03:04:40Z"
26+
"provisioningState": "Running",
27+
"acceptedAt": "2023-11-05T18:13:15.8708055+00:00"
3128
}
3229
}
3330
},
@@ -37,26 +34,8 @@
3734
"type": "VMNotWorkingInsight",
3835
"name": "Microsoft.Help/diagnostics",
3936
"properties": {
40-
"acceptedAt": "2023-03-10T03:04:40Z",
41-
"provisioningState": "Succeeded",
42-
"diagnostics": [
43-
{
44-
"solutionId": "sampleSolutionId",
45-
"status": "Succeeded",
46-
"insights": [
47-
{
48-
"id": "InsightArticleId",
49-
"title": "An example title for an Insight",
50-
"results": "Article Content",
51-
"importanceLevel": "Critical"
52-
}
53-
],
54-
"error": {
55-
"code": "errorCode",
56-
"message": "errorMessage"
57-
}
58-
}
59-
]
37+
"provisioningState": "Running",
38+
"acceptedAt": "2023-11-05T18:13:15.8708055+00:00"
6039
}
6140
}
6241
}

specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/GetDiagnosticForKeyVaultResource.json

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,28 @@
1515
"provisioningState": "Succeeded",
1616
"diagnostics": [
1717
{
18-
"solutionId": "sampleSolutionId",
18+
"solutionId": "sampleSolutionId1",
1919
"status": "Succeeded",
2020
"insights": [
2121
{
22-
"id": "InsightArticleId",
22+
"id": "InsightArticleId1",
2323
"title": "An example title for an Insight",
2424
"results": "Article Content",
2525
"importanceLevel": "Critical"
2626
}
27-
],
28-
"error": {
29-
"code": "errorCode",
30-
"message": "errorMessage"
31-
}
27+
]
28+
},
29+
{
30+
"solutionId": "sampleSolutionId2",
31+
"status": "Succeeded",
32+
"insights": [
33+
{
34+
"id": "InsightArticleId3",
35+
"title": "An example title for an Insight",
36+
"results": "Article Content",
37+
"importanceLevel": "Critical"
38+
}
39+
]
3240
}
3341
]
3442
}

specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/ListDiscoverySolutionsAtResourceScope.json

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"body": {
1010
"value": [
1111
{
12-
"id": "/subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read/providers/Microsoft.Help/discoverySolutions/SampleProblemClassificationId1",
12+
"id": "/subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/providers/Microsoft.Help/discoverySolutions/SampleProblemClassificationId1",
1313
"name": "SampleProblemClassificationId1",
1414
"type": "Microsoft.Help/discoverySolutions",
1515
"properties": {
@@ -21,6 +21,31 @@
2121
"requiredInputs": [
2222
"SubscriptionId"
2323
]
24+
},
25+
{
26+
"solutionId": "SampleSolutionId2",
27+
"solutionType": "Solutions",
28+
"description": "This is an azure solution to troubleshoot subscription issues.",
29+
"requiredInputs": [
30+
"SubscriptionId"
31+
]
32+
}
33+
]
34+
}
35+
},
36+
{
37+
"id": "/subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/providers/Microsoft.Help/discoverySolutions/SampleProblemClassificationId2",
38+
"name": "SampleProblemClassificationId2",
39+
"type": "Microsoft.Help/discoverySolutions",
40+
"properties": {
41+
"solutions": [
42+
{
43+
"solutionId": "SampleSolutionId3",
44+
"solutionType": "Diagnostics",
45+
"description": "This is an azure solution to troubleshoot subscription issues.",
46+
"requiredInputs": [
47+
"SubscriptionId"
48+
]
2449
}
2550
]
2651
}

specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/ListDiscoverySolutionsAtSubscriptionScope.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,31 @@
2121
"requiredInputs": [
2222
"SubscriptionId"
2323
]
24+
},
25+
{
26+
"solutionId": "SampleSolutionId2",
27+
"solutionType": "Solutions",
28+
"description": "This is an azure solution to troubleshoot subscription issues.",
29+
"requiredInputs": [
30+
"SubscriptionId"
31+
]
32+
}
33+
]
34+
}
35+
},
36+
{
37+
"id": "/subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/providers/Microsoft.Help/discoverySolutions/SampleProblemClassificationId2",
38+
"name": "SampleProblemClassificationId2",
39+
"type": "Microsoft.Help/discoverySolutions",
40+
"properties": {
41+
"solutions": [
42+
{
43+
"solutionId": "SampleSolutionId3",
44+
"solutionType": "Diagnostics",
45+
"description": "This is an azure solution to troubleshoot subscription issues.",
46+
"requiredInputs": [
47+
"SubscriptionId"
48+
]
2449
}
2550
]
2651
}

specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/Solution_Create.json

Lines changed: 1 addition & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010
"name": "SolutionId",
1111
"value": "SolutionId1"
1212
}
13-
],
14-
"parameters": {
15-
"resourceUri": "subscriptions/mySubscription/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-rp"
16-
}
13+
]
1714
}
1815
}
1916
},
@@ -72,28 +69,6 @@
7269
"parameter2"
7370
],
7471
"insights": []
75-
},
76-
{
77-
"solutionId": "sampleSolutionId3",
78-
"status": "Failed",
79-
"statusDetails": "Timeout text authored in Solution article ",
80-
"replacementKey": "<!--12345678-BBBb-cCCCC-0000-123456789012-->",
81-
"requiredParameters": [
82-
"parameter1",
83-
"parameter2"
84-
],
85-
"insights": []
86-
},
87-
{
88-
"solutionId": "sampleSolutionId4",
89-
"status": "Failed",
90-
"statusDetails": "Sample status details",
91-
"replacementKey": "<!--12345678-BBBb-cCCCC-0000-123456789012-->",
92-
"requiredParameters": [
93-
"parameter1",
94-
"parameter2"
95-
],
96-
"insights": []
9772
}
9873
],
9974
"metricsBasedCharts": [
@@ -112,22 +87,6 @@
11287
"title": "Memory Usage in the last one day",
11388
"filterGroup": null,
11489
"replacementKey": "<!--12345678-BBBb-cCCCC-0000-123456789012-->"
115-
},
116-
{
117-
"name": "io_consumption_percent",
118-
"aggregationType": "Max",
119-
"timeSpanDuration": "1d",
120-
"title": "IOPS Usage in the last one day",
121-
"filterGroup": null,
122-
"replacementKey": "<!--12345678-BBBb-cCCCC-0000-123456789012-->"
123-
},
124-
{
125-
"name": "active_connections",
126-
"aggregationType": "Max",
127-
"timeSpanDuration": "1d",
128-
"title": "Active Connections in the last one day",
129-
"filterGroup": null,
130-
"replacementKey": "<!--12345678-BBBb-cCCCC-0000-123456789012-->"
13190
}
13291
],
13392
"videos": [
@@ -213,28 +172,6 @@
213172
"parameter2"
214173
],
215174
"insights": []
216-
},
217-
{
218-
"solutionId": "sampleSolutionId3",
219-
"status": "Failed",
220-
"statusDetails": "Timeout text authored in Solution article ",
221-
"replacementKey": "<!--12345678-BBBb-cCCCC-0000-123456789012-->",
222-
"requiredParameters": [
223-
"parameter1",
224-
"parameter2"
225-
],
226-
"insights": []
227-
},
228-
{
229-
"solutionId": "sampleSolutionId4",
230-
"status": "Failed",
231-
"statusDetails": "Sample status details",
232-
"replacementKey": "<!--12345678-BBBb-cCCCC-0000-123456789012-->",
233-
"requiredParameters": [
234-
"parameter1",
235-
"parameter2"
236-
],
237-
"insights": []
238175
}
239176
],
240177
"metricsBasedCharts": [
@@ -253,22 +190,6 @@
253190
"title": "Memory Usage in the last one day",
254191
"filterGroup": null,
255192
"replacementKey": "<!--12345678-BBBb-cCCCC-0000-123456789012-->"
256-
},
257-
{
258-
"name": "io_consumption_percent",
259-
"aggregationType": "Max",
260-
"timeSpanDuration": "1d",
261-
"title": "IOPS Usage in the last one day",
262-
"filterGroup": null,
263-
"replacementKey": "<!--12345678-BBBb-cCCCC-0000-123456789012-->"
264-
},
265-
{
266-
"name": "active_connections",
267-
"aggregationType": "Max",
268-
"timeSpanDuration": "1d",
269-
"title": "Active Connections in the last one day",
270-
"filterGroup": null,
271-
"replacementKey": "<!--12345678-BBBb-cCCCC-0000-123456789012-->"
272193
}
273194
],
274195
"videos": [

specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/Solution_Get.json

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -59,28 +59,6 @@
5959
"parameter2"
6060
],
6161
"insights": []
62-
},
63-
{
64-
"solutionId": "sampleSolutionId5",
65-
"status": "Failed",
66-
"statusDetails": "Timeout text authored in Solution article ",
67-
"replacementKey": "<!--12345678-BBBb-cCCCC-0000-123456789012-->",
68-
"requiredParameters": [
69-
"parameter1",
70-
"parameter2"
71-
],
72-
"insights": []
73-
},
74-
{
75-
"solutionId": "sampleSolutionId6",
76-
"status": "Failed",
77-
"statusDetails": "Some text ",
78-
"replacementKey": "<!--12345678-BBBb-cCCCC-0000-123456789012-->",
79-
"requiredParameters": [
80-
"parameter1",
81-
"parameter2"
82-
],
83-
"insights": []
8462
}
8563
],
8664
"metricsBasedCharts": [
@@ -99,22 +77,6 @@
9977
"title": "Memory Usage in the last one day",
10078
"filterGroup": null,
10179
"replacementKey": "<!--12345678-BBBb-cCCCC-0000-123456789012-->"
102-
},
103-
{
104-
"name": "io_consumption_percent",
105-
"aggregationType": "Max",
106-
"timeSpanDuration": "1d",
107-
"title": "IOPS Usage in the last one day",
108-
"filterGroup": null,
109-
"replacementKey": "<!--12345678-BBBb-cCCCC-0000-123456789012-->"
110-
},
111-
{
112-
"name": "active_connections",
113-
"aggregationType": "Max",
114-
"timeSpanDuration": "1d",
115-
"title": "Active Connections in the last one day",
116-
"filterGroup": null,
117-
"replacementKey": "<!--12345678-BBBb-cCCCC-0000-123456789012-->"
11880
}
11981
],
12082
"videos": [

0 commit comments

Comments
 (0)