Skip to content

Commit 2df3516

Browse files
author
msftbot[bot]
authored
2 parents 7743d3c + 841cb72 commit 2df3516

File tree

2 files changed

+199
-0
lines changed

2 files changed

+199
-0
lines changed
Lines changed: 196 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2022-04-01/Microsoft.Insights.Application.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.Insights",
5+
"description": "Microsoft Insights Resource Types",
6+
"resourceDefinitions": {
7+
"workbooks": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2022-04-01"
14+
]
15+
},
16+
"etag": {
17+
"type": "string",
18+
"description": "Resource etag"
19+
},
20+
"identity": {
21+
"oneOf": [
22+
{
23+
"$ref": "#/definitions/WorkbookResourceIdentity"
24+
},
25+
{
26+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
27+
}
28+
],
29+
"description": "Identity used for BYOS"
30+
},
31+
"kind": {
32+
"oneOf": [
33+
{
34+
"type": "string",
35+
"enum": [
36+
"shared"
37+
]
38+
},
39+
{
40+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
41+
}
42+
],
43+
"description": "The kind of workbook. Only valid value is shared."
44+
},
45+
"location": {
46+
"type": "string",
47+
"description": "The geo-location where the resource lives"
48+
},
49+
"name": {
50+
"type": "string",
51+
"description": "The name of the resource."
52+
},
53+
"properties": {
54+
"oneOf": [
55+
{
56+
"$ref": "#/definitions/WorkbookProperties"
57+
},
58+
{
59+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
60+
}
61+
],
62+
"description": "Properties that contain a workbook."
63+
},
64+
"tags": {
65+
"oneOf": [
66+
{
67+
"type": "object",
68+
"additionalProperties": {
69+
"type": "string"
70+
},
71+
"properties": {}
72+
},
73+
{
74+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
75+
}
76+
],
77+
"description": "Resource tags."
78+
},
79+
"type": {
80+
"type": "string",
81+
"enum": [
82+
"Microsoft.Insights/workbooks"
83+
]
84+
}
85+
},
86+
"required": [
87+
"apiVersion",
88+
"location",
89+
"name",
90+
"properties",
91+
"type"
92+
],
93+
"description": "Microsoft.Insights/workbooks"
94+
}
95+
},
96+
"definitions": {
97+
"UserAssignedIdentity": {
98+
"type": "object",
99+
"properties": {},
100+
"description": "User assigned identity properties"
101+
},
102+
"WorkbookProperties": {
103+
"type": "object",
104+
"properties": {
105+
"category": {
106+
"type": "string",
107+
"description": "Workbook category, as defined by the user at creation time."
108+
},
109+
"description": {
110+
"type": "string",
111+
"description": "The description of the workbook."
112+
},
113+
"displayName": {
114+
"type": "string",
115+
"description": "The user-defined name (display name) of the workbook."
116+
},
117+
"serializedData": {
118+
"type": "string",
119+
"description": "Configuration of this particular workbook. Configuration data is a string containing valid JSON"
120+
},
121+
"sourceId": {
122+
"type": "string",
123+
"description": "ResourceId for a source resource."
124+
},
125+
"storageUri": {
126+
"type": "string",
127+
"description": "The resourceId to the storage account when bring your own storage is used"
128+
},
129+
"tags": {
130+
"oneOf": [
131+
{
132+
"type": "array",
133+
"items": {
134+
"type": "string"
135+
}
136+
},
137+
{
138+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
139+
}
140+
],
141+
"description": "Being deprecated, please use the other tags field"
142+
},
143+
"version": {
144+
"type": "string",
145+
"description": "Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData"
146+
}
147+
},
148+
"required": [
149+
"category",
150+
"displayName",
151+
"serializedData"
152+
],
153+
"description": "Properties that contain a workbook."
154+
},
155+
"WorkbookResourceIdentity": {
156+
"type": "object",
157+
"properties": {
158+
"type": {
159+
"oneOf": [
160+
{
161+
"type": "string",
162+
"enum": [
163+
"None",
164+
"SystemAssigned",
165+
"UserAssigned",
166+
"SystemAssigned,UserAssigned"
167+
]
168+
},
169+
{
170+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
171+
}
172+
]
173+
},
174+
"userAssignedIdentities": {
175+
"oneOf": [
176+
{
177+
"type": "object",
178+
"additionalProperties": {
179+
"$ref": "#/definitions/UserAssignedIdentity"
180+
},
181+
"properties": {}
182+
},
183+
{
184+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
185+
}
186+
],
187+
"description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."
188+
}
189+
},
190+
"required": [
191+
"type"
192+
],
193+
"description": "Identity used for BYOS"
194+
}
195+
}
196+
}

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10081,6 +10081,9 @@
1008110081
{
1008210082
"$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.Insights.Application.json#/resourceDefinitions/workbooks"
1008310083
},
10084+
{
10085+
"$ref": "https://schema.management.azure.com/schemas/2022-04-01/Microsoft.Insights.Application.json#/resourceDefinitions/workbooks"
10086+
},
1008410087
{
1008510088
"$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/alertrules"
1008610089
},

0 commit comments

Comments
 (0)