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 13793 in Azure/azure-rest-api-specs
Merge bff2e6718ba0d6f31a4e33e1a08e6e798e0c1d09 into d2c9a00f64387ac417831818b4cdb880663a3acc
- Loading branch information
SDKAuto
committed
May 19, 2021
1 parent
4c18a75
commit c9f31bc
Showing
2 changed files
with
192 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,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." | ||
} | ||
} | ||
} |
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