Skip to content

Commit acee48a

Browse files
author
SDKAuto
committed
CodeGen from PR 16249 in Azure/azure-rest-api-specs
Merge b1fe9d2800c32b6a3b0b55cfd925520f7370a761 into 23c9b3029b7ce27431ef1f98193249d1986d55c8
1 parent 6cbf2a9 commit acee48a

File tree

2 files changed

+213
-0
lines changed

2 files changed

+213
-0
lines changed
Lines changed: 210 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
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+
"id": {
32+
"type": "string",
33+
"description": "Azure resource Id"
34+
},
35+
"identity": {
36+
"oneOf": [
37+
{
38+
"$ref": "#/definitions/WorkbookManagedIdentity"
39+
},
40+
{
41+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
42+
}
43+
],
44+
"description": "Customer Managed Identity"
45+
},
46+
"kind": {
47+
"oneOf": [
48+
{
49+
"type": "string",
50+
"enum": [
51+
"user",
52+
"shared"
53+
]
54+
},
55+
{
56+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
57+
}
58+
],
59+
"description": "The kind of workbook. Choices are user and shared."
60+
},
61+
"location": {
62+
"type": "string",
63+
"description": "Resource location"
64+
},
65+
"name": {
66+
"type": "string",
67+
"description": "The name of the Application Insights component resource."
68+
},
69+
"properties": {
70+
"oneOf": [
71+
{
72+
"$ref": "#/definitions/WorkbookProperties"
73+
},
74+
{
75+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
76+
}
77+
],
78+
"description": "Properties that contain a workbook."
79+
},
80+
"tags": {
81+
"oneOf": [
82+
{
83+
"type": "object",
84+
"additionalProperties": {
85+
"type": "string"
86+
},
87+
"properties": {}
88+
},
89+
{
90+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
91+
}
92+
],
93+
"description": "Resource tags"
94+
},
95+
"type": {
96+
"type": "string",
97+
"enum": [
98+
"Microsoft.Insights/workbooks"
99+
]
100+
}
101+
},
102+
"required": [
103+
"apiVersion",
104+
"name",
105+
"properties",
106+
"type"
107+
],
108+
"description": "Microsoft.Insights/workbooks"
109+
}
110+
},
111+
"definitions": {
112+
"WorkbookManagedIdentity": {
113+
"type": "object",
114+
"properties": {
115+
"type": {
116+
"oneOf": [
117+
{
118+
"type": "string",
119+
"enum": [
120+
"UserAssigned",
121+
"None"
122+
]
123+
},
124+
{
125+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
126+
}
127+
],
128+
"description": "The identity type."
129+
},
130+
"userAssignedIdentities": {
131+
"oneOf": [
132+
{
133+
"type": "object",
134+
"additionalProperties": {
135+
"$ref": "#/definitions/WorkbookUserAssignedIdentities"
136+
},
137+
"properties": {}
138+
},
139+
{
140+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
141+
}
142+
]
143+
}
144+
},
145+
"description": "Customer Managed Identity"
146+
},
147+
"WorkbookProperties": {
148+
"type": "object",
149+
"properties": {
150+
"category": {
151+
"type": "string",
152+
"description": "Workbook category, as defined by the user at creation time."
153+
},
154+
"description": {
155+
"type": "string",
156+
"description": "The description of the workbook."
157+
},
158+
"displayName": {
159+
"type": "string",
160+
"description": "The user-defined name (display name) of the workbook."
161+
},
162+
"revision": {
163+
"type": "string",
164+
"description": "The unique revision id for this workbook definition"
165+
},
166+
"serializedData": {
167+
"type": "string",
168+
"description": "Configuration of this particular workbook. Configuration data is a string containing valid JSON"
169+
},
170+
"sourceId": {
171+
"type": "string",
172+
"description": "ResourceId for a source resource."
173+
},
174+
"storageUri": {
175+
"type": "string",
176+
"description": "BYOS Storage Account URI"
177+
},
178+
"tags": {
179+
"oneOf": [
180+
{
181+
"type": "array",
182+
"items": {
183+
"type": "string"
184+
}
185+
},
186+
{
187+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
188+
}
189+
],
190+
"description": "A list of 0 or more tags that are associated with this workbook definition"
191+
},
192+
"version": {
193+
"type": "string",
194+
"description": "Workbook version"
195+
}
196+
},
197+
"required": [
198+
"category",
199+
"displayName",
200+
"serializedData"
201+
],
202+
"description": "Properties that contain a workbook."
203+
},
204+
"WorkbookUserAssignedIdentities": {
205+
"type": "object",
206+
"properties": {},
207+
"description": "Customer Managed Identity"
208+
}
209+
}
210+
}

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6799,6 +6799,9 @@
67996799
{
68006800
"$ref": "https://schema.management.azure.com/schemas/2021-03-08/Microsoft.Insights.Application.json#/resourceDefinitions/workbooks"
68016801
},
6802+
{
6803+
"$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.Insights.Application.json#/resourceDefinitions/workbooks"
6804+
},
68026805
{
68036806
"$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/alertrules"
68046807
},

0 commit comments

Comments
 (0)