Skip to content

Commit 39f243d

Browse files
author
SDKAuto
committed
CodeGen from PR 16249 in Azure/azure-rest-api-specs
Merge d69751d0f25b99117bdb813d60c1750ba1f6e758 into b836a957a2143cffb4d15df70d8e928743871c3f
1 parent b997d0c commit 39f243d

File tree

2 files changed

+211
-0
lines changed

2 files changed

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

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7870,6 +7870,9 @@
78707870
{
78717871
"$ref": "https://schema.management.azure.com/schemas/2021-03-08/Microsoft.Insights.Application.json#/resourceDefinitions/workbooks"
78727872
},
7873+
{
7874+
"$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.Insights.Application.json#/resourceDefinitions/workbooks"
7875+
},
78737876
{
78747877
"$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/alertrules"
78757878
},

0 commit comments

Comments
 (0)