forked from Azure/azure-resource-manager-schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ReleasePR azurestackhci] [Hub Generated] Review request for Microsof…
…t.AzureStackHCI to add version stable/2022-01-01 (#2186) Create to sync Azure/azure-rest-api-specs#17377 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...AzureSDKAutomation:sdkAuto/azurestackhci?expand=1)
- Loading branch information
Showing
2 changed files
with
394 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} | ||
} | ||
} |
Oops, something went wrong.