Skip to content

Commit bd4ec19

Browse files
authored
Add wizard config file for Azure benchmark provider (#2152)
Fixes OPS-3943. ## Additional Notes Not in the scope of this PR: - Not registering the Azure provider in the adapter - Not adding workflow json files - No helper methods for options and conditional resolution
1 parent ec0c41d commit bd4ec19

1 file changed

Lines changed: 87 additions & 0 deletions

File tree

  • packages/server/api/src/app/benchmark/providers/azure
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
{
2+
"provider": "azure",
3+
"steps": [
4+
{
5+
"id": "connection",
6+
"title": "Choose the Azure connection you want to use",
7+
"description": "OpenOps can pull data from Azure using the connection you select here.",
8+
"selectionType": "single",
9+
"optionsSource": { "type": "dynamic", "method": "listConnections" },
10+
"nextStep": "subscriptions"
11+
},
12+
{
13+
"id": "subscriptions",
14+
"title": "Which subscriptions should we include in the report?",
15+
"selectionType": "multi-select",
16+
"optionsSource": {
17+
"type": "dynamic",
18+
"method": "getSubscriptionsList"
19+
},
20+
"selectAll": true,
21+
"nextStep": "regions"
22+
},
23+
{
24+
"id": "regions",
25+
"title": "Which regions should we include in the report?",
26+
"selectionType": "multi-select",
27+
"optionsSource": { "type": "dynamic", "method": "getRegionsList" },
28+
"nextStep": "workflows"
29+
},
30+
{
31+
"id": "workflows",
32+
"title": "Which Azure workflows should we run to analyze the data?",
33+
"selectionType": "multi-select",
34+
"selectAll": true,
35+
"optionsSource": {
36+
"type": "static",
37+
"values": [
38+
{
39+
"id": "Azure Benchmark - Elastic Pool Storage",
40+
"displayName": "Elastic Pool Storage",
41+
"imageLogoUrl": "/blocks/workflow.svg"
42+
},
43+
{
44+
"id": "Azure Benchmark - Elastic Pools",
45+
"displayName": "Elastic Pools",
46+
"imageLogoUrl": "/blocks/workflow.svg"
47+
},
48+
{
49+
"id": "Azure Benchmark - Idle VMs",
50+
"displayName": "Idle VMs",
51+
"imageLogoUrl": "/blocks/workflow.svg"
52+
},
53+
{
54+
"id": "Azure Benchmark - Rightsizing ASE",
55+
"displayName": "Rightsizing ASE",
56+
"imageLogoUrl": "/blocks/workflow.svg"
57+
},
58+
{
59+
"id": "Azure Benchmark - Rightsizing App Service Plans",
60+
"displayName": "Rightsizing App Service Plans",
61+
"imageLogoUrl": "/blocks/workflow.svg"
62+
},
63+
{
64+
"id": "Azure Benchmark - Rightsizing VMs",
65+
"displayName": "Rightsizing VMs",
66+
"imageLogoUrl": "/blocks/workflow.svg"
67+
},
68+
{
69+
"id": "Azure Benchmark - Single Databases",
70+
"displayName": "Single Databases",
71+
"imageLogoUrl": "/blocks/workflow.svg"
72+
},
73+
{
74+
"id": "Azure Benchmark - Unattached Managed Disks",
75+
"displayName": "Unattached Managed Disks",
76+
"imageLogoUrl": "/blocks/workflow.svg"
77+
},
78+
{
79+
"id": "Azure Benchmark - Unused App Services Plans",
80+
"displayName": "Unused App Services Plans",
81+
"imageLogoUrl": "/blocks/workflow.svg"
82+
}
83+
]
84+
}
85+
}
86+
]
87+
}

0 commit comments

Comments
 (0)