Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.OperationalInsights to a…
Browse files Browse the repository at this point in the history
…dd version stable/2023-09-01 (#26694)

* Adds base for updating Microsoft.OperationalInsights from version stable/2022-10-01 to version 2023-09-01

* Updates readme

* Updates API version in new specs and examples

* Microsoft.OperationalInsights: Workspaces new api version, extending capacity reservation.

* Adding missing types.

* Adding missing route for default tag.

* Adding missing route for default tag.

* Adding missing async headers to workspace delete example.
  • Loading branch information
dulikvor authored Dec 13, 2023
1 parent b52464f commit e7fa448
Show file tree
Hide file tree
Showing 10 changed files with 1,520 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"swagger": "2.0",
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
"version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {
"/providers/Microsoft.OperationalInsights/operations": {
"get": {
"x-ms-examples": {
"Get specific operation status": {
"$ref": "./examples/OperationsListByTenant.json"
}
},
"tags": [
"Operations"
],
"operationId": "Operations_List",
"description": "Lists all of the available OperationalInsights Rest API operations.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK response definition.",
"schema": {
"$ref": "#/definitions/OperationListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
},
"definitions": {
"OperationListResult": {
"type": "object",
"description": "Result of the request to list solution operations.",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/Operation"
},
"x-ms-identifiers": [
"name"
],
"description": "List of solution operations supported by the OperationsManagement resource provider."
},
"nextLink": {
"type": "string",
"readOnly": true,
"description": "URL to get the next set of operation list results if there are any."
}
}
},
"Operation": {
"type": "object",
"description": "Supported operation of OperationalInsights resource provider.",
"properties": {
"name": {
"description": "Operation name: {provider}/{resource}/{operation}",
"type": "string"
},
"display": {
"type": "object",
"description": "Display metadata associated with the operation.",
"properties": {
"provider": {
"description": "Service provider: Microsoft OperationsManagement.",
"type": "string"
},
"resource": {
"description": "Resource on which the operation is performed etc.",
"type": "string"
},
"operation": {
"description": "Type of operation: get, read, delete, etc.",
"type": "string"
},
"description": {
"description": "Description of operation",
"type": "string"
}
}
}
}
}
},
"parameters": {}
}
Loading

0 comments on commit e7fa448

Please sign in to comment.