Skip to content

Commit

Permalink
improve NR Examples (#24636)
Browse files Browse the repository at this point in the history
* improve NR Examples

* addressing AutoRun Errors

* Fixing Prettier Issue

* Adding NextLink in Max Examples

* Formatting Azure Resource Id

* Updating Format of azure subscriptionIds
  • Loading branch information
vipray-ms authored Jul 11, 2023
1 parent c53808b commit b92fdfc
Show file tree
Hide file tree
Showing 111 changed files with 204 additions and 177 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Accounts_List_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "nqmcgifgaqlf",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"userEmail": "[email protected]",
"location": "egh"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Accounts_List_MinimumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "nqmcgifgaqlf",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"userEmail": "[email protected]",
"location": "egh"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Monitors_CreateOrUpdate_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "hfmjmpyqgezxkp",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgNewRelic",
"monitorName": "cdlymktqw",
"resource": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Monitors_Delete_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "ddqonpqwjr",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgopenapi",
"monitorName": "ipxmlcbonyxtolzejcjshkmlron"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Monitors_Delete_MinimumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "ddqonpqwjr",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgopenapi",
"monitorName": "ipxmlcbonyxtolzejcjshkmlron"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Monitors_GetMetricRules_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "nqmcgifgaqlf",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgNewRelic",
"monitorName": "fhcjxnxumkdlgpwanewtkdnyuz",
"request": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Monitors_GetMetricRules_MinimumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "nqmcgifgaqlf",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgNewRelic",
"monitorName": "fhcjxnxumkdlgpwanewtkdnyuz",
"request": {
Expand All @@ -12,7 +12,11 @@
},
"responses": {
"200": {
"body": {}
"body": {
"sendMetrics": "Disabled",
"filteringTags": [],
"userEmail": null
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"title": "Monitors_GetMetricStatus_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "nqmcgifgaqlf",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgNewRelic",
"monitorName": "fhcjxnxumkdlgpwanewtkdnyuz",
"request": {
"azureResourceIds": [
"enfghpfw"
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz"
],
"userEmail": "[email protected]"
}
Expand All @@ -17,7 +17,7 @@
"200": {
"body": {
"azureResourceIds": [
"enfghpfw"
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,21 @@
"title": "Monitors_GetMetricStatus_MinimumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "nqmcgifgaqlf",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgNewRelic",
"monitorName": "fhcjxnxumkdlgpwanewtkdnyuz",
"request": {
"azureResourceIds": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz"
],
"userEmail": "[email protected]"
}
},
"responses": {
"200": {
"body": {}
"body": {
"azureResourceIds": []
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Monitors_Get_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "hfmjmpyqgezxkp",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgNewRelic",
"monitorName": "cdlymktqw"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"title": "Monitors_ListAppServices_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "nqmcgifgaqlf",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgNewRelic",
"monitorName": "fhcjxnxumkdlgpwanewtkdnyuz",
"request": {
"azureResourceIds": [
"pvzrksrmzowobuhxpwiotnpcvjbu"
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz"
],
"userEmail": "[email protected]"
}
Expand All @@ -18,7 +18,7 @@
"body": {
"value": [
{
"azureResourceId": "kjvbkwuqmouugrrz",
"azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz",
"agentVersion": "owxkssnbp",
"agentStatus": "vclwfecbppsfaygdccfu"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@
"title": "Monitors_ListAppServices_MinimumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "nqmcgifgaqlf",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgNewRelic",
"monitorName": "fhcjxnxumkdlgpwanewtkdnyuz",
"request": {
"azureResourceIds": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz"
],
"userEmail": "[email protected]"
}
},
"responses": {
"200": {
"body": {
"value": [
{}
]
"value": [],
"nextLink": null
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Monitors_ListByResourceGroup_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "hfmjmpyqgezxkp",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgNewRelic"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Monitors_ListBySubscription_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "hfmjmpyqgezxkp"
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Monitors_ListHosts_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "ddqonpqwjr",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgopenapi",
"monitorName": "ipxmlcbonyxtolzejcjshkmlron",
"request": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Monitors_ListHosts_MinimumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "ddqonpqwjr",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgopenapi",
"monitorName": "ipxmlcbonyxtolzejcjshkmlron",
"request": {
Expand All @@ -16,9 +16,8 @@
"responses": {
"200": {
"body": {
"value": [
{}
]
"value": [],
"nextLink": null
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Monitors_ListMonitoredResources_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "ddqonpqwjr",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgopenapi",
"monitorName": "ipxmlcbonyxtolzejcjshkmlron"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
"title": "Monitors_ListMonitoredResources_MinimumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "ddqonpqwjr",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgopenapi",
"monitorName": "ipxmlcbonyxtolzejcjshkmlron"
},
"responses": {
"200": {
"body": {
"value": [
{}
]
"value": [],
"nextLink": null
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"title": "Monitors_SwitchBilling_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "nqmcgifgaqlf",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgNewRelic",
"monitorName": "fhcjxnxumkdlgpwanewtkdnyuz",
"request": {
"userEmail": "[email protected]",
"azureResourceId": "enfghpfw",
"azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz",
"organizationId": "k",
"planData": {
"usageType": "PAYG",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Monitors_SwitchBilling_MinimumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "nqmcgifgaqlf",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgNewRelic",
"monitorName": "fhcjxnxumkdlgpwanewtkdnyuz",
"request": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Monitors_Update_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "hfmjmpyqgezxkp",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgNewRelic",
"monitorName": "cdlymktqw",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Monitors_VmHostPayload_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "ddqonpqwjr",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgopenapi",
"monitorName": "ipxmlcbonyxtolzejcjshkmlron"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Monitors_VmHostPayload_MinimumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "ddqonpqwjr",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgopenapi",
"monitorName": "ipxmlcbonyxtolzejcjshkmlron"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Organizations_List_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "nqmcgifgaqlf",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"userEmail": "[email protected]",
"location": "egh"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,14 @@
"title": "Organizations_List_MinimumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "nqmcgifgaqlf",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"userEmail": "[email protected]",
"location": "egh"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "ycdsgeiitvxcd"
}
]
"value": []
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Plans_List_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "hfmjmpyqgezxkp",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"accountId": "pwuxgvrmkk",
"organizationId": "hilawwjz"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@
"title": "Plans_List_MinimumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "nqmcgifgaqlf"
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"organizationId": "hilawwjz"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "ycdsgeiitvxcd"
"id": "qmtrcoxuctyphc",
"properties": {
"orgCreationSource": "NEWRELIC"
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "TagRules_CreateOrUpdate_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "ddqonpqwjr",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgopenapi",
"monitorName": "ipxmlcbonyxtolzejcjshkmlron",
"ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "TagRules_CreateOrUpdate_MinimumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "ddqonpqwjr",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgopenapi",
"monitorName": "ipxmlcbonyxtolzejcjshkmlron",
"ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "TagRules_Delete_MaximumSet_Gen",
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "ddqonpqwjr",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgopenapi",
"monitorName": "ipxmlcbonyxtolzejcjshkmlron",
"ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb"
Expand Down
Loading

0 comments on commit b92fdfc

Please sign in to comment.