-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathopenapi.json
355 lines (355 loc) · 12.7 KB
/
openapi.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
{
"swagger": "2.0",
"schemes": [
"https"
],
"host": "adminmanagement.local.azurestack.external",
"info": {
"description": "The Admin Fabric Management Client.",
"title": "FabricAdminClient",
"version": "2016-05-01",
"x-apisguru-categories": [
"cloud"
],
"x-logo": {
"url": "https://api.apis.guru/v2/cache/logo/https_assets.onestore.ms_cdnfiles_onestorerolling-1606-01000_shell_v3_images_logo_microsoft.png"
},
"x-origin": [
{
"format": "swagger",
"url": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/Fabric.json",
"version": "2.0"
}
],
"x-preferred": true,
"x-providerName": "azure.com",
"x-serviceName": "azsadmin-Fabric",
"x-tags": [
"Azure",
"Microsoft"
],
"x-datafire": {
"name": "azure_azsadmin_fabric",
"type": "openapi"
}
},
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"securityDefinitions": {
"azure_auth": {
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"description": "Authorization uses an Azure Active Directory OAuth2 flow.",
"flow": "implicit",
"scopes": {
"user_impersonation": "impersonate your user account"
},
"type": "oauth2"
}
},
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"parameters": {
"ApiVersionParameter": {
"default": "2016-05-01",
"description": "Client API Version.",
"in": "query",
"name": "api-version",
"required": true,
"type": "string"
},
"FilterParameter": {
"description": "OData filter parameter.",
"in": "query",
"name": "$filter",
"type": "string",
"x-ms-parameter-location": "method"
},
"LocationParameter": {
"description": "Location of the resource.",
"in": "path",
"name": "location",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
},
"ResourceGroupParameter": {
"description": "Name of the resource group.",
"in": "path",
"name": "resourceGroupName",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
},
"SubscriptionIdParameter": {
"description": "Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
"in": "path",
"name": "subscriptionId",
"required": true,
"type": "string"
}
},
"paths": {
"/providers/Microsoft.Fabric.Admin/operations": {
"get": {
"description": "Returns the list of support REST operations.",
"operationId": "Fabric_ListOperations",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/OperationList"
}
}
},
"tags": [
"Fabric"
],
"x-ms-examples": {
"Returns the list of support REST operations.": {
"parameters": {
"api-version": "2016-05-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"display": {
"description": "Add a Node to a Scale Unit",
"operation": "Add a Node to a Scale Unit",
"provider": "Microsoft Fabric Resource Provider",
"resource": "Scale Unit"
},
"name": "Microsoft.Fabric.Admin/scaleUnits/ScaleIn"
},
{
"display": {
"description": "Powers off a Scale Unit Node",
"operation": "Power off Scale Unit Node",
"provider": "Microsoft Fabric Resource Provider",
"resource": "Scale Unit Node"
},
"name": "Microsoft.Fabric.Admin/scaleUnitNodes/PowerOff"
},
{
"display": {
"description": "Powers on a Scale Unit Node",
"operation": "Power on Scale Unit Node",
"provider": "Microsoft Fabric Resource Provider",
"resource": "Scale Unit Node"
},
"name": "Microsoft.Fabric.Admin/scaleUnitNodes/PowerOn"
},
{
"display": {
"operation": "Shut down Scale Unit Node",
"provider": "Microsoft Fabric Resource Provider",
"resource": "Scale Unit Node"
},
"name": "Microsoft.Fabric.Admin/scaleUnitNodes/ShutDown"
},
{
"display": {
"description": "Starts maintenance on a Scale Unit Node",
"operation": "Start maintenance Scale Unit Node",
"provider": "Microsoft Fabric Resource Provider",
"resource": "Scale Unit Node"
},
"name": "Microsoft.Fabric.Admin/scaleUnitNodes/StartMaintenanceMode"
},
{
"display": {
"description": "Stops maintenance on a Scale Unit Node",
"operation": "Stop maintenance Scale Unit Node",
"provider": "Microsoft Fabric Resource Provider",
"resource": "Scale Unit Node"
},
"name": "Microsoft.Fabric.Admin/scaleUnitNodes/StopMaintenanceMode"
},
{
"display": {
"description": "Repairs a Scale Unit Node",
"operation": "Repair Scale Unit Node",
"provider": "Microsoft Fabric Resource Provider",
"resource": "Scale Unit Node"
},
"name": "Microsoft.Fabric.Admin/scaleUnitNodes/Repair"
},
{
"display": {
"description": "Powers off an Infrastructure Role Instance",
"operation": "Power off Infrastructure Role Instance",
"provider": "Microsoft Fabric Resource Provider",
"resource": "Infrastructure Role Instance"
},
"name": "Microsoft.Fabric.Admin/infraRoleInstances/PowerOff"
},
{
"display": {
"description": "Powers on an Infrastructure Role Instance",
"operation": "Power on Infrastructure Role Instance",
"provider": "Microsoft Fabric Resource Provider",
"resource": "Infrastructure Role Instance"
},
"name": "Microsoft.Fabric.Admin/infraRoleInstances/PowerOn"
},
{
"display": {
"description": "Shutdown an Infrastructure Role Instance",
"operation": "Shutdown an Infrastructure Role Instance",
"provider": "Microsoft Fabric Resource Provider",
"resource": "Infrastructure Role Instance"
},
"name": "Microsoft.Fabric.Admin/infraRoleInstances/Shutdown"
},
{
"display": {
"description": "Reboot an Infrastructure Role Instance",
"operation": "Reboot an Infrastructure Role Instance",
"provider": "Microsoft Fabric Resource Provider",
"resource": "Infrastructure Role Instance"
},
"name": "Microsoft.Fabric.Admin/infraRoleInstances/Reboot"
},
{
"display": {
"description": "Creates or updates an IP Pool",
"operation": "Create or update IP Pool",
"provider": "Microsoft Fabric Resource Provider",
"resource": "IP Pool"
},
"name": "Microsoft.Fabric.Admin/ipPools/action"
}
]
}
}
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
},
"definitions": {
"Display": {
"description": "Contains the localized display information for this particular operation / action.",
"properties": {
"description": {
"description": "The localized, friendly description for the operation. The description will be displayed to the user. It should be thorough and concise for used in both tooltips and detailed views.",
"type": "string"
},
"operation": {
"description": "The localized, friendly name for the operation. Use the name as it will be displayed to the user.",
"type": "string"
},
"provider": {
"description": "The localized friendly form of the resource provider name – it is expected to also include the publisher/company responsible. It should use Title Casing and begin with \"Microsoft\" for 1st party services. e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute.\".",
"type": "string"
},
"resource": {
"description": "The localized, friendly version of the resource type related to this action or operation; the resource type should match the public documentation for the resource provider.",
"type": "string"
}
}
},
"Operation": {
"description": "Describes the supported REST operation.",
"properties": {
"display": {
"$ref": "#/definitions/Display",
"description": "Contains the localized display information for this particular operation or action."
},
"name": {
"description": "The name of the operation being performed on this particular object. This name should match the name that appears in RBAC or the event service.",
"type": "string"
}
}
},
"OperationList": {
"description": "A pageable list of supported operations objects.",
"properties": {
"nextLink": {
"description": "URI to next page.",
"type": "string"
},
"value": {
"description": "List of supported operations.",
"items": {
"$ref": "#/definitions/Operation"
},
"type": "array"
}
}
},
"ProvisioningState": {
"description": "Provisioning status of the resource.",
"properties": {
"properties": {
"$ref": "#/definitions/ProvisioningStateProperties",
"description": "Provisioning status of the resource.",
"x-ms-client-flatten": true
}
},
"type": "object"
},
"ProvisioningStateProperties": {
"description": "Provisioning status of the resource.",
"properties": {
"provisioningState": {
"description": "Provisioning status of the resource.",
"type": "string"
}
},
"type": "object"
},
"Resource": {
"description": "Base resource object.",
"properties": {
"id": {
"description": "URI of the resource.",
"readOnly": true,
"type": "string"
},
"location": {
"description": "The region where the resource is located.",
"type": "string"
},
"name": {
"description": "Name of the resource.",
"readOnly": true,
"type": "string"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"description": "List of key-value pairs.",
"type": "object"
},
"type": {
"description": "Type of resource.",
"readOnly": true,
"type": "string"
}
},
"type": "object",
"x-ms-azure-resource": true
}
}
}