|
67 | 67 | "200": { |
68 | 68 | "description": "OK. Return all resources of workspaces for Grafana under the specified subscription.", |
69 | 69 | "schema": { |
70 | | - "$ref": "#/definitions/GrafanaResourceListResponse" |
| 70 | + "$ref": "#/definitions/ManagedGrafanaListResponse" |
71 | 71 | } |
72 | 72 | }, |
73 | 73 | "default": { |
|
112 | 112 | "200": { |
113 | 113 | "description": "OK. Return all resources of workspaces for Grafana under the given resource group.", |
114 | 114 | "schema": { |
115 | | - "$ref": "#/definitions/GrafanaResourceListResponse" |
| 115 | + "$ref": "#/definitions/ManagedGrafanaListResponse" |
116 | 116 | } |
117 | 117 | }, |
118 | 118 | "default": { |
|
160 | 160 | "200": { |
161 | 161 | "description": "OK. Return the properties of the required workspace for Grafana resource.", |
162 | 162 | "schema": { |
163 | | - "$ref": "#/definitions/GrafanaResource" |
| 163 | + "$ref": "#/definitions/ManagedGrafana" |
164 | 164 | } |
165 | 165 | }, |
166 | 166 | "default": { |
|
203 | 203 | }, |
204 | 204 | { |
205 | 205 | "in": "body", |
206 | | - "name": "body", |
| 206 | + "name": "requestBodyParameters", |
| 207 | + "required": true, |
207 | 208 | "schema": { |
208 | | - "$ref": "#/definitions/GrafanaResource" |
| 209 | + "$ref": "#/definitions/ManagedGrafana" |
209 | 210 | } |
210 | 211 | } |
211 | 212 | ], |
212 | 213 | "responses": { |
213 | 214 | "200": { |
214 | 215 | "description": "OK. Successfully create a workspace for Grafana resource.", |
215 | 216 | "schema": { |
216 | | - "$ref": "#/definitions/GrafanaResource" |
| 217 | + "$ref": "#/definitions/ManagedGrafana" |
217 | 218 | } |
218 | 219 | }, |
219 | 220 | "201": { |
220 | 221 | "description": "Created. The operation was successfully started and will complete asynchronously.", |
221 | 222 | "schema": { |
222 | | - "$ref": "#/definitions/GrafanaResource" |
| 223 | + "$ref": "#/definitions/ManagedGrafana" |
223 | 224 | } |
224 | 225 | }, |
225 | 226 | "default": { |
|
266 | 267 | }, |
267 | 268 | { |
268 | 269 | "in": "body", |
269 | | - "name": "body", |
| 270 | + "name": "requestBodyParameters", |
| 271 | + "required": true, |
270 | 272 | "schema": { |
271 | | - "$ref": "#/definitions/GrafanaResourceUpdateParameters" |
| 273 | + "$ref": "#/definitions/ManagedGrafanaUpdateParameters" |
272 | 274 | } |
273 | 275 | } |
274 | 276 | ], |
275 | 277 | "responses": { |
276 | 278 | "200": { |
277 | 279 | "description": "OK. Successfully update the workspace for Grafana resource.", |
278 | 280 | "schema": { |
279 | | - "$ref": "#/definitions/GrafanaResource" |
| 281 | + "$ref": "#/definitions/ManagedGrafana" |
280 | 282 | } |
281 | 283 | }, |
282 | 284 | "default": { |
|
371 | 373 | "name": "CreatedByType" |
372 | 374 | } |
373 | 375 | }, |
374 | | - "GrafanaResource": { |
| 376 | + "ManagedGrafana": { |
375 | 377 | "type": "object", |
376 | 378 | "description": "The grafana resource type.", |
377 | 379 | "x-ms-azure-resource": true, |
|
397 | 399 | }, |
398 | 400 | "properties": { |
399 | 401 | "description": "Properties specific to the grafana resource.", |
400 | | - "$ref": "#/definitions/GrafanaResourceProperties" |
| 402 | + "$ref": "#/definitions/ManagedGrafanaProperties" |
401 | 403 | }, |
402 | 404 | "identity": { |
403 | 405 | "description": "The managed identity of the grafana resource.", |
|
429 | 431 | } |
430 | 432 | } |
431 | 433 | }, |
432 | | - "GrafanaResourceListResponse": { |
| 434 | + "ManagedGrafanaListResponse": { |
433 | 435 | "type": "object", |
434 | 436 | "properties": { |
435 | 437 | "value": { |
436 | 438 | "type": "array", |
437 | 439 | "items": { |
438 | | - "$ref": "#/definitions/GrafanaResource" |
| 440 | + "$ref": "#/definitions/ManagedGrafana" |
439 | 441 | } |
440 | 442 | }, |
441 | 443 | "nextLink": { |
442 | 444 | "type": "string" |
443 | 445 | } |
444 | 446 | } |
445 | 447 | }, |
446 | | - "GrafanaResourceProperties": { |
| 448 | + "ManagedGrafanaProperties": { |
447 | 449 | "type": "object", |
448 | 450 | "description": "Properties specific to the grafana resource.", |
449 | 451 | "properties": { |
|
466 | 468 | } |
467 | 469 | } |
468 | 470 | }, |
469 | | - "GrafanaResourceUpdateParameters": { |
| 471 | + "ManagedGrafanaUpdateParameters": { |
470 | 472 | "type": "object", |
471 | 473 | "description": "The parameters for a PATCH request to a grafana resource.", |
472 | 474 | "properties": { |
|
717 | 719 | "WorkspaceNameParameter": { |
718 | 720 | "in": "path", |
719 | 721 | "name": "workspaceName", |
720 | | - "description": "The name of Azure Managed Grafana.", |
| 722 | + "description": "The workspace name of Azure Managed Grafana.", |
721 | 723 | "required": true, |
722 | 724 | "type": "string", |
723 | 725 | "x-ms-parameter-location": "method" |
|
0 commit comments