Skip to content

Commit

Permalink
[ReleasePR azurestackhci] [Hub Generated] Review request for Microsof…
Browse files Browse the repository at this point in the history
  • Loading branch information
msftbot[bot] authored Jan 25, 2022
2 parents 0796619 + 536deaa commit b4aa7d3
Show file tree
Hide file tree
Showing 2 changed files with 394 additions and 0 deletions.
385 changes: 385 additions & 0 deletions schemas/2022-01-01/Microsoft.AzureStackHCI.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,385 @@
{
"id": "https://schema.management.azure.com/schemas/2022-01-01/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": [
"2022-01-01"
]
},
"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."
},
"resources": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/clusters_arcSettings_childResource"
}
]
}
},
"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"
},
"clusters_arcSettings": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2022-01-01"
]
},
"name": {
"type": "string",
"description": "The name of the proxy resource holding details of HCI ArcSetting information."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ArcSettingProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "ArcSetting properties."
},
"resources": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/clusters_arcSettings_extensions_childResource"
}
]
}
},
"type": {
"type": "string",
"enum": [
"Microsoft.AzureStackHCI/clusters/arcSettings"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.AzureStackHCI/clusters/arcSettings"
},
"clusters_arcSettings_extensions": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2022-01-01"
]
},
"name": {
"type": "string",
"description": "The name of the machine extension."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ExtensionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Status of Arc Extension for a particular node in HCI Cluster."
},
"type": {
"type": "string",
"enum": [
"Microsoft.AzureStackHCI/clusters/arcSettings/extensions"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions"
}
},
"definitions": {
"ArcSettingProperties": {
"type": "object",
"properties": {
"arcInstanceResourceGroup": {
"type": "string",
"description": "The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources."
}
},
"description": "ArcSetting properties."
},
"ClusterDesiredProperties": {
"type": "object",
"properties": {
"diagnosticLevel": {
"oneOf": [
{
"type": "string",
"enum": [
"Off",
"Basic",
"Enhanced"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Desired level of diagnostic data emitted by the cluster."
},
"windowsServerSubscription": {
"oneOf": [
{
"type": "string",
"enum": [
"Disabled",
"Enabled"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Desired state of Windows Server Subscription."
}
},
"description": "Desired properties of the cluster."
},
"ClusterProperties": {
"type": "object",
"properties": {
"aadClientId": {
"type": "string",
"description": "App id of cluster AAD identity."
},
"aadTenantId": {
"type": "string",
"description": "Tenant id of cluster AAD identity."
},
"cloudManagementEndpoint": {
"type": "string",
"description": "Endpoint configured for management from the Azure portal."
},
"desiredProperties": {
"oneOf": [
{
"$ref": "#/definitions/ClusterDesiredProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Desired properties of the cluster."
}
},
"required": [
"aadClientId",
"aadTenantId"
],
"description": "Cluster properties."
},
"clusters_arcSettings_childResource": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2022-01-01"
]
},
"name": {
"type": "string",
"description": "The name of the proxy resource holding details of HCI ArcSetting information."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ArcSettingProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "ArcSetting properties."
},
"type": {
"type": "string",
"enum": [
"arcSettings"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.AzureStackHCI/clusters/arcSettings"
},
"clusters_arcSettings_extensions_childResource": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2022-01-01"
]
},
"name": {
"type": "string",
"description": "The name of the machine extension."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ExtensionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Status of Arc Extension for a particular node in HCI Cluster."
},
"type": {
"type": "string",
"enum": [
"extensions"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions"
},
"ExtensionParameters": {
"type": "object",
"properties": {
"autoUpgradeMinorVersion": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
},
"forceUpdateTag": {
"type": "string",
"description": "How the extension handler should be forced to update even if the extension configuration has not changed."
},
"protectedSettings": {
"type": "object",
"properties": {},
"description": "Protected settings (may contain secrets)."
},
"publisher": {
"type": "string",
"description": "The name of the extension handler publisher."
},
"settings": {
"type": "object",
"properties": {},
"description": "Json formatted public settings for the extension."
},
"type": {
"type": "string",
"description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
},
"typeHandlerVersion": {
"type": "string",
"description": "Specifies the version of the script handler."
}
},
"description": "Describes the properties of a Machine Extension. This object mirrors the definition in HybridCompute."
},
"ExtensionProperties": {
"type": "object",
"properties": {
"extensionParameters": {
"oneOf": [
{
"$ref": "#/definitions/ExtensionParameters"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Describes the properties of a Machine Extension. This object mirrors the definition in HybridCompute."
}
},
"description": "Status of Arc Extension for a particular node in HCI Cluster."
}
}
}
Loading

0 comments on commit b4aa7d3

Please sign in to comment.