Add New Relic 2026-06-01 command models - #1081
Open
Shiwani (shiwanijain) wants to merge 5 commits into
Open
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0cfb43a4-9a09-4e39-94a1-1a04301c1ef3
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0cfb43a4-9a09-4e39-94a1-1a04301c1ef3
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0cfb43a4-9a09-4e39-94a1-1a04301c1ef3
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 03b01e4a-ce74-428f-a239-e7c681f7e55e
Member
Author
|
Ethan Yang (@necusjz) The New Relic review fixes are pushed in 20179a2 and synchronized to the extension PR. I do not have permission to create a formal review request on this repository; could you please review when available? |
Backward-compatibility fix: the 2026-06-01 New Relic command models explicitly set 'options' on several args, overriding the framework's implicit aliases and dropping legacy flags that are live in the published extension (upstream/main). Restore them so existing scripts keep working while preserving the new canonical names: - monitor create/delete/get-metric-rule/get-metric-statu/list-app-service/ list-host/monitored-resource: restore '-n'/'--name' (or '--monitor-name') alongside the canonical monitor name option. - resource-group args across monitor, tag-rule and monitored-subscription commands: restore '-g' (and the historical '--g' alias on get-billing-info and monitored-subscription create/delete/show/update/wait). - monitor create: restore '-l' on --location. - tag-rule create/delete/show: restore '-n'/'--rule-set-name' on --name. - monitored-subscription create: restore '-n' on --monitored-subscription-list (not added to update, which already uses '-n' for --configuration-name, to avoid an alias conflict). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0cfb43a4-9a09-4e39-94a1-1a04301c1ef3
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation