Skip to content

Commit 0a66655

Browse files
authored
S360 - fixing pending 3 Swagger KPIs (#17195)
* Update ResourceHealth.json fixing Swagger changes * Update ResourceHealth.json fixing PR checks * Create Operations_List.json add new file
1 parent 81ab10c commit 0a66655

File tree

2 files changed

+172
-0
lines changed

2 files changed

+172
-0
lines changed

specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/ResourceHealth.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@
149149
"$ref": "#/definitions/ErrorResponse"
150150
}
151151
}
152+
},
153+
"x-ms-examples": {
154+
"GetHealthHistoryByResource": {
155+
"$ref": "./examples/Operations_List.json"
156+
}
152157
}
153158
}
154159
},
@@ -367,6 +372,10 @@
367372
"modelAsString": true
368373
}
369374
},
375+
"title": {
376+
"type": "string",
377+
"description": "Title description of the availability status."
378+
},
370379
"summary": {
371380
"type": "string",
372381
"description": "Summary description of the availability status."
Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-05-01-preview"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"name": "Microsoft.ResourceHealth/Operations/read",
11+
"display": {
12+
"provider": "Microsoft ResourceHealth",
13+
"resource": "Availability Status",
14+
"operation": "Get Operations",
15+
"description": "Get the operations available for the Microsoft ResourceHealth"
16+
}
17+
},
18+
{
19+
"name": "Microsoft.ResourceHealth/Notifications/read",
20+
"display": {
21+
"provider": "Microsoft ResourceHealth",
22+
"resource": "Notification",
23+
"operation": "Receive notification",
24+
"description": "Receives ARM notifications"
25+
}
26+
},
27+
{
28+
"name": "Microsoft.ResourceHealth/AvailabilityStatuses/read",
29+
"display": {
30+
"provider": "Microsoft ResourceHealth",
31+
"resource": "Availability Status",
32+
"operation": "Get Availability Statuses",
33+
"description": "Gets the availability statuses for all resources in the specified scope"
34+
}
35+
},
36+
{
37+
"name": "Microsoft.ResourceHealth/AvailabilityStatuses/current/read",
38+
"display": {
39+
"provider": "Microsoft ResourceHealth",
40+
"resource": "Availability Status",
41+
"operation": "Get Availability Status",
42+
"description": "Gets the availability status for the specified resource"
43+
}
44+
},
45+
{
46+
"name": "Microsoft.ResourceHealth/events/read",
47+
"display": {
48+
"provider": "Microsoft ResourceHealth",
49+
"resource": "Events",
50+
"operation": "Get Service Health Events",
51+
"description": "Get Service Health Events for given subscription"
52+
}
53+
},
54+
{
55+
"name": "Microsoft.ResourceHealth/emergingissues/read",
56+
"display": {
57+
"provider": "Microsoft ResourceHealth",
58+
"resource": "Emerging Issues",
59+
"operation": "Get Azure Emerging Issues",
60+
"description": "Get Azure services' emerging issues"
61+
}
62+
},
63+
{
64+
"name": "Microsoft.ResourceHealth/potentialoutages/read",
65+
"display": {
66+
"provider": "Microsoft ResourceHealth"
67+
}
68+
},
69+
{
70+
"name": "Microsoft.ResourceHealth/impactedResources/read",
71+
"display": {
72+
"provider": "Microsoft ResourceHealth",
73+
"resource": "Impacted Resources",
74+
"operation": "Get Impacted Resources",
75+
"description": "Get Impacted Resources for given subscription"
76+
}
77+
},
78+
{
79+
"name": "Microsoft.ResourceHealth/register/action",
80+
"display": {
81+
"provider": "Microsoft ResourceHealth",
82+
"resource": "Registration",
83+
"operation": "Register with the Provider",
84+
"description": "Registers the subscription for the Microsoft ResourceHealth"
85+
}
86+
},
87+
{
88+
"name": "Microsoft.ResourceHealth/unregister/action",
89+
"display": {
90+
"provider": "Microsoft ResourceHealth",
91+
"resource": "Unregistration",
92+
"operation": "Unregister with the Provider",
93+
"description": "Unregisters the subscription for the Microsoft ResourceHealth"
94+
}
95+
},
96+
{
97+
"name": "Microsoft.Resourcehealth/healthevent/action",
98+
"display": {
99+
"provider": "Microsoft ResourceHealth",
100+
"resource": "Availability Status",
101+
"operation": "HealthEvent Change",
102+
"description": "Denotes the change in health state for the specified resource"
103+
}
104+
},
105+
{
106+
"name": "Microsoft.Resourcehealth/healthevent/Activated/action",
107+
"display": {
108+
"provider": "Microsoft ResourceHealth",
109+
"resource": "Health Event",
110+
"operation": "Health Event Activated",
111+
"description": "Denotes the change in health state for the specified resource"
112+
}
113+
},
114+
{
115+
"name": "Microsoft.Resourcehealth/healthevent/Updated/action",
116+
"display": {
117+
"provider": "Microsoft ResourceHealth",
118+
"resource": "Health Event",
119+
"operation": "Health Event Updated",
120+
"description": "Denotes the change in health state for the specified resource"
121+
}
122+
},
123+
{
124+
"name": "Microsoft.Resourcehealth/healthevent/Resolved/action",
125+
"display": {
126+
"provider": "Microsoft ResourceHealth",
127+
"resource": "Health Event",
128+
"operation": "Health Event Resolved",
129+
"description": "Denotes the change in health state for the specified resource"
130+
}
131+
},
132+
{
133+
"name": "Microsoft.Resourcehealth/healthevent/InProgress/action",
134+
"display": {
135+
"provider": "Microsoft ResourceHealth",
136+
"resource": "Health Event",
137+
"operation": "Health Event InProgress",
138+
"description": "Denotes the change in health state for the specified resource"
139+
}
140+
},
141+
{
142+
"name": "Microsoft.Resourcehealth/healthevent/Pending/action",
143+
"display": {
144+
"provider": "Microsoft ResourceHealth",
145+
"resource": "Health Event",
146+
"operation": "Health Event Pending",
147+
"description": "Denotes the change in health state for the specified resource"
148+
}
149+
},
150+
{
151+
"name": "Microsoft.ResourceHealth/metadata/read",
152+
"display": {
153+
"provider": "Microsoft ResourceHealth",
154+
"resource": "Metadata",
155+
"operation": "Read Metadata",
156+
"description": "Gets Metadata"
157+
}
158+
}
159+
]
160+
}
161+
}
162+
}
163+
}

0 commit comments

Comments
 (0)