diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_Create.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_Create.json
new file mode 100644
index 000000000000..8677aebb5727
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_Create.json
@@ -0,0 +1,197 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResGroup",
+ "instanceName": "myInstace",
+ "ManagedInstance": {
+ "location": "eastus2",
+ "properties": {
+ "vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
+ "databaseInstance": {
+ "databaseInstanceId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.sql/managedInstances/inst1"
+ },
+ "domainController": {
+ "domainName": "domain.com",
+ "dnsServer": "10.10.10.10"
+ },
+ "domainUserCredentials": {
+ "keyVaultUrl": "https://xxxxxxxx.vault.azure.net/",
+ "userNameSecret": "userNameSecret",
+ "passwordSecret": "passwordSecret"
+ },
+ "gmsaDetails": {
+ "loadBalancerIP": "10.10.10.10",
+ "gmsaAccount": "vmsslb2$",
+ "managementServerGroupName": "servergroup",
+ "dnsName": "dnsname.com"
+ },
+ "azureHybridBenefit": {
+ "scomLicenseType": "None",
+ "windowsServerLicenseType": "None",
+ "sqlServerLicenseType": "None"
+ }
+ },
+ "identity": {
+ "type": "SystemAssigned,UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/subid/resourceGroups/mySCOMMIGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}
+ }
+ },
+ "tags": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.SCOM/managedInstances/myManagedInstace",
+ "name": "myInstace",
+ "type": "Microsoft.SCOM/managedInstances",
+ "location": "eastus2",
+ "identity": {
+ "type": "SystemAssigned,UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/subid/resourceGroups/mySCOMMIGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
+ "principalId": "principalId1",
+ "clientId": "clientId1"
+ }
+ }
+ },
+ "properties": {
+ "productVersion": "1.0.81.2",
+ "vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
+ "databaseInstance": {
+ "databaseInstanceId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.sql/managedInstances/inst1"
+ },
+ "domainController": {
+ "domainName": "domain.com",
+ "dnsServer": "10.10.10.10",
+ "ouPath": "AsiaPacific"
+ },
+ "domainUserCredentials": {
+ "keyVaultUrl": "https://xxxxxxxx.vault.azure.net/",
+ "userNameSecret": "userNameSecret",
+ "passwordSecret": "passwordSecret"
+ },
+ "gmsaDetails": {
+ "loadBalancerIP": "10.10.10.10",
+ "gmsaAccount": "vmsslb2$",
+ "managementServerGroupName": "servergroup",
+ "dnsName": "dnsname.com"
+ },
+ "azureHybridBenefit": {
+ "scomLicenseType": "None",
+ "windowsServerLicenseType": "None",
+ "sqlServerLicenseType": "None"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.SCOM/managedInstances/myManagedInstace",
+ "name": "myInstace",
+ "type": "Microsoft.SCOM/managedInstances",
+ "location": "eastus2",
+ "identity": {
+ "type": "SystemAssigned,UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/subid/resourceGroups/mySCOMMIGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
+ "principalId": "principalId1",
+ "clientId": "clientId1"
+ }
+ }
+ },
+ "properties": {
+ "productVersion": "1.0.81.2",
+ "vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
+ "databaseInstance": {
+ "databaseInstanceId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.sql/managedInstances/inst1"
+ },
+ "domainController": {
+ "domainName": "domain.com",
+ "dnsServer": "10.10.10.10",
+ "ouPath": "AsiaPacific"
+ },
+ "domainUserCredentials": {
+ "keyVaultUrl": "https://xxxxxxxx.vault.azure.net/",
+ "userNameSecret": "userNameSecret",
+ "passwordSecret": "passwordSecret"
+ },
+ "gmsaDetails": {
+ "loadBalancerIP": "10.10.10.10",
+ "gmsaAccount": "vmsslb2$",
+ "managementServerGroupName": "servergroup",
+ "dnsName": "dnsname.com"
+ },
+ "azureHybridBenefit": {
+ "scomLicenseType": "None",
+ "windowsServerLicenseType": "None",
+ "sqlServerLicenseType": "None"
+ },
+ "operationsStatus": [
+ {
+ "operationName": "Scaling",
+ "operationState": "Success"
+ }
+ ]
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.SCOM/managedInstances/myManagedInstace",
+ "name": "myInstace",
+ "type": "Microsoft.SCOM/managedInstances",
+ "location": "eastus2",
+ "identity": {
+ "type": "SystemAssigned,UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/subid/resourceGroups/mySCOMMIGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
+ "principalId": "principalId1",
+ "clientId": "clientId1"
+ }
+ }
+ },
+ "properties": {
+ "productVersion": "1.0.81.2",
+ "vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
+ "databaseInstance": {
+ "databaseInstanceId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.sql/managedInstances/inst1"
+ },
+ "domainController": {
+ "domainName": "domain.com",
+ "dnsServer": "10.10.10.10",
+ "ouPath": "AsiaPacific"
+ },
+ "domainUserCredentials": {
+ "keyVaultUrl": "https://xxxxxxxx.vault.azure.net/",
+ "userNameSecret": "userNameSecret",
+ "passwordSecret": "passwordSecret"
+ },
+ "gmsaDetails": {
+ "loadBalancerIP": "10.10.10.10",
+ "gmsaAccount": "vmsslb2$",
+ "managementServerGroupName": "servergroup",
+ "dnsName": "dnsname.com"
+ },
+ "azureHybridBenefit": {
+ "scomLicenseType": "None",
+ "windowsServerLicenseType": "None",
+ "sqlServerLicenseType": "None"
+ },
+ "operationsStatus": [
+ {
+ "operationName": "Scaling",
+ "operationState": "Success"
+ }
+ ]
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://eastus2euap.management.azure.com/providers/Microsoft.Scom/locations/EASTUS2EUAP/operationStatuses/d44b3a97-32ad-41e4-9ae4-44058a40a15d*5ED52B8AA9C36ECD6FE0456CD6A3BE3EE9A3CDB33D2E4611E5A43DC6F54DCF2C?api-version=2023-07-07-preview",
+ "Location": "https://eastus2euap.management.azure.com/providers/Microsoft.Scom/locations/EASTUS2EUAP/operationStatuses/d44b3a97-32ad-41e4-9ae4-44058a40a15d*5ED52B8AA9C36ECD6FE0456CD6A3BE3EE9A3CDB33D2E4611E5A43DC6F54DCF2C?api-version=2023-07-07-preview"
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_Delete.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_Delete.json
new file mode 100644
index 000000000000..822886ffd513
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_Delete.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "mySCOMMIGroup",
+ "instanceName": "myInstace"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Scom/locations/WESTUS/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-07-07-preview",
+ "Location": "https://management.azure.com/providers/Microsoft.Scom/locations/WESTUS/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-07-07-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_Get.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_Get.json
new file mode 100644
index 000000000000..552fd2c8c00a
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_Get.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResGroup",
+ "instanceName": "myInstace"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.SCOM/managedInstances/myManagedInstace",
+ "name": "myManagedInstace",
+ "type": "Microsoft.SCOM/managedInstances",
+ "location": "eastus2",
+ "identity": {
+ "type": "SystemAssigned,UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/subid/resourceGroups/mySCOMMIGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
+ "principalId": "principalId1",
+ "clientId": "clientId1"
+ }
+ }
+ },
+ "properties": {
+ "productVersion": "1.0.81.2",
+ "vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
+ "databaseInstance": {
+ "databaseInstanceId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.sql/managedInstances/inst1",
+ "databaseFqdn": "testinstance.1b4e2caff2530.database.windows.net",
+ "dwDatabaseName": "inst1DW"
+ },
+ "domainController": {
+ "domainName": "domain.com",
+ "dnsServer": "10.10.10.10",
+ "ouPath": "AsiaPacific"
+ },
+ "domainUserCredentials": {
+ "keyVaultUrl": "https://xxxxxxxx.vault.azure.net/",
+ "userNameSecret": "userNameSecret",
+ "passwordSecret": "passwordSecret"
+ },
+ "gmsaDetails": {
+ "loadBalancerIP": "10.10.10.10",
+ "gmsaAccount": "vmsslb2$",
+ "managementServerGroupName": "servergroup",
+ "dnsName": "dnsname.com"
+ },
+ "azureHybridBenefit": {
+ "scomLicenseType": "None",
+ "windowsServerLicenseType": "None",
+ "sqlServerLicenseType": "None"
+ },
+ "operationsStatus": [
+ {
+ "operationName": "Scaling",
+ "operationState": "Success"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_LinkLogAnalytics.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_LinkLogAnalytics.json
new file mode 100644
index 000000000000..f001b35a2ac9
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_LinkLogAnalytics.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResGroup",
+ "instanceName": "myInstance",
+ "body": {
+ "workspaceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000000/providers/microsoft.operationalinsights/workspaces/00000000",
+ "dataTypes": [
+ "State",
+ "Performance",
+ "Event",
+ "Audit"
+ ],
+ "importData": true
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "workspaceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000000/providers/microsoft.operationalinsights/workspaces/00000000",
+ "dataTypes": [
+ "State",
+ "Performance",
+ "Event",
+ "Audit"
+ ],
+ "importData": true
+ }
+ },
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Scom/locations/WESTUS/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-07-07-preview",
+ "Location": "https://management.azure.com/providers/Microsoft.Scom/locations/WESTUS/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-07-07-preview"
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_Scale.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_Scale.json
new file mode 100644
index 000000000000..0652927b4dfc
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_Scale.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResGroup",
+ "instanceName": "myInstace",
+ "body": {
+ "serverCount": 3
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "serverCount": 3
+ }
+ },
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Scom/locations/WESTUS/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-07-07-preview",
+ "Location": "https://management.azure.com/providers/Microsoft.Scom/locations/WESTUS/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-07-07-preview"
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_UnlinkLogAnalytics.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_UnlinkLogAnalytics.json
new file mode 100644
index 000000000000..f7a865191f80
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_UnlinkLogAnalytics.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResGroup",
+ "instanceName": "myInstance"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "status": "Started"
+ }
+ },
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Scom/locations/WESTUS/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-07-07-preview",
+ "Location": "https://management.azure.com/providers/Microsoft.Scom/locations/WESTUS/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-07-07-preview"
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_Update.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_Update.json
new file mode 100644
index 000000000000..a0309646b06e
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_Update.json
@@ -0,0 +1,174 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResGroup",
+ "instanceName": "myInstace",
+ "ManagedInstance": {
+ "tags": {
+ "additionalProp1": "string",
+ "additionalProp2": "string",
+ "additionalProp3": "string"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.SCOM/managedInstances/myManagedInstace",
+ "name": "myInstace",
+ "type": "Microsoft.SCOM/managedInstances",
+ "location": "eastus2",
+ "identity": {
+ "type": "SystemAssigned,UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/subid/resourceGroups/mySCOMMIGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
+ "principalId": "principalId1",
+ "clientId": "clientId1"
+ }
+ }
+ },
+ "properties": {
+ "productVersion": "1.0.81.2",
+ "vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
+ "databaseInstance": {
+ "databaseInstanceId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.sql/managedInstances/inst1"
+ },
+ "domainController": {
+ "domainName": "domain.com",
+ "dnsServer": "10.10.10.10",
+ "ouPath": "AsiaPacific"
+ },
+ "domainUserCredentials": {
+ "keyVaultUrl": "https://xxxxxxxx.vault.azure.net/",
+ "userNameSecret": "userNameSecret",
+ "passwordSecret": "passwordSecret"
+ },
+ "gmsaDetails": {
+ "loadBalancerIP": "10.10.10.10",
+ "gmsaAccount": "vmsslb2$",
+ "managementServerGroupName": "servergroup",
+ "dnsName": "dnsname.com"
+ },
+ "azureHybridBenefit": {
+ "scomLicenseType": "None",
+ "windowsServerLicenseType": "None",
+ "sqlServerLicenseType": "None"
+ },
+ "operationsStatus": [
+ {
+ "operationName": "Scaling",
+ "operationState": "Success"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.SCOM/managedInstances/myManagedInstace",
+ "name": "myInstace",
+ "type": "Microsoft.SCOM/managedInstances",
+ "location": "eastus2",
+ "identity": {
+ "type": "SystemAssigned,UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/subid/resourceGroups/mySCOMMIGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
+ "principalId": "principalId1",
+ "clientId": "clientId1"
+ }
+ }
+ },
+ "properties": {
+ "productVersion": "1.0.81.2",
+ "vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
+ "databaseInstance": {
+ "databaseInstanceId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.sql/managedInstances/inst1"
+ },
+ "domainController": {
+ "domainName": "domain.com",
+ "dnsServer": "10.10.10.10",
+ "ouPath": "AsiaPacific"
+ },
+ "domainUserCredentials": {
+ "keyVaultUrl": "https://xxxxxxxx.vault.azure.net/",
+ "userNameSecret": "userNameSecret",
+ "passwordSecret": "passwordSecret"
+ },
+ "gmsaDetails": {
+ "loadBalancerIP": "10.10.10.10",
+ "gmsaAccount": "vmsslb2$",
+ "managementServerGroupName": "servergroup",
+ "dnsName": "dnsname.com"
+ },
+ "azureHybridBenefit": {
+ "scomLicenseType": "None",
+ "windowsServerLicenseType": "None",
+ "sqlServerLicenseType": "None"
+ },
+ "operationsStatus": [
+ {
+ "operationName": "Scaling",
+ "operationState": "Success"
+ }
+ ]
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.SCOM/managedInstances/myManagedInstace",
+ "name": "myInstace",
+ "type": "Microsoft.SCOM/managedInstances",
+ "location": "eastus2",
+ "identity": {
+ "type": "SystemAssigned,UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/subid/resourceGroups/mySCOMMIGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
+ "principalId": "principalId1",
+ "clientId": "clientId1"
+ }
+ }
+ },
+ "properties": {
+ "productVersion": "1.0.81.2",
+ "vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
+ "databaseInstance": {
+ "databaseInstanceId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.sql/managedInstances/inst1"
+ },
+ "domainController": {
+ "domainName": "domain.com",
+ "dnsServer": "10.10.10.10",
+ "ouPath": "AsiaPacific"
+ },
+ "domainUserCredentials": {
+ "keyVaultUrl": "https://xxxxxxxx.vault.azure.net/",
+ "userNameSecret": "userNameSecret",
+ "passwordSecret": "passwordSecret"
+ },
+ "gmsaDetails": {
+ "loadBalancerIP": "10.10.10.10",
+ "gmsaAccount": "vmsslb2$",
+ "managementServerGroupName": "servergroup",
+ "dnsName": "dnsname.com"
+ },
+ "azureHybridBenefit": {
+ "scomLicenseType": "None",
+ "windowsServerLicenseType": "None",
+ "sqlServerLicenseType": "None"
+ },
+ "operationsStatus": [
+ {
+ "operationName": "Scaling",
+ "operationState": "Success"
+ }
+ ]
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://eastus2euap.management.azure.com/providers/Microsoft.Scom/locations/EASTUS2EUAP/operationStatuses/d44b3a97-32ad-41e4-9ae4-44058a40a15d*5ED52B8AA9C36ECD6FE0456CD6A3BE3EE9A3CDB33D2E4611E5A43DC6F54DCF2C?api-version=2023-07-07-preview",
+ "Location": "https://eastus2euap.management.azure.com/providers/Microsoft.Scom/locations/EASTUS2EUAP/operationStatuses/d44b3a97-32ad-41e4-9ae4-44058a40a15d*5ED52B8AA9C36ECD6FE0456CD6A3BE3EE9A3CDB33D2E4611E5A43DC6F54DCF2C?api-version=2023-07-07-preview"
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_UpdateLogAnalytics.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_UpdateLogAnalytics.json
new file mode 100644
index 000000000000..7d60e7d990de
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instance_UpdateLogAnalytics.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResGroup",
+ "instanceName": "myInstance",
+ "body": {
+ "dataTypes": [
+ "State",
+ "Performance",
+ "Event",
+ "Audit"
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "dataTypes": [
+ "State",
+ "Performance",
+ "Event",
+ "Audit"
+ ]
+ }
+ },
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Scom/locations/WESTUS/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-07-07-preview",
+ "Location": "https://management.azure.com/providers/Microsoft.Scom/locations/WESTUS/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-07-07-preview"
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instances_ListByResourceGroup.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instances_ListByResourceGroup.json
new file mode 100644
index 000000000000..b1d34710de17
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instances_ListByResourceGroup.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "mySCOMMIGroup"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.SCOM/managedInstances/myManagedInstace",
+ "name": "myInstace",
+ "type": "Microsoft.SCOM/managedInstances",
+ "location": "eastus2",
+ "identity": {
+ "type": "SystemAssigned,UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/subid/resourceGroups/mySCOMMIGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
+ "principalId": "principalId1",
+ "clientId": "clientId1"
+ }
+ }
+ },
+ "properties": {
+ "productVersion": "1.0.81.2",
+ "vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
+ "databaseInstance": {
+ "databaseInstanceId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.sql/managedInstances/inst1",
+ "databaseFqdn": "testinstance.1b4e2caff2530.database.windows.net",
+ "dwDatabaseName": "inst1DW"
+ },
+ "domainController": {
+ "domainName": "domain.com",
+ "dnsServer": "10.10.10.10"
+ },
+ "domainUserCredentials": {
+ "keyVaultUrl": "https://xxxxxxxx.vault.azure.net/",
+ "userNameSecret": "userNameSecret",
+ "passwordSecret": "passwordSecret"
+ },
+ "gmsaDetails": {
+ "loadBalancerIP": "10.10.10.10",
+ "gmsaAccount": "vmsslb2$",
+ "managementServerGroupName": "servergroup",
+ "dnsName": "dnsname.com"
+ },
+ "azureHybridBenefit": {
+ "scomLicenseType": "None",
+ "windowsServerLicenseType": "None",
+ "sqlServerLicenseType": "None"
+ },
+ "operationsStatus": [
+ {
+ "operationName": "Scaling",
+ "operationState": "Success"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instances_ListBySubscription.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instances_ListBySubscription.json
new file mode 100644
index 000000000000..9e26f5589f29
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instances_ListBySubscription.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "{subscription-id}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.SCOM/managedInstances/myManagedInstace",
+ "name": "myInstace",
+ "type": "Microsoft.SCOM/managedInstances",
+ "location": "eastus2",
+ "identity": {
+ "type": "SystemAssigned,UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/subid/resourceGroups/mySCOMMIGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
+ "principalId": "principalId1",
+ "clientId": "clientId1"
+ }
+ }
+ },
+ "properties": {
+ "productVersion": "1.0.81.2",
+ "vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
+ "databaseInstance": {
+ "databaseInstanceId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.sql/managedInstances/inst1",
+ "databaseFqdn": "testinstance.1b4e2caff2530.database.windows.net",
+ "dwDatabaseName": "inst1DW"
+ },
+ "domainController": {
+ "domainName": "domain.com",
+ "dnsServer": "10.10.10.10"
+ },
+ "domainUserCredentials": {
+ "keyVaultUrl": "https://xxxxxxxx.vault.azure.net/",
+ "userNameSecret": "userNameSecret",
+ "passwordSecret": "passwordSecret"
+ },
+ "gmsaDetails": {
+ "loadBalancerIP": "10.10.10.10",
+ "gmsaAccount": "vmsslb2$",
+ "managementServerGroupName": "servergroup",
+ "dnsName": "dnsname.com"
+ },
+ "azureHybridBenefit": {
+ "scomLicenseType": "None",
+ "windowsServerLicenseType": "None",
+ "sqlServerLicenseType": "None"
+ },
+ "operationsStatus": [
+ {
+ "operationName": "Scaling",
+ "operationState": "Success"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instances_PatchServers.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instances_PatchServers.json
new file mode 100644
index 000000000000..2f27af6d6bc4
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Instances_PatchServers.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResGroup",
+ "instanceName": "myInstace"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "status": "Started"
+ }
+ },
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Scom/locations/WESTUS/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-07-07-preview",
+ "Location": "https://management.azure.com/providers/Microsoft.Scom/locations/WESTUS/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-07-07-preview"
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/ManagedGateway_CreateOrUpdate.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/ManagedGateway_CreateOrUpdate.json
new file mode 100644
index 000000000000..1f5b86f1e357
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/ManagedGateway_CreateOrUpdate.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "subId",
+ "resourceGroupName": "myResGroup",
+ "instanceName": "myInstance",
+ "managedGatewayName": "d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "ManagedGateway": {
+ "properties": {
+ "resourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname1",
+ "resourceLocation": "eastus2",
+ "computerName": "abcd",
+ "domainName": "SCOMMI.com"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subId/resourceGroups/myResGroup/providers/Microsoft.SCOM/managedInstances/myInstance/managedGateways/d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "name": "d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "type": "Microsoft.SCOM/managedInstances/managedGateways",
+ "properties": {
+ "resourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname1",
+ "resourceLocation": "eastus2",
+ "computerName": "abcd",
+ "domainName": "SCOMMI.com",
+ "managementServerEndpoint": "Lbdns.com",
+ "healthStatus": "Healthy",
+ "connectionStatus": "Connected",
+ "version": "1.2.3.4",
+ "installType": "Extension"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subId/resourceGroups/myResGroup/providers/Microsoft.SCOM/managedInstances/myInstance/managedGateways/d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "name": "d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "type": "Microsoft.SCOM/managedInstances/managedGateways",
+ "properties": {
+ "resourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname1",
+ "resourceLocation": "eastus2",
+ "computerName": "abcd",
+ "domainName": "SCOMMI.com",
+ "managementServerEndpoint": "Lbdns.com",
+ "healthStatus": "Healthy",
+ "connectionStatus": "Connected",
+ "version": "1.2.3.4",
+ "installType": "Extension"
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/subId/resourceGroups/myResGroup/providers/Microsoft.SCOM/managedInstances/myInstance/managedGateways/d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "name": "d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "type": "Microsoft.SCOM/managedInstances/managedGateways",
+ "properties": {
+ "resourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname1",
+ "resourceLocation": "eastus2",
+ "computerName": "abcd",
+ "domainName": "SCOMMI.com",
+ "managementServerEndpoint": "Lbdns.com",
+ "healthStatus": "Healthy",
+ "connectionStatus": "Connected",
+ "version": "1.2.3.4",
+ "installType": "Extension"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://eastus2euap.management.azure.com/providers/Microsoft.Scom/locations/EASTUS2EUAP/operationStatuses/d44b3a97-32ad-41e4-9ae4-44058a40a15d*5ED52B8AA9C36ECD6FE0456CD6A3BE3EE9A3CDB33D2E4611E5A43DC6F54DCF2C?api-version=2023-07-07-preview",
+ "Location": "https://eastus2euap.management.azure.com/providers/Microsoft.Scom/locations/EASTUS2EUAP/operationStatuses/d44b3a97-32ad-41e4-9ae4-44058a40a15d*5ED52B8AA9C36ECD6FE0456CD6A3BE3EE9A3CDB33D2E4611E5A43DC6F54DCF2C?api-version=2023-07-07-preview"
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/ManagedGateway_Delete.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/ManagedGateway_Delete.json
new file mode 100644
index 000000000000..546b9da79d60
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/ManagedGateway_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "subId",
+ "resourceGroupName": "myResGroup",
+ "instanceName": "myInstance",
+ "managedGatewayName": "d877b154-9a8d-4bfe-8a24-20682fcf2ed3"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/ManagedGateway_Get.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/ManagedGateway_Get.json
new file mode 100644
index 000000000000..0786b97b6b5e
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/ManagedGateway_Get.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "subId",
+ "resourceGroupName": "myResGroup",
+ "instanceName": "myInstance",
+ "managedGatewayName": "d877b154-9a8d-4bfe-8a24-20682fcf2ed3"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subId/resourceGroups/myResGroup/providers/Microsoft.SCOM/managedInstances/myInstance/managedGateways/d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "name": "d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "type": "Microsoft.SCOM/managedInstances/managedGateways",
+ "properties": {
+ "resourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname",
+ "resourceLocation": "eastus2",
+ "computerName": "abcd",
+ "domainName": "SCOMMI.com",
+ "managementServerEndpoint": "Lbdns.com",
+ "healthStatus": "Healthy",
+ "connectionStatus": "Connected",
+ "version": "1.2.3.4",
+ "installType": "Extension"
+ },
+ "systemData": {
+ "createdBy": "foo@contoso.com",
+ "createdByType": "User",
+ "createdAt": "2018-04-24T16:30:55+00:00",
+ "lastModifiedBy": "foo@contoso.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2018-04-24T16:30:55+00:00"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/ManagedGateways_ListByResourceGroup.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/ManagedGateways_ListByResourceGroup.json
new file mode 100644
index 000000000000..759cbae40097
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/ManagedGateways_ListByResourceGroup.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "subId",
+ "resourceGroupName": "myResGroup",
+ "instanceName": "myInstance"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/myResGroup/providers/Microsoft.SCOM/managedInstances/myInstance/managedGateways/d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "name": "d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "type": "Microsoft.SCOM/managedInstances/managedGateways",
+ "properties": {
+ "resourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname1",
+ "resourceLocation": "eastus2",
+ "computerName": "abcd",
+ "domainName": "SCOMMI.com",
+ "managementServerEndpoint": "Lbdns.com",
+ "healthStatus": "Healthy",
+ "connectionStatus": "Connected",
+ "version": "1.2.3.4",
+ "installType": "Extension"
+ },
+ "systemData": {
+ "createdBy": "foo@contoso.com",
+ "createdByType": "User",
+ "createdAt": "2018-04-24T16:30:55+00:00",
+ "lastModifiedBy": "foo@contoso.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2018-04-24T16:30:55+00:00"
+ }
+ },
+ {
+ "id": "/subscriptions/subId/resourceGroups/myResGroup/providers/Microsoft.SCOM/managedInstances/myInstance/managedGateways/a123b154-9a8d-4bfe-8a24-20682fcf6xyz",
+ "name": "a123b154-9a8d-4bfe-8a24-20682fcf6xyz",
+ "type": "Microsoft.SCOM/managedInstances/managedGateways",
+ "properties": {
+ "resourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname2",
+ "resourceLocation": "eastus2",
+ "computerName": "abcd",
+ "domainName": "SCOMMI.com",
+ "managementServerEndpoint": "Lbdns.com",
+ "healthStatus": "Healthy",
+ "connectionStatus": "Connected",
+ "version": "1.2.3.4",
+ "installType": "Extension"
+ },
+ "systemData": {
+ "createdBy": "foo@contoso.com",
+ "createdByType": "User",
+ "createdAt": "2018-04-24T16:30:55+00:00",
+ "lastModifiedBy": "foo@contoso.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2018-04-24T16:30:55+00:00"
+ }
+ },
+ {
+ "id": "/subscriptions/subId/resourceGroups/myResGroup/providers/Microsoft.SCOM/managedInstances/myInstance/managedGateways/c127b154-9a8d-4bfe-8a24-20682fcf2abc",
+ "name": "c127b154-9a8d-4bfe-8a24-20682fcf2abc",
+ "type": "Microsoft.SCOM/managedInstances/managedGateways",
+ "properties": {
+ "resourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname3",
+ "resourceLocation": "eastus2",
+ "computerName": "abcd",
+ "domainName": "SCOMMI.com",
+ "managementServerEndpoint": "Lbdns.com",
+ "healthStatus": "Healthy",
+ "connectionStatus": "Connected",
+ "version": "1.2.3.4",
+ "installType": "Extension"
+ },
+ "systemData": {
+ "createdBy": "foo@contoso.com",
+ "createdByType": "User",
+ "createdAt": "2018-04-24T16:30:55+00:00",
+ "lastModifiedBy": "foo@contoso.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2018-04-24T16:30:55+00:00"
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com:443/subscriptions/subId/resourceGroups/myResGroup/providers/Microsoft.SCOM/managedInstances/myInstance/managedGateways?api-version=2023-07-07-preview&$skip=100"
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/MonitoredResource_CreateOrUpdate.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/MonitoredResource_CreateOrUpdate.json
new file mode 100644
index 000000000000..506502685212
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/MonitoredResource_CreateOrUpdate.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "subId",
+ "resourceGroupName": "myResGroup",
+ "instanceName": "myInstance",
+ "monitoredResourceName": "d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "MonitoredResource": {
+ "properties": {
+ "resourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname1",
+ "resourceLocation": "eastus2",
+ "computerName": "abcd",
+ "domainName": "SCOMMI.com"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/subId/resourceGroups/myResGroup/providers/Microsoft.SCOM/managedInstances/myInstance/monitoredResources/d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "name": "d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "type": "Microsoft.SCOM/managedInstances/monitoredResources",
+ "properties": {
+ "resourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname1",
+ "resourceLocation": "eastus2",
+ "computerName": "abcd",
+ "domainName": "SCOMMI.com",
+ "managementServerEndpoint": "Lbdns.com",
+ "healthStatus": "Healthy",
+ "connectionStatus": "Connected",
+ "agentVersion": "1.2.3.4",
+ "installType": "Extension"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/subId/resourceGroups/myResGroup/providers/Microsoft.SCOM/managedInstances/myInstance/monitoredResources/d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "name": "d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "type": "Microsoft.SCOM/managedInstances/monitoredResources",
+ "properties": {
+ "resourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname1",
+ "resourceLocation": "eastus2",
+ "computerName": "abcd",
+ "domainName": "SCOMMI.com",
+ "managementServerEndpoint": "Lbdns.com",
+ "healthStatus": "Healthy",
+ "connectionStatus": "Connected",
+ "agentVersion": "1.2.3.4",
+ "installType": "Extension"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/MonitoredResource_Delete.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/MonitoredResource_Delete.json
new file mode 100644
index 000000000000..3b38b789b1e3
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/MonitoredResource_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "subId",
+ "resourceGroupName": "myResGroup",
+ "instanceName": "myInstance",
+ "monitoredResourceName": "d877b154-9a8d-4bfe-8a24-20682fcf2ed3"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/MonitoredResource_Get.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/MonitoredResource_Get.json
new file mode 100644
index 000000000000..c2ac82de6e22
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/MonitoredResource_Get.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "subId",
+ "resourceGroupName": "myResGroup",
+ "instanceName": "myInstance",
+ "monitoredResourceName": "d877b154-9a8d-4bfe-8a24-20682fcf2ed3"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subId/resourceGroups/myResGroup/providers/Microsoft.SCOM/managedInstances/myInstance/monitoredResources/d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "name": "d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "type": "Microsoft.SCOM/managedInstances/monitoredResources",
+ "properties": {
+ "resourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname",
+ "resourceLocation": "eastus2",
+ "computerName": "abcd",
+ "domainName": "SCOMMI.com",
+ "managementServerEndpoint": "Lbdns.com",
+ "healthStatus": "Healthy",
+ "connectionStatus": "Connected",
+ "agentVersion": "1.2.3.4",
+ "installType": "Extension"
+ },
+ "systemData": {
+ "createdBy": "foo@contoso.com",
+ "createdByType": "User",
+ "createdAt": "2018-04-24T16:30:55+00:00",
+ "lastModifiedBy": "foo@contoso.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2018-04-24T16:30:55+00:00"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/MonitoredResources_ListByResourceGroup.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/MonitoredResources_ListByResourceGroup.json
new file mode 100644
index 000000000000..670fec9f8be7
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/MonitoredResources_ListByResourceGroup.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "subId",
+ "resourceGroupName": "myResGroup",
+ "instanceName": "myInstance"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/myResGroup/providers/Microsoft.SCOM/managedInstances/myInstance/monitoredResources/d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "name": "d877b154-9a8d-4bfe-8a24-20682fcf2ed3",
+ "type": "Microsoft.SCOM/managedInstances/monitoredResources",
+ "properties": {
+ "resourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname1",
+ "resourceLocation": "eastus2",
+ "computerName": "abcd",
+ "domainName": "SCOMMI.com",
+ "managementServerEndpoint": "Lbdns.com",
+ "healthStatus": "Healthy",
+ "connectionStatus": "Connected",
+ "agentVersion": "1.2.3.4",
+ "installType": "Extension"
+ },
+ "systemData": {
+ "createdBy": "foo@contoso.com",
+ "createdByType": "User",
+ "createdAt": "2018-04-24T16:30:55+00:00",
+ "lastModifiedBy": "foo@contoso.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2018-04-24T16:30:55+00:00"
+ }
+ },
+ {
+ "id": "/subscriptions/subId/resourceGroups/myResGroup/providers/Microsoft.SCOM/managedInstances/myInstance/monitoredResources/a123b154-9a8d-4bfe-8a24-20682fcf6xyz",
+ "name": "a123b154-9a8d-4bfe-8a24-20682fcf6xyz",
+ "type": "Microsoft.SCOM/managedInstances/monitoredResources",
+ "properties": {
+ "resourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname2",
+ "resourceLocation": "eastus2",
+ "computerName": "abcd",
+ "domainName": "SCOMMI.com",
+ "managementServerEndpoint": "Lbdns.com",
+ "healthStatus": "Healthy",
+ "connectionStatus": "Connected",
+ "agentVersion": "1.2.3.4",
+ "installType": "Extension"
+ },
+ "systemData": {
+ "createdBy": "foo@contoso.com",
+ "createdByType": "User",
+ "createdAt": "2018-04-24T16:30:55+00:00",
+ "lastModifiedBy": "foo@contoso.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2018-04-24T16:30:55+00:00"
+ }
+ },
+ {
+ "id": "/subscriptions/subId/resourceGroups/myResGroup/providers/Microsoft.SCOM/managedInstances/myInstance/monitoredResources/c127b154-9a8d-4bfe-8a24-20682fcf2abc",
+ "name": "c127b154-9a8d-4bfe-8a24-20682fcf2abc",
+ "type": "Microsoft.SCOM/managedInstances/monitoredResources",
+ "properties": {
+ "resourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname3",
+ "resourceLocation": "eastus2",
+ "computerName": "abcd",
+ "domainName": "SCOMMI.com",
+ "managementServerEndpoint": "Lbdns.com",
+ "healthStatus": "Healthy",
+ "connectionStatus": "Connected",
+ "agentVersion": "1.2.3.4",
+ "installType": "Extension"
+ },
+ "systemData": {
+ "createdBy": "foo@contoso.com",
+ "createdByType": "User",
+ "createdAt": "2018-04-24T16:30:55+00:00",
+ "lastModifiedBy": "foo@contoso.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2018-04-24T16:30:55+00:00"
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com:443/subscriptions/subId/resourceGroups/myResGroup/providers/Microsoft.SCOM/managedInstances/myInstance/monitoredResources?api-version=2023-07-07-preview&$skip=100"
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Operations_List.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Operations_List.json
new file mode 100644
index 000000000000..f4612c763189
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/examples/Operations_List.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2023-07-07-preview",
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myGroup"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "display": {
+ "description": "Creates a SCOM monitored instance",
+ "operation": "Create Azure SCOM Instance",
+ "provider": "Microsoft SCOM",
+ "resource": "Azure SCOM Instance"
+ },
+ "name": "Microsoft.SCOM/managedInstances/create",
+ "origin": "user,system"
+ }
+ ]
+ },
+ "nextLink": "string"
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/managedGateways.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/managedGateways.json
new file mode 100644
index 000000000000..3f9303812b65
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/managedGateways.json
@@ -0,0 +1,339 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure API for managing SCOM managed instances and monitored resources.",
+ "version": "2023-07-07-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "parameters": {
+ "instanceName": {
+ "name": "instanceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the SCOM managed instance.",
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*$"
+ },
+ "managedGatewayName": {
+ "name": "managedGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The gateway resource name.",
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*$"
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scom/managedInstances/{instanceName}/managedGateways/{managedGatewayName}": {
+ "get": {
+ "operationId": "ManagedGateways_Get",
+ "description": "Retrieve the details of the gateway resource.",
+ "tags": [
+ "Gateway Resources"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ },
+ {
+ "$ref": "#/parameters/managedGatewayName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Managed gateway retrieved successfully.",
+ "schema": {
+ "$ref": "#/definitions/ManagedGateway"
+ }
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ManagedGateway_Get": {
+ "$ref": "./examples/ManagedGateway_Get.json"
+ }
+ }
+ },
+ "put": {
+ "operationId": "ManagedGateways_CreateOrUpdate",
+ "description": "Create or update a gateway resource.",
+ "tags": [
+ "Gateway Resources"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ },
+ {
+ "$ref": "#/parameters/managedGatewayName"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Managed gateway created successfully.",
+ "schema": {
+ "$ref": "#/definitions/ManagedGateway"
+ }
+ },
+ "200": {
+ "description": "Managed gateway update successful.",
+ "schema": {
+ "$ref": "#/definitions/ManagedGateway"
+ }
+ },
+ "202": {
+ "description": "accepted operation",
+ "schema": {
+ "$ref": "#/definitions/ManagedGateway"
+ },
+ "headers": {
+ "Location": {
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "type": "string",
+ "description": "The URL to retrieve the status of the asynchronous operation."
+ }
+ }
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ManagedGateway_CreateOrUpdate": {
+ "$ref": "./examples/ManagedGateway_CreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "operationId": "ManagedGateways_Delete",
+ "description": "Remove a gateway resource.",
+ "tags": [
+ "Gateway Resources"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ },
+ {
+ "$ref": "#/parameters/managedGatewayName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The deletion operation has been successful."
+ },
+ "204": {
+ "description": "The deletion operation has been successful."
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ManagedGateway_Delete": {
+ "$ref": "./examples/ManagedGateway_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scom/managedInstances/{instanceName}/managedGateways": {
+ "get": {
+ "operationId": "ManagedGateways_ListByManagedInstance",
+ "description": "A comprehensive list of all gateway resources within a SCOM managed instance.",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "tags": [
+ "Gateway Resources"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ManagedGateways"
+ }
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ManagedGateways_ListByResourceGroup": {
+ "$ref": "./examples/ManagedGateways_ListByResourceGroup.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ManagedGateway": {
+ "type": "object",
+ "description": "A gateway resource.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "The properties of a gateway resource.",
+ "$ref": "#/definitions/ManagedGatewayProperties"
+ }
+ }
+ },
+ "ManagedGatewayProperties": {
+ "type": "object",
+ "description": "The properties of a gateway resource.",
+ "properties": {
+ "resourceId": {
+ "description": "ArmId of the gateway to be monitored.",
+ "type": "string"
+ },
+ "resourceLocation": {
+ "description": "Location of the gateway to be monitored.",
+ "type": "string"
+ },
+ "computerName": {
+ "description": "ComputerName of the gateway to be monitored.",
+ "type": "string"
+ },
+ "domainName": {
+ "description": "The domain name associated with the gateway to be monitored.",
+ "type": "string"
+ },
+ "managementServerEndpoint": {
+ "description": "The management server endpoint to which the gateway is directed.",
+ "type": "string",
+ "readOnly": true
+ },
+ "healthStatus": {
+ "description": "The health status of the gateway resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "connectionStatus": {
+ "description": "The connection status of the gateway resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "version": {
+ "description": "The version of the gateway resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "installType": {
+ "description": "Install type of gateway resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ManagedGateways": {
+ "type": "object",
+ "description": "A paginated list of SCOM gateways.",
+ "properties": {
+ "value": {
+ "description": "The contents displayed on the page.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ManagedGateway"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next page if any",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/monitoredResources.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/monitoredResources.json
new file mode 100644
index 000000000000..bc9faf2303d3
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/monitoredResources.json
@@ -0,0 +1,324 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure API for managing SCOM managed instances and monitored resources.",
+ "version": "2023-07-07-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "parameters": {
+ "instanceName": {
+ "name": "instanceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the SCOM managed instance.",
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*$"
+ },
+ "monitoredResourceName": {
+ "name": "monitoredResourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The monitored resource name.",
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*$"
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scom/managedInstances/{instanceName}/monitoredResources/{monitoredResourceName}": {
+ "get": {
+ "operationId": "MonitoredResources_Get",
+ "description": "Retrieve the details of the monitored resource.",
+ "tags": [
+ "MonitoredResource"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ },
+ {
+ "$ref": "#/parameters/monitoredResourceName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/MonitoredResource"
+ }
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "MonitoredResource_Get": {
+ "$ref": "./examples/MonitoredResource_Get.json"
+ }
+ }
+ },
+ "put": {
+ "operationId": "MonitoredResources_CreateOrUpdate",
+ "description": "Create or update a monitored resource.",
+ "tags": [
+ "MonitoredResource"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ },
+ {
+ "$ref": "#/parameters/monitoredResourceName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Monitored resource updated successfully.",
+ "schema": {
+ "$ref": "#/definitions/MonitoredResource"
+ }
+ },
+ "201": {
+ "description": "Monitored resource created successfully.",
+ "schema": {
+ "$ref": "#/definitions/MonitoredResource"
+ }
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "MonitoredResources_CreateOrUpdate": {
+ "$ref": "./examples/MonitoredResource_CreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "operationId": "MonitoredResources_Delete",
+ "description": "Delete a monitored resource.",
+ "tags": [
+ "MonitoredResource"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ },
+ {
+ "$ref": "#/parameters/monitoredResourceName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The deletion operation has been successful."
+ },
+ "204": {
+ "description": "The deletion operation has been successful."
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "MonitoredResource_Delete": {
+ "$ref": "./examples/MonitoredResource_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scom/managedInstances/{instanceName}/monitoredResources": {
+ "get": {
+ "operationId": "MonitoredResources_ListByManagedInstance",
+ "description": "A comprehensive list of all monitored resources within a SCOM managed instance.",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "tags": [
+ "MonitoredResource"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/MonitoredResources"
+ }
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "MonitoredResources_ListByResourceGroup": {
+ "$ref": "./examples/MonitoredResources_ListByResourceGroup.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "MonitoredResource": {
+ "type": "object",
+ "description": "A monitored resource.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "The properties of a monitored resource.",
+ "$ref": "#/definitions/MonitoredResourceProperties"
+ }
+ }
+ },
+ "MonitoredResourceProperties": {
+ "type": "object",
+ "description": "The properties of a monitored resource.",
+ "properties": {
+ "resourceId": {
+ "description": "ArmId of the monitored resource.",
+ "type": "string"
+ },
+ "resourceLocation": {
+ "description": "Location of the monitored resource.",
+ "type": "string"
+ },
+ "computerName": {
+ "description": "ComputerName of the monitored resource.",
+ "type": "string"
+ },
+ "domainName": {
+ "description": "The domain name associated with the monitored resource.",
+ "type": "string"
+ },
+ "managementServerEndpoint": {
+ "description": "The management server endpoint to which the monitored resource is directed.",
+ "type": "string",
+ "readOnly": true
+ },
+ "healthStatus": {
+ "description": "The health status of the monitored resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "connectionStatus": {
+ "description": "The connection status of the monitored resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "agentVersion": {
+ "description": "The version of the monitored resource agent version.",
+ "type": "string",
+ "readOnly": true
+ },
+ "installType": {
+ "description": "Install type of monitored resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "MonitoredResources": {
+ "type": "object",
+ "description": "A paginated list of SCOM monitored resources.",
+ "properties": {
+ "value": {
+ "description": "The contents displayed on the page.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/MonitoredResource"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next page if any",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/scom.json b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/scom.json
new file mode 100644
index 000000000000..75118dea9863
--- /dev/null
+++ b/specification/scom/resource-manager/Microsoft.Scom/preview/2023-07-07-preview/scom.json
@@ -0,0 +1,1224 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure API for managing SCOM managed instances and monitored resources.",
+ "description": "Azure Monitor Operations Manager Managed Instance (SCOM MI) management APIs",
+ "version": "2023-07-07-preview",
+ "x-ms-code-generation-settings": {
+ "name": "scomClient"
+ }
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "parameters": {
+ "instanceName": {
+ "name": "instanceName",
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*$",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the Azure Monitor Operations Manager Managed Instance (SCOM MI)",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scom/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "description": "Lists all available operations on SCOM monitoring instance",
+ "operationId": "Operations_List",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Operations_List": {
+ "$ref": "./examples/Operations_List.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Scom/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "description": "Lists all available operations on SCOM managed instance (SCOM MI)",
+ "operationId": "Operations_ListV2",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Operations_List": {
+ "$ref": "./examples/Operations_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scom/managedInstances": {
+ "get": {
+ "operationId": "Instances_ListByResourceGroup",
+ "description": "Lists all SCOM managed instances in a resource group",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "tags": [
+ "SCOM instance"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/MonitoringInstanceList"
+ }
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Instances_ListByResourceGroup": {
+ "$ref": "./examples/Instances_ListByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Scom/managedInstances": {
+ "get": {
+ "operationId": "Instances_ListBySubscription",
+ "description": "Lists all SCOM managed instances in a subscription ",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "tags": [
+ "SCOM Instances"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/MonitoringInstanceList"
+ }
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Instances_ListBySubscription": {
+ "$ref": "./examples/Instances_ListBySubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scom/managedInstances/{instanceName}": {
+ "get": {
+ "operationId": "Instances_Get",
+ "description": "Get SCOM managed instance details",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ManagedInstance"
+ }
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Instances_Get": {
+ "$ref": "./examples/Instance_Get.json"
+ }
+ }
+ },
+ "put": {
+ "operationId": "Instances_CreateOrUpdate",
+ "description": "Create or update SCOM managed instance",
+ "tags": [
+ "SCOM Instances"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "ManagedInstance",
+ "description": "SCOM Managed Instance",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedInstance"
+ }
+ },
+ {
+ "in": "query",
+ "name": "validationMode",
+ "description": "Validation mode for the SCOM managed instance",
+ "required": false,
+ "type": "boolean"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Managed instance update successful.",
+ "schema": {
+ "$ref": "#/definitions/ManagedInstance"
+ }
+ },
+ "201": {
+ "description": "Managed instance create request successful.",
+ "schema": {
+ "$ref": "#/definitions/ManagedInstance"
+ }
+ },
+ "202": {
+ "description": "accepted operation",
+ "schema": {
+ "$ref": "#/definitions/ManagedInstance"
+ },
+ "headers": {
+ "Location": {
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "type": "string",
+ "description": "The URL to retrieve the status of the asynchronous operation."
+ }
+ }
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Instances_CreateOrUpdate": {
+ "$ref": "./examples/Instance_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "operationId": "Instances_Update",
+ "description": "Patch SCOM managed instance",
+ "tags": [
+ "SCOM Instance"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "ManagedInstance",
+ "description": "SCOM managed instance properties update",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/MonitoringInstancePatch"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ManagedInstance"
+ }
+ },
+ "201": {
+ "description": "accepted operation",
+ "schema": {
+ "$ref": "#/definitions/ManagedInstance"
+ }
+ },
+ "202": {
+ "description": "accepted operation",
+ "schema": {
+ "$ref": "#/definitions/ManagedInstance"
+ },
+ "headers": {
+ "Location": {
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "type": "string",
+ "description": "The URL to retrieve the status of the asynchronous operation."
+ }
+ }
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Instances_Patch": {
+ "$ref": "./examples/Instance_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "operationId": "Instances_Delete",
+ "description": "Delete a SCOM managed instance",
+ "tags": [
+ "SCOM Instances"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The deletion operation has been successful."
+ },
+ "202": {
+ "description": "Accepted. The deletion will be processed asynchronously.",
+ "headers": {
+ "Location": {
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "type": "string",
+ "description": "The URL to retrieve the status of the asynchronous operation."
+ }
+ }
+ },
+ "204": {
+ "description": "No content. No managed instance to delete."
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Instances_Delete": {
+ "$ref": "./examples/Instance_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scom/managedInstances/{instanceName}/setServerCount": {
+ "post": {
+ "operationId": "Instances_Scale",
+ "description": "Scaling SCOM managed instance.",
+ "consumes": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ScalingProperties"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The Scaling has completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/setServerCountResponseProperties"
+ }
+ },
+ "202": {
+ "description": "Accepted. The Scaling will complete asyncronously.",
+ "headers": {
+ "Location": {
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "type": "string",
+ "description": "The URL to retrieve the status of the asynchronous operation."
+ }
+ }
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Instances_Scale": {
+ "$ref": "./examples/Instance_Scale.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scom/managedInstances/{instanceName}/patchServers": {
+ "post": {
+ "operationId": "Instances_PatchServers",
+ "description": "Update SCOM servers with latest scom software.",
+ "consumes": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The update process for SCOM Servers has been completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/patchServersResponseProperties"
+ }
+ },
+ "202": {
+ "description": "Accepted. The Updating of SCOM Servers will complete asyncronously.",
+ "headers": {
+ "Location": {
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "type": "string",
+ "description": "The URL to retrieve the status of the asynchronous operation."
+ }
+ }
+ },
+ "default": {
+ "description": "An error response providing a description of the reason for the operation's failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Instances_PatchServers": {
+ "$ref": "./examples/Instances_PatchServers.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scom/managedInstances/{instanceName}/linkLogAnalytics": {
+ "post": {
+ "operationId": "Instances_LinkLogAnalytics",
+ "description": "Link Log Analytics workspace for SCOM monitoring instance",
+ "consumes": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/logAnalyticsConfiguration"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The Log Analytics linking has completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/logAnalyticsConfiguration"
+ }
+ },
+ "202": {
+ "description": "Accepted. The Log Analytics linking will complete asyncronously.",
+ "headers": {
+ "Location": {
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "type": "string",
+ "description": "The URL to retrieve the status of the asynchronous operation."
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Instances_LinkLogAnalytics": {
+ "$ref": "./examples/Instance_LinkLogAnalytics.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scom/managedInstances/{instanceName}/unlinkLogAnalytics": {
+ "post": {
+ "operationId": "Instances_UnlinkLogAnalytics",
+ "description": "Unlink Log Analytics workspace for SCOM monitoring instance",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Unlinked Log Analytics association with managed instance successfully.",
+ "schema": {
+ "$ref": "#/definitions/unlinkLogAnalyticsResponseProperties"
+ }
+ },
+ "202": {
+ "description": "Accepted. Disabling Log Analytics association with managed instance will complete asyncronously.",
+ "headers": {
+ "Location": {
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "type": "string",
+ "description": "The URL to retrieve the status of the asynchronous operation."
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Instances_UnlinkLogAnalytics": {
+ "$ref": "./examples/Instance_UnlinkLogAnalytics.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scom/managedInstances/{instanceName}/updateLogAnalytics": {
+ "post": {
+ "operationId": "Instances_UpdateLogAnalytics",
+ "description": "Update configuration for log analytics linking for SCOM monitoring instance",
+ "consumes": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/instanceName"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/logAnalyticsUpdateConfiguration"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The Log Analytics configuration update has completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/logAnalyticsUpdateConfiguration"
+ }
+ },
+ "202": {
+ "description": "Accepted. The Log Analytics configuration update will complete asyncronously.",
+ "headers": {
+ "Location": {
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "type": "string",
+ "description": "The URL to retrieve the status of the asynchronous operation."
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Instances_UpdateLogAnalytics": {
+ "$ref": "./examples/Instance_UpdateLogAnalytics.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ManagedInstance": {
+ "type": "object",
+ "description": "A SCOM instance resource",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "The properties of a SCOM instance resource",
+ "$ref": "#/definitions/MonitoringInstanceProperties"
+ },
+ "identity": {
+ "description": "The Azure Active Directory identity of the SCOM instance",
+ "$ref": "#/definitions/ManagedIdentity",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ }
+ }
+ },
+ "MonitoringInstanceProperties": {
+ "description": "The properties of a SCOM instance resource",
+ "type": "object",
+ "properties": {
+ "productVersion": {
+ "description": "SCOM product version to be installed on instance",
+ "type": "string",
+ "readOnly": true
+ },
+ "vNetSubnetId": {
+ "description": "Virtual Network subnet id on which Aquila instance will be provisioned",
+ "type": "string"
+ },
+ "managementEndpoints": {
+ "description": "List of management server endpoints",
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagementServerProperties"
+ },
+ "x-ms-identifiers": []
+ },
+ "databaseInstance": {
+ "description": "The database instance where the SCOM Operational and Warehouse databases will be stored.",
+ "$ref": "#/definitions/DatabaseInstanceProperties"
+ },
+ "domainController": {
+ "description": "Domain controller details",
+ "$ref": "#/definitions/DomainControllerProperties"
+ },
+ "domainUserCredentials": {
+ "description": "Domain user which will be used to join VMs to domain and login to VMs.",
+ "$ref": "#/definitions/DomainUserCredentials"
+ },
+ "gmsaDetails": {
+ "description": "Gmsa Details for load balancer and vmss",
+ "$ref": "#/definitions/GmsaDetails"
+ },
+ "azureHybridBenefit": {
+ "description": "The properties to enable Azure Hybrid benefit for various SCOM infrastructure license.",
+ "$ref": "#/definitions/AzureHybridBenefitProperties"
+ },
+ "provisioningState": {
+ "description": "Gets or sets the provisioning state.",
+ "type": "string",
+ "readOnly": true
+ },
+ "logAnalyticsProperties": {
+ "description": "Details of Log Analytics workspace and data being ingested.",
+ "readOnly": true,
+ "$ref": "#/definitions/logAnalyticsConfiguration"
+ },
+ "operationsStatus": {
+ "description": "Gets status of current and latest SCOM managed instance operations.",
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedInstanceOperationStatus"
+ },
+ "x-ms-identifiers": [
+ "id"
+ ]
+ }
+ }
+ },
+ "ManagedInstanceOperationStatus": {
+ "description": "Gets status of current and latest SCOM managed instance operation.",
+ "type": "object",
+ "properties": {
+ "operationName": {
+ "description": "Operation Name",
+ "type": "string",
+ "readOnly": true
+ },
+ "operationState": {
+ "description": "Operation status",
+ "type": "string",
+ "readOnly": true
+ },
+ "id": {
+ "description": "Operation id",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ManagementServerProperties": {
+ "description": "The properties of management server",
+ "type": "object",
+ "properties": {
+ "serverName": {
+ "description": "Management server Name",
+ "type": "string",
+ "readOnly": true
+ },
+ "vmResId": {
+ "description": "Azure VM Resource Id of the Management server.",
+ "type": "string",
+ "readOnly": true
+ },
+ "fqdn": {
+ "description": "Management server Fully Qualified Domain Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "serverRoles": {
+ "description": "Represent whether the Server is a Management Server and/or Web Console Server.",
+ "type": "string",
+ "readOnly": true
+ },
+ "healthState": {
+ "description": "Management server health state.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "DomainControllerProperties": {
+ "description": "The properties of domain controller to which SCOM and SQL servers join for AuthN/AuthZ.",
+ "type": "object",
+ "properties": {
+ "domainName": {
+ "description": "Fully qualified domain name",
+ "type": "string"
+ },
+ "dnsServer": {
+ "description": "IP address of DNS server ",
+ "type": "string"
+ },
+ "ouPath": {
+ "description": "Organizational Unit path in which the SCOM servers will be present",
+ "type": "string",
+ "default": ""
+ }
+ }
+ },
+ "DomainUserCredentials": {
+ "description": "Get Domain user name and password from key vault",
+ "type": "object",
+ "properties": {
+ "keyVaultUrl": {
+ "description": "Key vault url to get the domain username and password",
+ "type": "string"
+ },
+ "userNameSecret": {
+ "description": "Domain user name secret ",
+ "type": "string"
+ },
+ "passwordSecret": {
+ "description": "Domain Password secret ",
+ "type": "string"
+ }
+ }
+ },
+ "GmsaDetails": {
+ "description": "Gmsa Details",
+ "type": "object",
+ "properties": {
+ "loadBalancerIP": {
+ "description": "Frontend IP configuration for Load Balancer, which should be an available IP in customer VNet",
+ "type": "string"
+ },
+ "gmsaAccount": {
+ "description": "gMSA account under which context all Management Server services will run",
+ "type": "string"
+ },
+ "managementServerGroupName": {
+ "description": "OnPrem AD Computer Group where we will join VMs for ease of management",
+ "type": "string"
+ },
+ "dnsName": {
+ "description": "Frontend DNS name for Load Balancer which will be used by Agents to initiate communication",
+ "type": "string"
+ }
+ }
+ },
+ "DatabaseInstanceProperties": {
+ "description": "The properties of database instance",
+ "type": "object",
+ "properties": {
+ "databaseInstanceId": {
+ "description": "Resource Id of existing database instance",
+ "type": "string"
+ },
+ "databaseFqdn": {
+ "description": "Fully qualified domain name of existing database instance",
+ "type": "string",
+ "readOnly": true
+ },
+ "dwDatabaseName": {
+ "description": "Name of warehouse database on database instance",
+ "type": "string",
+ "readOnly": true
+ },
+ "operationalDatabaseId": {
+ "description": "Resource Id of operational database on database instance",
+ "type": "string",
+ "readOnly": true
+ },
+ "dwDatabaseId": {
+ "description": "Resource Id of warehouse database on database instance",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "UserIdentity": {
+ "description": "Azure Active Directory identity configuration for a resource.",
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "description": "The Azure Active Directory principal id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "clientId": {
+ "description": "The Azure Active Directory client id.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ManagedIdentity": {
+ "description": "Azure Active Directory identity configuration for a resource.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "The identity type",
+ "enum": [
+ "None",
+ "UserAssigned",
+ "SystemAssigned",
+ "SystemAssigned,UserAssigned"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ManagedIdentityType",
+ "modelAsString": true
+ }
+ },
+ "principalId": {
+ "description": "System Assigned Identity ObjectId.",
+ "type": "string",
+ "readOnly": true
+ },
+ "tenantId": {
+ "description": "The Azure Active Directory tenant id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "userAssignedIdentities": {
+ "description": "The resource ids of the user assigned identities to use",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/UserIdentity"
+ }
+ }
+ }
+ },
+ "LicenseTypeEnum": {
+ "description": "The license type associated with different SCOM infrastructure components.",
+ "type": "string",
+ "enum": [
+ "None",
+ "AzureHybridBenefit"
+ ],
+ "x-ms-enum": {
+ "name": "hybridLicenseType",
+ "modelAsString": true
+ }
+ },
+ "AzureHybridBenefitProperties": {
+ "type": "object",
+ "description": "The properties to maximize savings by using Azure Hybrid Benefit",
+ "properties": {
+ "scomLicenseType": {
+ "description": "SCOM license type. Maximize savings by using license you already own",
+ "$ref": "#/definitions/LicenseTypeEnum"
+ },
+ "windowsServerLicenseType": {
+ "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)",
+ "$ref": "#/definitions/LicenseTypeEnum"
+ },
+ "sqlServerLicenseType": {
+ "description": "SQL Server license type. Maximize savings by using Azure Hybrid Benefit for SQL Server with license you already own",
+ "$ref": "#/definitions/LicenseTypeEnum"
+ }
+ }
+ },
+ "MonitoringInstanceList": {
+ "description": "A paged list of SCOM managed instances",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The items on the page",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ManagedInstance"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next page if any",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "MonitoringInstancePatch": {
+ "type": "object",
+ "properties": {
+ "identity": {
+ "description": "The Azure Active Directory identity of the SCOM instance",
+ "$ref": "#/definitions/ManagedIdentity",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "description": "Object containing updates for patch operations."
+ },
+ "ScalingProperties": {
+ "type": "object",
+ "description": "Properties for Scaling",
+ "properties": {
+ "serverCount": {
+ "description": "Required management server count",
+ "type": "integer",
+ "format": "int64",
+ "maximum": 100,
+ "minimum": 1
+ }
+ }
+ },
+ "setServerCountResponseProperties": {
+ "type": "object",
+ "description": "Properties for set server count operation",
+ "properties": {
+ "serverCount": {
+ "description": "Management server count",
+ "type": "integer",
+ "format": "int64"
+ }
+ }
+ },
+ "patchServersResponseProperties": {
+ "type": "object",
+ "description": "Properties for patching servers",
+ "properties": {
+ "status": {
+ "description": "Status of the patch operation",
+ "type": "string"
+ }
+ }
+ },
+ "logAnalyticsConfiguration": {
+ "type": "object",
+ "description": "Configuration for Log Analytics linking to SCOM managed instance.",
+ "properties": {
+ "workspaceId": {
+ "description": "The resource ID of the Log Analytics workspace to be used.",
+ "type": "string"
+ },
+ "dataTypes": {
+ "description": "The types of data to be ingested to Log Analytics workspace.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "State",
+ "Performance",
+ "Event",
+ "Audit"
+ ],
+ "x-ms-enum": {
+ "name": "DataType",
+ "modelAsString": true
+ }
+ }
+ },
+ "importData": {
+ "description": "A one-time optional parameter to import data of last 7 days.",
+ "default": false,
+ "type": "boolean"
+ }
+ }
+ },
+ "logAnalyticsUpdateConfiguration": {
+ "type": "object",
+ "description": "Updated configuration for Log Analytics linking",
+ "properties": {
+ "dataTypes": {
+ "description": "The types of data to be ingested to Log Analytics workspace.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "State",
+ "Performance",
+ "Event",
+ "Audit"
+ ],
+ "x-ms-enum": {
+ "name": "DataType",
+ "modelAsString": true
+ }
+ }
+ }
+ }
+ },
+ "unlinkLogAnalyticsResponseProperties": {
+ "type": "object",
+ "description": "Properties for unlinking log analytics",
+ "properties": {
+ "status": {
+ "description": "Status of the unlink operation",
+ "type": "string"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/scom/resource-manager/readme.az.md b/specification/scom/resource-manager/readme.az.md
new file mode 100644
index 000000000000..42c3c2a1960b
--- /dev/null
+++ b/specification/scom/resource-manager/readme.az.md
@@ -0,0 +1,28 @@
+## AZ
+
+These settings apply only when `--az` is specified on the command line.
+
+For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage.
+
+``` yaml $(az) && $(target-mode) != 'core'
+az:
+ extensions: scom
+ namespace: azure.mgmt.scom
+ package-name: azure-mgmt-scom
+az-output-folder: $(azure-cli-extension-folder)/src/scom
+python-sdk-output-folder: "$(az-output-folder)/azext_scom/vendored_sdks/scom"
+# add additinal configuration here specific for Azure CLI
+# refer to the faq.md for more details
+```
+
+
+
+This is for command modules that already in azure cli main repo.
+``` yaml $(az) && $(target-mode) == 'core'
+az:
+ extensions: scom
+ namespace: azure.mgmt.scom
+ package-name: azure-mgmt-scom
+az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/scom
+python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/scom"
+```
\ No newline at end of file
diff --git a/specification/scom/resource-manager/readme.azureresourceschema.md b/specification/scom/resource-manager/readme.azureresourceschema.md
new file mode 100644
index 000000000000..81d1e598bfae
--- /dev/null
+++ b/specification/scom/resource-manager/readme.azureresourceschema.md
@@ -0,0 +1,24 @@
+## AzureResourceSchema
+
+These settings apply only when `--azureresourceschema` is specified on the command line.
+
+### AzureResourceSchema multi-api
+
+``` yaml $(azureresourceschema) && $(multiapi)
+batch:
+ - tag: schema-scom-2023-07-07-preview
+
+```
+
+Please also specify `--azureresourceschema-folder=`.
+
+### Tag: schema-scom-2023-07-07-preview and azureresourceschema
+
+``` yaml $(tag) == 'schema-scom-2023-07-07-preview' && $(azureresourceschema)
+output-folder: $(azureresourceschema-folder)/schemas
+
+# all the input files in this apiVersion
+input-file:
+ - Microsoft.Scom/preview/2023-07-07-preview/scom.json
+
+```
\ No newline at end of file
diff --git a/specification/scom/resource-manager/readme.cli.md b/specification/scom/resource-manager/readme.cli.md
new file mode 100644
index 000000000000..c6cf6ad37ea4
--- /dev/null
+++ b/specification/scom/resource-manager/readme.cli.md
@@ -0,0 +1 @@
+## CLI Common Settings for all the command line tools
\ No newline at end of file
diff --git a/specification/scom/resource-manager/readme.csharp.md b/specification/scom/resource-manager/readme.csharp.md
new file mode 100644
index 000000000000..558d470d1ed8
--- /dev/null
+++ b/specification/scom/resource-manager/readme.csharp.md
@@ -0,0 +1,15 @@
+## C#
+
+These settings apply only when `--csharp` is specified on the command line.
+Please also specify `--csharp-sdks-folder=`.
+
+```yaml $(csharp)
+csharp:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 1
+ clear-output-folder: true
+ client-side-validation: false
+ namespace: Microsoft.Scom
+ output-folder: $(csharp-sdks-folder)/scom/management/Microsoft.Scom/GeneratedProtocol
+```
diff --git a/specification/scom/resource-manager/readme.go.md b/specification/scom/resource-manager/readme.go.md
new file mode 100644
index 000000000000..95a22400ed7f
--- /dev/null
+++ b/specification/scom/resource-manager/readme.go.md
@@ -0,0 +1,35 @@
+## Go
+
+These settings apply only when `--go` is specified on the command line.
+
+```yaml $(go) && !$(track2)
+go:
+ license-header: MICROSOFT_APACHE_NO_VERSION
+ namespace: scom
+ clear-output-folder: true
+```
+``` yaml $(go) && $(track2)
+license-header: MICROSOFT_APACHE_NO_VERSION
+module-name: sdk/resourcemanager/scom/armscom
+module: github.com/Azure/azure-sdk-for-go/$(module-name)
+output-folder: $(go-sdk-folder)/$(module-name)
+azure-arm: true
+```
+
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2023-07-07-preview
+```
+
+
+### Tag: package-2023-07-07-preview and go
+
+These settings apply only when `--tag=package-2023-07-07-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+```yaml $(tag) == 'package-2023-07-07-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2023-07-07-preview/$(namespace)
+```
+
diff --git a/specification/scom/resource-manager/readme.md b/specification/scom/resource-manager/readme.md
new file mode 100644
index 000000000000..f2f1c6eacc6e
--- /dev/null
+++ b/specification/scom/resource-manager/readme.md
@@ -0,0 +1,90 @@
+# scom
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for scom.
+
+## Getting Started
+
+To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run:
+
+> `autorest readme.md`
+
+To see additional help and options, run:
+
+> `autorest --help`
+
+For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page.
+
+---
+
+## Configuration
+
+### Basic Information
+
+These are the global settings for the scom.
+
+```yaml
+openapi-type: arm
+openapi-subtype: rpaas
+tag: package-2023-07-07-preview
+```
+
+### Tag: package-2023-07-07-preview
+
+These settings apply only when `--tag=package-2023-07-07-preview` is specified on the command line.
+
+```yaml $(tag) == 'package-2023-07-07-preview'
+input-file:
+ - Microsoft.Scom/preview/2023-07-07-preview/scom.json
+ - Microsoft.Scom/preview/2023-07-07-preview/monitoredResources.json
+ - Microsoft.Scom/preview/2023-07-07-preview/managedGateways.json
+```
+---
+
+# Code Generation
+
+## Swagger to SDK
+
+This section describes what SDK should be generated by the automatic system.
+This is not used by Autorest itself.
+
+```yaml $(swagger-to-sdk)
+swagger-to-sdk:
+ - repo: azure-sdk-for-python
+ - repo: azure-sdk-for-java
+ - repo: azure-sdk-for-go
+ - repo: azure-sdk-for-js
+ - repo: azure-resource-manager-schemas
+ after_scripts:
+ - node sdkauto_afterscript.js scom/resource-manager
+ - repo: azure-cli-extensions
+```
+## Az
+
+See configuration in [readme.az.md](./readme.az.md)
+
+## Go
+
+See configuration in [readme.go.md](./readme.go.md)
+
+## Python
+
+See configuration in [readme.python.md](./readme.python.md)
+
+## TypeScript
+
+See configuration in [readme.typescript.md](./readme.typescript.md)
+
+## CSharp
+
+See configuration in [readme.csharp.md](./readme.csharp.md)
+
+## AzureResourceSchema
+
+See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)
+
+### Suppress lint rules
+
+``` yaml
+```
diff --git a/specification/scom/resource-manager/readme.python.md b/specification/scom/resource-manager/readme.python.md
new file mode 100644
index 000000000000..1e86e711b5ca
--- /dev/null
+++ b/specification/scom/resource-manager/readme.python.md
@@ -0,0 +1,40 @@
+## Python
+
+These settings apply only when `--python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+
+``` yaml $(python)
+python:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ package-name: azure-mgmt-scom
+ no-namespace-folders: true
+ package-version: 1.0.0b1
+```
+
+``` yaml $(python-mode) == 'update'
+python:
+ output-folder: $(python-sdks-folder)/scom/azure-mgmt-scom/azure/mgmt/scom
+```
+``` yaml $(python-mode) == 'create'
+python:
+ basic-setup-py: true
+ output-folder: $(python-sdks-folder)/scom/azure-mgmt-scom
+```
+
+``` yaml $(python) && $(track2)
+azure-arm: true
+license-header: MICROSOFT_MIT_NO_VERSION
+package-name: azure-mgmt-scom
+no-namespace-folders: true
+package-version: 1.0.0b1
+```
+
+``` yaml $(python-mode) == 'update' && $(track2)
+output-folder: $(python-sdks-folder)/scom/azure-mgmt-scom/azure/mgmt/scom
+```
+``` yaml $(python-mode) == 'create' && $(track2)
+basic-setup-py: true
+output-folder: $(python-sdks-folder)/scom/azure-mgmt-scom
+```
diff --git a/specification/scom/resource-manager/readme.typescript.md b/specification/scom/resource-manager/readme.typescript.md
new file mode 100644
index 000000000000..7c324007654a
--- /dev/null
+++ b/specification/scom/resource-manager/readme.typescript.md
@@ -0,0 +1,14 @@
+## TypeScript
+
+These settings apply only when `--typescript` is specified on the command line.
+Please also specify `--typescript-sdks-folder=`.
+
+``` yaml $(typescript)
+typescript:
+ azure-arm: true
+ package-name: "@azure/arm-scom"
+ output-folder: "$(typescript-sdks-folder)/sdk/scom/arm-scom"
+ payload-flattening-threshold: 1
+ clear-output-folder: true
+ generate-metadata: true
+```