Skip to content

Commit 9d22747

Browse files
author
SDK Automation
committed
Generated from c4fd94c1934871f207c6fa736ee47b9f79bec6c3
fix sku swagger not aligned with service problem
1 parent 3d78090 commit 9d22747

File tree

8 files changed

+1495
-115
lines changed

8 files changed

+1495
-115
lines changed

schemas/2014-04-01-preview/deploymentTemplate.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,12 @@
209209
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_fileServices_shares" },
210210
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_managementPolicies" },
211211
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_privateEndpointConnections" },
212+
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_encryptionScopes" },
213+
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_objectReplicationPolicies" },
214+
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_queueServices" },
215+
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_queueServices_queues" },
216+
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_tableServices" },
217+
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_tableServices_tables" },
212218
{ "$ref": "https://schema.management.azure.com/schemas/2019-04-01/Microsoft.VMwareCloudSimple.json#/resourceDefinitions/dedicatedCloudNodes" },
213219
{ "$ref": "https://schema.management.azure.com/schemas/2019-04-01/Microsoft.VMwareCloudSimple.json#/resourceDefinitions/dedicatedCloudServices" },
214220
{ "$ref": "https://schema.management.azure.com/schemas/2019-04-01/Microsoft.VMwareCloudSimple.json#/resourceDefinitions/virtualMachines" },
@@ -619,9 +625,12 @@
619625
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Sql.json#/resourceDefinitions/servers_elasticPools" },
620626
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Sql.json#/resourceDefinitions/servers_firewallRules" },
621627
{ "$ref": "https://schema.management.azure.com/schemas/2015-05-01/Microsoft.Insights.json#/resourceDefinitions/components" },
628+
{ "$ref": "https://schema.management.azure.com/schemas/2015-05-01/Microsoft.Insights.json#/resourceDefinitions/workbooks" },
629+
{ "$ref": "https://schema.management.azure.com/schemas/2018-06-17-preview/microsoft.insights.json#/resourceDefinitions/workbooks" },
622630
{ "$ref": "https://schema.management.azure.com/schemas/2019-10-17-preview/microsoft.insights.json#/resourceDefinitions/privateLinkScopes" },
623631
{ "$ref": "https://schema.management.azure.com/schemas/2019-10-17-preview/microsoft.insights.json#/resourceDefinitions/privateLinkScopes_privateEndpointConnections" },
624632
{ "$ref": "https://schema.management.azure.com/schemas/2019-10-17-preview/microsoft.insights.json#/resourceDefinitions/privateLinkScopes_scopedResources" },
633+
{ "$ref": "https://schema.management.azure.com/schemas/2019-10-17-preview/microsoft.insights.json#/resourceDefinitions/workbooktemplates" },
625634
{ "$ref": "https://schema.management.azure.com/schemas/2015-05-01/Microsoft.Insights.json#/resourceDefinitions/webtests" },
626635
{ "$ref": "https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances" },
627636
{ "$ref": "https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers" },

