Skip to content

Commit c55ddb7

Browse files
author
Autogenerator Pipeline
committed
Autogenerate schemas
1 parent 35ffadd commit c55ddb7

File tree

7 files changed

+600
-2
lines changed

7 files changed

+600
-2
lines changed

schemas/2018-05-01/subscriptionDeploymentTemplate.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,9 @@
647647
{
648648
"$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.Authorization.Authz.json#/unknown_resourceDefinitions/roleEligibilityScheduleRequests"
649649
},
650+
{
651+
"$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Authorization.Authz.json#/unknown_resourceDefinitions/roleDefinitions"
652+
},
650653
{
651654
"$ref": "https://schema.management.azure.com/schemas/2017-09-01/Microsoft.Authorization.json#/resourceDefinitions/roleAssignments"
652655
},
@@ -872,6 +875,9 @@
872875
{
873876
"$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets"
874877
},
878+
{
879+
"$ref": "https://schema.management.azure.com/schemas/2023-05-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets"
880+
},
875881
{
876882
"$ref": "https://schema.management.azure.com/schemas/2018-05-31/Microsoft.CostManagement.json#/subscription_resourceDefinitions/reportconfigs"
877883
},

schemas/2019-08-01/managementGroupDeploymentTemplate.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,9 @@
596596
{
597597
"$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.Authorization.Authz.json#/unknown_resourceDefinitions/roleEligibilityScheduleRequests"
598598
},
599+
{
600+
"$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Authorization.Authz.json#/unknown_resourceDefinitions/roleDefinitions"
601+
},
599602
{
600603
"$ref": "https://schema.management.azure.com/schemas/2017-09-01/Microsoft.Authorization.json#/resourceDefinitions/roleAssignments"
601604
},

schemas/2019-08-01/tenantDeploymentTemplate.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,9 @@
607607
{
608608
"$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.Authorization.Authz.json#/unknown_resourceDefinitions/roleEligibilityScheduleRequests"
609609
},
610+
{
611+
"$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Authorization.Authz.json#/unknown_resourceDefinitions/roleDefinitions"
612+
},
610613
{
611614
"$ref": "https://schema.management.azure.com/schemas/2017-09-01/Microsoft.Authorization.json#/resourceDefinitions/roleAssignments"
612615
},

schemas/2021-11-01/Microsoft.AzureArcData.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,8 @@
397397
{
398398
"type": "object",
399399
"additionalProperties": {
400-
"type": "string"
400+
"type": "object",
401+
"properties": {}
401402
},
402403
"properties": {}
403404
},
@@ -412,7 +413,8 @@
412413
{
413414
"type": "object",
414415
"additionalProperties": {
415-
"type": "string"
416+
"type": "object",
417+
"properties": {}
416418
},
417419
"properties": {}
418420
},
Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Authorization.Authz.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.Authorization",
5+
"description": "Microsoft Authorization Resource Types",
6+
"resourceDefinitions": {},
7+
"unknown_resourceDefinitions": {
8+
"roleDefinitions": {
9+
"type": "object",
10+
"properties": {
11+
"apiVersion": {
12+
"type": "string",
13+
"enum": [
14+
"2022-05-01-preview"
15+
]
16+
},
17+
"name": {
18+
"type": "string",
19+
"description": "The ID of the role definition."
20+
},
21+
"properties": {
22+
"oneOf": [
23+
{
24+
"$ref": "#/definitions/RoleDefinitionProperties"
25+
},
26+
{
27+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
28+
}
29+
],
30+
"description": "Role definition properties."
31+
},
32+
"type": {
33+
"type": "string",
34+
"enum": [
35+
"Microsoft.Authorization/roleDefinitions"
36+
]
37+
}
38+
},
39+
"required": [
40+
"apiVersion",
41+
"name",
42+
"properties",
43+
"type"
44+
],
45+
"description": "Microsoft.Authorization/roleDefinitions"
46+
}
47+
},
48+
"definitions": {
49+
"Permission": {
50+
"type": "object",
51+
"properties": {
52+
"actions": {
53+
"oneOf": [
54+
{
55+
"type": "array",
56+
"items": {
57+
"type": "string"
58+
}
59+
},
60+
{
61+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
62+
}
63+
],
64+
"description": "Allowed actions."
65+
},
66+
"dataActions": {
67+
"oneOf": [
68+
{
69+
"type": "array",
70+
"items": {
71+
"type": "string"
72+
}
73+
},
74+
{
75+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
76+
}
77+
],
78+
"description": "Allowed Data actions."
79+
},
80+
"notActions": {
81+
"oneOf": [
82+
{
83+
"type": "array",
84+
"items": {
85+
"type": "string"
86+
}
87+
},
88+
{
89+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
90+
}
91+
],
92+
"description": "Denied actions."
93+
},
94+
"notDataActions": {
95+
"oneOf": [
96+
{
97+
"type": "array",
98+
"items": {
99+
"type": "string"
100+
}
101+
},
102+
{
103+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
104+
}
105+
],
106+
"description": "Denied Data actions."
107+
}
108+
},
109+
"description": "Role definition permissions."
110+
},
111+
"RoleDefinitionProperties": {
112+
"type": "object",
113+
"properties": {
114+
"assignableScopes": {
115+
"oneOf": [
116+
{
117+
"type": "array",
118+
"items": {
119+
"type": "string"
120+
}
121+
},
122+
{
123+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
124+
}
125+
],
126+
"description": "Role definition assignable scopes."
127+
},
128+
"description": {
129+
"type": "string",
130+
"description": "The role definition description."
131+
},
132+
"permissions": {
133+
"oneOf": [
134+
{
135+
"type": "array",
136+
"items": {
137+
"$ref": "#/definitions/Permission"
138+
}
139+
},
140+
{
141+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
142+
}
143+
],
144+
"description": "Role definition permissions."
145+
},
146+
"roleName": {
147+
"type": "string",
148+
"description": "The role name."
149+
},
150+
"type": {
151+
"type": "string",
152+
"description": "The role type."
153+
}
154+
},
155+
"description": "Role definition properties."
156+
}
157+
}
158+
}

0 commit comments

Comments
 (0)