Skip to content

Commit 658874f

Browse files
author
msftbot[bot]
authored
[ReleasePR kubernetesconfiguration] Dev kubernetesconfiguration microsoft.kubernetes configuration 2021 09 01 (#1923)
Create to sync Azure/azure-rest-api-specs#15593 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...AzureSDKAutomation:sdkAuto/kubernetesconfiguration?expand=1)
2 parents 379a774 + cf6b2c4 commit 658874f

File tree

1 file changed

+387
-0
lines changed

1 file changed

+387
-0
lines changed
Lines changed: 387 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,387 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2021-09-01/Microsoft.KubernetesConfiguration.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.KubernetesConfiguration",
5+
"description": "Microsoft KubernetesConfiguration Resource Types",
6+
"resourceDefinitions": {},
7+
"extension_resourceDefinitions": {
8+
"extensions": {
9+
"type": "object",
10+
"properties": {
11+
"apiVersion": {
12+
"type": "string",
13+
"enum": [
14+
"2021-09-01"
15+
]
16+
},
17+
"identity": {
18+
"oneOf": [
19+
{
20+
"$ref": "#/definitions/Identity"
21+
},
22+
{
23+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
24+
}
25+
],
26+
"description": "Identity for the resource."
27+
},
28+
"name": {
29+
"type": "string",
30+
"description": "Name of the Extension."
31+
},
32+
"properties": {
33+
"oneOf": [
34+
{
35+
"$ref": "#/definitions/ExtensionProperties"
36+
},
37+
{
38+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
39+
}
40+
],
41+
"description": "Properties of an Extension resource"
42+
},
43+
"systemData": {
44+
"oneOf": [
45+
{
46+
"$ref": "#/definitions/SystemData"
47+
},
48+
{
49+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
50+
}
51+
],
52+
"description": "Metadata pertaining to creation and last modification of the resource."
53+
},
54+
"type": {
55+
"type": "string",
56+
"enum": [
57+
"Microsoft.KubernetesConfiguration/extensions"
58+
]
59+
}
60+
},
61+
"required": [
62+
"apiVersion",
63+
"name",
64+
"properties",
65+
"type"
66+
],
67+
"description": "Microsoft.KubernetesConfiguration/extensions"
68+
}
69+
},
70+
"definitions": {
71+
"ErrorDetail": {
72+
"type": "object",
73+
"properties": {},
74+
"description": "The error detail."
75+
},
76+
"ExtensionProperties": {
77+
"type": "object",
78+
"properties": {
79+
"aksAssignedIdentity": {
80+
"oneOf": [
81+
{
82+
"$ref": "#/definitions/ExtensionPropertiesAksAssignedIdentity"
83+
},
84+
{
85+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
86+
}
87+
],
88+
"description": "Identity of the Extension resource in an AKS cluster"
89+
},
90+
"autoUpgradeMinorVersion": {
91+
"oneOf": [
92+
{
93+
"type": "boolean",
94+
"default": true
95+
},
96+
{
97+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
98+
}
99+
],
100+
"description": "Flag to note if this extension participates in auto upgrade of minor version, or not."
101+
},
102+
"configurationProtectedSettings": {
103+
"oneOf": [
104+
{
105+
"type": "object",
106+
"additionalProperties": {
107+
"type": "string"
108+
},
109+
"properties": {}
110+
},
111+
{
112+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
113+
}
114+
],
115+
"description": "Configuration settings that are sensitive, as name-value pairs for configuring this extension."
116+
},
117+
"configurationSettings": {
118+
"oneOf": [
119+
{
120+
"type": "object",
121+
"additionalProperties": {
122+
"type": "string"
123+
},
124+
"properties": {}
125+
},
126+
{
127+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
128+
}
129+
],
130+
"description": "Configuration settings, as name-value pairs for configuring this extension."
131+
},
132+
"errorInfo": {
133+
"oneOf": [
134+
{
135+
"$ref": "#/definitions/ErrorDetail"
136+
},
137+
{
138+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
139+
}
140+
],
141+
"description": "The error detail."
142+
},
143+
"extensionType": {
144+
"type": "string",
145+
"description": "Type of the Extension, of which this resource is an instance of. It must be one of the Extension Types registered with Microsoft.KubernetesConfiguration by the Extension publisher."
146+
},
147+
"provisioningState": {
148+
"oneOf": [
149+
{
150+
"type": "string",
151+
"enum": [
152+
"Succeeded",
153+
"Failed",
154+
"Canceled",
155+
"Creating",
156+
"Updating",
157+
"Deleting"
158+
]
159+
},
160+
{
161+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
162+
}
163+
]
164+
},
165+
"releaseTrain": {
166+
"type": "string",
167+
"default": "Stable",
168+
"description": "ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'."
169+
},
170+
"scope": {
171+
"oneOf": [
172+
{
173+
"$ref": "#/definitions/Scope"
174+
},
175+
{
176+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
177+
}
178+
],
179+
"description": "Scope of the extension. It can be either Cluster or Namespace; but not both."
180+
},
181+
"statuses": {
182+
"oneOf": [
183+
{
184+
"type": "array",
185+
"items": {
186+
"$ref": "#/definitions/ExtensionStatus"
187+
}
188+
},
189+
{
190+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
191+
}
192+
],
193+
"description": "Status from this extension."
194+
},
195+
"version": {
196+
"type": "string",
197+
"description": "Version of the extension for this extension, if it is 'pinned' to a specific version. autoUpgradeMinorVersion must be 'false'."
198+
}
199+
},
200+
"description": "Properties of an Extension resource"
201+
},
202+
"ExtensionPropertiesAksAssignedIdentity": {
203+
"type": "object",
204+
"properties": {
205+
"type": {
206+
"oneOf": [
207+
{
208+
"type": "string",
209+
"enum": [
210+
"SystemAssigned"
211+
]
212+
},
213+
{
214+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
215+
}
216+
],
217+
"description": "The identity type."
218+
}
219+
},
220+
"description": "Identity of the Extension resource in an AKS cluster"
221+
},
222+
"ExtensionStatus": {
223+
"type": "object",
224+
"properties": {
225+
"code": {
226+
"type": "string",
227+
"description": "Status code provided by the Extension"
228+
},
229+
"displayStatus": {
230+
"type": "string",
231+
"description": "Short description of status of the extension."
232+
},
233+
"level": {
234+
"oneOf": [
235+
{
236+
"type": "string",
237+
"enum": [
238+
"Error",
239+
"Warning",
240+
"Information"
241+
]
242+
},
243+
{
244+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
245+
}
246+
],
247+
"description": "Level of the status."
248+
},
249+
"message": {
250+
"type": "string",
251+
"description": "Detailed message of the status from the Extension."
252+
},
253+
"time": {
254+
"type": "string",
255+
"description": "DateLiteral (per ISO8601) noting the time of installation status."
256+
}
257+
},
258+
"description": "Status from the extension."
259+
},
260+
"Identity": {
261+
"type": "object",
262+
"properties": {
263+
"type": {
264+
"oneOf": [
265+
{
266+
"type": "string",
267+
"enum": [
268+
"SystemAssigned"
269+
]
270+
},
271+
{
272+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
273+
}
274+
],
275+
"description": "The identity type."
276+
}
277+
},
278+
"description": "Identity for the resource."
279+
},
280+
"Scope": {
281+
"type": "object",
282+
"properties": {
283+
"cluster": {
284+
"oneOf": [
285+
{
286+
"$ref": "#/definitions/ScopeCluster"
287+
},
288+
{
289+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
290+
}
291+
],
292+
"description": "Specifies that the scope of the extension is Cluster"
293+
},
294+
"namespace": {
295+
"oneOf": [
296+
{
297+
"$ref": "#/definitions/ScopeNamespace"
298+
},
299+
{
300+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
301+
}
302+
],
303+
"description": "Specifies that the scope of the extension is Namespace"
304+
}
305+
},
306+
"description": "Scope of the extension. It can be either Cluster or Namespace; but not both."
307+
},
308+
"ScopeCluster": {
309+
"type": "object",
310+
"properties": {
311+
"releaseNamespace": {
312+
"type": "string",
313+
"description": "Namespace where the extension Release must be placed, for a Cluster scoped extension. If this namespace does not exist, it will be created"
314+
}
315+
},
316+
"description": "Specifies that the scope of the extension is Cluster"
317+
},
318+
"ScopeNamespace": {
319+
"type": "object",
320+
"properties": {
321+
"targetNamespace": {
322+
"type": "string",
323+
"description": "Namespace where the extension will be created for an Namespace scoped extension. If this namespace does not exist, it will be created"
324+
}
325+
},
326+
"description": "Specifies that the scope of the extension is Namespace"
327+
},
328+
"SystemData": {
329+
"type": "object",
330+
"properties": {
331+
"createdAt": {
332+
"type": "string",
333+
"format": "date-time",
334+
"description": "The timestamp of resource creation (UTC)."
335+
},
336+
"createdBy": {
337+
"type": "string",
338+
"description": "The identity that created the resource."
339+
},
340+
"createdByType": {
341+
"oneOf": [
342+
{
343+
"type": "string",
344+
"enum": [
345+
"User",
346+
"Application",
347+
"ManagedIdentity",
348+
"Key"
349+
]
350+
},
351+
{
352+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
353+
}
354+
],
355+
"description": "The type of identity that created the resource."
356+
},
357+
"lastModifiedAt": {
358+
"type": "string",
359+
"format": "date-time",
360+
"description": "The timestamp of resource last modification (UTC)"
361+
},
362+
"lastModifiedBy": {
363+
"type": "string",
364+
"description": "The identity that last modified the resource."
365+
},
366+
"lastModifiedByType": {
367+
"oneOf": [
368+
{
369+
"type": "string",
370+
"enum": [
371+
"User",
372+
"Application",
373+
"ManagedIdentity",
374+
"Key"
375+
]
376+
},
377+
{
378+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
379+
}
380+
],
381+
"description": "The type of identity that last modified the resource."
382+
}
383+
},
384+
"description": "Metadata pertaining to creation and last modification of the resource."
385+
}
386+
}
387+
}

0 commit comments

Comments
 (0)