Skip to content

Commit

Permalink
Updated Examples for Provider instances
Browse files Browse the repository at this point in the history
  • Loading branch information
PakDLiu committed Nov 3, 2020
1 parent c222036 commit aa8ba56
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"providerInstanceParameter": {
"properties": {
"type": "hana",
"properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\",\"dbPassword\":\"PASSWORD\"}",
"properties": "{\"hostname\":\"10.0.0.6\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30013,\"dbUsername\":\"SYSTEM\",\"dbPassword\":\"PASSWORD\"}",
"metadata": "{\"key\":\"value\"}"
}
}
Expand All @@ -20,8 +20,8 @@
"name": "myProviderInstance",
"type": "Microsoft.HanaOnAzure/sapMonitors/providerInstances",
"properties": {
"type": "hana",
"properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}",
"type": "SapHana",
"properties": "{\"hostname\":\"10.0.0.6\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30013,\"dbUsername\":\"SYSTEM\"}",
"metadata": "{\"key\":\"value\"}",
"provisioningState": "Accepted"
}
Expand All @@ -33,8 +33,8 @@
"name": "myProviderInstance",
"type": "Microsoft.HanaOnAzure/sapMonitors/providerInstances",
"properties": {
"type": "hana",
"properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}",
"type": "SapHana",
"properties": "{\"hostname\":\"10.0.0.6\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30013,\"dbUsername\":\"SYSTEM\"}",
"metadata": "{\"key\":\"value\"}",
"provisioningState": "Accepted"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"name": "myProviderInstance",
"type": "Microsoft.HanaOnAzure/sapMonitors/providerInstances",
"properties": {
"type": "hana",
"properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}",
"type": "SapHana",
"properties": "{\"hostname\":\"10.0.0.6\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30013,\"dbUsername\":\"SYSTEM\"}",
"metadata": "{\"key\":\"value\"}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"name": "myProviderInstance1",
"type": "Microsoft.HanaOnAzure/sapMonitors/providerInstances",
"properties": {
"type": "hana",
"properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}",
"type": "SapHana",
"properties": "{\"hostname\":\"10.0.0.6\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30013,\"dbUsername\":\"SYSTEM\"}",
"metadata": "{\"key\":\"value\"}"
}
},
Expand All @@ -24,8 +24,18 @@
"name": "myProviderInstance2",
"type": "Microsoft.HanaOnAzure/sapMonitors/providerInstances",
"properties": {
"type": "hana",
"properties": "{\"hostname\":\"10.0.0.11\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}",
"type": "PrometheusHaCluster",
"properties": "{\"prometheusUrl\":\"http://10.0.0.21:9664/metrics\"}",
"metadata": "{\"key\":\"value\"}"
}
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor/providerInstances/myProviderInstance2",
"name": "myProviderInstance2",
"type": "Microsoft.HanaOnAzure/sapMonitors/providerInstances",
"properties": {
"type": "MsSqlServer",
"properties": "{\"sqlHostname\":\"10.0.0.6\",\"sqlPort\":1433,\"sqlUsername\":\"sqladmin\"}",
"metadata": "{\"key\":\"value\"}"
}
}
Expand Down

0 comments on commit aa8ba56

Please sign in to comment.