Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"workspaceName": "myWorkspace",
"requestBody": {
"requestBodyParameters": {
"sku": {
"name": "Standard"
},
Expand All @@ -13,7 +13,7 @@
"zoneRedundancy": "Enabled"
},
"identity": {
"type": "systemAssigned"
"type": "SystemAssigned"
},
"tags": {
"Environment": "Dev"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"workspaceName": "myWorkspace",
"requestBody": {
"requestBodyParameters": {
"tags": {
"Environment": "Dev 2"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"200": {
"description": "OK. Return all resources of workspaces for Grafana under the specified subscription.",
"schema": {
"$ref": "#/definitions/GrafanaResourceListResponse"
"$ref": "#/definitions/ManagedGrafanaListResponse"
}
},
"default": {
Expand Down Expand Up @@ -112,7 +112,7 @@
"200": {
"description": "OK. Return all resources of workspaces for Grafana under the given resource group.",
"schema": {
"$ref": "#/definitions/GrafanaResourceListResponse"
"$ref": "#/definitions/ManagedGrafanaListResponse"
}
},
"default": {
Expand Down Expand Up @@ -160,7 +160,7 @@
"200": {
"description": "OK. Return the properties of the required workspace for Grafana resource.",
"schema": {
"$ref": "#/definitions/GrafanaResource"
"$ref": "#/definitions/ManagedGrafana"
}
},
"default": {
Expand Down Expand Up @@ -203,23 +203,24 @@
},
{
"in": "body",
"name": "body",
"name": "requestBodyParameters",
"required": true,
"schema": {
"$ref": "#/definitions/GrafanaResource"
"$ref": "#/definitions/ManagedGrafana"
}
}
],
"responses": {
"200": {
"description": "OK. Successfully create a workspace for Grafana resource.",
"schema": {
"$ref": "#/definitions/GrafanaResource"
"$ref": "#/definitions/ManagedGrafana"
}
},
"201": {
"description": "Created. The operation was successfully started and will complete asynchronously.",
"schema": {
"$ref": "#/definitions/GrafanaResource"
"$ref": "#/definitions/ManagedGrafana"
}
},
"default": {
Expand Down Expand Up @@ -266,17 +267,18 @@
},
{
"in": "body",
"name": "body",
"name": "requestBodyParameters",
"required": true,
"schema": {
"$ref": "#/definitions/GrafanaResourceUpdateParameters"
"$ref": "#/definitions/ManagedGrafanaUpdateParameters"
}
}
],
"responses": {
"200": {
"description": "OK. Successfully update the workspace for Grafana resource.",
"schema": {
"$ref": "#/definitions/GrafanaResource"
"$ref": "#/definitions/ManagedGrafana"
}
},
"default": {
Expand Down Expand Up @@ -371,7 +373,7 @@
"name": "CreatedByType"
}
},
"GrafanaResource": {
"ManagedGrafana": {
"type": "object",
"description": "The grafana resource type.",
"x-ms-azure-resource": true,
Expand All @@ -397,7 +399,7 @@
},
"properties": {
"description": "Properties specific to the grafana resource.",
"$ref": "#/definitions/GrafanaResourceProperties"
"$ref": "#/definitions/ManagedGrafanaProperties"
},
"identity": {
"description": "The managed identity of the grafana resource.",
Expand Down Expand Up @@ -429,21 +431,21 @@
}
}
},
"GrafanaResourceListResponse": {
"ManagedGrafanaListResponse": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/GrafanaResource"
"$ref": "#/definitions/ManagedGrafana"
}
},
"nextLink": {
"type": "string"
}
}
},
"GrafanaResourceProperties": {
"ManagedGrafanaProperties": {
"type": "object",
"description": "Properties specific to the grafana resource.",
"properties": {
Expand All @@ -466,7 +468,7 @@
}
}
},
"GrafanaResourceUpdateParameters": {
"ManagedGrafanaUpdateParameters": {
"type": "object",
"description": "The parameters for a PATCH request to a grafana resource.",
"properties": {
Expand Down Expand Up @@ -717,7 +719,7 @@
"WorkspaceNameParameter": {
"in": "path",
"name": "workspaceName",
"description": "The name of Azure Managed Grafana.",
"description": "The workspace name of Azure Managed Grafana.",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
Expand Down