-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3069 from Azure/valakhin-dev-rpsaasmaster
Swagger Spec for Microsoft.Scom RP
- Loading branch information
Showing
16 changed files
with
1,244 additions
and
0 deletions.
There are no files selected for viewing
114 changes: 114 additions & 0 deletions
114
.../resource-manager/Microsoft.SCOM/preview/2021-06-30-preview/examples/Instance_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
.../resource-manager/Microsoft.SCOM/preview/2021-06-30-preview/examples/Instance_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...com/resource-manager/Microsoft.SCOM/preview/2021-06-30-preview/examples/Instance_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
89 changes: 89 additions & 0 deletions
89
.../resource-manager/Microsoft.SCOM/preview/2021-06-30-preview/examples/Instance_Update.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...ger/Microsoft.SCOM/preview/2021-06-30-preview/examples/Instances_ListByResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
...ager/Microsoft.SCOM/preview/2021-06-30-preview/examples/Instances_ListBySubscription.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
.../resource-manager/Microsoft.SCOM/preview/2021-06-30-preview/examples/Operations_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} |
Oops, something went wrong.