schemas/2015-01-01/deploymentTemplate.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,12 @@
251251
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_fileServices_shares" },
252252
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_managementPolicies" },
253253
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_privateEndpointConnections" },
254+
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_encryptionScopes" },
255+
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_objectReplicationPolicies" },
256+
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_queueServices" },
257+
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_queueServices_queues" },
258+
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_tableServices" },
259+
{ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_tableServices_tables" },
254260
{ "$ref": "https://schema.management.azure.com/schemas/2019-04-01/Microsoft.VMwareCloudSimple.json#/resourceDefinitions/dedicatedCloudNodes" },
255261
{ "$ref": "https://schema.management.azure.com/schemas/2019-04-01/Microsoft.VMwareCloudSimple.json#/resourceDefinitions/dedicatedCloudServices" },
256262
{ "$ref": "https://schema.management.azure.com/schemas/2019-04-01/Microsoft.VMwareCloudSimple.json#/resourceDefinitions/virtualMachines" },
@@ -719,9 +725,12 @@
719725
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Sql.json#/resourceDefinitions/servers_elasticPools" },
720726
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Sql.json#/resourceDefinitions/servers_firewallRules" },
721727
{ "$ref": "https://schema.management.azure.com/schemas/2015-05-01/Microsoft.Insights.json#/resourceDefinitions/components" },
728+
{ "$ref": "https://schema.management.azure.com/schemas/2015-05-01/Microsoft.Insights.json#/resourceDefinitions/workbooks" },
729+
{ "$ref": "https://schema.management.azure.com/schemas/2018-06-17-preview/microsoft.insights.json#/resourceDefinitions/workbooks" },
722730
{ "$ref": "https://schema.management.azure.com/schemas/2019-10-17-preview/microsoft.insights.json#/resourceDefinitions/privateLinkScopes" },
723731
{ "$ref": "https://schema.management.azure.com/schemas/2019-10-17-preview/microsoft.insights.json#/resourceDefinitions/privateLinkScopes_privateEndpointConnections" },
724732
{ "$ref": "https://schema.management.azure.com/schemas/2019-10-17-preview/microsoft.insights.json#/resourceDefinitions/privateLinkScopes_scopedResources" },
733+
{ "$ref": "https://schema.management.azure.com/schemas/2019-10-17-preview/microsoft.insights.json#/resourceDefinitions/workbooktemplates" },
725734
{ "$ref": "https://schema.management.azure.com/schemas/2015-05-01/Microsoft.Insights.json#/resourceDefinitions/webtests" },
726735
{ "$ref": "https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances" },
727736
{ "$ref": "https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers" },

schemas/2015-05-01/Microsoft.Insights.json

Lines changed: 145 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,79 @@
139139
"properties"
140140
],
141141
"description": "Microsoft.Insights/webtests"
142+
},
143+
"workbooks": {
144+
"type": "object",
145+
"properties": {
146+
"apiVersion": {
147+
"type": "string",
148+
"enum": [
149+
"2015-05-01"
150+
]
151+
},
152+
"kind": {
153+
"oneOf": [
154+
{
155+
"type": "string",
156+
"enum": [
157+
"user",
158+
"shared"
159+
]
160+
},
161+
{
162+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
163+
}
164+
],
165+
"description": "The kind of workbook. Choices are user and shared."
166+
},
167+
"location": {
168+
"type": "string",
169+
"description": "Resource location"
170+
},
171+
"name": {
172+
"type": "string",
173+
"description": "The name of the Application Insights component resource."
174+
},
175+
"properties": {
176+
"oneOf": [
177+
{
178+
"$ref": "#/definitions/WorkbookProperties"
179+
},
180+
{
181+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
182+
}
183+
],
184+
"description": "Properties that contain a workbook."
185+
},
186+
"tags": {
187+
"oneOf": [
188+
{
189+
"type": "object",
190+
"additionalProperties": {
191+
"type": "string"
192+
},
193+
"properties": {}
194+
},
195+
{
196+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
197+
}
198+
],
199+
"description": "Resource tags"
200+
},
201+
"type": {
202+
"type": "string",
203+
"enum": [
204+
"microsoft.insights/workbooks"
205+
]
206+
}
207+
},
208+
"required": [
209+
"apiVersion",
210+
"name",
211+
"properties",
212+
"type"
213+
],
214+
"description": "microsoft.insights/workbooks"
142215
}
143216
},
144217
"definitions": {
@@ -338,6 +411,77 @@
338411
}
339412
},
340413
"description": "An XML configuration specification for a WebTest."
414+
},
415+
"WorkbookProperties": {
416+
"type": "object",
417+
"properties": {
418+
"category": {
419+
"type": "string",
420+
"description": "Workbook category, as defined by the user at creation time."
421+
},
422+
"kind": {
423+
"oneOf": [
424+
{
425+
"type": "string",
426+
"enum": [
427+
"user",
428+
"shared"
429+
]
430+
},
431+
{
432+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
433+
}
434+
],
435+
"description": "Enum indicating if this workbook definition is owned by a specific user or is shared between all users with access to the Application Insights component."
436+
},
437+
"name": {
438+
"type": "string",
439+
"description": "The user-defined name of the workbook."
440+
},
441+
"serializedData": {
442+
"type": "string",
443+
"description": "Configuration of this particular workbook. Configuration data is a string containing valid JSON"
444+
},
445+
"sourceResourceId": {
446+
"type": "string",
447+
"description": "Optional resourceId for a source resource."
448+
},
449+
"tags": {
450+
"oneOf": [
451+
{
452+
"type": "array",
453+
"items": {
454+
"type": "string"
455+
}
456+
},
457+
{
458+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
459+
}
460+
],
461+
"description": "A list of 0 or more tags that are associated with this workbook definition"
462+
},
463+
"userId": {
464+
"type": "string",
465+
"description": "Unique user id of the specific user that owns this workbook."
466+
},
467+
"version": {
468+
"type": "string",
469+
"description": "This instance's version of the data model. This can change as new features are added that can be marked workbook."
470+
},
471+
"workbookId": {
472+
"type": "string",
473+
"description": "Internally assigned unique id of the workbook definition."
474+
}
475+
},
476+
"required": [
477+
"category",
478+
"kind",
479+
"name",
480+
"serializedData",
481+
"userId",
482+
"workbookId"
483+
],
484+
"description": "Properties that contain a workbook."
341485
}
342486
}
343-
}
487+
}
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2018-06-17-preview/microsoft.insights.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+
"2018-06-17-preview"
14+
]
15+
},
16+
"kind": {
17+
"oneOf": [
18+
{
19+
"type": "string",
20+
"enum": [
21+
"user",
22+
"shared"
23+
]
24+
},
25+
{
26+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
27+
}
28+
],
29+
"description": "The kind of workbook. Choices are user and shared."
30+
},
31+
"location": {
32+
"type": "string",
33+
"description": "Resource location"
34+
},
35+
"name": {
36+
"type": "string",
37+
"description": "The name of the Application Insights component resource."
38+
},
39+
"properties": {
40+
"oneOf": [
41+
{
42+
"$ref": "#/definitions/WorkbookProperties"
43+
},
44+
{
45+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
46+
}
47+
],
48+
"description": "Properties that contain a workbook."
49+
},
50+
"tags": {
51+
"oneOf": [
52+
{
53+
"type": "object",
54+
"additionalProperties": {
55+
"type": "string"
56+
},
57+
"properties": {}
58+
},
59+
{
60+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
61+
}
62+
],
63+
"description": "Resource tags"
64+
},
65+
"type": {
66+
"type": "string",
67+
"enum": [
68+
"microsoft.insights/workbooks"
69+
]
70+
}
71+
},
72+
"required": [
73+
"apiVersion",
74+
"location",
75+
"name",
76+
"properties",
77+
"type"
78+
],
79+
"description": "microsoft.insights/workbooks"
80+
}
81+
},
82+
"definitions": {
83+
"WorkbookProperties": {
84+
"type": "object",
85+
"properties": {
86+
"category": {
87+
"type": "string",
88+
"description": "Workbook category, as defined by the user at creation time."
89+
},
90+
"displayName": {
91+
"type": "string",
92+
"description": "The user-defined name (display name) of the workbook."
93+
},
94+
"serializedData": {
95+
"type": "string",
96+
"description": "Configuration of this particular workbook. Configuration data is a string containing valid JSON"
97+
},
98+
"tags": {
99+
"oneOf": [
100+
{
101+
"type": "array",
102+
"items": {
103+
"type": "string"
104+
}
105+
},
106+
{
107+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
108+
}
109+
],
110+
"description": "A list of 0 or more tags that are associated with this workbook definition"
111+
},
112+
"userId": {
113+
"type": "string",
114+
"description": "Unique user id of the specific user that owns this workbook."
115+
},
116+
"version": {
117+
"type": "string",
118+
"description": "Workbook version"
119+
}
120+
},
121+
"required": [
122+
"category",
123+
"displayName",
124+
"serializedData",
125+
"userId"
126+
],
127+
"description": "Properties that contain a workbook."
128+
}
129+
}
130+
}

0 commit comments

Comments
 (0)