Skip to content

Commit

Permalink
CodeGen from PR 13793 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge bff2e6718ba0d6f31a4e33e1a08e6e798e0c1d09 into d2c9a00f64387ac417831818b4cdb880663a3acc
  • Loading branch information
SDKAuto committed May 19, 2021
1 parent 4c18a75 commit c9f31bc
Show file tree
Hide file tree
Showing 2 changed files with 192 additions and 0 deletions.
189 changes: 189 additions & 0 deletions schemas/2020-11-20/Microsoft.Insights.Application.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
{
"id": "https://schema.management.azure.com/schemas/2020-11-20/Microsoft.Insights.Application.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Insights",
"description": "Microsoft Insights Resource Types",
"resourceDefinitions": {
"workbooktemplates": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-11-20"
]
},
"location": {
"type": "string",
"description": "Resource location"
},
"name": {
"type": "string",
"description": "The name of the Application Insights component resource."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/WorkbookTemplateProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Properties that contain a workbook template."
},
"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.Insights/workbooktemplates"
]
}
},
"required": [
"apiVersion",
"location",
"name",
"properties",
"type"
],
"description": "Microsoft.Insights/workbooktemplates"
}
},
"definitions": {
"WorkbookTemplateGallery": {
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "Category for the gallery."
},
"name": {
"type": "string",
"description": "Name of the workbook template in the gallery."
},
"order": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Order of the template within the gallery."
},
"resourceType": {
"type": "string",
"description": "Azure resource type supported by the gallery."
},
"type": {
"type": "string",
"description": "Type of workbook supported by the workbook template."
}
},
"description": "Gallery information for a workbook template."
},
"WorkbookTemplateLocalizedGallery": {
"type": "object",
"properties": {
"galleries": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/WorkbookTemplateGallery"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Workbook galleries supported by the template."
},
"templateData": {
"type": "object",
"properties": {},
"description": "Valid JSON object containing workbook template payload."
}
},
"description": "Localized template data and gallery information."
},
"WorkbookTemplateProperties": {
"type": "object",
"properties": {
"author": {
"type": "string",
"description": "Information about the author of the workbook template."
},
"galleries": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/WorkbookTemplateGallery"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Workbook galleries supported by the template."
},
"localized": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"$ref": "#/definitions/WorkbookTemplateLocalizedGallery"
}
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Key value pair of localized gallery. Each key is the locale code of languages supported by the Azure portal."
},
"priority": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode."
},
"templateData": {
"type": "object",
"properties": {},
"description": "Valid JSON object containing workbook template payload."
}
},
"required": [
"galleries",
"templateData"
],
"description": "Properties that contain a workbook template."
}
}
}
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -5602,6 +5602,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2020-10-20/Microsoft.Insights.Application.json#/resourceDefinitions/workbooks"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-11-20/Microsoft.Insights.Application.json#/resourceDefinitions/workbooktemplates"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-03-08/Microsoft.Insights.Application.json#/resourceDefinitions/myWorkbooks"
},
Expand Down

0 comments on commit c9f31bc

Please sign in to comment.