{ "swagger": "2.0", "info": { "title": "WorkbookClient", "version": "2021-03-08", "description": "Azure client for Workbook.", "x-typespec-generated": [ { "emitter": "@azure-tools/typespec-autorest" } ] }, "schemes": [ "https" ], "host": "management.azure.com", "produces": [ "application/json" ], "consumes": [ "application/json" ], "security": [ { "azure_auth": [ "user_impersonation" ] } ], "securityDefinitions": { "azure_auth": { "type": "oauth2", "description": "Azure Active Directory OAuth2 Flow.", "flow": "implicit", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "scopes": { "user_impersonation": "impersonate your user account" } } }, "tags": [ { "name": "Operations" } ], "paths": { "/providers/Microsoft.Insights/operations": { "get": { "operationId": "Operations_List", "tags": [ "Operations" ], "description": "List the operations for the provider", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "The request has succeeded.", "schema": { "$ref": "#/definitions/OperationListResult" } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } } }, "definitions": { "ErrorFieldContract": { "type": "object", "description": "Error Field contract.", "properties": { "code": { "type": "string", "description": "Property level error code." }, "message": { "type": "string", "description": "Human-readable representation of property-level error." }, "target": { "type": "string", "description": "Property name." } } }, "ErrorResponse": { "type": "object", "description": "Error response indicates Insights service is not able to process the incoming request. The reason is provided in the error message.", "properties": { "code": { "type": "string", "description": "Error code." }, "message": { "type": "string", "description": "Error message indicating why the operation failed." }, "details": { "type": "array", "description": "The list of invalid fields send in request, in case of validation error.", "items": { "$ref": "#/definitions/ErrorFieldContract" }, "x-ms-identifiers": [ "message", "target" ] } } }, "Operation": { "type": "object", "description": "Azure Workbooks REST API operation", "properties": { "name": { "type": "string", "description": "Operation name: {provider}/{resource}/{operation}" }, "display": { "$ref": "#/definitions/OperationDisplay", "description": "The object that represents the operation." } } }, "OperationDisplay": { "type": "object", "description": "The object that represents the operation.", "properties": { "provider": { "type": "string", "description": "Service provider: Microsoft.Insights" }, "resource": { "type": "string", "description": "Resource on which the operation is performed: Profile, endpoint, etc." }, "operation": { "type": "string", "description": "Operation type: Read, write, delete, etc." } } }, "OperationListResult": { "type": "object", "description": "Result of the request to list Azure Workbooks operations.\nIt contains a list of operations and a URL link to get the next set of results.", "properties": { "value": { "type": "array", "description": "List of Workbook operations supported by the Microsoft.Insights resource provider.", "items": { "$ref": "#/definitions/Operation" }, "x-ms-identifiers": [ "name" ] }, "nextLink": { "type": "string", "format": "uri", "description": "URL to get the next set of operation list results if there are any." } } } }, "parameters": {} }