Skip to content

Commit

Permalink
Merge pull request #3069 from Azure/valakhin-dev-rpsaasmaster
Browse files Browse the repository at this point in the history
Swagger Spec for Microsoft.Scom RP
  • Loading branch information
chunyu3 authored Feb 26, 2021
2 parents 634b659 + 32acfad commit dab6ae2
Show file tree
Hide file tree
Showing 16 changed files with 1,244 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"parameters": {
"api-version": "2021-06-30-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResGroup",
"instanceName": "myInstace",
"MonitoringInstance": {
"location": "eastus2",
"properties": {
"productVersion": "2019",
"vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
"domainController": {
"domainName": "domain.com",
"dnsServer": "10.10.10.10"
},
"domainUserCredentials": {
"userName": "domain.com\\domainuser"
},
"actionAccountCredentials": {
"userName": "domain.com\\actacc"
},
"dasAccountCredentials": {
"userName": "domain.com\\dasact"
},
"dataReaderAccountCredentials": {
"userName": "domain.com\\readeract"
},
"dataWriterAccountCredentials": {
"userName": "domain.com\\writeract"
},
"azureHybridBenefit": {
"scomLicenseType": "None",
"windowsServerLicenseType": "None",
"sqlServerLicenseType": "None"
}
},
"tags": {}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.SCOM/managedInstances/myManagedInstace",
"name": "myInstace",
"type": "Microsoft.SCOM/managedInstances",
"location": "eastus2",
"properties": {
"productVersion": "2019",
"vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
"domainController": {
"domainName": "domain.com",
"dnsServer": "10.10.10.10"
},
"domainUserCredentials": {
"userName": "domain.com\\domainuser"
},
"actionAccountCredentials": {
"userName": "domain.com\\actacc"
},
"dasAccountCredentials": {
"userName": "domain.com\\dasact"
},
"dataReaderAccountCredentials": {
"userName": "domain.com\\readeract"
},
"dataWriterAccountCredentials": {
"userName": "domain.com\\writeract"
},
"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",
"properties": {
"productVersion": "2019",
"vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
"domainController": {
"domainName": "domain.com",
"dnsServer": "10.10.10.10"
},
"domainUserCredentials": {
"userName": "domain.com\\domainuser"
},
"actionAccountCredentials": {
"userName": "domain.com\\actacc"
},
"dasAccountCredentials": {
"userName": "domain.com\\dasact"
},
"dataReaderAccountCredentials": {
"userName": "domain.com\\readeract"
},
"dataWriterAccountCredentials": {
"userName": "domain.com\\writeract"
},
"azureHybridBenefit": {
"scomLicenseType": "None",
"windowsServerLicenseType": "None",
"sqlServerLicenseType": "None"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"api-version": "2021-06-30-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "mySCOMMIGroup",
"instanceName": "myInstace"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"parameters": {
"api-version": "2021-06-30-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",
"properties": {
"productVersion": "2019",
"vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
"domainController": {
"domainName": "domain.com",
"dnsServer": "10.10.10.10"
},
"domainUserCredentials": {
"userName": "domain.com\\domainuser"
},
"actionAccountCredentials": {
"userName": "domain.com\\actacc"
},
"dasAccountCredentials": {
"userName": "domain.com\\dasact"
},
"dataReaderAccountCredentials": {
"userName": "domain.com\\readeract"
},
"dataWriterAccountCredentials": {
"userName": "domain.com\\writeract"
},
"azureHybridBenefit": {
"scomLicenseType": "None",
"windowsServerLicenseType": "None",
"sqlServerLicenseType": "None"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"parameters": {
"api-version": "2021-06-30-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResGroup",
"instanceName": "myInstace",
"MonitoringInstance": {
"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",
"properties": {
"productVersion": "2019",
"vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
"domainController": {
"domainName": "domain.com",
"dnsServer": "10.10.10.10"
},
"domainUserCredentials": {
"userName": "domain.com\\domainuser"
},
"actionAccountCredentials": {
"userName": "domain.com\\actacc"
},
"dasAccountCredentials": {
"userName": "domain.com\\dasact"
},
"dataReaderAccountCredentials": {
"userName": "domain.com\\readeract"
},
"dataWriterAccountCredentials": {
"userName": "domain.com\\writeract"
},
"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",
"properties": {
"productVersion": "2019",
"vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
"domainController": {
"domainName": "domain.com",
"dnsServer": "10.10.10.10"
},
"domainUserCredentials": {
"userName": "domain.com\\domainuser"
},
"actionAccountCredentials": {
"userName": "domain.com\\actacc"
},
"dasAccountCredentials": {
"userName": "domain.com\\dasact"
},
"dataReaderAccountCredentials": {
"userName": "domain.com\\readeract"
},
"dataWriterAccountCredentials": {
"userName": "domain.com\\writeract"
},
"azureHybridBenefit": {
"scomLicenseType": "None",
"windowsServerLicenseType": "None",
"sqlServerLicenseType": "None"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"parameters": {
"api-version": "2021-06-30-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",
"properties": {
"productVersion": "2019",
"vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
"domainController": {
"domainName": "domain.com",
"dnsServer": "10.10.10.10"
},
"domainUserCredentials": {
"userName": "domain.com\\domainuser"
},
"actionAccountCredentials": {
"userName": "domain.com\\actacc"
},
"dasAccountCredentials": {
"userName": "domain.com\\dasact"
},
"dataReaderAccountCredentials": {
"userName": "domain.com\\readeract"
},
"dataWriterAccountCredentials": {
"userName": "domain.com\\writeract"
},
"azureHybridBenefit": {
"scomLicenseType": "None",
"windowsServerLicenseType": "None",
"sqlServerLicenseType": "None"
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"api-version": "2021-06-30-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",
"properties": {
"productVersion": "2019",
"vNetSubnetId": "/subscriptions/{subscription-id}/resourceGroups/mySCOMMIGroup/providers/Microsoft.Network/virtualNetworks/vNet2/subnets/default",
"domainController": {
"domainName": "domain.com",
"dnsServer": "10.10.10.10"
},
"domainUserCredentials": {
"userName": "domain.com\\domainuser"
},
"actionAccountCredentials": {
"userName": "domain.com\\actacc"
},
"dasAccountCredentials": {
"userName": "domain.com\\dasact"
},
"dataReaderAccountCredentials": {
"userName": "domain.com\\readeract"
},
"dataWriterAccountCredentials": {
"userName": "domain.com\\writeract"
},
"azureHybridBenefit": {
"scomLicenseType": "None",
"windowsServerLicenseType": "None",
"sqlServerLicenseType": "None"
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"api-version": "2021-06-30-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"
}
}
}
Loading

0 comments on commit dab6ae2

Please sign in to comment.