From 46bdcbf8ae9d39365778bd52abf445080417b4da Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 24 Apr 2023 00:17:22 +0000 Subject: [PATCH] CodeGen from PR 23469 in Azure/azure-rest-api-specs Merge bf542d6398622d519280d2f97cb17a2f4fcc3a62 into e5329a9757986fa07d2572861dce3380e92d2f9c --- .../Microsoft.SqlVirtualMachine.json | 1666 +++++++++++++++++ schemas/common/autogeneratedResources.json | 9 + 2 files changed, 1675 insertions(+) create mode 100644 schemas/2023-01-01-preview/Microsoft.SqlVirtualMachine.json 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}(?