diff --git a/schemas/2023-07-07-preview/Microsoft.SCOM.json b/schemas/2023-07-07-preview/Microsoft.SCOM.json
new file mode 100644
index 0000000000..c07b4cdf7a
--- /dev/null
+++ b/schemas/2023-07-07-preview/Microsoft.SCOM.json
@@ -0,0 +1,469 @@
+{
+ "id": "https://schema.management.azure.com/schemas/2023-07-07-preview/Microsoft.SCOM.json#",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Microsoft.Scom",
+ "description": "Microsoft Scom Resource Types",
+ "resourceDefinitions": {
+ "managedInstances": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-07-07-preview"
+ ]
+ },
+ "identity": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ManagedIdentity"
+ },
+ {
+ "$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": "The geo-location where the resource lives"
+ },
+ "name": {
+ "oneOf": [
+ {
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*$"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Name of the Azure Monitor Operations Manager Managed Instance (SCOM MI)"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MonitoringInstanceProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The properties of a SCOM instance resource"
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/managedInstances_monitoredResources_childResource"
+ },
+ {
+ "$ref": "#/definitions/managedInstances_managedGateways_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.Scom/managedInstances"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Scom/managedInstances"
+ },
+ "managedInstances_managedGateways": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-07-07-preview"
+ ]
+ },
+ "name": {
+ "oneOf": [
+ {
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*$"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The gateway resource name."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Scom/managedInstances/managedGateways"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "type"
+ ],
+ "description": "Microsoft.Scom/managedInstances/managedGateways"
+ },
+ "managedInstances_monitoredResources": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-07-07-preview"
+ ]
+ },
+ "name": {
+ "oneOf": [
+ {
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*$"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The monitored resource name."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Scom/managedInstances/monitoredResources"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "type"
+ ],
+ "description": "Microsoft.Scom/managedInstances/monitoredResources"
+ }
+ },
+ "definitions": {
+ "AzureHybridBenefitProperties": {
+ "type": "object",
+ "properties": {
+ "scomLicenseType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "AzureHybridBenefit"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "SCOM license type. Maximize savings by using license you already own."
+ },
+ "sqlServerLicenseType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "AzureHybridBenefit"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "SQL Server license type. Maximize savings by using Azure Hybrid Benefit for SQL Server with license you already own."
+ },
+ "windowsServerLicenseType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "AzureHybridBenefit"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies that the image or disk that is being used was licensed on-premises.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)."
+ }
+ },
+ "description": "The properties to maximize savings by using Azure Hybrid Benefit"
+ },
+ "DatabaseInstanceProperties": {
+ "type": "object",
+ "properties": {
+ "databaseInstanceId": {
+ "type": "string",
+ "description": "Resource Id of existing database instance"
+ }
+ },
+ "description": "The properties of database instance"
+ },
+ "DomainControllerProperties": {
+ "type": "object",
+ "properties": {
+ "dnsServer": {
+ "type": "string",
+ "description": "IP address of DNS server "
+ },
+ "domainName": {
+ "type": "string",
+ "description": "Fully qualified domain name"
+ },
+ "ouPath": {
+ "type": "string",
+ "default": "",
+ "description": "Organizational Unit path in which the SCOM servers will be present"
+ }
+ },
+ "description": "The properties of domain controller to which SCOM and SQL servers join for AuthN/AuthZ."
+ },
+ "DomainUserCredentials": {
+ "type": "object",
+ "properties": {
+ "keyVaultUrl": {
+ "type": "string",
+ "description": "Key vault url to get the domain username and password"
+ },
+ "passwordSecret": {
+ "type": "string",
+ "description": "Domain Password secret "
+ },
+ "userNameSecret": {
+ "type": "string",
+ "description": "Domain user name secret "
+ }
+ },
+ "description": "Get Domain user name and password from key vault"
+ },
+ "GmsaDetails": {
+ "type": "object",
+ "properties": {
+ "dnsName": {
+ "type": "string",
+ "description": "Frontend DNS name for Load Balancer which will be used by Agents to initiate communication"
+ },
+ "gmsaAccount": {
+ "type": "string",
+ "description": "gMSA account under which context all Management Server services will run"
+ },
+ "loadBalancerIP": {
+ "type": "string",
+ "description": "Frontend IP configuration for Load Balancer, which should be an available IP in customer VNet"
+ },
+ "managementServerGroupName": {
+ "type": "string",
+ "description": "OnPrem AD Computer Group where we will join VMs for ease of management"
+ }
+ },
+ "description": "Gmsa Details"
+ },
+ "ManagedIdentity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "UserAssigned",
+ "SystemAssigned",
+ "SystemAssigned,UserAssigned"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The identity type."
+ },
+ "userAssignedIdentities": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/UserIdentity"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The resource ids of the user assigned identities to use"
+ }
+ },
+ "description": "Azure Active Directory identity configuration for a resource."
+ },
+ "managedInstances_managedGateways_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-07-07-preview"
+ ]
+ },
+ "name": {
+ "oneOf": [
+ {
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*$"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The gateway resource name."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "managedGateways"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "type"
+ ],
+ "description": "Microsoft.Scom/managedInstances/managedGateways"
+ },
+ "managedInstances_monitoredResources_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-07-07-preview"
+ ]
+ },
+ "name": {
+ "oneOf": [
+ {
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*$"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The monitored resource name."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "monitoredResources"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "type"
+ ],
+ "description": "Microsoft.Scom/managedInstances/monitoredResources"
+ },
+ "MonitoringInstanceProperties": {
+ "type": "object",
+ "properties": {
+ "azureHybridBenefit": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AzureHybridBenefitProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The properties to maximize savings by using Azure Hybrid Benefit"
+ },
+ "databaseInstance": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DatabaseInstanceProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The properties of database instance"
+ },
+ "domainController": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DomainControllerProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The properties of domain controller to which SCOM and SQL servers join for AuthN/AuthZ."
+ },
+ "domainUserCredentials": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DomainUserCredentials"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Get Domain user name and password from key vault"
+ },
+ "gmsaDetails": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/GmsaDetails"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gmsa Details"
+ },
+ "vNetSubnetId": {
+ "type": "string",
+ "description": "Virtual Network subnet id on which Aquila instance will be provisioned"
+ }
+ },
+ "description": "The properties of a SCOM instance resource"
+ },
+ "UserIdentity": {
+ "type": "object",
+ "properties": {},
+ "description": "Azure Active Directory identity configuration for a resource."
+ }
+ }
+}
\ No newline at end of file
diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json
index 691ad9a9e8..ad6095910a 100644
--- a/schemas/common/autogeneratedResources.json
+++ b/schemas/common/autogeneratedResources.json
@@ -29548,6 +29548,15 @@
{
"$ref": "https://schema.management.azure.com/schemas/2016-03-01/Microsoft.Scheduler.json#/resourceDefinitions/jobCollections_jobs"
},
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-07-07-preview/Microsoft.SCOM.json#/resourceDefinitions/managedInstances"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-07-07-preview/Microsoft.SCOM.json#/resourceDefinitions/managedInstances_managedGateways"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-07-07-preview/Microsoft.SCOM.json#/resourceDefinitions/managedInstances_monitoredResources"
+ },
{
"$ref": "https://schema.management.azure.com/schemas/2020-06-05-preview/Microsoft.ScVmm.json#/resourceDefinitions/availabilitySets"
},