Skip to content

Commit 5f94ec2

Browse files
committed
Re-Add deleted AzureStackHCI specs 2020-10-01
1 parent f68fed1 commit 5f94ec2

File tree

1 file changed

+103
-0
lines changed

1 file changed

+103
-0
lines changed
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.AzureStackHCI.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.AzureStackHCI",
5+
"description": "Microsoft AzureStackHCI Resource Types",
6+
"resourceDefinitions": {
7+
"clusters": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2020-10-01"
14+
]
15+
},
16+
"location": {
17+
"type": "string",
18+
"description": "The geo-location where the resource lives"
19+
},
20+
"name": {
21+
"type": "string",
22+
"description": "The name of the cluster."
23+
},
24+
"properties": {
25+
"oneOf": [
26+
{
27+
"$ref": "#/definitions/ClusterProperties"
28+
},
29+
{
30+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
31+
}
32+
],
33+
"description": "Cluster properties."
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.AzureStackHCI/clusters"
54+
]
55+
}
56+
},
57+
"required": [
58+
"apiVersion",
59+
"location",
60+
"name",
61+
"properties",
62+
"type"
63+
],
64+
"description": "Microsoft.AzureStackHCI/clusters"
65+
}
66+
},
67+
"definitions": {
68+
"ClusterProperties": {
69+
"type": "object",
70+
"properties": {
71+
"aadClientId": {
72+
"type": "string",
73+
"description": "App id of cluster AAD identity."
74+
},
75+
"aadTenantId": {
76+
"type": "string",
77+
"description": "Tenant id of cluster AAD identity."
78+
},
79+
"reportedProperties": {
80+
"oneOf": [
81+
{
82+
"$ref": "#/definitions/ClusterReportedProperties"
83+
},
84+
{
85+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
86+
}
87+
],
88+
"description": "Properties reported by cluster agent."
89+
}
90+
},
91+
"required": [
92+
"aadClientId",
93+
"aadTenantId"
94+
],
95+
"description": "Cluster properties."
96+
},
97+
"ClusterReportedProperties": {
98+
"type": "object",
99+
"properties": {},
100+
"description": "Properties reported by cluster agent."
101+
}
102+
}
103+
}

0 commit comments

Comments
 (0)