File tree Expand file tree Collapse file tree 2 files changed +64
-19
lines changed
specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01 Expand file tree Collapse file tree 2 files changed +64
-19
lines changed Original file line number Diff line number Diff line change 9
9
"schemes" : [
10
10
" https"
11
11
],
12
+ "consumes" : [
13
+ " application/json"
14
+ ],
15
+ "produces" : [
16
+ " application/json"
17
+ ],
12
18
"paths" : {
13
19
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/{location}/alerts" : {
14
20
"get" : {
50
56
"x-ms-pageable" : {
51
57
"nextLinkName" : " nextLink"
52
58
},
53
- "x-ms-odata" : " #/definitions/Alert" ,
54
- "produces" : [
55
- " application/json"
56
- ],
57
- "consumes" : [
58
- " application/json"
59
- ]
59
+ "x-ms-odata" : " #/definitions/Alert"
60
60
}
61
61
},
62
62
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/{location}/alerts/{alertName}" : {
95
95
"$ref" : " #/definitions/Alert"
96
96
}
97
97
}
98
- },
99
- "produces" : [
100
- " application/json"
101
- ],
102
- "consumes" : [
103
- " application/json"
104
- ]
98
+ }
105
99
},
106
100
"put" : {
107
101
"x-ms-examples" : {
144
138
"$ref" : " #/definitions/Alert"
145
139
}
146
140
}
141
+ }
142
+ }
143
+ },
144
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/{location}/alerts/{alertName}/repair" : {
145
+ "post" : {
146
+ "x-ms-examples" : {
147
+ "Repairs an alert." : {
148
+ "$ref" : " ./examples/Alert/Repair.json"
149
+ }
147
150
},
148
- "produces" : [
149
- " application/json"
151
+ "tags" : [
152
+ " Alerts"
153
+ ],
154
+ "x-ms-long-running-operation" : true ,
155
+ "description" : " Repairs an alert." ,
156
+ "operationId" : " Alerts_Repair" ,
157
+ "parameters" : [
158
+ {
159
+ "$ref" : " InfrastructureInsights.json#/parameters/SubscriptionIdParameter"
160
+ },
161
+ {
162
+ "$ref" : " InfrastructureInsights.json#/parameters/ResourceGroupParameter"
163
+ },
164
+ {
165
+ "$ref" : " InfrastructureInsights.json#/parameters/LocationParameter"
166
+ },
167
+ {
168
+ "$ref" : " #/parameters/AlertNameParameter"
169
+ },
170
+ {
171
+ "$ref" : " InfrastructureInsights.json#/parameters/ApiVersionParameter"
172
+ }
150
173
],
151
- "consumes" : [
152
- " application/json"
153
- ]
174
+ "responses" : {
175
+ "200" : {
176
+ "description" : " OK"
177
+ },
178
+ "202" : {
179
+ "description" : " ACCEPTED"
180
+ }
181
+ }
154
182
}
155
183
}
156
184
},
250
278
"closedByUserAlias" : {
251
279
"description" : " User alias who closed the alert." ,
252
280
"type" : " string"
281
+ },
282
+ "hasValidRemediationAction" : {
283
+ "description" : " Indicates if the alert can be remediated." ,
284
+ "type" : " boolean"
253
285
}
254
286
}
255
287
},
Original file line number Diff line number Diff line change
1
+ {
2
+ "parameters" : {
3
+ "subscriptionId" : " 20ff7fc3-e762-44dd-bd96-b71116dcdc23" ,
4
+ "resourceGroupName" : " System.local" ,
5
+ "location" : " local" ,
6
+ "alertName" : " ca55be03-9be9-4deb-8467-e890ab1d116b" ,
7
+ "api-version" : " 2016-05-01"
8
+ },
9
+ "responses" : {
10
+ "200" : {},
11
+ "202" : {}
12
+ }
13
+ }
You can’t perform that action at this time.
0 commit comments