Skip to content

Commit 2d8ed7a

Browse files
author
SDKAuto
committed
CodeGen from PR 11806 in Azure/azure-rest-api-specs
Merge f70db4f93dd7f108c3b922a4af8ca6b111ce6d2a into 206d0326939ad6f0ec2e0d83a946a76464648462
1 parent 3b31cef commit 2d8ed7a

File tree

21 files changed

+35630
-15237
lines changed

21 files changed

+35630
-15237
lines changed

schemas/2015-06-15/Microsoft.Compute.json

Lines changed: 2035 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 394 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,394 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2015-11-01-preview/Microsoft.ContainerService.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.ContainerService",
5+
"description": "Microsoft ContainerService Resource Types",
6+
"resourceDefinitions": {
7+
"containerServices": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2015-11-01-preview"
14+
]
15+
},
16+
"location": {
17+
"type": "string",
18+
"description": "Resource location"
19+
},
20+
"name": {
21+
"type": "string",
22+
"description": "The name of the container service within the given subscription and resource group."
23+
},
24+
"properties": {
25+
"oneOf": [
26+
{
27+
"$ref": "#/definitions/ContainerServiceProperties"
28+
},
29+
{
30+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
31+
}
32+
],
33+
"description": "Properties of container service"
34+
},
35+
"tags": {
36+
"oneOf": [
37+
{
38+
"type": "object",
39+
"additionalProperties": {
40+
"type": "string"
41+
},
42+
"properties": {}
43+
},
44+
{
45+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
46+
}
47+
],
48+
"description": "Resource tags"
49+
},
50+
"type": {
51+
"type": "string",
52+
"enum": [
53+
"Microsoft.ContainerService/containerServices"
54+
]
55+
}
56+
},
57+
"required": [
58+
"apiVersion",
59+
"location",
60+
"name",
61+
"properties",
62+
"type"
63+
],
64+
"description": "Microsoft.ContainerService/containerServices"
65+
}
66+
},
67+
"definitions": {
68+
"ContainerServiceAgentPoolProfile": {
69+
"type": "object",
70+
"properties": {
71+
"count": {
72+
"oneOf": [
73+
{
74+
"type": "integer",
75+
"minimum": 1,
76+
"maximum": 100
77+
},
78+
{
79+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
80+
}
81+
],
82+
"description": "No. of agents (VMs) that will host docker containers"
83+
},
84+
"dnsPrefix": {
85+
"type": "string",
86+
"description": "DNS prefix to be used to create FQDN for this agent pool"
87+
},
88+
"name": {
89+
"type": "string",
90+
"description": "Unique name of the agent pool profile within the context of the subscription and resource group"
91+
},
92+
"vmSize": {
93+
"oneOf": [
94+
{
95+
"type": "string",
96+
"enum": [
97+
"Standard_A0",
98+
"Standard_A1",
99+
"Standard_A2",
100+
"Standard_A3",
101+
"Standard_A4",
102+
"Standard_A5",
103+
"Standard_A6",
104+
"Standard_A7",
105+
"Standard_A8",
106+
"Standard_A9",
107+
"Standard_A10",
108+
"Standard_A11",
109+
"Standard_D1",
110+
"Standard_D2",
111+
"Standard_D3",
112+
"Standard_D4",
113+
"Standard_D11",
114+
"Standard_D12",
115+
"Standard_D13",
116+
"Standard_D14",
117+
"Standard_D1_v2",
118+
"Standard_D2_v2",
119+
"Standard_D3_v2",
120+
"Standard_D4_v2",
121+
"Standard_D5_v2",
122+
"Standard_D11_v2",
123+
"Standard_D12_v2",
124+
"Standard_D13_v2",
125+
"Standard_D14_v2",
126+
"Standard_G1",
127+
"Standard_G2",
128+
"Standard_G3",
129+
"Standard_G4",
130+
"Standard_G5",
131+
"Standard_DS1",
132+
"Standard_DS2",
133+
"Standard_DS3",
134+
"Standard_DS4",
135+
"Standard_DS11",
136+
"Standard_DS12",
137+
"Standard_DS13",
138+
"Standard_DS14",
139+
"Standard_GS1",
140+
"Standard_GS2",
141+
"Standard_GS3",
142+
"Standard_GS4",
143+
"Standard_GS5"
144+
]
145+
},
146+
{
147+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
148+
}
149+
],
150+
"description": "Size of agent VMs."
151+
}
152+
},
153+
"required": [
154+
"dnsPrefix",
155+
"name"
156+
],
157+
"description": "Profile for container service agent pool"
158+
},
159+
"ContainerServiceDiagnosticsProfile": {
160+
"type": "object",
161+
"properties": {
162+
"vmDiagnostics": {
163+
"oneOf": [
164+
{
165+
"$ref": "#/definitions/ContainerServiceVMDiagnostics"
166+
},
167+
{
168+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
169+
}
170+
],
171+
"description": "Describes VM Diagnostics."
172+
}
173+
}
174+
},
175+
"ContainerServiceLinuxProfile": {
176+
"type": "object",
177+
"properties": {
178+
"adminUsername": {
179+
"type": "string",
180+
"description": "The administrator username to use for all Linux VMs"
181+
},
182+
"ssh": {
183+
"oneOf": [
184+
{
185+
"$ref": "#/definitions/ContainerServiceSshConfiguration"
186+
},
187+
{
188+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
189+
}
190+
],
191+
"description": "SSH configuration for Linux based VMs running on Azure"
192+
}
193+
},
194+
"required": [
195+
"adminUsername",
196+
"ssh"
197+
],
198+
"description": "Profile for Linux VM"
199+
},
200+
"ContainerServiceMasterProfile": {
201+
"type": "object",
202+
"properties": {
203+
"count": {
204+
"oneOf": [
205+
{
206+
"type": "integer"
207+
},
208+
{
209+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
210+
}
211+
],
212+
"description": "Number of masters (VMs) in the container cluster"
213+
},
214+
"dnsPrefix": {
215+
"type": "string",
216+
"description": "DNS prefix to be used to create FQDN for master"
217+
}
218+
},
219+
"required": [
220+
"dnsPrefix"
221+
],
222+
"description": "Profile for container service master"
223+
},
224+
"ContainerServiceOrchestratorProfile": {
225+
"type": "object",
226+
"properties": {
227+
"orchestratorType": {
228+
"oneOf": [
229+
{
230+
"type": "string",
231+
"enum": [
232+
"Mesos",
233+
"SwarmPreview",
234+
"DCOS"
235+
]
236+
},
237+
{
238+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
239+
}
240+
],
241+
"description": "Specifies what orchestrator will be used to manage container cluster resources."
242+
}
243+
},
244+
"description": "Profile for Orchestrator"
245+
},
246+
"ContainerServiceProperties": {
247+
"type": "object",
248+
"properties": {
249+
"agentPoolProfiles": {
250+
"oneOf": [
251+
{
252+
"type": "array",
253+
"items": {
254+
"$ref": "#/definitions/ContainerServiceAgentPoolProfile"
255+
}
256+
},
257+
{
258+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
259+
}
260+
],
261+
"description": "Properties of agent pools"
262+
},
263+
"diagnosticsProfile": {
264+
"oneOf": [
265+
{
266+
"$ref": "#/definitions/ContainerServiceDiagnosticsProfile"
267+
},
268+
{
269+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
270+
}
271+
]
272+
},
273+
"linuxProfile": {
274+
"oneOf": [
275+
{
276+
"$ref": "#/definitions/ContainerServiceLinuxProfile"
277+
},
278+
{
279+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
280+
}
281+
],
282+
"description": "Profile for Linux VM"
283+
},
284+
"masterProfile": {
285+
"oneOf": [
286+
{
287+
"$ref": "#/definitions/ContainerServiceMasterProfile"
288+
},
289+
{
290+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
291+
}
292+
],
293+
"description": "Profile for container service master"
294+
},
295+
"orchestratorProfile": {
296+
"oneOf": [
297+
{
298+
"$ref": "#/definitions/ContainerServiceOrchestratorProfile"
299+
},
300+
{
301+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
302+
}
303+
],
304+
"description": "Profile for Orchestrator"
305+
},
306+
"windowsProfile": {
307+
"oneOf": [
308+
{
309+
"$ref": "#/definitions/ContainerServiceWindowsProfile"
310+
},
311+
{
312+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
313+
}
314+
],
315+
"description": "Profile for Windows jumpbox"
316+
}
317+
},
318+
"required": [
319+
"agentPoolProfiles",
320+
"linuxProfile",
321+
"masterProfile"
322+
],
323+
"description": "Properties of container service"
324+
},
325+
"ContainerServiceSshConfiguration": {
326+
"type": "object",
327+
"properties": {
328+
"publicKeys": {
329+
"oneOf": [
330+
{
331+
"type": "array",
332+
"items": {
333+
"$ref": "#/definitions/ContainerServiceSshPublicKey"
334+
}
335+
},
336+
{
337+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
338+
}
339+
],
340+
"description": "Gets or sets the list of SSH public keys used to authenticate with Linux based VMs"
341+
}
342+
},
343+
"description": "SSH configuration for Linux based VMs running on Azure"
344+
},
345+
"ContainerServiceSshPublicKey": {
346+
"type": "object",
347+
"properties": {
348+
"keyData": {
349+
"type": "string",
350+
"description": "Gets or sets Certificate public key used to authenticate with VM through SSH. The certificate must be in Pem format with or without headers."
351+
}
352+
},
353+
"required": [
354+
"keyData"
355+
],
356+
"description": "Contains information about SSH certificate public key data."
357+
},
358+
"ContainerServiceVMDiagnostics": {
359+
"type": "object",
360+
"properties": {
361+
"enabled": {
362+
"oneOf": [
363+
{
364+
"type": "boolean"
365+
},
366+
{
367+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
368+
}
369+
],
370+
"description": "Gets or sets whether VM Diagnostic Agent should be provisioned on the Virtual Machine."
371+
}
372+
},
373+
"description": "Describes VM Diagnostics."
374+
},
375+
"ContainerServiceWindowsProfile": {
376+
"type": "object",
377+
"properties": {
378+
"adminPassword": {
379+
"type": "string",
380+
"description": "The administrator password to use for Windows jumpbox"
381+
},
382+
"adminUsername": {
383+
"type": "string",
384+
"description": "The administrator username to use for Windows jumpbox"
385+
}
386+
},
387+
"required": [
388+
"adminPassword",
389+
"adminUsername"
390+
],
391+
"description": "Profile for Windows jumpbox"
392+
}
393+
}
394+
}

0 commit comments

Comments
 (0)