Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
103 changes: 103 additions & 0 deletions schemas/2020-03-01-preview/Microsoft.AzureStackHCI.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
{
"id": "https://schema.management.azure.com/schemas/2020-03-01-preview/Microsoft.AzureStackHCI.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.AzureStackHCI",
"description": "Microsoft AzureStackHCI Resource Types",
"resourceDefinitions": {
"clusters": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-03-01-preview"
]
},
"location": {
"type": "string",
"description": "The geo-location where the resource lives"
},
"name": {
"type": "string",
"description": "The name of the cluster."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ClusterProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Cluster properties."
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resource tags."
},
"type": {
"type": "string",
"enum": [
"Microsoft.AzureStackHCI/clusters"
]
}
},
"required": [
"apiVersion",
"location",
"name",
"properties",
"type"
],
"description": "Microsoft.AzureStackHCI/clusters"
}
},
"definitions": {
"ClusterProperties": {
"type": "object",
"properties": {
"aadClientId": {
"type": "string",
"description": "App id of cluster AAD identity."
},
"aadTenantId": {
"type": "string",
"description": "Tenant id of cluster AAD identity."
},
"reportedProperties": {
"oneOf": [
{
"$ref": "#/definitions/ClusterReportedProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Properties reported by cluster agent."
}
},
"required": [
"aadClientId",
"aadTenantId"
],
"description": "Cluster properties."
},
"ClusterReportedProperties": {
"type": "object",
"properties": {},
"description": "Properties reported by cluster agent."
}
}
}
5 changes: 4 additions & 1 deletion schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2017-06-01/Microsoft.AzureStack.json#/resourceDefinitions/registrations_customerSubscriptions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-12-01/Microsoft.Batch.json#/resourceDefinitions/batchAccounts"
},
Expand Down Expand Up @@ -5329,4 +5332,4 @@
]
}
]
}
}