From 785930c00727901a6fd7d32d4115cedb1b0051c4 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 28 Apr 2022 15:46:22 +0000 Subject: [PATCH] CodeGen from PR 18851 in Azure/azure-rest-api-specs Merge 63308249742a4ccdb140bed82fca98de512ee4b6 into bfc629362a914f63133ec7ecdbe3c1bdd539512f --- .../Microsoft.AzureStackHCI.json | 103 ----- .../2020-10-01/Microsoft.AzureStackHCI.json | 103 ----- .../Microsoft.AzureStackHCI.json | 332 -------------- .../2021-09-01/Microsoft.AzureStackHCI.json | 380 ---------------- .../2022-01-01/Microsoft.AzureStackHCI.json | 385 ----------------- .../2022-03-01/Microsoft.AzureStackHCI.json | 405 ------------------ schemas/common/autogeneratedResources.json | 42 -- 7 files changed, 1750 deletions(-) delete mode 100644 schemas/2020-03-01-preview/Microsoft.AzureStackHCI.json delete mode 100644 schemas/2020-10-01/Microsoft.AzureStackHCI.json delete mode 100644 schemas/2021-01-01-preview/Microsoft.AzureStackHCI.json delete mode 100644 schemas/2021-09-01/Microsoft.AzureStackHCI.json delete mode 100644 schemas/2022-01-01/Microsoft.AzureStackHCI.json delete mode 100644 schemas/2022-03-01/Microsoft.AzureStackHCI.json diff --git a/schemas/2020-03-01-preview/Microsoft.AzureStackHCI.json b/schemas/2020-03-01-preview/Microsoft.AzureStackHCI.json deleted file mode 100644 index d21e4e5c4a..0000000000 --- a/schemas/2020-03-01-preview/Microsoft.AzureStackHCI.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "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." - } - } -} \ No newline at end of file diff --git a/schemas/2020-10-01/Microsoft.AzureStackHCI.json b/schemas/2020-10-01/Microsoft.AzureStackHCI.json deleted file mode 100644 index 8cc776ab3c..0000000000 --- a/schemas/2020-10-01/Microsoft.AzureStackHCI.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-10-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": [ - "2020-10-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." - }, - "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." - } - } -} \ No newline at end of file diff --git a/schemas/2021-01-01-preview/Microsoft.AzureStackHCI.json b/schemas/2021-01-01-preview/Microsoft.AzureStackHCI.json deleted file mode 100644 index e9bb26f400..0000000000 --- a/schemas/2021-01-01-preview/Microsoft.AzureStackHCI.json +++ /dev/null @@ -1,332 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-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": [ - "2021-01-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." - }, - "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": [ - "2021-01-01-preview" - ] - }, - "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": [ - "2021-01-01-preview" - ] - }, - "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": {}, - "description": "ArcSetting properties." - }, - "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" - } - }, - "required": [ - "aadClientId", - "aadTenantId" - ], - "description": "Cluster properties." - }, - "clusters_arcSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01-preview" - ] - }, - "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": [ - "2021-01-01-preview" - ] - }, - "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." - } - } -} \ No newline at end of file diff --git a/schemas/2021-09-01/Microsoft.AzureStackHCI.json b/schemas/2021-09-01/Microsoft.AzureStackHCI.json deleted file mode 100644 index 01e0396272..0000000000 --- a/schemas/2021-09-01/Microsoft.AzureStackHCI.json +++ /dev/null @@ -1,380 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-09-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": [ - "2021-09-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": [ - "2021-09-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": [ - "2021-09-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": {}, - "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": [ - "2021-09-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": [ - "2021-09-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." - } - } -} \ No newline at end of file diff --git a/schemas/2022-01-01/Microsoft.AzureStackHCI.json b/schemas/2022-01-01/Microsoft.AzureStackHCI.json deleted file mode 100644 index 048a471462..0000000000 --- a/schemas/2022-01-01/Microsoft.AzureStackHCI.json +++ /dev/null @@ -1,385 +0,0 @@ -{ - "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." - } - } -} \ No newline at end of file diff --git a/schemas/2022-03-01/Microsoft.AzureStackHCI.json b/schemas/2022-03-01/Microsoft.AzureStackHCI.json deleted file mode 100644 index a2c0d36f45..0000000000 --- a/schemas/2022-03-01/Microsoft.AzureStackHCI.json +++ /dev/null @@ -1,405 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-03-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-03-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-03-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-03-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": { - "arcApplicationClientId": { - "type": "string", - "description": "App id of arc AAD identity." - }, - "arcApplicationObjectId": { - "type": "string", - "description": "Object id of arc AAD identity." - }, - "arcApplicationTenantId": { - "type": "string", - "description": "Tenant id of arc AAD identity." - }, - "arcInstanceResourceGroup": { - "type": "string", - "description": "The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources." - }, - "arcServicePrincipalObjectId": { - "type": "string", - "description": "Object id of arc AAD service principal." - } - }, - "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": { - "aadApplicationObjectId": { - "type": "string", - "description": "Object id of cluster AAD identity." - }, - "aadClientId": { - "type": "string", - "description": "App id of cluster AAD identity." - }, - "aadServicePrincipalObjectId": { - "type": "string", - "description": "Id of cluster identity service principal." - }, - "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." - } - }, - "description": "Cluster properties." - }, - "clusters_arcSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-03-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-03-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." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 1f3bb233e5..c5cad9ed77 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -2767,48 +2767,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/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/2020-10-01/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters_arcSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters_arcSettings_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-01/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-01/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters_arcSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-01/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters_arcSettings_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-01-01/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-01-01/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters_arcSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-01-01/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters_arcSettings_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters_arcSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters_arcSettings_extensions" - }, { "$ref": "https://schema.management.azure.com/schemas/2015-12-01/Microsoft.Batch.json#/resourceDefinitions/batchAccounts" },