From a3e7019995e26fccee8868055757e9961f6c6751 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 13 Sep 2022 20:11:01 +0000 Subject: [PATCH] CodeGen from PR 20502 in Azure/azure-rest-api-specs Merge 7b5fbd06ac918ae039c2dbca9b15beab3ad129df into bfbabddc83d6e5d800be4f08760249e7be9b22cc --- .../Microsoft.HybridCompute.json | 118 --- .../Microsoft.HybridCompute.json | 410 -------- .../2019-12-12/Microsoft.HybridCompute.json | 458 --------- .../Microsoft.HybridCompute.json | 448 --------- .../2020-08-02/Microsoft.HybridCompute.json | 359 ------- .../Microsoft.HybridCompute.json | 763 --------------- .../Microsoft.HybridCompute.json | 659 ------------- .../Microsoft.HybridCompute.json | 678 -------------- .../Microsoft.HybridCompute.json | 678 -------------- .../Microsoft.HybridCompute.json | 678 -------------- .../2021-05-20/Microsoft.HybridCompute.json | 678 -------------- .../Microsoft.HybridCompute.json | 753 --------------- .../Microsoft.HybridCompute.json | 800 ---------------- .../2022-03-10/Microsoft.HybridCompute.json | 877 ----------------- .../Microsoft.HybridCompute.json | 885 ------------------ schemas/common/autogeneratedResources.json | 150 --- 16 files changed, 9392 deletions(-) delete mode 100644 schemas/2019-03-18-preview/Microsoft.HybridCompute.json delete mode 100644 schemas/2019-08-02-preview/Microsoft.HybridCompute.json delete mode 100644 schemas/2019-12-12/Microsoft.HybridCompute.json delete mode 100644 schemas/2020-07-30-preview/Microsoft.HybridCompute.json delete mode 100644 schemas/2020-08-02/Microsoft.HybridCompute.json delete mode 100644 schemas/2020-08-15-preview/Microsoft.HybridCompute.json delete mode 100644 schemas/2021-01-28-preview/Microsoft.HybridCompute.json delete mode 100644 schemas/2021-03-25-preview/Microsoft.HybridCompute.json delete mode 100644 schemas/2021-04-22-preview/Microsoft.HybridCompute.json delete mode 100644 schemas/2021-05-17-preview/Microsoft.HybridCompute.json delete mode 100644 schemas/2021-05-20/Microsoft.HybridCompute.json delete mode 100644 schemas/2021-06-10-preview/Microsoft.HybridCompute.json delete mode 100644 schemas/2021-12-10-preview/Microsoft.HybridCompute.json delete mode 100644 schemas/2022-03-10/Microsoft.HybridCompute.json delete mode 100644 schemas/2022-05-10-preview/Microsoft.HybridCompute.json diff --git a/schemas/2019-03-18-preview/Microsoft.HybridCompute.json b/schemas/2019-03-18-preview/Microsoft.HybridCompute.json deleted file mode 100644 index 3f5595f1f4..0000000000 --- a/schemas/2019-03-18-preview/Microsoft.HybridCompute.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-03-18-preview/Microsoft.HybridCompute.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.HybridCompute", - "description": "Microsoft HybridCompute Resource Types", - "resourceDefinitions": { - "machines": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-03-18-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "The name of the hybrid machine." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a hybrid machine." - }, - "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.HybridCompute/machines" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines" - } - }, - "definitions": { - "Identity": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The identity type." - } - } - }, - "MachineProperties": { - "type": "object", - "properties": { - "clientPublicKey": { - "type": "string", - "description": "Public Key that the client provides to be used during initial resource onboarding" - }, - "osProfile": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the operating system settings for the hybrid machine." - }, - "physicalLocation": { - "type": "string", - "description": "Resource's Physical Location" - } - }, - "description": "Describes the properties of a hybrid machine." - }, - "OSProfile": { - "type": "object", - "properties": {}, - "description": "Specifies the operating system settings for the hybrid machine." - } - } -} \ No newline at end of file diff --git a/schemas/2019-08-02-preview/Microsoft.HybridCompute.json b/schemas/2019-08-02-preview/Microsoft.HybridCompute.json deleted file mode 100644 index c5d0399d59..0000000000 --- a/schemas/2019-08-02-preview/Microsoft.HybridCompute.json +++ /dev/null @@ -1,410 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-08-02-preview/Microsoft.HybridCompute.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.HybridCompute", - "description": "Microsoft HybridCompute Resource Types", - "resourceDefinitions": { - "machines": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-02-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "The name of the hybrid machine." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a hybrid machine." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/machines_extensions_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.HybridCompute/machines" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines" - }, - "machines_extensions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-02-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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.HybridCompute/machines/extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - } - }, - "definitions": { - "Identity": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The identity type." - } - } - }, - "MachineExtensionInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - }, - "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 Machine Extension Instance View." - }, - "MachineExtensionInstanceViewStatus": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "level": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Info", - "Warning", - "Error" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The level code." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "format": "date-time", - "description": "The time of the status." - } - }, - "description": "Instance view status." - }, - "MachineExtensionProperties": { - "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." - }, - "instanceView": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceView" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the Machine Extension Instance View." - }, - "protectedSettings": { - "type": "object", - "properties": {}, - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." - }, - "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." - }, - "MachineProperties": { - "type": "object", - "properties": { - "clientPublicKey": { - "type": "string", - "description": "Public Key that the client provides to be used during initial resource onboarding" - }, - "extensions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MachineExtensionInstanceView" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Machine Extensions information" - }, - "osName": { - "type": "string", - "description": "The Operating System running on the hybrid machine." - }, - "osProfile": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the operating system settings for the hybrid machine." - }, - "osVersion": { - "type": "string", - "description": "The version of Operating System running on the hybrid machine." - }, - "physicalLocation": { - "type": "string", - "description": "Resource's Physical Location" - } - }, - "description": "Describes the properties of a hybrid machine." - }, - "machines_extensions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-02-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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": [ - "extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "OSProfile": { - "type": "object", - "properties": {}, - "description": "Specifies the operating system settings for the hybrid machine." - } - } -} \ No newline at end of file diff --git a/schemas/2019-12-12/Microsoft.HybridCompute.json b/schemas/2019-12-12/Microsoft.HybridCompute.json deleted file mode 100644 index 17c15e7d7e..0000000000 --- a/schemas/2019-12-12/Microsoft.HybridCompute.json +++ /dev/null @@ -1,458 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.HybridCompute.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.HybridCompute", - "description": "Microsoft HybridCompute Resource Types", - "resourceDefinitions": { - "machines": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/MachineIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the hybrid machine." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachinePropertiesModel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Hybrid Compute Machine properties" - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/machines_extensions_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.HybridCompute/machines" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines" - }, - "machines_extensions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes Machine Extension 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.HybridCompute/machines/extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - } - }, - "definitions": { - "LocationData": { - "type": "object", - "properties": { - "city": { - "type": "string", - "description": "The city or locality where the resource is located." - }, - "countryOrRegion": { - "type": "string", - "description": "The country or region where the resource is located" - }, - "district": { - "type": "string", - "description": "The district, state, or province where the resource is located." - }, - "name": { - "type": "string", - "maxLength": 256, - "description": "A canonical name for the geographic or physical location." - } - }, - "required": [ - "name" - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "MachineExtensionInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - }, - "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 Machine Extension Instance View." - }, - "MachineExtensionInstanceViewStatus": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "level": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Info", - "Warning", - "Error" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The level code." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "format": "date-time", - "description": "The time of the status." - } - }, - "description": "Instance view status." - }, - "MachineExtensionProperties": { - "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." - }, - "instanceView": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionPropertiesInstanceView" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The machine extension instance view." - }, - "protectedSettings": { - "type": "object", - "properties": {}, - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." - }, - "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 Machine Extension Properties." - }, - "MachineExtensionPropertiesInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - }, - "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": "The machine extension instance view." - }, - "MachineIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - } - }, - "MachinePropertiesModel": { - "type": "object", - "properties": { - "clientPublicKey": { - "type": "string", - "description": "Public Key that the client provides to be used during initial resource onboarding" - }, - "extensions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MachineExtensionInstanceView" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Machine Extensions information" - }, - "locationData": { - "oneOf": [ - { - "$ref": "#/definitions/LocationData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "osProfile": { - "oneOf": [ - { - "$ref": "#/definitions/MachinePropertiesOsProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the operating system settings for the hybrid machine." - }, - "vmId": { - "type": "string", - "description": "Specifies the hybrid machine unique ID." - } - }, - "description": "Hybrid Compute Machine properties" - }, - "MachinePropertiesOsProfile": { - "type": "object", - "properties": {}, - "description": "Specifies the operating system settings for the hybrid machine." - }, - "machines_extensions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes Machine Extension 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": [ - "extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - } - } -} \ No newline at end of file diff --git a/schemas/2020-07-30-preview/Microsoft.HybridCompute.json b/schemas/2020-07-30-preview/Microsoft.HybridCompute.json deleted file mode 100644 index cc8892bc76..0000000000 --- a/schemas/2020-07-30-preview/Microsoft.HybridCompute.json +++ /dev/null @@ -1,448 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-07-30-preview/Microsoft.HybridCompute.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.HybridCompute", - "description": "Microsoft HybridCompute Resource Types", - "resourceDefinitions": { - "machines": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-07-30-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/MachineIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the hybrid machine." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachinePropertiesModel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Hybrid Compute Machine properties" - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/machines_extensions_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.HybridCompute/machines" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines" - }, - "machines_extensions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-07-30-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes Machine Extension 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.HybridCompute/machines/extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - } - }, - "definitions": { - "LocationData": { - "type": "object", - "properties": { - "city": { - "type": "string", - "description": "The city or locality where the resource is located." - }, - "countryOrRegion": { - "type": "string", - "description": "The country or region where the resource is located" - }, - "district": { - "type": "string", - "description": "The district, state, or province where the resource is located." - }, - "name": { - "type": "string", - "maxLength": 256, - "description": "A canonical name for the geographic or physical location." - } - }, - "required": [ - "name" - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "MachineExtensionInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - }, - "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 Machine Extension Instance View." - }, - "MachineExtensionInstanceViewStatus": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "level": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Info", - "Warning", - "Error" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The level code." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "format": "date-time", - "description": "The time of the status." - } - }, - "description": "Instance view status." - }, - "MachineExtensionProperties": { - "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." - }, - "instanceView": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionPropertiesInstanceView" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The machine extension instance view." - }, - "protectedSettings": { - "type": "object", - "properties": {}, - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." - }, - "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 Machine Extension Properties." - }, - "MachineExtensionPropertiesInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - }, - "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": "The machine extension instance view." - }, - "MachineIdentity": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The identity type." - } - } - }, - "MachinePropertiesModel": { - "type": "object", - "properties": { - "clientPublicKey": { - "type": "string", - "description": "Public Key that the client provides to be used during initial resource onboarding" - }, - "extensions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MachineExtensionInstanceView" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Machine Extensions information" - }, - "locationData": { - "oneOf": [ - { - "$ref": "#/definitions/LocationData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "osProfile": { - "oneOf": [ - { - "$ref": "#/definitions/MachinePropertiesOsProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the operating system settings for the hybrid machine." - }, - "vmId": { - "type": "string", - "description": "Specifies the hybrid machine unique ID." - } - }, - "description": "Hybrid Compute Machine properties" - }, - "MachinePropertiesOsProfile": { - "type": "object", - "properties": {}, - "description": "Specifies the operating system settings for the hybrid machine." - }, - "machines_extensions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-07-30-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes Machine Extension 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": [ - "extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - } - } -} \ No newline at end of file diff --git a/schemas/2020-08-02/Microsoft.HybridCompute.json b/schemas/2020-08-02/Microsoft.HybridCompute.json deleted file mode 100644 index 33a49555d1..0000000000 --- a/schemas/2020-08-02/Microsoft.HybridCompute.json +++ /dev/null @@ -1,359 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-08-02/Microsoft.HybridCompute.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.HybridCompute", - "description": "Microsoft HybridCompute Resource Types", - "resourceDefinitions": { - "machines": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-02" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/MachineIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the hybrid machine." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachinePropertiesModel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Hybrid Compute Machine properties" - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/machines_extensions_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.HybridCompute/machines" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines" - }, - "machines_extensions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-02" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes Machine Extension 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.HybridCompute/machines/extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - } - }, - "definitions": { - "LocationData": { - "type": "object", - "properties": { - "city": { - "type": "string", - "description": "The city or locality where the resource is located." - }, - "countryOrRegion": { - "type": "string", - "description": "The country or region where the resource is located" - }, - "district": { - "type": "string", - "description": "The district, state, or province where the resource is located." - }, - "name": { - "type": "string", - "maxLength": 256, - "description": "A canonical name for the geographic or physical location." - } - }, - "required": [ - "name" - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "MachineExtensionInstanceViewStatus": { - "type": "object", - "properties": {}, - "description": "Instance view status." - }, - "MachineExtensionProperties": { - "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." - }, - "instanceView": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionPropertiesInstanceView" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The machine extension instance view." - }, - "protectedSettings": { - "type": "object", - "properties": {}, - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." - }, - "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 Machine Extension Properties." - }, - "MachineExtensionPropertiesInstanceView": { - "type": "object", - "properties": { - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - } - }, - "description": "The machine extension instance view." - }, - "MachineIdentity": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The identity type." - } - } - }, - "MachinePropertiesModel": { - "type": "object", - "properties": { - "clientPublicKey": { - "type": "string", - "description": "Public Key that the client provides to be used during initial resource onboarding" - }, - "locationData": { - "oneOf": [ - { - "$ref": "#/definitions/LocationData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "osProfile": { - "oneOf": [ - { - "$ref": "#/definitions/MachinePropertiesOsProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the operating system settings for the hybrid machine." - }, - "vmId": { - "type": "string", - "description": "Specifies the hybrid machine unique ID." - } - }, - "description": "Hybrid Compute Machine properties" - }, - "MachinePropertiesOsProfile": { - "type": "object", - "properties": {}, - "description": "Specifies the operating system settings for the hybrid machine." - }, - "machines_extensions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-02" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes Machine Extension 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": [ - "extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - } - } -} \ No newline at end of file diff --git a/schemas/2020-08-15-preview/Microsoft.HybridCompute.json b/schemas/2020-08-15-preview/Microsoft.HybridCompute.json deleted file mode 100644 index 1007a274dd..0000000000 --- a/schemas/2020-08-15-preview/Microsoft.HybridCompute.json +++ /dev/null @@ -1,763 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-08-15-preview/Microsoft.HybridCompute.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.HybridCompute", - "description": "Microsoft HybridCompute Resource Types", - "resourceDefinitions": { - "machines": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/MachineIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the hybrid machine." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachinePropertiesModel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Hybrid Compute Machine properties" - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/machines_extensions_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.HybridCompute/machines" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines" - }, - "machines_extensions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-15-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes Machine Extension 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.HybridCompute/machines/extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "privateLinkScopes": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-15-preview" - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "The name of the Azure Arc PrivateLinkScope resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/privateLinkScopes_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/privateLinkScopes_scopedResources_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.HybridCompute/privateLinkScopes" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes" - }, - "privateLinkScopes_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - }, - "privateLinkScopes_scopedResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the scoped resource object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScopedResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private link scoped resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.HybridCompute/privateLinkScopes/scopedResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/scopedResources" - } - }, - "definitions": { - "HybridComputePrivateLinkScopeProperties": { - "type": "object", - "properties": { - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints." - } - }, - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "LocationData": { - "type": "object", - "properties": { - "city": { - "type": "string", - "description": "The city or locality where the resource is located." - }, - "countryOrRegion": { - "type": "string", - "description": "The country or region where the resource is located" - }, - "district": { - "type": "string", - "description": "The district, state, or province where the resource is located." - }, - "name": { - "type": "string", - "maxLength": 256, - "description": "A canonical name for the geographic or physical location." - } - }, - "required": [ - "name" - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "MachineExtensionInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - }, - "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 Machine Extension Instance View." - }, - "MachineExtensionInstanceViewStatus": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "level": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Info", - "Warning", - "Error" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The level code." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "format": "date-time", - "description": "The time of the status." - } - }, - "description": "Instance view status." - }, - "MachineExtensionProperties": { - "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." - }, - "instanceView": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionPropertiesInstanceView" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The machine extension instance view." - }, - "protectedSettings": { - "type": "object", - "properties": {}, - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." - }, - "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 Machine Extension Properties." - }, - "MachineExtensionPropertiesInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - }, - "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": "The machine extension instance view." - }, - "MachineIdentity": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The identity type." - } - } - }, - "MachinePropertiesModel": { - "type": "object", - "properties": { - "clientPublicKey": { - "type": "string", - "description": "Public Key that the client provides to be used during initial resource onboarding" - }, - "extensions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MachineExtensionInstanceView" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Machine Extensions information" - }, - "locationData": { - "oneOf": [ - { - "$ref": "#/definitions/LocationData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "osProfile": { - "oneOf": [ - { - "$ref": "#/definitions/MachinePropertiesOsProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the operating system settings for the hybrid machine." - }, - "vmId": { - "type": "string", - "description": "Specifies the hybrid machine unique ID." - } - }, - "description": "Hybrid Compute Machine properties" - }, - "MachinePropertiesOsProfile": { - "type": "object", - "properties": {}, - "description": "Specifies the operating system settings for the hybrid machine." - }, - "machines_extensions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-15-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes Machine Extension 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": [ - "extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "State of the private endpoint connection." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkScopes_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - }, - "privateLinkScopes_scopedResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the scoped resource object." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScopedResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private link scoped resource." - }, - "type": { - "type": "string", - "enum": [ - "scopedResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/scopedResources" - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "required": [ - "description", - "status" - ], - "description": "State of the private endpoint connection." - }, - "ScopedResourceProperties": { - "type": "object", - "properties": { - "linkedResourceId": { - "type": "string", - "description": "The resource id of the scoped Azure monitor resource." - } - }, - "description": "Properties of a private link scoped resource." - } - } -} \ No newline at end of file diff --git a/schemas/2021-01-28-preview/Microsoft.HybridCompute.json b/schemas/2021-01-28-preview/Microsoft.HybridCompute.json deleted file mode 100644 index 70be7cd5fd..0000000000 --- a/schemas/2021-01-28-preview/Microsoft.HybridCompute.json +++ /dev/null @@ -1,659 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-28-preview/Microsoft.HybridCompute.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.HybridCompute", - "description": "Microsoft HybridCompute Resource Types", - "resourceDefinitions": { - "machines": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-28-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the hybrid machine." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a hybrid machine." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/machines_extensions_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.HybridCompute/machines" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines" - }, - "machines_extensions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-28-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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.HybridCompute/machines/extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "privateLinkScopes": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-28-preview" - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "The name of the Azure Arc PrivateLinkScope resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/privateLinkScopes_privateEndpointConnections_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.HybridCompute/privateLinkScopes" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes" - }, - "privateLinkScopes_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-28-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - } - }, - "definitions": { - "HybridComputePrivateLinkScopeProperties": { - "type": "object", - "properties": { - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints." - } - }, - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "Identity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - }, - "description": "Identity for the resource." - }, - "LocationData": { - "type": "object", - "properties": { - "city": { - "type": "string", - "description": "The city or locality where the resource is located." - }, - "countryOrRegion": { - "type": "string", - "description": "The country or region where the resource is located" - }, - "district": { - "type": "string", - "description": "The district, state, or province where the resource is located." - }, - "name": { - "type": "string", - "maxLength": 256, - "description": "A canonical name for the geographic or physical location." - } - }, - "required": [ - "name" - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "MachineExtensionInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - }, - "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 Machine Extension Instance View." - }, - "MachineExtensionInstanceViewStatus": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "level": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Info", - "Warning", - "Error" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The level code." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "format": "date-time", - "description": "The time of the status." - } - }, - "description": "Instance view status." - }, - "MachineExtensionProperties": { - "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." - }, - "instanceView": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceView" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the Machine Extension Instance View." - }, - "protectedSettings": { - "type": "object", - "properties": {}, - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." - }, - "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." - }, - "MachineProperties": { - "type": "object", - "properties": { - "clientPublicKey": { - "type": "string", - "description": "Public Key that the client provides to be used during initial resource onboarding" - }, - "extensions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MachineExtensionInstanceView" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Machine Extensions information" - }, - "locationData": { - "oneOf": [ - { - "$ref": "#/definitions/LocationData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "osProfile": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the operating system settings for the hybrid machine." - }, - "privateLinkScopeResourceId": { - "type": "string", - "description": "The resource id of the private link scope this machine is assigned to, if any." - }, - "vmId": { - "type": "string", - "description": "Specifies the hybrid machine unique ID." - } - }, - "description": "Describes the properties of a hybrid machine." - }, - "machines_extensions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-28-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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": [ - "extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "OSProfile": { - "type": "object", - "properties": {}, - "description": "Specifies the operating system settings for the hybrid machine." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "State of the private endpoint connection." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkScopes_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-28-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "required": [ - "description", - "status" - ], - "description": "State of the private endpoint connection." - } - } -} \ No newline at end of file diff --git a/schemas/2021-03-25-preview/Microsoft.HybridCompute.json b/schemas/2021-03-25-preview/Microsoft.HybridCompute.json deleted file mode 100644 index 8b581d069d..0000000000 --- a/schemas/2021-03-25-preview/Microsoft.HybridCompute.json +++ /dev/null @@ -1,678 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-03-25-preview/Microsoft.HybridCompute.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.HybridCompute", - "description": "Microsoft HybridCompute Resource Types", - "resourceDefinitions": { - "machines": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-25-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the hybrid machine." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a hybrid machine." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/machines_extensions_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.HybridCompute/machines" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines" - }, - "machines_extensions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-25-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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.HybridCompute/machines/extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "privateLinkScopes": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-25-preview" - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "The name of the Azure Arc PrivateLinkScope resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/privateLinkScopes_privateEndpointConnections_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.HybridCompute/privateLinkScopes" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes" - }, - "privateLinkScopes_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-25-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - } - }, - "definitions": { - "HybridComputePrivateLinkScopeProperties": { - "type": "object", - "properties": { - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints." - } - }, - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "Identity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - }, - "description": "Identity for the resource." - }, - "LocationData": { - "type": "object", - "properties": { - "city": { - "type": "string", - "description": "The city or locality where the resource is located." - }, - "countryOrRegion": { - "type": "string", - "description": "The country or region where the resource is located" - }, - "district": { - "type": "string", - "description": "The district, state, or province where the resource is located." - }, - "name": { - "type": "string", - "maxLength": 256, - "description": "A canonical name for the geographic or physical location." - } - }, - "required": [ - "name" - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "MachineExtensionInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - }, - "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 Machine Extension Instance View." - }, - "MachineExtensionInstanceViewStatus": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "level": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Info", - "Warning", - "Error" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The level code." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "format": "date-time", - "description": "The time of the status." - } - }, - "description": "Instance view status." - }, - "MachineExtensionProperties": { - "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." - }, - "instanceView": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceView" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the Machine Extension Instance View." - }, - "protectedSettings": { - "type": "object", - "properties": {}, - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." - }, - "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." - }, - "MachineProperties": { - "type": "object", - "properties": { - "clientPublicKey": { - "type": "string", - "description": "Public Key that the client provides to be used during initial resource onboarding" - }, - "detectedProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Detected properties from the machine." - }, - "extensions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MachineExtensionInstanceView" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Machine Extensions information" - }, - "locationData": { - "oneOf": [ - { - "$ref": "#/definitions/LocationData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "osProfile": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the operating system settings for the hybrid machine." - }, - "parentClusterResourceId": { - "type": "string", - "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any." - }, - "privateLinkScopeResourceId": { - "type": "string", - "description": "The resource id of the private link scope this machine is assigned to, if any." - }, - "vmId": { - "type": "string", - "description": "Specifies the hybrid machine unique ID." - } - }, - "description": "Describes the properties of a hybrid machine." - }, - "machines_extensions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-25-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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": [ - "extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "OSProfile": { - "type": "object", - "properties": {}, - "description": "Specifies the operating system settings for the hybrid machine." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "State of the private endpoint connection." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkScopes_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-25-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "required": [ - "description", - "status" - ], - "description": "State of the private endpoint connection." - } - } -} \ No newline at end of file diff --git a/schemas/2021-04-22-preview/Microsoft.HybridCompute.json b/schemas/2021-04-22-preview/Microsoft.HybridCompute.json deleted file mode 100644 index 1732d3d636..0000000000 --- a/schemas/2021-04-22-preview/Microsoft.HybridCompute.json +++ /dev/null @@ -1,678 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-04-22-preview/Microsoft.HybridCompute.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.HybridCompute", - "description": "Microsoft HybridCompute Resource Types", - "resourceDefinitions": { - "machines": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-22-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the hybrid machine." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a hybrid machine." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/machines_extensions_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.HybridCompute/machines" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines" - }, - "machines_extensions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-22-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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.HybridCompute/machines/extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "privateLinkScopes": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-22-preview" - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "The name of the Azure Arc PrivateLinkScope resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/privateLinkScopes_privateEndpointConnections_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.HybridCompute/privateLinkScopes" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes" - }, - "privateLinkScopes_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-22-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - } - }, - "definitions": { - "HybridComputePrivateLinkScopeProperties": { - "type": "object", - "properties": { - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints." - } - }, - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "Identity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - }, - "description": "Identity for the resource." - }, - "LocationData": { - "type": "object", - "properties": { - "city": { - "type": "string", - "description": "The city or locality where the resource is located." - }, - "countryOrRegion": { - "type": "string", - "description": "The country or region where the resource is located" - }, - "district": { - "type": "string", - "description": "The district, state, or province where the resource is located." - }, - "name": { - "type": "string", - "maxLength": 256, - "description": "A canonical name for the geographic or physical location." - } - }, - "required": [ - "name" - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "MachineExtensionInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - }, - "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 Machine Extension Instance View." - }, - "MachineExtensionInstanceViewStatus": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "level": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Info", - "Warning", - "Error" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The level code." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "format": "date-time", - "description": "The time of the status." - } - }, - "description": "Instance view status." - }, - "MachineExtensionProperties": { - "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." - }, - "instanceView": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceView" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the Machine Extension Instance View." - }, - "protectedSettings": { - "type": "object", - "properties": {}, - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." - }, - "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." - }, - "MachineProperties": { - "type": "object", - "properties": { - "clientPublicKey": { - "type": "string", - "description": "Public Key that the client provides to be used during initial resource onboarding" - }, - "detectedProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Detected properties from the machine." - }, - "extensions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MachineExtensionInstanceView" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Machine Extensions information" - }, - "locationData": { - "oneOf": [ - { - "$ref": "#/definitions/LocationData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "osProfile": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the operating system settings for the hybrid machine." - }, - "parentClusterResourceId": { - "type": "string", - "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any." - }, - "privateLinkScopeResourceId": { - "type": "string", - "description": "The resource id of the private link scope this machine is assigned to, if any." - }, - "vmId": { - "type": "string", - "description": "Specifies the hybrid machine unique ID." - } - }, - "description": "Describes the properties of a hybrid machine." - }, - "machines_extensions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-22-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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": [ - "extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "OSProfile": { - "type": "object", - "properties": {}, - "description": "Specifies the operating system settings for the hybrid machine." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "State of the private endpoint connection." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkScopes_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-22-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "required": [ - "description", - "status" - ], - "description": "State of the private endpoint connection." - } - } -} \ No newline at end of file diff --git a/schemas/2021-05-17-preview/Microsoft.HybridCompute.json b/schemas/2021-05-17-preview/Microsoft.HybridCompute.json deleted file mode 100644 index 1940871c43..0000000000 --- a/schemas/2021-05-17-preview/Microsoft.HybridCompute.json +++ /dev/null @@ -1,678 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-05-17-preview/Microsoft.HybridCompute.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.HybridCompute", - "description": "Microsoft HybridCompute Resource Types", - "resourceDefinitions": { - "machines": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-17-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the hybrid machine." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a hybrid machine." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/machines_extensions_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.HybridCompute/machines" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines" - }, - "machines_extensions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-17-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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.HybridCompute/machines/extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "privateLinkScopes": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-17-preview" - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "The name of the Azure Arc PrivateLinkScope resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/privateLinkScopes_privateEndpointConnections_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.HybridCompute/privateLinkScopes" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes" - }, - "privateLinkScopes_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-17-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - } - }, - "definitions": { - "HybridComputePrivateLinkScopeProperties": { - "type": "object", - "properties": { - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints." - } - }, - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "Identity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - }, - "description": "Identity for the resource." - }, - "LocationData": { - "type": "object", - "properties": { - "city": { - "type": "string", - "description": "The city or locality where the resource is located." - }, - "countryOrRegion": { - "type": "string", - "description": "The country or region where the resource is located" - }, - "district": { - "type": "string", - "description": "The district, state, or province where the resource is located." - }, - "name": { - "type": "string", - "maxLength": 256, - "description": "A canonical name for the geographic or physical location." - } - }, - "required": [ - "name" - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "MachineExtensionInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - }, - "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 Machine Extension Instance View." - }, - "MachineExtensionInstanceViewStatus": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "level": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Info", - "Warning", - "Error" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The level code." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "format": "date-time", - "description": "The time of the status." - } - }, - "description": "Instance view status." - }, - "MachineExtensionProperties": { - "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." - }, - "instanceView": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceView" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the Machine Extension Instance View." - }, - "protectedSettings": { - "type": "object", - "properties": {}, - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." - }, - "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." - }, - "MachineProperties": { - "type": "object", - "properties": { - "clientPublicKey": { - "type": "string", - "description": "Public Key that the client provides to be used during initial resource onboarding" - }, - "detectedProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Detected properties from the machine." - }, - "extensions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MachineExtensionInstanceView" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Machine Extensions information" - }, - "locationData": { - "oneOf": [ - { - "$ref": "#/definitions/LocationData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "osProfile": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the operating system settings for the hybrid machine." - }, - "parentClusterResourceId": { - "type": "string", - "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any." - }, - "privateLinkScopeResourceId": { - "type": "string", - "description": "The resource id of the private link scope this machine is assigned to, if any." - }, - "vmId": { - "type": "string", - "description": "Specifies the hybrid machine unique ID." - } - }, - "description": "Describes the properties of a hybrid machine." - }, - "machines_extensions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-17-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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": [ - "extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "OSProfile": { - "type": "object", - "properties": {}, - "description": "Specifies the operating system settings for the hybrid machine." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "State of the private endpoint connection." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkScopes_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-17-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "required": [ - "description", - "status" - ], - "description": "State of the private endpoint connection." - } - } -} \ No newline at end of file diff --git a/schemas/2021-05-20/Microsoft.HybridCompute.json b/schemas/2021-05-20/Microsoft.HybridCompute.json deleted file mode 100644 index ad5c3aebae..0000000000 --- a/schemas/2021-05-20/Microsoft.HybridCompute.json +++ /dev/null @@ -1,678 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-05-20/Microsoft.HybridCompute.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.HybridCompute", - "description": "Microsoft HybridCompute Resource Types", - "resourceDefinitions": { - "machines": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-20" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the hybrid machine." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a hybrid machine." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/machines_extensions_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.HybridCompute/machines" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines" - }, - "machines_extensions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-20" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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.HybridCompute/machines/extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "privateLinkScopes": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-20" - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "The name of the Azure Arc PrivateLinkScope resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/privateLinkScopes_privateEndpointConnections_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.HybridCompute/privateLinkScopes" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes" - }, - "privateLinkScopes_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-20" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - } - }, - "definitions": { - "HybridComputePrivateLinkScopeProperties": { - "type": "object", - "properties": { - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints." - } - }, - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "Identity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - }, - "description": "Identity for the resource." - }, - "LocationData": { - "type": "object", - "properties": { - "city": { - "type": "string", - "description": "The city or locality where the resource is located." - }, - "countryOrRegion": { - "type": "string", - "description": "The country or region where the resource is located" - }, - "district": { - "type": "string", - "description": "The district, state, or province where the resource is located." - }, - "name": { - "type": "string", - "maxLength": 256, - "description": "A canonical name for the geographic or physical location." - } - }, - "required": [ - "name" - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "MachineExtensionInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - }, - "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 Machine Extension Instance View." - }, - "MachineExtensionInstanceViewStatus": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "level": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Info", - "Warning", - "Error" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The level code." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "format": "date-time", - "description": "The time of the status." - } - }, - "description": "Instance view status." - }, - "MachineExtensionProperties": { - "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." - }, - "instanceView": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceView" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the Machine Extension Instance View." - }, - "protectedSettings": { - "type": "object", - "properties": {}, - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." - }, - "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." - }, - "MachineProperties": { - "type": "object", - "properties": { - "clientPublicKey": { - "type": "string", - "description": "Public Key that the client provides to be used during initial resource onboarding" - }, - "detectedProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Detected properties from the machine." - }, - "extensions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MachineExtensionInstanceView" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Machine Extensions information" - }, - "locationData": { - "oneOf": [ - { - "$ref": "#/definitions/LocationData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "osProfile": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the operating system settings for the hybrid machine." - }, - "parentClusterResourceId": { - "type": "string", - "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any." - }, - "privateLinkScopeResourceId": { - "type": "string", - "description": "The resource id of the private link scope this machine is assigned to, if any." - }, - "vmId": { - "type": "string", - "description": "Specifies the hybrid machine unique ID." - } - }, - "description": "Describes the properties of a hybrid machine." - }, - "machines_extensions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-20" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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": [ - "extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "OSProfile": { - "type": "object", - "properties": {}, - "description": "Specifies the operating system settings for the hybrid machine." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "State of the private endpoint connection." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkScopes_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-20" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "required": [ - "description", - "status" - ], - "description": "State of the private endpoint connection." - } - } -} \ No newline at end of file diff --git a/schemas/2021-06-10-preview/Microsoft.HybridCompute.json b/schemas/2021-06-10-preview/Microsoft.HybridCompute.json deleted file mode 100644 index 607704e9b8..0000000000 --- a/schemas/2021-06-10-preview/Microsoft.HybridCompute.json +++ /dev/null @@ -1,753 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-06-10-preview/Microsoft.HybridCompute.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.HybridCompute", - "description": "Microsoft HybridCompute Resource Types", - "resourceDefinitions": { - "machines": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-10-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the hybrid machine." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a hybrid machine." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/machines_extensions_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.HybridCompute/machines" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines" - }, - "machines_extensions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-10-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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.HybridCompute/machines/extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "privateLinkScopes": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-10-preview" - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "The name of the Azure Arc PrivateLinkScope resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/privateLinkScopes_privateEndpointConnections_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.HybridCompute/privateLinkScopes" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes" - }, - "privateLinkScopes_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-10-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - } - }, - "definitions": { - "HybridComputePrivateLinkScopeProperties": { - "type": "object", - "properties": { - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints." - } - }, - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "Identity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - }, - "description": "Identity for the resource." - }, - "LocationData": { - "type": "object", - "properties": { - "city": { - "type": "string", - "description": "The city or locality where the resource is located." - }, - "countryOrRegion": { - "type": "string", - "description": "The country or region where the resource is located" - }, - "district": { - "type": "string", - "description": "The district, state, or province where the resource is located." - }, - "name": { - "type": "string", - "maxLength": 256, - "description": "A canonical name for the geographic or physical location." - } - }, - "required": [ - "name" - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "MachineExtensionInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - }, - "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 Machine Extension Instance View." - }, - "MachineExtensionInstanceViewStatus": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "level": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Info", - "Warning", - "Error" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The level code." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "format": "date-time", - "description": "The time of the status." - } - }, - "description": "Instance view status." - }, - "MachineExtensionProperties": { - "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." - }, - "instanceView": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceView" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the Machine Extension Instance View." - }, - "protectedSettings": { - "type": "object", - "properties": {}, - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." - }, - "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." - }, - "MachineProperties": { - "type": "object", - "properties": { - "clientPublicKey": { - "type": "string", - "description": "Public Key that the client provides to be used during initial resource onboarding" - }, - "detectedProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Detected properties from the machine." - }, - "extensions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MachineExtensionInstanceView" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Machine Extensions information" - }, - "locationData": { - "oneOf": [ - { - "$ref": "#/definitions/LocationData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "mssqlDiscovered": { - "type": "string", - "description": "Specifies whether any MS SQL instance is discovered on the machine." - }, - "osProfile": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the operating system settings for the hybrid machine." - }, - "osType": { - "type": "string", - "description": "The type of Operating System (windows/linux)." - }, - "parentClusterResourceId": { - "type": "string", - "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any." - }, - "privateLinkScopeResourceId": { - "type": "string", - "description": "The resource id of the private link scope this machine is assigned to, if any." - }, - "vmId": { - "type": "string", - "description": "Specifies the hybrid machine unique ID." - } - }, - "description": "Describes the properties of a hybrid machine." - }, - "machines_extensions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-10-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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": [ - "extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "OSProfile": { - "type": "object", - "properties": { - "linuxConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfileLinuxConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the linux configuration for update management." - }, - "windowsConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfileWindowsConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the windows configuration for update management." - } - }, - "description": "Specifies the operating system settings for the hybrid machine." - }, - "OSProfileLinuxConfiguration": { - "type": "object", - "properties": { - "patchSettings": { - "oneOf": [ - { - "$ref": "#/definitions/PatchSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the patch settings." - } - }, - "description": "Specifies the linux configuration for update management." - }, - "OSProfileWindowsConfiguration": { - "type": "object", - "properties": { - "patchSettings": { - "oneOf": [ - { - "$ref": "#/definitions/PatchSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the patch settings." - } - }, - "description": "Specifies the windows configuration for update management." - }, - "PatchSettings": { - "type": "object", - "properties": { - "assessmentMode": { - "type": "string", - "description": "Specifies the assessment mode." - } - }, - "description": "Specifies the patch settings." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "State of the private endpoint connection." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkScopes_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-10-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "required": [ - "description", - "status" - ], - "description": "State of the private endpoint connection." - } - } -} \ No newline at end of file diff --git a/schemas/2021-12-10-preview/Microsoft.HybridCompute.json b/schemas/2021-12-10-preview/Microsoft.HybridCompute.json deleted file mode 100644 index 3b02ed121f..0000000000 --- a/schemas/2021-12-10-preview/Microsoft.HybridCompute.json +++ /dev/null @@ -1,800 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-12-10-preview/Microsoft.HybridCompute.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.HybridCompute", - "description": "Microsoft HybridCompute Resource Types", - "resourceDefinitions": { - "machines": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-10-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the hybrid machine." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a hybrid machine." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/machines_extensions_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.HybridCompute/machines" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines" - }, - "machines_extensions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-10-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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.HybridCompute/machines/extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "privateLinkScopes": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-10-preview" - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "The name of the Azure Arc PrivateLinkScope resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/privateLinkScopes_privateEndpointConnections_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.HybridCompute/privateLinkScopes" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes" - }, - "privateLinkScopes_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-10-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - } - }, - "definitions": { - "AgentConfiguration": { - "type": "object", - "properties": {}, - "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM." - }, - "CloudMetadata": { - "type": "object", - "properties": {}, - "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." - }, - "HybridComputePrivateLinkScopeProperties": { - "type": "object", - "properties": { - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints." - } - }, - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "Identity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - }, - "description": "Identity for the resource." - }, - "LocationData": { - "type": "object", - "properties": { - "city": { - "type": "string", - "description": "The city or locality where the resource is located." - }, - "countryOrRegion": { - "type": "string", - "description": "The country or region where the resource is located" - }, - "district": { - "type": "string", - "description": "The district, state, or province where the resource is located." - }, - "name": { - "type": "string", - "maxLength": 256, - "description": "A canonical name for the geographic or physical location." - } - }, - "required": [ - "name" - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "MachineExtensionInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - }, - "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 Machine Extension Instance View." - }, - "MachineExtensionInstanceViewStatus": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "level": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Info", - "Warning", - "Error" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The level code." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "format": "date-time", - "description": "The time of the status." - } - }, - "description": "Instance view status." - }, - "MachineExtensionProperties": { - "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." - }, - "enableAutomaticUpgrade": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." - }, - "forceUpdateTag": { - "type": "string", - "description": "How the extension handler should be forced to update even if the extension configuration has not changed." - }, - "instanceView": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceView" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the Machine Extension Instance View." - }, - "protectedSettings": { - "type": "object", - "properties": {}, - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." - }, - "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." - }, - "MachineProperties": { - "type": "object", - "properties": { - "agentConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/AgentConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM." - }, - "clientPublicKey": { - "type": "string", - "description": "Public Key that the client provides to be used during initial resource onboarding" - }, - "cloudMetadata": { - "oneOf": [ - { - "$ref": "#/definitions/CloudMetadata" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." - }, - "detectedProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Detected properties from the machine." - }, - "extensions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MachineExtensionInstanceView" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Machine Extensions information" - }, - "locationData": { - "oneOf": [ - { - "$ref": "#/definitions/LocationData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "mssqlDiscovered": { - "type": "string", - "description": "Specifies whether any MS SQL instance is discovered on the machine." - }, - "osProfile": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the operating system settings for the hybrid machine." - }, - "osType": { - "type": "string", - "description": "The type of Operating System (windows/linux)." - }, - "parentClusterResourceId": { - "type": "string", - "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any." - }, - "privateLinkScopeResourceId": { - "type": "string", - "description": "The resource id of the private link scope this machine is assigned to, if any." - }, - "vmId": { - "type": "string", - "description": "Specifies the hybrid machine unique ID." - } - }, - "description": "Describes the properties of a hybrid machine." - }, - "machines_extensions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-10-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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": [ - "extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "OSProfile": { - "type": "object", - "properties": { - "linuxConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfileLinuxConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the linux configuration for update management." - }, - "windowsConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfileWindowsConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the windows configuration for update management." - } - }, - "description": "Specifies the operating system settings for the hybrid machine." - }, - "OSProfileLinuxConfiguration": { - "type": "object", - "properties": { - "patchSettings": { - "oneOf": [ - { - "$ref": "#/definitions/PatchSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the patch settings." - } - }, - "description": "Specifies the linux configuration for update management." - }, - "OSProfileWindowsConfiguration": { - "type": "object", - "properties": { - "patchSettings": { - "oneOf": [ - { - "$ref": "#/definitions/PatchSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the patch settings." - } - }, - "description": "Specifies the windows configuration for update management." - }, - "PatchSettings": { - "type": "object", - "properties": { - "assessmentMode": { - "type": "string", - "description": "Specifies the assessment mode." - }, - "patchMode": { - "type": "string", - "description": "Specifies the patch mode." - } - }, - "description": "Specifies the patch settings." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "State of the private endpoint connection." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkScopes_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-12-10-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "required": [ - "description", - "status" - ], - "description": "State of the private endpoint connection." - } - } -} \ No newline at end of file diff --git a/schemas/2022-03-10/Microsoft.HybridCompute.json b/schemas/2022-03-10/Microsoft.HybridCompute.json deleted file mode 100644 index d4ef8096ca..0000000000 --- a/schemas/2022-03-10/Microsoft.HybridCompute.json +++ /dev/null @@ -1,877 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-03-10/Microsoft.HybridCompute.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.HybridCompute", - "description": "Microsoft HybridCompute Resource Types", - "resourceDefinitions": { - "machines": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-03-10" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the hybrid machine." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a hybrid machine." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/machines_extensions_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.HybridCompute/machines" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines" - }, - "machines_extensions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-03-10" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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.HybridCompute/machines/extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "privateLinkScopes": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-03-10" - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "The name of the Azure Arc PrivateLinkScope resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/privateLinkScopes_privateEndpointConnections_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.HybridCompute/privateLinkScopes" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes" - }, - "privateLinkScopes_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-03-10" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - } - }, - "definitions": { - "AgentConfiguration": { - "type": "object", - "properties": {}, - "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM." - }, - "CloudMetadata": { - "type": "object", - "properties": {}, - "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." - }, - "HybridComputePrivateLinkScopeProperties": { - "type": "object", - "properties": { - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints." - } - }, - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "Identity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - }, - "description": "Identity for the resource." - }, - "LocationData": { - "type": "object", - "properties": { - "city": { - "type": "string", - "description": "The city or locality where the resource is located." - }, - "countryOrRegion": { - "type": "string", - "description": "The country or region where the resource is located" - }, - "district": { - "type": "string", - "description": "The district, state, or province where the resource is located." - }, - "name": { - "type": "string", - "maxLength": 256, - "description": "A canonical name for the geographic or physical location." - } - }, - "required": [ - "name" - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "MachineExtensionInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - }, - "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 Machine Extension Instance View." - }, - "MachineExtensionInstanceViewStatus": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "level": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Info", - "Warning", - "Error" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The level code." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "format": "date-time", - "description": "The time of the status." - } - }, - "description": "Instance view status." - }, - "MachineExtensionProperties": { - "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." - }, - "enableAutomaticUpgrade": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." - }, - "forceUpdateTag": { - "type": "string", - "description": "How the extension handler should be forced to update even if the extension configuration has not changed." - }, - "instanceView": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceView" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the Machine Extension Instance View." - }, - "protectedSettings": { - "type": "object", - "properties": {}, - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." - }, - "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." - }, - "MachineProperties": { - "type": "object", - "properties": { - "agentConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/AgentConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM." - }, - "clientPublicKey": { - "type": "string", - "description": "Public Key that the client provides to be used during initial resource onboarding" - }, - "cloudMetadata": { - "oneOf": [ - { - "$ref": "#/definitions/CloudMetadata" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." - }, - "detectedProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Detected properties from the machine." - }, - "extensions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MachineExtensionInstanceView" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Machine Extensions information" - }, - "locationData": { - "oneOf": [ - { - "$ref": "#/definitions/LocationData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "mssqlDiscovered": { - "type": "string", - "description": "Specifies whether any MS SQL instance is discovered on the machine." - }, - "osProfile": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the operating system settings for the hybrid machine." - }, - "osType": { - "type": "string", - "description": "The type of Operating System (windows/linux)." - }, - "parentClusterResourceId": { - "type": "string", - "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any." - }, - "privateLinkScopeResourceId": { - "type": "string", - "description": "The resource id of the private link scope this machine is assigned to, if any." - }, - "serviceStatuses": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceStatuses" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Reports the state and behavior of dependent services." - }, - "vmId": { - "type": "string", - "description": "Specifies the hybrid machine unique ID." - } - }, - "description": "Describes the properties of a hybrid machine." - }, - "machines_extensions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-03-10" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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": [ - "extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "OSProfile": { - "type": "object", - "properties": { - "linuxConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfileLinuxConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the linux configuration for update management." - }, - "windowsConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfileWindowsConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the windows configuration for update management." - } - }, - "description": "Specifies the operating system settings for the hybrid machine." - }, - "OSProfileLinuxConfiguration": { - "type": "object", - "properties": { - "patchSettings": { - "oneOf": [ - { - "$ref": "#/definitions/PatchSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the patch settings." - } - }, - "description": "Specifies the linux configuration for update management." - }, - "OSProfileWindowsConfiguration": { - "type": "object", - "properties": { - "patchSettings": { - "oneOf": [ - { - "$ref": "#/definitions/PatchSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the patch settings." - } - }, - "description": "Specifies the windows configuration for update management." - }, - "PatchSettings": { - "type": "object", - "properties": { - "assessmentMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ImageDefault", - "AutomaticByPlatform" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the assessment mode." - }, - "patchMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ImageDefault", - "AutomaticByPlatform", - "AutomaticByOS", - "Manual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the patch mode." - } - }, - "description": "Specifies the patch settings." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "State of the private endpoint connection." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkScopes_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-03-10" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "required": [ - "description", - "status" - ], - "description": "State of the private endpoint connection." - }, - "ServiceStatus": { - "type": "object", - "properties": { - "startupType": { - "type": "string", - "description": "The behavior of the service when the Arc-enabled machine starts up." - }, - "status": { - "type": "string", - "description": "The current status of the service." - } - }, - "description": "Describes the status and behavior of a service." - }, - "ServiceStatuses": { - "type": "object", - "properties": { - "extensionService": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the status and behavior of a service." - }, - "guestConfigurationService": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the status and behavior of a service." - } - }, - "description": "Reports the state and behavior of dependent services." - } - } -} \ No newline at end of file diff --git a/schemas/2022-05-10-preview/Microsoft.HybridCompute.json b/schemas/2022-05-10-preview/Microsoft.HybridCompute.json deleted file mode 100644 index 0ff5395eea..0000000000 --- a/schemas/2022-05-10-preview/Microsoft.HybridCompute.json +++ /dev/null @@ -1,885 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-05-10-preview/Microsoft.HybridCompute.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.HybridCompute", - "description": "Microsoft HybridCompute Resource Types", - "resourceDefinitions": { - "machines": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-05-10-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the hybrid machine." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a hybrid machine." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/machines_extensions_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.HybridCompute/machines" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines" - }, - "machines_extensions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-05-10-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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.HybridCompute/machines/extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "privateLinkScopes": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-05-10-preview" - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "The name of the Azure Arc PrivateLinkScope resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/privateLinkScopes_privateEndpointConnections_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.HybridCompute/privateLinkScopes" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes" - }, - "privateLinkScopes_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-05-10-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - } - }, - "definitions": { - "AgentConfiguration": { - "type": "object", - "properties": {}, - "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM." - }, - "CloudMetadata": { - "type": "object", - "properties": {}, - "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." - }, - "HybridComputePrivateLinkScopeProperties": { - "type": "object", - "properties": { - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints." - } - }, - "description": "Properties that define a Azure Arc PrivateLinkScope resource." - }, - "Identity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - }, - "description": "Identity for the resource." - }, - "LocationData": { - "type": "object", - "properties": { - "city": { - "type": "string", - "description": "The city or locality where the resource is located." - }, - "countryOrRegion": { - "type": "string", - "description": "The country or region where the resource is located" - }, - "district": { - "type": "string", - "description": "The district, state, or province where the resource is located." - }, - "name": { - "type": "string", - "maxLength": 256, - "description": "A canonical name for the geographic or physical location." - } - }, - "required": [ - "name" - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "MachineExtensionInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The machine extension name." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceViewStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance view status." - }, - "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 Machine Extension Instance View." - }, - "MachineExtensionInstanceViewStatus": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "level": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Info", - "Warning", - "Error" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The level code." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "format": "date-time", - "description": "The time of the status." - } - }, - "description": "Instance view status." - }, - "MachineExtensionProperties": { - "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." - }, - "enableAutomaticUpgrade": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." - }, - "forceUpdateTag": { - "type": "string", - "description": "How the extension handler should be forced to update even if the extension configuration has not changed." - }, - "instanceView": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceView" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the Machine Extension Instance View." - }, - "protectedSettings": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." - }, - "publisher": { - "type": "string", - "description": "The name of the extension handler publisher." - }, - "settings": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "MachineProperties": { - "type": "object", - "properties": { - "agentConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/AgentConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM." - }, - "clientPublicKey": { - "type": "string", - "description": "Public Key that the client provides to be used during initial resource onboarding" - }, - "cloudMetadata": { - "oneOf": [ - { - "$ref": "#/definitions/CloudMetadata" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." - }, - "detectedProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Detected properties from the machine." - }, - "locationData": { - "oneOf": [ - { - "$ref": "#/definitions/LocationData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to the geographic location of the resource." - }, - "mssqlDiscovered": { - "type": "string", - "description": "Specifies whether any MS SQL instance is discovered on the machine." - }, - "osProfile": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the operating system settings for the hybrid machine." - }, - "osType": { - "type": "string", - "description": "The type of Operating System (windows/linux)." - }, - "parentClusterResourceId": { - "type": "string", - "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any." - }, - "privateLinkScopeResourceId": { - "type": "string", - "description": "The resource id of the private link scope this machine is assigned to, if any." - }, - "serviceStatuses": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceStatuses" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Reports the state and behavior of dependent services." - }, - "vmId": { - "type": "string", - "description": "Specifies the hybrid machine unique ID." - } - }, - "description": "Describes the properties of a hybrid machine." - }, - "machines_extensions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-05-10-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the machine extension." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MachineExtensionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a Machine Extension." - }, - "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": [ - "extensions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/machines/extensions" - }, - "OSProfile": { - "type": "object", - "properties": { - "linuxConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfileLinuxConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the linux configuration for update management." - }, - "windowsConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/OSProfileWindowsConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the windows configuration for update management." - } - }, - "description": "Specifies the operating system settings for the hybrid machine." - }, - "OSProfileLinuxConfiguration": { - "type": "object", - "properties": { - "patchSettings": { - "oneOf": [ - { - "$ref": "#/definitions/PatchSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the patch settings." - } - }, - "description": "Specifies the linux configuration for update management." - }, - "OSProfileWindowsConfiguration": { - "type": "object", - "properties": { - "patchSettings": { - "oneOf": [ - { - "$ref": "#/definitions/PatchSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the patch settings." - } - }, - "description": "Specifies the windows configuration for update management." - }, - "PatchSettings": { - "type": "object", - "properties": { - "assessmentMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ImageDefault", - "AutomaticByPlatform" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the assessment mode." - }, - "patchMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ImageDefault", - "AutomaticByPlatform", - "AutomaticByOS", - "Manual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the patch mode." - } - }, - "description": "Specifies the patch settings." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "State of the private endpoint connection." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkScopes_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-05-10-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections" - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "required": [ - "description", - "status" - ], - "description": "State of the private endpoint connection." - }, - "ServiceStatus": { - "type": "object", - "properties": { - "startupType": { - "type": "string", - "description": "The behavior of the service when the Arc-enabled machine starts up." - }, - "status": { - "type": "string", - "description": "The current status of the service." - } - }, - "description": "Describes the status and behavior of a service." - }, - "ServiceStatuses": { - "type": "object", - "properties": { - "extensionService": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the status and behavior of a service." - }, - "guestConfigurationService": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the status and behavior of a service." - } - }, - "description": "Reports the state and behavior of dependent services." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 4fb63dc8f2..ae30774c3e 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -10846,156 +10846,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-06-01/Microsoft.HealthcareApis.json#/resourceDefinitions/workspaces_privateEndpointConnections" }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-03-18-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-02-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-02-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.HybridCompute.json#/resourceDefinitions/machines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.HybridCompute.json#/resourceDefinitions/machines_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-07-30-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-07-30-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-02/Microsoft.HybridCompute.json#/resourceDefinitions/machines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-02/Microsoft.HybridCompute.json#/resourceDefinitions/machines_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-15-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-15-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-15-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-15-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-15-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes_scopedResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-28-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-28-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-28-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-28-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-25-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-25-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-25-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-25-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-22-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-22-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-22-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-22-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-17-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-17-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-17-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-17-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-20/Microsoft.HybridCompute.json#/resourceDefinitions/machines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-20/Microsoft.HybridCompute.json#/resourceDefinitions/machines_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-20/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-20/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-10-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-10-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-10-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-10-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-12-10-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-12-10-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-12-10-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-12-10-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-03-10/Microsoft.HybridCompute.json#/resourceDefinitions/machines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-03-10/Microsoft.HybridCompute.json#/resourceDefinitions/machines_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-03-10/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-03-10/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-05-10-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-05-10-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-05-10-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-05-10-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes_privateEndpointConnections" - }, { "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.HybridContainerService.json#/resourceDefinitions/provisionedClusters" },