diff --git a/schemas/2023-01-01-preview/Microsoft.SqlVirtualMachine.json b/schemas/2023-01-01-preview/Microsoft.SqlVirtualMachine.json new file mode 100644 index 0000000000..c8fea3a38b --- /dev/null +++ b/schemas/2023-01-01-preview/Microsoft.SqlVirtualMachine.json @@ -0,0 +1,1666 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.SqlVirtualMachine.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.SqlVirtualMachine", + "description": "Microsoft SqlVirtualMachine Resource Types", + "resourceDefinitions": { + "sqlVirtualMachineGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-01-01-preview" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "Name of the SQL virtual machine group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlVirtualMachineGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a SQL virtual machine group." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/sqlVirtualMachineGroups_availabilityGroupListeners_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.SqlVirtualMachine/sqlVirtualMachineGroups" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups" + }, + "sqlVirtualMachineGroups_availabilityGroupListeners": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-01-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the availability group listener." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AvailabilityGroupListenerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an availability group listener." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/availabilityGroupListeners" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/availabilityGroupListeners" + }, + "sqlVirtualMachines": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-01-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Active Directory identity configuration for a resource." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^((?!_)[^\\\\/\"'\\[\\]:|<>+=;,?*@&]{1,64}(?