Skip to content

Commit 1070da0

Browse files
author
Autogenerator Pipeline
committed
Autogenerate schemas
1 parent 24b6e3d commit 1070da0

File tree

2 files changed

+177
-0
lines changed

2 files changed

+177
-0
lines changed
Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2022-10-27/Microsoft.ResourceConnector.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.ResourceConnector",
5+
"description": "Microsoft ResourceConnector Resource Types",
6+
"resourceDefinitions": {
7+
"appliances": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2022-10-27"
14+
]
15+
},
16+
"identity": {
17+
"oneOf": [
18+
{
19+
"$ref": "#/definitions/Identity"
20+
},
21+
{
22+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
23+
}
24+
],
25+
"description": "Identity for the resource."
26+
},
27+
"location": {
28+
"type": "string",
29+
"description": "The geo-location where the resource lives"
30+
},
31+
"name": {
32+
"oneOf": [
33+
{
34+
"type": "string",
35+
"pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$",
36+
"minLength": 1,
37+
"maxLength": 63
38+
},
39+
{
40+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
41+
}
42+
],
43+
"description": "Appliances name."
44+
},
45+
"properties": {
46+
"oneOf": [
47+
{
48+
"$ref": "#/definitions/ApplianceProperties"
49+
},
50+
{
51+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
52+
}
53+
],
54+
"description": "Properties for an appliance."
55+
},
56+
"tags": {
57+
"oneOf": [
58+
{
59+
"type": "object",
60+
"additionalProperties": {
61+
"type": "string"
62+
},
63+
"properties": {}
64+
},
65+
{
66+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
67+
}
68+
],
69+
"description": "Resource tags."
70+
},
71+
"type": {
72+
"type": "string",
73+
"enum": [
74+
"Microsoft.ResourceConnector/appliances"
75+
]
76+
}
77+
},
78+
"required": [
79+
"apiVersion",
80+
"location",
81+
"name",
82+
"properties",
83+
"type"
84+
],
85+
"description": "Microsoft.ResourceConnector/appliances"
86+
}
87+
},
88+
"definitions": {
89+
"ApplianceProperties": {
90+
"type": "object",
91+
"properties": {
92+
"distro": {
93+
"oneOf": [
94+
{
95+
"type": "string",
96+
"enum": [
97+
"AKSEdge"
98+
]
99+
},
100+
{
101+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
102+
}
103+
],
104+
"description": "Represents a supported Fabric/Infra. (AKSEdge etc...)."
105+
},
106+
"infrastructureConfig": {
107+
"oneOf": [
108+
{
109+
"$ref": "#/definitions/AppliancePropertiesInfrastructureConfig"
110+
},
111+
{
112+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
113+
}
114+
],
115+
"description": "Contains infrastructure information about the Appliance"
116+
},
117+
"publicKey": {
118+
"type": "string",
119+
"description": "Certificates pair used to download MSI certificate from HIS. Can only be set once."
120+
},
121+
"version": {
122+
"type": "string",
123+
"description": "Version of the Appliance"
124+
}
125+
},
126+
"description": "Properties for an appliance."
127+
},
128+
"AppliancePropertiesInfrastructureConfig": {
129+
"type": "object",
130+
"properties": {
131+
"provider": {
132+
"oneOf": [
133+
{
134+
"type": "string",
135+
"enum": [
136+
"VMWare",
137+
"HCI",
138+
"SCVMM",
139+
"KubeVirt",
140+
"OpenStack"
141+
]
142+
},
143+
{
144+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
145+
}
146+
],
147+
"description": "Information about the connected appliance."
148+
}
149+
},
150+
"description": "Contains infrastructure information about the Appliance"
151+
},
152+
"Identity": {
153+
"type": "object",
154+
"properties": {
155+
"type": {
156+
"oneOf": [
157+
{
158+
"type": "string",
159+
"enum": [
160+
"SystemAssigned",
161+
"None"
162+
]
163+
},
164+
{
165+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
166+
}
167+
],
168+
"description": "The identity type."
169+
}
170+
},
171+
"description": "Identity for the resource."
172+
}
173+
}
174+
}

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23152,6 +23152,9 @@
2315223152
{
2315323153
"$ref": "https://schema.management.azure.com/schemas/2022-04-15-preview/Microsoft.ResourceConnector.json#/resourceDefinitions/appliances"
2315423154
},
23155+
{
23156+
"$ref": "https://schema.management.azure.com/schemas/2022-10-27/Microsoft.ResourceConnector.json#/resourceDefinitions/appliances"
23157+
},
2315523158
{
2315623159
"$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.ResourceGraph.json#/resourceDefinitions/queries"
2315723160
},

0 commit comments

Comments
 (0)