forked from Azure/azure-resource-manager-schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 17923 in Azure/azure-rest-api-specs
Merge 26e80efa1eb463611ed8eeead37333bcee7d70fd into efd3d669a86d2e123f57ac3a43e5af4bb9e3a29f
- Loading branch information
SDKAuto
committed
Feb 21, 2022
1 parent
cd39694
commit f892b06
Showing
2 changed files
with
272 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,266 @@ | ||
{ | ||
"id": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.OperationalInsights.json#", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Microsoft.OperationalInsights", | ||
"description": "Microsoft OperationalInsights Resource Types", | ||
"resourceDefinitions": { | ||
"queryPacks": { | ||
"type": "object", | ||
"properties": { | ||
"apiVersion": { | ||
"type": "string", | ||
"enum": [ | ||
"2019-09-01" | ||
] | ||
}, | ||
"location": { | ||
"type": "string", | ||
"description": "Resource location" | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "The name of the Log Analytics QueryPack resource." | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/LogAnalyticsQueryPackProperties" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Properties that define a Log Analytics QueryPack resource." | ||
}, | ||
"resources": { | ||
"type": "array", | ||
"items": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/queryPacks_queries_childResource" | ||
} | ||
] | ||
} | ||
}, | ||
"tags": { | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"properties": {} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Resource tags" | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"Microsoft.OperationalInsights/queryPacks" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"apiVersion", | ||
"location", | ||
"name", | ||
"properties", | ||
"type" | ||
], | ||
"description": "Microsoft.OperationalInsights/queryPacks" | ||
}, | ||
"queryPacks_queries": { | ||
"type": "object", | ||
"properties": { | ||
"apiVersion": { | ||
"type": "string", | ||
"enum": [ | ||
"2019-09-01" | ||
] | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "The id of a specific query defined in the Log Analytics QueryPack" | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/LogAnalyticsQueryPackQueryProperties" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Properties that define an Log Analytics QueryPack-Query resource." | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"Microsoft.OperationalInsights/queryPacks/queries" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"apiVersion", | ||
"name", | ||
"properties", | ||
"type" | ||
], | ||
"description": "Microsoft.OperationalInsights/queryPacks/queries" | ||
} | ||
}, | ||
"definitions": { | ||
"LogAnalyticsQueryPackProperties": { | ||
"type": "object", | ||
"properties": {}, | ||
"description": "Properties that define a Log Analytics QueryPack resource." | ||
}, | ||
"LogAnalyticsQueryPackQueryProperties": { | ||
"type": "object", | ||
"properties": { | ||
"body": { | ||
"type": "string", | ||
"description": "Body of the query." | ||
}, | ||
"description": { | ||
"type": "string", | ||
"description": "Description of the query." | ||
}, | ||
"displayName": { | ||
"type": "string", | ||
"description": "Unique display name for your query within the Query Pack." | ||
}, | ||
"properties": { | ||
"type": "object", | ||
"properties": {}, | ||
"description": "Additional properties that can be set for the query." | ||
}, | ||
"related": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/LogAnalyticsQueryPackQueryPropertiesRelated" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The related metadata items for the function." | ||
}, | ||
"tags": { | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"properties": {} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Tags associated with the query." | ||
} | ||
}, | ||
"required": [ | ||
"body", | ||
"displayName" | ||
], | ||
"description": "Properties that define an Log Analytics QueryPack-Query resource." | ||
}, | ||
"LogAnalyticsQueryPackQueryPropertiesRelated": { | ||
"type": "object", | ||
"properties": { | ||
"categories": { | ||
"oneOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The related categories for the function." | ||
}, | ||
"resourceTypes": { | ||
"oneOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The related resource types for the function." | ||
}, | ||
"solutions": { | ||
"oneOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The related Log Analytics solutions for the function." | ||
} | ||
}, | ||
"description": "The related metadata items for the function." | ||
}, | ||
"queryPacks_queries_childResource": { | ||
"type": "object", | ||
"properties": { | ||
"apiVersion": { | ||
"type": "string", | ||
"enum": [ | ||
"2019-09-01" | ||
] | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "The id of a specific query defined in the Log Analytics QueryPack" | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/LogAnalyticsQueryPackQueryProperties" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Properties that define an Log Analytics QueryPack-Query resource." | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"queries" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"apiVersion", | ||
"name", | ||
"properties", | ||
"type" | ||
], | ||
"description": "Microsoft.OperationalInsights/queryPacks/queries" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters