Skip to content

Commit 68fe6e6

Browse files
author
Autogenerator Pipeline
committed
Autogenerate schemas
1 parent 39a4e36 commit 68fe6e6

File tree

2 files changed

+196
-0
lines changed

2 files changed

+196
-0
lines changed
Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2022-12-01/Microsoft.LoadTestService.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.LoadTestService",
5+
"description": "Microsoft LoadTestService Resource Types",
6+
"resourceDefinitions": {
7+
"loadTests": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2022-12-01"
14+
]
15+
},
16+
"identity": {
17+
"oneOf": [
18+
{
19+
"$ref": "#/definitions/ManagedServiceIdentity"
20+
},
21+
{
22+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
23+
}
24+
],
25+
"description": "Managed service identity (system assigned and/or user assigned identities)"
26+
},
27+
"location": {
28+
"type": "string",
29+
"description": "The geo-location where the resource lives"
30+
},
31+
"name": {
32+
"type": "string",
33+
"description": "Load Test name."
34+
},
35+
"properties": {
36+
"oneOf": [
37+
{
38+
"$ref": "#/definitions/LoadTestProperties"
39+
},
40+
{
41+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
42+
}
43+
],
44+
"description": "LoadTest resource properties."
45+
},
46+
"tags": {
47+
"oneOf": [
48+
{
49+
"type": "object",
50+
"additionalProperties": {
51+
"type": "string"
52+
},
53+
"properties": {}
54+
},
55+
{
56+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
57+
}
58+
],
59+
"description": "Resource tags."
60+
},
61+
"type": {
62+
"type": "string",
63+
"enum": [
64+
"Microsoft.LoadTestService/loadTests"
65+
]
66+
}
67+
},
68+
"required": [
69+
"apiVersion",
70+
"location",
71+
"name",
72+
"properties",
73+
"type"
74+
],
75+
"description": "Microsoft.LoadTestService/loadTests"
76+
}
77+
},
78+
"definitions": {
79+
"EncryptionProperties": {
80+
"type": "object",
81+
"properties": {
82+
"identity": {
83+
"oneOf": [
84+
{
85+
"$ref": "#/definitions/EncryptionPropertiesIdentity"
86+
},
87+
{
88+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
89+
}
90+
],
91+
"description": "All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault."
92+
},
93+
"keyUrl": {
94+
"type": "string",
95+
"description": "key encryption key Url, versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek."
96+
}
97+
},
98+
"description": "Key and identity details for Customer Managed Key encryption of load test resource"
99+
},
100+
"EncryptionPropertiesIdentity": {
101+
"type": "object",
102+
"properties": {
103+
"resourceId": {
104+
"type": "string",
105+
"description": "user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId"
106+
},
107+
"type": {
108+
"oneOf": [
109+
{
110+
"type": "string",
111+
"enum": [
112+
"SystemAssigned",
113+
"UserAssigned"
114+
]
115+
},
116+
{
117+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
118+
}
119+
],
120+
"description": "Managed identity type to use for accessing encryption key Url."
121+
}
122+
},
123+
"description": "All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault."
124+
},
125+
"LoadTestProperties": {
126+
"type": "object",
127+
"properties": {
128+
"description": {
129+
"type": "string",
130+
"maxLength": 512,
131+
"description": "Description of the resource."
132+
},
133+
"encryption": {
134+
"oneOf": [
135+
{
136+
"$ref": "#/definitions/EncryptionProperties"
137+
},
138+
{
139+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
140+
}
141+
],
142+
"description": "Key and identity details for Customer Managed Key encryption of load test resource"
143+
}
144+
},
145+
"description": "LoadTest resource properties."
146+
},
147+
"ManagedServiceIdentity": {
148+
"type": "object",
149+
"properties": {
150+
"type": {
151+
"oneOf": [
152+
{
153+
"type": "string",
154+
"enum": [
155+
"None",
156+
"SystemAssigned",
157+
"UserAssigned",
158+
"SystemAssigned,UserAssigned"
159+
]
160+
},
161+
{
162+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
163+
}
164+
]
165+
},
166+
"userAssignedIdentities": {
167+
"oneOf": [
168+
{
169+
"type": "object",
170+
"additionalProperties": {
171+
"$ref": "#/definitions/UserAssignedIdentity"
172+
},
173+
"properties": {}
174+
},
175+
{
176+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
177+
}
178+
],
179+
"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."
180+
}
181+
},
182+
"required": [
183+
"type"
184+
],
185+
"description": "Managed service identity (system assigned and/or user assigned identities)"
186+
},
187+
"UserAssignedIdentity": {
188+
"type": "object",
189+
"properties": {},
190+
"description": "User assigned identity properties"
191+
}
192+
}
193+
}

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12094,6 +12094,9 @@
1209412094
{
1209512095
"$ref": "https://schema.management.azure.com/schemas/2022-04-15-preview/Microsoft.LoadTestService.json#/resourceDefinitions/loadTests"
1209612096
},
12097+
{
12098+
"$ref": "https://schema.management.azure.com/schemas/2022-12-01/Microsoft.LoadTestService.json#/resourceDefinitions/loadTests"
12099+
},
1209712100
{
1209812101
"$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Logz.json#/resourceDefinitions/monitors"
1209912102
},

0 commit comments

Comments
 (0)