-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[New Relic] Upgrade 2024-01-01 (#24906)
* feature New Relic Upgrade 2024-01-01 * Create UXMetadataIssues.csv * New Relic test design * Update commands design and test cases
- Loading branch information
Showing
91 changed files
with
3,987 additions
and
1,069 deletions.
There are no files selected for viewing
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
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
85 changes: 85 additions & 0 deletions
85
...NewRelic/NewRelic.Autorest/UX/NewRelic.Observability/monitors-monitoredSubscriptions.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,85 @@ | ||
{ | ||
"resourceType": "monitors/monitoredSubscriptions", | ||
"apiVersion": "2024-01-01", | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.newrelic" | ||
}, | ||
"commands": [ | ||
{ | ||
"name": "Get-AzNewRelicMonitoredSubscription", | ||
"description": "List the subscriptions currently being monitored by the NewRelic monitor resource.", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.newrelic/get-aznewrelicmonitoredsubscription" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-MonitorName <String>", | ||
"-ResourceGroupName <String>", | ||
"[-SubscriptionId <String[]>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "List the subscriptions currently being monitored by the NewRelic monitor resource.", | ||
"parameters": [ | ||
{ | ||
"name": "-MonitorName", | ||
"value": "[Path.monitorName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Remove-AzNewRelicMonitoredSubscription", | ||
"description": "Deletes the subscriptions that are being monitored by the NewRelic monitor resource", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.newrelic/remove-aznewrelicmonitoredsubscription" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-MonitorName <String>", | ||
"-ResourceGroupName <String>", | ||
"[-SubscriptionId <String>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Deletes the subscriptions that are being monitored by the NewRelic monitor resource", | ||
"parameters": [ | ||
{ | ||
"name": "-MonitorName", | ||
"value": "[Path.monitorName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
src/NewRelic/NewRelic.Autorest/UX/NewRelic.Observability/monitors-tagRules.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
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
Oops, something went wrong.