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 90f81e6539239847685a1ff8875fd44762667aad into 3fb60b76412e88b9b4dceec9723a7d68eba513b4
- Loading branch information
SDKAuto
committed
May 19, 2021
1 parent
4c18a75
commit 3b7816d
Showing
3 changed files
with
200 additions
and
8 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
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