From d297a300b0123b2b05d360247037fc51289877d7 Mon Sep 17 00:00:00 2001 From: Dipesh Bhakat Date: Thu, 24 Oct 2024 17:27:12 +0530 Subject: [PATCH] Release New-Relic CLI for stable version 2024-01-01 --- Commands/new-relic/account/_list.md | 11 + Commands/new-relic/monitor/_create.md | 11 + Commands/new-relic/monitor/_delete.md | 11 + .../new-relic/monitor/_get-billing-info.md | 16 + .../new-relic/monitor/_get-metric-rule.md | 11 + .../new-relic/monitor/_get-metric-statu.md | 11 + .../new-relic/monitor/_list-app-service.md | 11 + .../_list-connected-partner-resource.md | 16 + Commands/new-relic/monitor/_list-host.md | 11 + .../monitor/_list-linked-resource.md | 16 + Commands/new-relic/monitor/_list.md | 12 + .../new-relic/monitor/_monitored-resource.md | 11 + Commands/new-relic/monitor/_show.md | 11 + Commands/new-relic/monitor/_switch-billing.md | 11 + Commands/new-relic/monitor/_update.md | 11 + .../new-relic/monitor/_vm-host-payload.md | 11 + .../monitor/monitored-subscription/_create.md | 16 + .../monitor/monitored-subscription/_delete.md | 16 + .../monitor/monitored-subscription/_list.md | 16 + .../monitor/monitored-subscription/_show.md | 16 + .../monitor/monitored-subscription/_update.md | 16 + .../monitor/monitored-subscription/readme.md | 20 + Commands/new-relic/monitor/readme.md | 12 + .../new-relic/monitor/tag-rule/_create.md | 11 + .../new-relic/monitor/tag-rule/_delete.md | 11 + Commands/new-relic/monitor/tag-rule/_list.md | 11 + Commands/new-relic/monitor/tag-rule/_show.md | 11 + .../new-relic/monitor/tag-rule/_update.md | 11 + Commands/new-relic/organization/_list.md | 11 + Commands/new-relic/plan/_list.md | 11 + Commands/security/readme.md | 34 +- Commands/tree.json | 622 ++++++++++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 91 ++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 95 ++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 451 +++++++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 116 ++ .../2024-01-01.md | 1 + .../2024-01-01.json | 1 + .../2024-01-01.xml | 1086 +++++++++++++++++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 71 ++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 82 ++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 93 ++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 87 ++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 82 ++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 87 ++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 66 + .../2024-01-01.json | 1 + .../2024-01-01.xml | 160 +++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 959 +++++++++++++++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 77 ++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 297 +++++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 150 +++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 657 ++++++++++ .../2024-01-01.json | 1 + .../2024-01-01.xml | 58 + 71 files changed, 5805 insertions(+), 17 deletions(-) create mode 100644 Commands/new-relic/monitor/_get-billing-info.md create mode 100644 Commands/new-relic/monitor/_list-connected-partner-resource.md create mode 100644 Commands/new-relic/monitor/_list-linked-resource.md create mode 100644 Commands/new-relic/monitor/monitored-subscription/_create.md create mode 100644 Commands/new-relic/monitor/monitored-subscription/_delete.md create mode 100644 Commands/new-relic/monitor/monitored-subscription/_list.md create mode 100644 Commands/new-relic/monitor/monitored-subscription/_show.md create mode 100644 Commands/new-relic/monitor/monitored-subscription/_update.md create mode 100644 Commands/new-relic/monitor/monitored-subscription/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvYWNjb3VudHM=/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvYWNjb3VudHM=/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvb3JnYW5pemF0aW9ucw==/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvb3JnYW5pemF0aW9ucw==/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvcGxhbnM=/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvcGxhbnM=/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0YmlsbGluZ2luZm8=/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0YmlsbGluZ2luZm8=/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljc3RhdHVz/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljc3RhdHVz/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljcnVsZXM=/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljcnVsZXM=/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGFwcHNlcnZpY2Vz/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGFwcHNlcnZpY2Vz/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGNvbm5lY3RlZHBhcnRuZXJyZXNvdXJjZXM=/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGNvbm5lY3RlZHBhcnRuZXJyZXNvdXJjZXM=/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGhvc3Rz/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGhvc3Rz/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGxpbmtlZHJlc291cmNlcw==/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGxpbmtlZHJlc291cmNlcw==/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucw==/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucw==/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucy97fQ==/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucy97fQ==/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkcmVzb3VyY2Vz/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkcmVzb3VyY2Vz/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vc3dpdGNoYmlsbGluZw==/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vc3dpdGNoYmlsbGluZw==/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXM=/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXM=/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXMve30=/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXMve30=/2024-01-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdm1ob3N0cGF5bG9hZHM=/2024-01-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdm1ob3N0cGF5bG9hZHM=/2024-01-01.xml diff --git a/Commands/new-relic/account/_list.md b/Commands/new-relic/account/_list.md index d608831f..a32553ce 100644 --- a/Commands/new-relic/account/_list.md +++ b/Commands/new-relic/account/_list.md @@ -14,3 +14,14 @@ List all the existing accounts ```bash new-relic account list --location eastus2euap --user-email UserEmail@123.com ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvYWNjb3VudHM=/2024-01-01.xml) **Stable** + + + +#### examples + +- List all the existing accounts. + ```bash + new-relic account list --location eastus2euap --user-email UserEmail@123.com + ``` diff --git a/Commands/new-relic/monitor/_create.md b/Commands/new-relic/monitor/_create.md index 4134990a..0ca165ea 100644 --- a/Commands/new-relic/monitor/_create.md +++ b/Commands/new-relic/monitor/_create.md @@ -14,3 +14,14 @@ Create a NewRelicMonitorResource ```bash new-relic monitor create --resource-group MyResourceGroup --name MyNewRelicMonitor --location eastus2euap --user-info first-name="vdftzcggiref" last-name="bcsztgqovdlmzf" email-address="UserEmail@123.com" phone-number="123456" --plan-data billing-cycle="MONTHLY" effective-date='2022-10-25T15:14:33+02:00' plan-details="newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg" usage-type="PAYG" --account-creation-source "LIFTR" --org-creation-source "LIFTR" --tags key6976=oaxfhf ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml) **Stable** + + + +#### examples + +- Create a NewRelicMonitorResource. + ```bash + new-relic monitor create --resource-group MyResourceGroup --name MyNewRelicMonitor --location eastus2euap --user-info first-name="vdftzcggiref" last-name="bcsztgqovdlmzf" email-address="UserEmail@123.com" phone-number="123456" --plan-data billing-cycle="MONTHLY" effective-date='2022-10-25T15:14:33+02:00' plan-details="newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg" usage-type="PAYG" --account-creation-source "LIFTR" --org-creation-source "LIFTR" --tags key6976=oaxfhf + ``` diff --git a/Commands/new-relic/monitor/_delete.md b/Commands/new-relic/monitor/_delete.md index b17ec8b7..9dab889b 100644 --- a/Commands/new-relic/monitor/_delete.md +++ b/Commands/new-relic/monitor/_delete.md @@ -14,3 +14,14 @@ Delete a NewRelicMonitorResource ```bash new-relic monitor delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml) **Stable** + + + +#### examples + +- Delete a NewRelicMonitorResource. + ```bash + new-relic monitor delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com + ``` diff --git a/Commands/new-relic/monitor/_get-billing-info.md b/Commands/new-relic/monitor/_get-billing-info.md new file mode 100644 index 00000000..2edeb323 --- /dev/null +++ b/Commands/new-relic/monitor/_get-billing-info.md @@ -0,0 +1,16 @@ +# [Command] _new-relic monitor get-billing-info_ + +Get marketplace info mapped to the given monitor. + +## Versions + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0YmlsbGluZ2luZm8=/2024-01-01.xml) **Stable** + + + +#### examples + +- Get marketplace info mapped to the given monitor. + ```bash + new-relic monitor get-billing-info --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup + ``` diff --git a/Commands/new-relic/monitor/_get-metric-rule.md b/Commands/new-relic/monitor/_get-metric-rule.md index eeebee9c..6424e85c 100644 --- a/Commands/new-relic/monitor/_get-metric-rule.md +++ b/Commands/new-relic/monitor/_get-metric-rule.md @@ -14,3 +14,14 @@ Get metric rules ```bash new-relic monitor get-metric-rule --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup --user-email UserEmail@123.com ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljcnVsZXM=/2024-01-01.xml) **Stable** + + + +#### examples + +- Get metric rules. + ```bash + new-relic monitor get-metric-rule --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup --user-email UserEmail@123.com + ``` diff --git a/Commands/new-relic/monitor/_get-metric-statu.md b/Commands/new-relic/monitor/_get-metric-statu.md index 6c6450d9..bc1e5d4d 100644 --- a/Commands/new-relic/monitor/_get-metric-statu.md +++ b/Commands/new-relic/monitor/_get-metric-statu.md @@ -14,3 +14,14 @@ Get metric status ```bash new-relic monitor get-metric-statu --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --azure-resource-ids MyAzureResourceIds ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljc3RhdHVz/2024-01-01.xml) **Stable** + + + +#### examples + +- Get metric status. + ```bash + new-relic monitor get-metric-statu --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --azure-resource-ids MyAzureResourceIds + ``` diff --git a/Commands/new-relic/monitor/_list-app-service.md b/Commands/new-relic/monitor/_list-app-service.md index 02101d9a..4c4243f2 100644 --- a/Commands/new-relic/monitor/_list-app-service.md +++ b/Commands/new-relic/monitor/_list-app-service.md @@ -14,3 +14,14 @@ List the app service resources currently being monitored by the NewRelic resourc ```bash new-relic monitor list-app-service --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --azure-resource-ids MyAzureResourceIds ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGFwcHNlcnZpY2Vz/2024-01-01.xml) **Stable** + + + +#### examples + +- List the app service resources currently being monitored by the NewRelic resource. + ```bash + new-relic monitor list-app-service --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --azure-resource-ids MyAzureResourceIds + ``` diff --git a/Commands/new-relic/monitor/_list-connected-partner-resource.md b/Commands/new-relic/monitor/_list-connected-partner-resource.md new file mode 100644 index 00000000..e0676ee2 --- /dev/null +++ b/Commands/new-relic/monitor/_list-connected-partner-resource.md @@ -0,0 +1,16 @@ +# [Command] _new-relic monitor list-connected-partner-resource_ + +List of all active deployments that are associated with the marketplace subscription linked to the given monitor. + +## Versions + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGNvbm5lY3RlZHBhcnRuZXJyZXNvdXJjZXM=/2024-01-01.xml) **Stable** + + + +#### examples + +- List of all active deployments that are associated with the marketplace subscription linked to the given monitor. + ```bash + new-relic monitor list-connected-partner-resource --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --body UserEmail@123.com + ``` diff --git a/Commands/new-relic/monitor/_list-host.md b/Commands/new-relic/monitor/_list-host.md index 5678c67e..e26488ed 100644 --- a/Commands/new-relic/monitor/_list-host.md +++ b/Commands/new-relic/monitor/_list-host.md @@ -14,3 +14,14 @@ List the compute vm resources currently being monitored by the NewRelic resource ```bash new-relic monitor list-host --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --vm-ids MyVmIds ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGhvc3Rz/2024-01-01.xml) **Stable** + + + +#### examples + +- List the compute vm resources currently being monitored by the NewRelic resource. + ```bash + new-relic monitor list-host --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --vm-ids MyVmIds + ``` diff --git a/Commands/new-relic/monitor/_list-linked-resource.md b/Commands/new-relic/monitor/_list-linked-resource.md new file mode 100644 index 00000000..22cb544c --- /dev/null +++ b/Commands/new-relic/monitor/_list-linked-resource.md @@ -0,0 +1,16 @@ +# [Command] _new-relic monitor list-linked-resource_ + +List all Azure resources associated to the same NewRelic organization and account as the target resource. + +## Versions + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGxpbmtlZHJlc291cmNlcw==/2024-01-01.xml) **Stable** + + + +#### examples + +- List all Azure resources associated to the same NewRelic organization and account as the target resource. + ```bash + new-relic monitor list-linked-resource --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup + ``` diff --git a/Commands/new-relic/monitor/_list.md b/Commands/new-relic/monitor/_list.md index 76dac2e5..5c6cc12a 100644 --- a/Commands/new-relic/monitor/_list.md +++ b/Commands/new-relic/monitor/_list.md @@ -15,3 +15,15 @@ List NewRelicMonitorResource resources ```bash new-relic monitor list ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.xml) **Stable** + + + + +#### examples + +- List NewRelicMonitorResource resources by subscription ID + ```bash + new-relic monitor list + ``` diff --git a/Commands/new-relic/monitor/_monitored-resource.md b/Commands/new-relic/monitor/_monitored-resource.md index 4bed25c2..014a056c 100644 --- a/Commands/new-relic/monitor/_monitored-resource.md +++ b/Commands/new-relic/monitor/_monitored-resource.md @@ -14,3 +14,14 @@ List the resources currently being monitored by the NewRelic monitor resource. ```bash new-relic monitor monitored-resource --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkcmVzb3VyY2Vz/2024-01-01.xml) **Stable** + + + +#### examples + +- List the resources currently being monitored by the NewRelic monitor resource. + ```bash + new-relic monitor monitored-resource --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup + ``` diff --git a/Commands/new-relic/monitor/_show.md b/Commands/new-relic/monitor/_show.md index 1208bc0d..93d41e77 100644 --- a/Commands/new-relic/monitor/_show.md +++ b/Commands/new-relic/monitor/_show.md @@ -14,3 +14,14 @@ Get a NewRelicMonitorResource ```bash new-relic monitor show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml) **Stable** + + + +#### examples + +- Get a NewRelicMonitorResource. + ```bash + new-relic monitor show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor + ``` diff --git a/Commands/new-relic/monitor/_switch-billing.md b/Commands/new-relic/monitor/_switch-billing.md index fda56eef..ca54ce62 100644 --- a/Commands/new-relic/monitor/_switch-billing.md +++ b/Commands/new-relic/monitor/_switch-billing.md @@ -7,3 +7,14 @@ Switches the billing for NewRelic monitor resource. ### [2022-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vc3dpdGNoYmlsbGluZw==/2022-07-01.xml) **Stable** + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vc3dpdGNoYmlsbGluZw==/2024-01-01.xml) **Stable** + + + +#### examples + +- Switches the billing for NewRelic monitor resource. + ```bash + new-relic monitor switch-billing --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup --azure-resource-id resourceId --organization-id organizationId --user-email="UserEmail@123.com" --plan-data billing-cycle="MONTHLY" effective-date='2022-10-25T15:14:33+02:00' plan-details="newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg" usage-type="PAYG" + ``` diff --git a/Commands/new-relic/monitor/_update.md b/Commands/new-relic/monitor/_update.md index f43ca244..28339567 100644 --- a/Commands/new-relic/monitor/_update.md +++ b/Commands/new-relic/monitor/_update.md @@ -7,3 +7,14 @@ Update a NewRelicMonitorResource ### [2022-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2022-07-01.xml) **Stable** + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml) **Stable** + + + +#### examples + +- Update a NewRelicMonitorResource + ```bash + new-relic monitor update --resource-group MyResourceGroup --name MyNewRelicMonitor --user-info first-name="vdftzcggiref" last-name="bcsztgqovdlmzf" email-address="UserEmail@123.com" phone-number="123456" --plan-data billing-cycle="MONTHLY" effective-date='2022-10-25T15:14:33+02:00' plan-details="newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg" usage-type="PAYG" --account-creation-source "LIFTR" --org-creation-source "LIFTR" --tags key6976=oaxfhf + ``` diff --git a/Commands/new-relic/monitor/_vm-host-payload.md b/Commands/new-relic/monitor/_vm-host-payload.md index 3b58759c..a4875857 100644 --- a/Commands/new-relic/monitor/_vm-host-payload.md +++ b/Commands/new-relic/monitor/_vm-host-payload.md @@ -14,3 +14,14 @@ Returns the payload that needs to be passed in the request body for installing N ```bash monitor vm-host-payload --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdm1ob3N0cGF5bG9hZHM=/2024-01-01.xml) **Stable** + + + +#### examples + +- Get MonitorsVmHostPayload. + ```bash + monitor vm-host-payload --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup + ``` diff --git a/Commands/new-relic/monitor/monitored-subscription/_create.md b/Commands/new-relic/monitor/monitored-subscription/_create.md new file mode 100644 index 00000000..4c7b587d --- /dev/null +++ b/Commands/new-relic/monitor/monitored-subscription/_create.md @@ -0,0 +1,16 @@ +# [Command] _new-relic monitor monitored-subscription create_ + +Create the subscriptions that should be monitored by the NewRelic monitor resource. + +## Versions + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucy97fQ==/2024-01-01.xml) **Stable** + + + +#### examples + +- Create the subscriptions that should be monitored by the NewRelic monitor resource. + ```bash + new-relic monitor monitored-subscription create --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default --patch-operation Active --monitored-subscription-list=[{"subscription-id":"subscription-id", "status":"Active","error":"error","tag-rules":"log-rules=[{"send-aad-logs"="Enabled","send-subscription-logs"="Enabled","send-activity-logs"="Enabled",filtering-tags=[]}]","metric-rules"=[{"user-email"="UserEmail@123.com",filtering-tags=[{"name":"Environment","value":"Prod","action":"Include"}]}] + ``` diff --git a/Commands/new-relic/monitor/monitored-subscription/_delete.md b/Commands/new-relic/monitor/monitored-subscription/_delete.md new file mode 100644 index 00000000..8165cd02 --- /dev/null +++ b/Commands/new-relic/monitor/monitored-subscription/_delete.md @@ -0,0 +1,16 @@ +# [Command] _new-relic monitor monitored-subscription delete_ + +Delete the subscriptions that are being monitored by the NewRelic monitor resource + +## Versions + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucy97fQ==/2024-01-01.xml) **Stable** + + + +#### examples + +- Delete the subscriptions that are being monitored by the NewRelic monitor resource + ```bash + new-relic monitor monitored-subscription delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default + ``` diff --git a/Commands/new-relic/monitor/monitored-subscription/_list.md b/Commands/new-relic/monitor/monitored-subscription/_list.md new file mode 100644 index 00000000..25a15612 --- /dev/null +++ b/Commands/new-relic/monitor/monitored-subscription/_list.md @@ -0,0 +1,16 @@ +# [Command] _new-relic monitor monitored-subscription list_ + +List the subscriptions currently being monitored by the NewRelic monitor resource. + +## Versions + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucw==/2024-01-01.xml) **Stable** + + + +#### examples + +- List the subscriptions currently being monitored by the NewRelic monitor resource. + ```bash + new-relic monitor monitored-subscription list --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor + ``` diff --git a/Commands/new-relic/monitor/monitored-subscription/_show.md b/Commands/new-relic/monitor/monitored-subscription/_show.md new file mode 100644 index 00000000..840b602e --- /dev/null +++ b/Commands/new-relic/monitor/monitored-subscription/_show.md @@ -0,0 +1,16 @@ +# [Command] _new-relic monitor monitored-subscription show_ + +Get the subscriptions currently being monitored by the NewRelic monitor resource. + +## Versions + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucy97fQ==/2024-01-01.xml) **Stable** + + + +#### examples + +- List the subscriptions currently being monitored by the NewRelic monitor resource. + ```bash + new-relic monitor monitored-subscription show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default + ``` diff --git a/Commands/new-relic/monitor/monitored-subscription/_update.md b/Commands/new-relic/monitor/monitored-subscription/_update.md new file mode 100644 index 00000000..06d6340b --- /dev/null +++ b/Commands/new-relic/monitor/monitored-subscription/_update.md @@ -0,0 +1,16 @@ +# [Command] _new-relic monitor monitored-subscription update_ + +Update the subscriptions that should be monitored by the NewRelic monitor resource. + +## Versions + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucy97fQ==/2024-01-01.xml) **Stable** + + + +#### examples + +- Update the subscriptions that should be monitored by the NewRelic monitor resource. + ```bash + new-relic monitor monitored-subscription update --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default --patch-operation Active --monitored-subscription-list=[{"subscription-id":"subscription-id", "status":"Active","error":"error","tag-rules":"log-rules=[{"send-aad-logs"="Enabled","send-subscription-logs"="Enabled","send-activity-logs"="Enabled",filtering-tags=[]}]","metric-rules"=[{"user-email"="UserEmail@123.com",filtering-tags=[{"name":"Environment","value":"Prod","action":"Include"}]}] + ``` diff --git a/Commands/new-relic/monitor/monitored-subscription/readme.md b/Commands/new-relic/monitor/monitored-subscription/readme.md new file mode 100644 index 00000000..b8b82b2f --- /dev/null +++ b/Commands/new-relic/monitor/monitored-subscription/readme.md @@ -0,0 +1,20 @@ +# [Group] _new-relic monitor monitored-subscription_ + +Manage list of subscriptions and the state of the monitoring. + +## Commands + +- [create](/Commands/new-relic/monitor/monitored-subscription/_create.md) +: Create the subscriptions that should be monitored by the NewRelic monitor resource. + +- [delete](/Commands/new-relic/monitor/monitored-subscription/_delete.md) +: Delete the subscriptions that are being monitored by the NewRelic monitor resource + +- [list](/Commands/new-relic/monitor/monitored-subscription/_list.md) +: List the subscriptions currently being monitored by the NewRelic monitor resource. + +- [show](/Commands/new-relic/monitor/monitored-subscription/_show.md) +: Get the subscriptions currently being monitored by the NewRelic monitor resource. + +- [update](/Commands/new-relic/monitor/monitored-subscription/_update.md) +: Update the subscriptions that should be monitored by the NewRelic monitor resource. diff --git a/Commands/new-relic/monitor/readme.md b/Commands/new-relic/monitor/readme.md index 50ab9d40..7c79a189 100644 --- a/Commands/new-relic/monitor/readme.md +++ b/Commands/new-relic/monitor/readme.md @@ -4,6 +4,9 @@ Manage NewRelic Monitor resource ## Subgroups +- [monitored-subscription](/Commands/new-relic/monitor/monitored-subscription/readme.md) +: Manage list of subscriptions and the state of the monitoring. + - [tag-rule](/Commands/new-relic/monitor/tag-rule/readme.md) : Manage tag rule of a NewRelic Monitor resource @@ -15,6 +18,9 @@ Manage NewRelic Monitor resource - [delete](/Commands/new-relic/monitor/_delete.md) : Delete a NewRelicMonitorResource +- [get-billing-info](/Commands/new-relic/monitor/_get-billing-info.md) +: Get marketplace info mapped to the given monitor. + - [get-metric-rule](/Commands/new-relic/monitor/_get-metric-rule.md) : Get metric rules @@ -27,9 +33,15 @@ Manage NewRelic Monitor resource - [list-app-service](/Commands/new-relic/monitor/_list-app-service.md) : List the app service resources currently being monitored by the NewRelic resource. +- [list-connected-partner-resource](/Commands/new-relic/monitor/_list-connected-partner-resource.md) +: List of all active deployments that are associated with the marketplace subscription linked to the given monitor. + - [list-host](/Commands/new-relic/monitor/_list-host.md) : List the compute vm resources currently being monitored by the NewRelic resource. +- [list-linked-resource](/Commands/new-relic/monitor/_list-linked-resource.md) +: List all Azure resources associated to the same NewRelic organization and account as the target resource. + - [monitored-resource](/Commands/new-relic/monitor/_monitored-resource.md) : List the resources currently being monitored by the NewRelic monitor resource. diff --git a/Commands/new-relic/monitor/tag-rule/_create.md b/Commands/new-relic/monitor/tag-rule/_create.md index b0035fda..d177c965 100644 --- a/Commands/new-relic/monitor/tag-rule/_create.md +++ b/Commands/new-relic/monitor/tag-rule/_create.md @@ -14,3 +14,14 @@ Create a TagRule ```bash new-relic monitor tag-rule create --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default --log-rules send-aad-logs="Enabled" send-subscription-logs="Enabled" send-activity-logs="Enabled" filtering-tags=[] --metric-rules user-email="UserEmail@123.com" filtering-tags=[{"name":"Environment","value":"Prod","action":"Include"}] ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXMve30=/2024-01-01.xml) **Stable** + + + +#### examples + +- Create a TagRule. + ```bash + new-relic monitor tag-rule create --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default --log-rules send-aad-logs="Enabled" send-subscription-logs="Enabled" send-activity-logs="Enabled" filtering-tags=[] --metric-rules user-email="UserEmail@123.com" filtering-tags=[{"name":"Environment","value":"Prod","action":"Include"}] + ``` diff --git a/Commands/new-relic/monitor/tag-rule/_delete.md b/Commands/new-relic/monitor/tag-rule/_delete.md index 6bdf841f..171fbec4 100644 --- a/Commands/new-relic/monitor/tag-rule/_delete.md +++ b/Commands/new-relic/monitor/tag-rule/_delete.md @@ -14,3 +14,14 @@ Delete a TagRule ```bash new-relic monitor tag-rule delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXMve30=/2024-01-01.xml) **Stable** + + + +#### examples + +- Delete a TagRule. + ```bash + new-relic monitor tag-rule delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default + ``` diff --git a/Commands/new-relic/monitor/tag-rule/_list.md b/Commands/new-relic/monitor/tag-rule/_list.md index d1193ff1..f3a723c9 100644 --- a/Commands/new-relic/monitor/tag-rule/_list.md +++ b/Commands/new-relic/monitor/tag-rule/_list.md @@ -14,3 +14,14 @@ List TagRule resources by NewRelicMonitorResource ```bash new-relic monitor tag-rule list --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXM=/2024-01-01.xml) **Stable** + + + +#### examples + +- List TagRule resources by NewRelicMonitorResource. + ```bash + new-relic monitor tag-rule list --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor + ``` diff --git a/Commands/new-relic/monitor/tag-rule/_show.md b/Commands/new-relic/monitor/tag-rule/_show.md index 1200bb67..ac6cc3fa 100644 --- a/Commands/new-relic/monitor/tag-rule/_show.md +++ b/Commands/new-relic/monitor/tag-rule/_show.md @@ -14,3 +14,14 @@ Get a TagRule ```bash new-relic monitor tag-rule show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXMve30=/2024-01-01.xml) **Stable** + + + +#### examples + +- Get a TagRule. + ```bash + new-relic monitor tag-rule show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default + ``` diff --git a/Commands/new-relic/monitor/tag-rule/_update.md b/Commands/new-relic/monitor/tag-rule/_update.md index 55335a94..be4a9676 100644 --- a/Commands/new-relic/monitor/tag-rule/_update.md +++ b/Commands/new-relic/monitor/tag-rule/_update.md @@ -14,3 +14,14 @@ Update a TagRule ```bash new-relic monitor tag-rule update --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default --log-rules send-aad-logs="Enabled" send-subscription-logs="Enabled" send-activity-logs="Disabled" filtering-tags=[] ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXMve30=/2024-01-01.xml) **Stable** + + + +#### examples + +- Update a TagRule + ```bash + new-relic monitor tag-rule update --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default --log-rules send-aad-logs="Enabled" send-subscription-logs="Enabled" send-activity-logs="Disabled" filtering-tags=[] + ``` diff --git a/Commands/new-relic/organization/_list.md b/Commands/new-relic/organization/_list.md index 21a17329..a13841d2 100644 --- a/Commands/new-relic/organization/_list.md +++ b/Commands/new-relic/organization/_list.md @@ -14,3 +14,14 @@ List all the existing organizations ```bash new-relic organization list --location eastus2euap --user-email UserEmail@123.com ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvb3JnYW5pemF0aW9ucw==/2024-01-01.xml) **Stable** + + + +#### examples + +- List all the existing organizations. + ```bash + new-relic organization list --location eastus2euap --user-email UserEmail@123.com + ``` diff --git a/Commands/new-relic/plan/_list.md b/Commands/new-relic/plan/_list.md index e6bdf3be..45b1cf4b 100644 --- a/Commands/new-relic/plan/_list.md +++ b/Commands/new-relic/plan/_list.md @@ -14,3 +14,14 @@ List plans data ```bash new-relic plan list --account-id MyAccountId --organization-id MyOrganizationId ``` + +### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvcGxhbnM=/2024-01-01.xml) **Stable** + + + +#### examples + +- List plans data. + ```bash + new-relic plan list --account-id MyAccountId --organization-id MyOrganizationId + ``` diff --git a/Commands/security/readme.md b/Commands/security/readme.md index fd95f4f3..b4a3b781 100644 --- a/Commands/security/readme.md +++ b/Commands/security/readme.md @@ -1,17 +1,17 @@ -# [Group] _security_ - -Manage your security posture with Microsoft Defender for Cloud. - -## Subgroups - -- [api-collection](/Commands/security/api-collection/readme.md) -: Discover, manage, and view security insights for API collections. - -- [contact](/Commands/security/contact/readme.md) -: View your security contacts. - -- [security-connector](/Commands/security/security-connector/readme.md) -: Manage cloud security posture management (CSPM) and cloud workload protection (CWP) across multicloud resources. - -- [setting](/Commands/security/setting/readme.md) -: View your security settings. +# [Group] _security_ + +Manage your security posture with Microsoft Defender for Cloud. + +## Subgroups + +- [api-collection](/Commands/security/api-collection/readme.md) +: Discover, manage, and view security insights for API collections. + +- [contact](/Commands/security/contact/readme.md) +: View your security contacts. + +- [security-connector](/Commands/security/security-connector/readme.md) +: Manage cloud security posture management (CSPM) and cloud workload protection (CWP) across multicloud resources. + +- [setting](/Commands/security/setting/readme.md) +: View your security settings. diff --git a/Commands/tree.json b/Commands/tree.json index c7c1f742..463019cf 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -175016,6 +175016,24 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic account list --location eastus2euap --user-email UserEmail@123.com" + ], + "name": "List all the existing accounts." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/newrelic.observability/accounts", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] } @@ -175030,6 +175048,173 @@ }, "monitor": { "commandGroups": { + "monitored-subscription": { + "commands": { + "create": { + "help": { + "short": "Create the subscriptions that should be monitored by the NewRelic monitor resource." + }, + "names": [ + "new-relic", + "monitor", + "monitored-subscription", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "new-relic monitor monitored-subscription create --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default --patch-operation Active --monitored-subscription-list=[{\"subscription-id\":\"subscription-id\", \"status\":\"Active\",\"error\":\"error\",\"tag-rules\":\"log-rules=[{\"send-aad-logs\"=\"Enabled\",\"send-subscription-logs\"=\"Enabled\",\"send-activity-logs\"=\"Enabled\",filtering-tags=[]}]\",\"metric-rules\"=[{\"user-email\"=\"UserEmail@123.com\",filtering-tags=[{\"name\":\"Environment\",\"value\":\"Prod\",\"action\":\"Include\"}]}]" + ], + "name": "Create the subscriptions that should be monitored by the NewRelic monitor resource." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete the subscriptions that are being monitored by the NewRelic monitor resource" + }, + "names": [ + "new-relic", + "monitor", + "monitored-subscription", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "new-relic monitor monitored-subscription delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default" + ], + "name": "Delete the subscriptions that are being monitored by the NewRelic monitor resource" + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List the subscriptions currently being monitored by the NewRelic monitor resource." + }, + "names": [ + "new-relic", + "monitor", + "monitored-subscription", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "new-relic monitor monitored-subscription list --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor" + ], + "name": "List the subscriptions currently being monitored by the NewRelic monitor resource." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the subscriptions currently being monitored by the NewRelic monitor resource." + }, + "names": [ + "new-relic", + "monitor", + "monitored-subscription", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "new-relic monitor monitored-subscription show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default" + ], + "name": "List the subscriptions currently being monitored by the NewRelic monitor resource." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update the subscriptions that should be monitored by the NewRelic monitor resource." + }, + "names": [ + "new-relic", + "monitor", + "monitored-subscription", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "new-relic monitor monitored-subscription update --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default --patch-operation Active --monitored-subscription-list=[{\"subscription-id\":\"subscription-id\", \"status\":\"Active\",\"error\":\"error\",\"tag-rules\":\"log-rules=[{\"send-aad-logs\"=\"Enabled\",\"send-subscription-logs\"=\"Enabled\",\"send-activity-logs\"=\"Enabled\",filtering-tags=[]}]\",\"metric-rules\"=[{\"user-email\"=\"UserEmail@123.com\",filtering-tags=[{\"name\":\"Environment\",\"value\":\"Prod\",\"action\":\"Include\"}]}]" + ], + "name": "Update the subscriptions that should be monitored by the NewRelic monitor resource." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage list of subscriptions and the state of the monitoring." + }, + "names": [ + "new-relic", + "monitor", + "monitored-subscription" + ] + }, "tag-rule": { "commands": { "create": { @@ -175060,6 +175245,24 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic monitor tag-rule create --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default --log-rules send-aad-logs=\"Enabled\" send-subscription-logs=\"Enabled\" send-activity-logs=\"Enabled\" filtering-tags=[] --metric-rules user-email=\"UserEmail@123.com\" filtering-tags=[{\"name\":\"Environment\",\"value\":\"Prod\",\"action\":\"Include\"}]" + ], + "name": "Create a TagRule." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] }, @@ -175091,6 +175294,24 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic monitor tag-rule delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default" + ], + "name": "Delete a TagRule." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] }, @@ -175122,6 +175343,24 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic monitor tag-rule list --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor" + ], + "name": "List TagRule resources by NewRelicMonitorResource." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] }, @@ -175153,6 +175392,24 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic monitor tag-rule show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default" + ], + "name": "Get a TagRule." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] }, @@ -175184,6 +175441,24 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic monitor tag-rule update --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default --log-rules send-aad-logs=\"Enabled\" send-subscription-logs=\"Enabled\" send-activity-logs=\"Disabled\" filtering-tags=[]" + ], + "name": "Update a TagRule" + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] } @@ -175226,6 +175501,24 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic monitor create --resource-group MyResourceGroup --name MyNewRelicMonitor --location eastus2euap --user-info first-name=\"vdftzcggiref\" last-name=\"bcsztgqovdlmzf\" email-address=\"UserEmail@123.com\" phone-number=\"123456\" --plan-data billing-cycle=\"MONTHLY\" effective-date='2022-10-25T15:14:33+02:00' plan-details=\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\" usage-type=\"PAYG\" --account-creation-source \"LIFTR\" --org-creation-source \"LIFTR\" --tags key6976=oaxfhf" + ], + "name": "Create a NewRelicMonitorResource." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] }, @@ -175256,6 +175549,54 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic monitor delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com" + ], + "name": "Delete a NewRelicMonitorResource." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] + } + ] + }, + "get-billing-info": { + "help": { + "short": "Get marketplace info mapped to the given monitor." + }, + "names": [ + "new-relic", + "monitor", + "get-billing-info" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "new-relic monitor get-billing-info --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup" + ], + "name": "Get marketplace info mapped to the given monitor." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getbillinginfo", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] }, @@ -175286,6 +175627,24 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic monitor get-metric-rule --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup --user-email UserEmail@123.com" + ], + "name": "Get metric rules." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricrules", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] }, @@ -175316,6 +175675,24 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic monitor get-metric-statu --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --azure-resource-ids MyAzureResourceIds" + ], + "name": "Get metric status." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricstatus", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] }, @@ -175351,6 +175728,29 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic monitor list" + ], + "name": "List NewRelicMonitorResource resources by subscription ID" + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/newrelic.observability/monitors", + "plane": "mgmt-plane", + "version": "2024-01-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] }, @@ -175381,6 +175781,54 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic monitor list-app-service --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --azure-resource-ids MyAzureResourceIds" + ], + "name": "List the app service resources currently being monitored by the NewRelic resource." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listappservices", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] + } + ] + }, + "list-connected-partner-resource": { + "help": { + "short": "List of all active deployments that are associated with the marketplace subscription linked to the given monitor." + }, + "names": [ + "new-relic", + "monitor", + "list-connected-partner-resource" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "new-relic monitor list-connected-partner-resource --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --body UserEmail@123.com" + ], + "name": "List of all active deployments that are associated with the marketplace subscription linked to the given monitor." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listconnectedpartnerresources", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] }, @@ -175411,6 +175859,54 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic monitor list-host --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --vm-ids MyVmIds" + ], + "name": "List the compute vm resources currently being monitored by the NewRelic resource." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listhosts", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] + } + ] + }, + "list-linked-resource": { + "help": { + "short": "List all Azure resources associated to the same NewRelic organization and account as the target resource." + }, + "names": [ + "new-relic", + "monitor", + "list-linked-resource" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "new-relic monitor list-linked-resource --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup" + ], + "name": "List all Azure resources associated to the same NewRelic organization and account as the target resource." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listlinkedresources", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] }, @@ -175441,6 +175937,24 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic monitor monitored-resource --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup" + ], + "name": "List the resources currently being monitored by the NewRelic monitor resource." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredresources", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] }, @@ -175471,6 +175985,24 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic monitor show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor" + ], + "name": "Get a NewRelicMonitorResource." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] }, @@ -175493,6 +176025,24 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic monitor switch-billing --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup --azure-resource-id resourceId --organization-id organizationId --user-email=\"UserEmail@123.com\" --plan-data billing-cycle=\"MONTHLY\" effective-date='2022-10-25T15:14:33+02:00' plan-details=\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\" usage-type=\"PAYG\"" + ], + "name": "Switches the billing for NewRelic monitor resource." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/switchbilling", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] }, @@ -175515,6 +176065,24 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic monitor update --resource-group MyResourceGroup --name MyNewRelicMonitor --user-info first-name=\"vdftzcggiref\" last-name=\"bcsztgqovdlmzf\" email-address=\"UserEmail@123.com\" phone-number=\"123456\" --plan-data billing-cycle=\"MONTHLY\" effective-date='2022-10-25T15:14:33+02:00' plan-details=\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\" usage-type=\"PAYG\" --account-creation-source \"LIFTR\" --org-creation-source \"LIFTR\" --tags key6976=oaxfhf" + ], + "name": "Update a NewRelicMonitorResource" + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] }, @@ -175545,6 +176113,24 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "monitor vm-host-payload --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup" + ], + "name": "Get MonitorsVmHostPayload." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/vmhostpayloads", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] } @@ -175586,6 +176172,24 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic organization list --location eastus2euap --user-email UserEmail@123.com" + ], + "name": "List all the existing organizations." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/newrelic.observability/organizations", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] } @@ -175627,6 +176231,24 @@ "version": "2022-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "new-relic plan list --account-id MyAccountId --organization-id MyOrganizationId" + ], + "name": "List plans data." + } + ], + "name": "2024-01-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/newrelic.observability/plans", + "plane": "mgmt-plane", + "version": "2024-01-01" + } + ] } ] } diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvYWNjb3VudHM=/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvYWNjb3VudHM=/2024-01-01.json new file mode 100644 index 00000000..25b00009 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvYWNjb3VudHM=/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/newrelic.observability/accounts", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9hY2NvdW50cw==/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic account", "commands": [{"name": "list", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/providers/newrelic.observability/accounts", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9hY2NvdW50cw==/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}, {"type": "string", "var": "$Query.location", "options": ["location"], "required": true, "group": "", "help": {"short": "Location of NewRelic account."}}, {"type": "string", "var": "$Query.userEmail", "options": ["user-email"], "required": true, "help": {"short": "User Email."}}]}], "operations": [{"operationId": "Accounts_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/accounts", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "location", "arg": "$Query.location", "required": true}, {"type": "string", "name": "userEmail", "arg": "$Query.userEmail", "required": true}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "accountId"}, {"type": "string", "name": "accountName"}, {"type": "string", "name": "organizationId"}, {"type": "string", "name": "region"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvYWNjb3VudHM=/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvYWNjb3VudHM=/2024-01-01.xml new file mode 100644 index 00000000..579f8f7b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvYWNjb3VudHM=/2024-01-01.xml @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvb3JnYW5pemF0aW9ucw==/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvb3JnYW5pemF0aW9ucw==/2024-01-01.json new file mode 100644 index 00000000..1463baf3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvb3JnYW5pemF0aW9ucw==/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/newrelic.observability/organizations", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9vcmdhbml6YXRpb25z/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic organization", "commands": [{"name": "list", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/providers/newrelic.observability/organizations", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9vcmdhbml6YXRpb25z/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}, {"type": "string", "var": "$Query.location", "options": ["location"], "required": true, "group": "", "help": {"short": "Location of NewRelic organization."}}, {"type": "string", "var": "$Query.userEmail", "options": ["user-email"], "required": true, "help": {"short": "User Email."}}]}], "operations": [{"operationId": "Organizations_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/organizations", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "location", "arg": "$Query.location", "required": true}, {"type": "string", "name": "userEmail", "arg": "$Query.userEmail", "required": true}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "billingSource", "enum": {"items": [{"value": "AZURE"}, {"value": "NEWRELIC"}]}}, {"type": "string", "name": "organizationId"}, {"type": "string", "name": "organizationName"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvb3JnYW5pemF0aW9ucw==/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvb3JnYW5pemF0aW9ucw==/2024-01-01.xml new file mode 100644 index 00000000..5a35ef2b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvb3JnYW5pemF0aW9ucw==/2024-01-01.xml @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.json new file mode 100644 index 00000000..eb956cc7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/newrelic.observability/monitors", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9tb25pdG9ycw==/V/MjAyNC0wMS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3Jz/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "list", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/providers/newrelic.observability/monitors", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9tb25pdG9ycw==/V/MjAyNC0wMS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3Jz/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}], "conditions": [{"var": "$Condition_Monitors_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Monitors_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Monitors_ListByResourceGroup"], "operationId": "Monitors_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "string", "name": "liftrResourceCategory", "enum": {"items": [{"value": "MonitorLogs"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "integer32", "name": "liftrResourcePreference"}, {"readOnly": true, "type": "string", "name": "marketplaceSubscriptionId"}, {"type": "string", "name": "marketplaceSubscriptionStatus", "enum": {"items": [{"value": "Active"}, {"value": "Suspended"}]}}, {"type": "string", "name": "monitoringStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "newRelicAccountProperties", "props": [{"type": "object", "name": "accountInfo", "props": [{"type": "string", "name": "accountId"}, {"type": "password", "name": "ingestionKey", "secret": true}, {"type": "string", "name": "region"}]}, {"type": "object", "name": "organizationInfo", "props": [{"type": "string", "name": "organizationId"}]}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Existing"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}, {"type": "string", "name": "userId"}]}, {"type": "string", "name": "orgCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "planData", "props": [{"type": "string", "name": "billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate"}, {"type": "string", "name": "planDetails"}, {"type": "string", "name": "usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "saaSAzureSubscriptionStatus"}, {"type": "string", "name": "subscriptionState"}, {"type": "object", "name": "userInfo", "props": [{"type": "string", "name": "country"}, {"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "format": {"maxLength": 50}}, {"type": "string", "name": "lastName", "format": {"maxLength": 50}}, {"type": "string", "name": "phoneNumber", "format": {"maxLength": 40}}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_Monitors_ListBySubscription"], "operationId": "Monitors_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/monitors", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "string", "name": "liftrResourceCategory", "enum": {"items": [{"value": "MonitorLogs"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "integer32", "name": "liftrResourcePreference"}, {"readOnly": true, "type": "string", "name": "marketplaceSubscriptionId"}, {"type": "string", "name": "marketplaceSubscriptionStatus", "enum": {"items": [{"value": "Active"}, {"value": "Suspended"}]}}, {"type": "string", "name": "monitoringStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "newRelicAccountProperties", "props": [{"type": "object", "name": "accountInfo", "props": [{"type": "string", "name": "accountId"}, {"type": "password", "name": "ingestionKey", "secret": true}, {"type": "string", "name": "region"}]}, {"type": "object", "name": "organizationInfo", "props": [{"type": "string", "name": "organizationId"}]}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Existing"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}, {"type": "string", "name": "userId"}]}, {"type": "string", "name": "orgCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "planData", "props": [{"type": "string", "name": "billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate"}, {"type": "string", "name": "planDetails"}, {"type": "string", "name": "usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "saaSAzureSubscriptionStatus"}, {"type": "string", "name": "subscriptionState"}, {"type": "object", "name": "userInfo", "props": [{"type": "string", "name": "country"}, {"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "format": {"maxLength": 50}}, {"type": "string", "name": "lastName", "format": {"maxLength": 50}}, {"type": "string", "name": "phoneNumber", "format": {"maxLength": 40}}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.xml new file mode 100644 index 00000000..6f80a480 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.xml @@ -0,0 +1,451 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvcGxhbnM=/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvcGxhbnM=/2024-01-01.json new file mode 100644 index 00000000..f686137b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvcGxhbnM=/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/newrelic.observability/plans", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9wbGFucw==/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic plan", "commands": [{"name": "list", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/providers/newrelic.observability/plans", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9wbGFucw==/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}, {"type": "string", "var": "$Query.accountId", "options": ["account-id"], "help": {"short": "Account Id."}}, {"type": "string", "var": "$Query.organizationId", "options": ["organization-id"], "help": {"short": "Organization Id."}}]}], "operations": [{"operationId": "Plans_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/plans", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "accountId", "arg": "$Query.accountId"}, {"type": "string", "name": "organizationId", "arg": "$Query.organizationId"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "string", "name": "orgCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "planData", "props": [{"type": "string", "name": "billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate"}, {"type": "string", "name": "planDetails"}, {"type": "string", "name": "usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvcGxhbnM=/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvcGxhbnM=/2024-01-01.xml new file mode 100644 index 00000000..59c1d30b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvcGxhbnM=/2024-01-01.xml @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.md new file mode 100644 index 00000000..249717d1 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/newrelic.observability/monitors 2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.json new file mode 100644 index 00000000..b3895022 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "show", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}], "operations": [{"operationId": "Monitors_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "string", "name": "liftrResourceCategory", "enum": {"items": [{"value": "MonitorLogs"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "integer32", "name": "liftrResourcePreference"}, {"readOnly": true, "type": "string", "name": "marketplaceSubscriptionId"}, {"type": "string", "name": "marketplaceSubscriptionStatus", "enum": {"items": [{"value": "Active"}, {"value": "Suspended"}]}}, {"type": "string", "name": "monitoringStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "newRelicAccountProperties", "props": [{"type": "object", "name": "accountInfo", "props": [{"type": "string", "name": "accountId"}, {"type": "password", "name": "ingestionKey", "secret": true}, {"type": "string", "name": "region"}]}, {"type": "object", "name": "organizationInfo", "props": [{"type": "string", "name": "organizationId"}]}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Existing"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}, {"type": "string", "name": "userId"}]}, {"type": "string", "name": "orgCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "planData", "props": [{"type": "string", "name": "billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate"}, {"type": "string", "name": "planDetails"}, {"type": "string", "name": "usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "saaSAzureSubscriptionStatus"}, {"type": "string", "name": "subscriptionState"}, {"type": "object", "name": "userInfo", "props": [{"type": "string", "name": "country"}, {"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "format": {"maxLength": 50}}, {"type": "string", "name": "lastName", "format": {"maxLength": 50}}, {"type": "string", "name": "phoneNumber", "format": {"maxLength": 40}}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}, {"type": "string", "var": "$Query.userEmail", "options": ["user-email"], "required": true, "help": {"short": "User Email."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Monitors_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "userEmail", "arg": "$Query.userEmail", "required": true}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Retry-After"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.accountCreationSource", "options": ["account-creation-source"], "group": "Properties", "help": {"short": "Source of account creation"}, "enum": {"items": [{"name": "LIFTR", "value": "LIFTR"}, {"name": "NEWRELIC", "value": "NEWRELIC"}]}}, {"type": "object", "var": "$resource.properties.newRelicAccountProperties", "options": ["new-relic-account"], "group": "Properties", "help": {"short": "MarketplaceSubscriptionStatus of the resource Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show"}, "args": [{"type": "object", "var": "$resource.properties.newRelicAccountProperties.accountInfo", "options": ["account-info"], "help": {"short": "NewRelic Account Information"}, "args": [{"type": "string", "var": "$resource.properties.newRelicAccountProperties.accountInfo.accountId", "options": ["account-id"], "help": {"short": "Account id"}}, {"type": "password", "var": "$resource.properties.newRelicAccountProperties.accountInfo.ingestionKey", "options": ["ingestion-key"], "help": {"short": "ingestion key of account"}, "prompt": {"msg": "Password:"}}, {"type": "string", "var": "$resource.properties.newRelicAccountProperties.accountInfo.region", "options": ["region"], "help": {"short": "NewRelic account region"}}]}, {"type": "object", "var": "$resource.properties.newRelicAccountProperties.organizationInfo", "options": ["organization-info"], "help": {"short": "NewRelic Organization Information"}, "args": [{"type": "string", "var": "$resource.properties.newRelicAccountProperties.organizationInfo.organizationId", "options": ["organization-id"], "help": {"short": "Organization id"}}]}, {"type": "object", "var": "$resource.properties.newRelicAccountProperties.singleSignOnProperties", "options": ["single-sign-on-properties"], "help": {"short": "date when plan was applied"}, "args": [{"type": "string", "var": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.enterpriseAppId", "options": ["enterprise-app-id"], "help": {"short": "The Id of the Enterprise App used for Single sign-on."}}, {"type": "string", "var": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.provisioningState", "options": ["provisioning-state"], "help": {"short": "Provisioning state"}, "enum": {"items": [{"name": "Accepted", "value": "Accepted"}, {"name": "Canceled", "value": "Canceled"}, {"name": "Creating", "value": "Creating"}, {"name": "Deleted", "value": "Deleted"}, {"name": "Deleting", "value": "Deleting"}, {"name": "Failed", "value": "Failed"}, {"name": "NotSpecified", "value": "NotSpecified"}, {"name": "Succeeded", "value": "Succeeded"}, {"name": "Updating", "value": "Updating"}]}}, {"type": "string", "var": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.singleSignOnState", "options": ["single-sign-on-state"], "help": {"short": "Single sign-on state"}, "enum": {"items": [{"name": "Disable", "value": "Disable"}, {"name": "Enable", "value": "Enable"}, {"name": "Existing", "value": "Existing"}, {"name": "Initial", "value": "Initial"}]}}, {"type": "string", "var": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.singleSignOnUrl", "options": ["single-sign-on-url"], "help": {"short": "The login URL specific to this NewRelic Organization"}}]}, {"type": "string", "var": "$resource.properties.newRelicAccountProperties.userId", "options": ["user-id"], "help": {"short": "User id"}}]}, {"type": "string", "var": "$resource.properties.orgCreationSource", "options": ["org-creation-source"], "group": "Properties", "help": {"short": "Source of org creation"}, "enum": {"items": [{"name": "LIFTR", "value": "LIFTR"}, {"name": "NEWRELIC", "value": "NEWRELIC"}]}}, {"type": "object", "var": "$resource.properties.planData", "options": ["plan-data"], "group": "Properties", "help": {"short": "Plan details Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "args": [{"type": "string", "var": "$resource.properties.planData.billingCycle", "options": ["billing-cycle"], "help": {"short": "Different billing cycles like MONTHLY/WEEKLY. this could be enum"}, "enum": {"items": [{"name": "MONTHLY", "value": "MONTHLY"}, {"name": "WEEKLY", "value": "WEEKLY"}, {"name": "YEARLY", "value": "YEARLY"}]}}, {"type": "dateTime", "var": "$resource.properties.planData.effectiveDate", "options": ["effective-date"], "help": {"short": "date when plan was applied"}}, {"type": "string", "var": "$resource.properties.planData.planDetails", "options": ["plan-details"], "help": {"short": "plan id as published by NewRelic"}}, {"type": "string", "var": "$resource.properties.planData.usageType", "options": ["usage-type"], "help": {"short": "Different usage type like PAYG/COMMITTED. this could be enum"}, "enum": {"items": [{"name": "COMMITTED", "value": "COMMITTED"}, {"name": "PAYG", "value": "PAYG"}]}}]}, {"type": "string", "var": "$resource.properties.saaSAzureSubscriptionStatus", "options": ["saa-s-azure-subscription-status"], "hide": true, "group": "Properties", "help": {"short": "Status of Azure Subscription where Marketplace SaaS is located."}}, {"type": "string", "var": "$resource.properties.subscriptionState", "options": ["subscription-state"], "hide": true, "group": "Properties", "help": {"short": "State of the Azure Subscription containing the monitor resource"}}, {"type": "object", "var": "$resource.properties.userInfo", "options": ["user-info"], "group": "Properties", "help": {"short": "User Info Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "args": [{"type": "string", "var": "$resource.properties.userInfo.country", "options": ["country"], "help": {"short": "country if user"}}, {"type": "string", "var": "$resource.properties.userInfo.emailAddress", "options": ["email-address"], "help": {"short": "User Email"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "var": "$resource.properties.userInfo.firstName", "options": ["first-name"], "help": {"short": "First name"}, "format": {"maxLength": 50}}, {"type": "string", "var": "$resource.properties.userInfo.lastName", "options": ["last-name"], "help": {"short": "Last name"}, "format": {"maxLength": 50}}, {"type": "string", "var": "$resource.properties.userInfo.phoneNumber", "options": ["phone-number"], "help": {"short": "Contact phone number"}, "format": {"maxLength": 40}}]}]}, {"name": "Resource", "args": [{"type": "object", "var": "$resource.identity", "options": ["identity"], "group": "Resource", "help": {"short": "The managed service identities assigned to this resource. Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$resource.location", "options": ["location"], "required": true, "group": "Resource", "help": {"short": "The geo-location where the resource lives When not specified, the location of the resource group will be used."}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags. Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Monitors_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$resource.identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "accountCreationSource", "arg": "$resource.properties.accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "newRelicAccountProperties", "arg": "$resource.properties.newRelicAccountProperties", "props": [{"type": "object", "name": "accountInfo", "arg": "$resource.properties.newRelicAccountProperties.accountInfo", "props": [{"type": "string", "name": "accountId", "arg": "$resource.properties.newRelicAccountProperties.accountInfo.accountId"}, {"type": "password", "name": "ingestionKey", "arg": "$resource.properties.newRelicAccountProperties.accountInfo.ingestionKey", "secret": true}, {"type": "string", "name": "region", "arg": "$resource.properties.newRelicAccountProperties.accountInfo.region"}]}, {"type": "object", "name": "organizationInfo", "arg": "$resource.properties.newRelicAccountProperties.organizationInfo", "props": [{"type": "string", "name": "organizationId", "arg": "$resource.properties.newRelicAccountProperties.organizationInfo.organizationId"}]}, {"type": "object", "name": "singleSignOnProperties", "arg": "$resource.properties.newRelicAccountProperties.singleSignOnProperties", "props": [{"type": "string", "name": "enterpriseAppId", "arg": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.enterpriseAppId"}, {"type": "string", "name": "provisioningState", "arg": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "singleSignOnState", "arg": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Existing"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl", "arg": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.singleSignOnUrl"}]}, {"type": "string", "name": "userId", "arg": "$resource.properties.newRelicAccountProperties.userId"}]}, {"type": "string", "name": "orgCreationSource", "arg": "$resource.properties.orgCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "planData", "arg": "$resource.properties.planData", "props": [{"type": "string", "name": "billingCycle", "arg": "$resource.properties.planData.billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate", "arg": "$resource.properties.planData.effectiveDate"}, {"type": "string", "name": "planDetails", "arg": "$resource.properties.planData.planDetails"}, {"type": "string", "name": "usageType", "arg": "$resource.properties.planData.usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}, {"type": "string", "name": "saaSAzureSubscriptionStatus", "arg": "$resource.properties.saaSAzureSubscriptionStatus"}, {"type": "string", "name": "subscriptionState", "arg": "$resource.properties.subscriptionState"}, {"type": "object", "name": "userInfo", "arg": "$resource.properties.userInfo", "props": [{"type": "string", "name": "country", "arg": "$resource.properties.userInfo.country"}, {"type": "string", "name": "emailAddress", "arg": "$resource.properties.userInfo.emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "arg": "$resource.properties.userInfo.firstName", "format": {"maxLength": 50}}, {"type": "string", "name": "lastName", "arg": "$resource.properties.userInfo.lastName", "format": {"maxLength": 50}}, {"type": "string", "name": "phoneNumber", "arg": "$resource.properties.userInfo.phoneNumber", "format": {"maxLength": 40}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "string", "name": "liftrResourceCategory", "enum": {"items": [{"value": "MonitorLogs"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "integer32", "name": "liftrResourcePreference"}, {"readOnly": true, "type": "string", "name": "marketplaceSubscriptionId"}, {"type": "string", "name": "marketplaceSubscriptionStatus", "enum": {"items": [{"value": "Active"}, {"value": "Suspended"}]}}, {"type": "string", "name": "monitoringStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "newRelicAccountProperties", "props": [{"type": "object", "name": "accountInfo", "props": [{"type": "string", "name": "accountId"}, {"type": "password", "name": "ingestionKey", "secret": true}, {"type": "string", "name": "region"}]}, {"type": "object", "name": "organizationInfo", "props": [{"type": "string", "name": "organizationId"}]}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Existing"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}, {"type": "string", "name": "userId"}]}, {"type": "string", "name": "orgCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "planData", "props": [{"type": "string", "name": "billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate"}, {"type": "string", "name": "planDetails"}, {"type": "string", "name": "usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "saaSAzureSubscriptionStatus"}, {"type": "string", "name": "subscriptionState"}, {"type": "object", "name": "userInfo", "props": [{"type": "string", "name": "country"}, {"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "format": {"maxLength": 50}}, {"type": "string", "name": "lastName", "format": {"maxLength": 50}}, {"type": "string", "name": "phoneNumber", "format": {"maxLength": 40}}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}, {"name": "Resource", "args": [{"nullable": true, "type": "object", "var": "$resource.identity", "options": ["identity"], "group": "Resource", "help": {"short": "The managed service identities assigned to this resource. Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"nullable": true, "type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags. Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "Monitors_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "string", "name": "liftrResourceCategory", "enum": {"items": [{"value": "MonitorLogs"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "integer32", "name": "liftrResourcePreference"}, {"readOnly": true, "type": "string", "name": "marketplaceSubscriptionId"}, {"type": "string", "name": "marketplaceSubscriptionStatus", "enum": {"items": [{"value": "Active"}, {"value": "Suspended"}]}}, {"type": "string", "name": "monitoringStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "newRelicAccountProperties", "props": [{"type": "object", "name": "accountInfo", "props": [{"type": "string", "name": "accountId"}, {"type": "password", "name": "ingestionKey", "secret": true}, {"type": "string", "name": "region"}]}, {"type": "object", "name": "organizationInfo", "props": [{"type": "string", "name": "organizationId"}]}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Existing"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}, {"type": "string", "name": "userId"}]}, {"type": "string", "name": "orgCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "planData", "props": [{"type": "string", "name": "billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate"}, {"type": "string", "name": "planDetails"}, {"type": "string", "name": "usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "saaSAzureSubscriptionStatus"}, {"type": "string", "name": "subscriptionState"}, {"type": "object", "name": "userInfo", "props": [{"type": "string", "name": "country"}, {"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "format": {"maxLength": 50}}, {"type": "string", "name": "lastName", "format": {"maxLength": 50}}, {"type": "string", "name": "phoneNumber", "format": {"maxLength": 40}}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NewRelicMonitorResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$resource.identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Monitors_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NewRelicMonitorResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml new file mode 100644 index 00000000..9b2d0d25 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml @@ -0,0 +1,1086 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0YmlsbGluZ2luZm8=/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0YmlsbGluZ2luZm8=/2024-01-01.json new file mode 100644 index 00000000..13634438 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0YmlsbGluZ2luZm8=/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getbillinginfo", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0QmlsbGluZ0luZm8=/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "get-billing-info", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getbillinginfo", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0QmlsbGluZ0luZm8=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}, "format": {"pattern": "^.*$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}], "operations": [{"operationId": "BillingInfo_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getBillingInfo", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true, "format": {"pattern": "^.*$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "marketplaceSaasInfo", "props": [{"type": "string", "name": "billedAzureSubscriptionId"}, {"type": "string", "name": "marketplaceResourceId"}, {"type": "string", "name": "marketplaceStatus"}, {"type": "string", "name": "marketplaceSubscriptionId"}, {"type": "string", "name": "marketplaceSubscriptionName"}]}, {"type": "object", "name": "partnerBillingEntity", "props": [{"type": "string", "name": "organizationId"}, {"type": "string", "name": "organizationName"}]}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0YmlsbGluZ2luZm8=/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0YmlsbGluZ2luZm8=/2024-01-01.xml new file mode 100644 index 00000000..c095ebb0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0YmlsbGluZ2luZm8=/2024-01-01.xml @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljc3RhdHVz/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljc3RhdHVz/2024-01-01.json new file mode 100644 index 00000000..4795e09c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljc3RhdHVz/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricstatus", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0TWV0cmljU3RhdHVz/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "get-metric-statu", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricstatus", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0TWV0cmljU3RhdHVz/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}, {"name": "Request", "args": [{"type": "array", "var": "$request.azureResourceIds", "options": ["azure-resource-ids"], "group": "Request", "help": {"short": "Azure resource IDs Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "item": {"type": "string"}}, {"type": "string", "var": "$request.userEmail", "options": ["user-email"], "required": true, "group": "Request", "help": {"short": "User Email"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}], "operations": [{"operationId": "Monitors_GetMetricStatus", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getMetricStatus", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "request", "required": true, "props": [{"type": "array", "name": "azureResourceIds", "arg": "$request.azureResourceIds", "item": {"type": "string"}}, {"type": "string", "name": "userEmail", "arg": "$request.userEmail", "required": true, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "array", "name": "azureResourceIds", "item": {"type": "string"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljc3RhdHVz/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljc3RhdHVz/2024-01-01.xml new file mode 100644 index 00000000..0e7ccf8f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljc3RhdHVz/2024-01-01.xml @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljcnVsZXM=/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljcnVsZXM=/2024-01-01.json new file mode 100644 index 00000000..0fd9f241 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljcnVsZXM=/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricrules", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0TWV0cmljUnVsZXM=/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "get-metric-rule", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricrules", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0TWV0cmljUnVsZXM=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}, {"name": "Request", "args": [{"type": "string", "var": "$request.userEmail", "options": ["user-email"], "required": true, "group": "Request", "help": {"short": "User Email"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}], "operations": [{"operationId": "Monitors_GetMetricRules", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getMetricRules", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "request", "required": true, "props": [{"type": "string", "name": "userEmail", "arg": "$request.userEmail", "required": true, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "array", "name": "filteringTags", "item": {"type": "object", "props": [{"type": "string", "name": "action", "enum": {"items": [{"value": "Exclude"}, {"value": "Include"}]}}, {"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "sendMetrics", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "userEmail", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljcnVsZXM=/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljcnVsZXM=/2024-01-01.xml new file mode 100644 index 00000000..baa93242 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljcnVsZXM=/2024-01-01.xml @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGFwcHNlcnZpY2Vz/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGFwcHNlcnZpY2Vz/2024-01-01.json new file mode 100644 index 00000000..f0613723 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGFwcHNlcnZpY2Vz/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listappservices", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdEFwcFNlcnZpY2Vz/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "list-app-service", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listappservices", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdEFwcFNlcnZpY2Vz/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}, {"name": "Request", "args": [{"type": "array", "var": "$request.azureResourceIds", "options": ["azure-resource-ids"], "group": "Request", "help": {"short": "Azure resource IDs Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "item": {"type": "string"}}, {"type": "string", "var": "$request.userEmail", "options": ["user-email"], "required": true, "group": "Request", "help": {"short": "User Email"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}], "operations": [{"operationId": "Monitors_ListAppServices", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listAppServices", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "request", "required": true, "props": [{"type": "array", "name": "azureResourceIds", "arg": "$request.azureResourceIds", "item": {"type": "string"}}, {"type": "string", "name": "userEmail", "arg": "$request.userEmail", "required": true, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "agentStatus"}, {"type": "string", "name": "agentVersion"}, {"type": "string", "name": "azureResourceId"}]}, "identifiers": ["azureResourceId"]}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGFwcHNlcnZpY2Vz/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGFwcHNlcnZpY2Vz/2024-01-01.xml new file mode 100644 index 00000000..0d6a2e1e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGFwcHNlcnZpY2Vz/2024-01-01.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGNvbm5lY3RlZHBhcnRuZXJyZXNvdXJjZXM=/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGNvbm5lY3RlZHBhcnRuZXJyZXNvdXJjZXM=/2024-01-01.json new file mode 100644 index 00000000..4c03113d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGNvbm5lY3RlZHBhcnRuZXJyZXNvdXJjZXM=/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listconnectedpartnerresources", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdENvbm5lY3RlZFBhcnRuZXJSZXNvdXJjZXM=/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "list-connected-partner-resource", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listconnectedpartnerresources", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdENvbm5lY3RlZFBhcnRuZXJSZXNvdXJjZXM=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}, "format": {"pattern": "^.*$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}, {"type": "string", "var": "$body", "options": ["body"], "help": {"short": "Reusable representation of an email address"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}], "operations": [{"operationId": "ConnectedPartnerResources_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listConnectedPartnerResources", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true, "format": {"pattern": "^.*$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "string", "name": "body", "arg": "$body", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "accountId"}, {"type": "string", "name": "accountName"}, {"type": "string", "name": "azureResourceId"}, {"type": "string", "name": "location"}]}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGNvbm5lY3RlZHBhcnRuZXJyZXNvdXJjZXM=/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGNvbm5lY3RlZHBhcnRuZXJyZXNvdXJjZXM=/2024-01-01.xml new file mode 100644 index 00000000..51d47e6e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGNvbm5lY3RlZHBhcnRuZXJyZXNvdXJjZXM=/2024-01-01.xml @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGhvc3Rz/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGhvc3Rz/2024-01-01.json new file mode 100644 index 00000000..10326b15 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGhvc3Rz/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listhosts", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdEhvc3Rz/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "list-host", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listhosts", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdEhvc3Rz/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}, {"name": "Request", "args": [{"type": "string", "var": "$request.userEmail", "options": ["user-email"], "required": true, "group": "Request", "help": {"short": "User Email"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "array", "var": "$request.vmIds", "options": ["vm-ids"], "group": "Request", "help": {"short": "VM resource IDs Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "item": {"type": "string"}}]}], "operations": [{"operationId": "Monitors_ListHosts", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listHosts", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "request", "required": true, "props": [{"type": "string", "name": "userEmail", "arg": "$request.userEmail", "required": true, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "array", "name": "vmIds", "arg": "$request.vmIds", "item": {"type": "string"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "agentStatus"}, {"type": "string", "name": "agentVersion"}, {"type": "string", "name": "vmId"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGhvc3Rz/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGhvc3Rz/2024-01-01.xml new file mode 100644 index 00000000..6c6c6e20 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGhvc3Rz/2024-01-01.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGxpbmtlZHJlc291cmNlcw==/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGxpbmtlZHJlc291cmNlcw==/2024-01-01.json new file mode 100644 index 00000000..0e9bc84c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGxpbmtlZHJlc291cmNlcw==/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listlinkedresources", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdExpbmtlZFJlc291cmNlcw==/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "list-linked-resource", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listlinkedresources", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdExpbmtlZFJlc291cmNlcw==/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}, "format": {"pattern": "^.*$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}], "operations": [{"operationId": "Monitors_ListLinkedResources", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listLinkedResources", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true, "format": {"pattern": "^.*$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGxpbmtlZHJlc291cmNlcw==/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGxpbmtlZHJlc291cmNlcw==/2024-01-01.xml new file mode 100644 index 00000000..931bdfd5 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGxpbmtlZHJlc291cmNlcw==/2024-01-01.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucw==/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucw==/2024-01-01.json new file mode 100644 index 00000000..cbcf1c08 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucw==/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkU3Vic2NyaXB0aW9ucw==/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor monitored-subscription", "commands": [{"name": "list", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkU3Vic2NyaXB0aW9ucw==/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}, "format": {"pattern": "^.*$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}], "operations": [{"operationId": "MonitoredSubscriptions_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true, "format": {"pattern": "^.*$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}/monitoredSubscriptions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "monitoredSubscriptionList", "item": {"type": "object", "props": [{"type": "string", "name": "error"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Active"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "InProgress"}]}}, {"type": "string", "name": "subscriptionId"}, {"type": "object", "name": "tagRules", "props": [{"type": "object", "name": "logRules", "props": [{"type": "array", "name": "filteringTags", "item": {"type": "object", "props": [{"type": "string", "name": "action", "enum": {"items": [{"value": "Exclude"}, {"value": "Include"}]}}, {"type": "string", "name": "name"}, {"type": "string", "name": "value"}], "cls": "FilteringTag_read"}}, {"type": "string", "name": "sendAadLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendActivityLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendSubscriptionLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "metricRules", "props": [{"type": "array<@FilteringTag_read>", "name": "filteringTags", "item": {"type": "@FilteringTag_read"}}, {"type": "string", "name": "sendMetrics", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "userEmail", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}]}}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucw==/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucw==/2024-01-01.xml new file mode 100644 index 00000000..4ddbdb17 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucw==/2024-01-01.xml @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucy97fQ==/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucy97fQ==/2024-01-01.json new file mode 100644 index 00000000..febf239b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucy97fQ==/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkU3Vic2NyaXB0aW9ucy97Y29uZmlndXJhdGlvbk5hbWV9/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor monitored-subscription", "commands": [{"name": "show", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkU3Vic2NyaXB0aW9ucy97Y29uZmlndXJhdGlvbk5hbWV9/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.configurationName", "options": ["configuration-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The configuration name. Only 'default' value is supported."}, "default": {"value": "default"}, "format": {"pattern": "^.*$"}, "enum": {"items": [{"name": "default", "value": "default"}]}}, {"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}, "format": {"pattern": "^.*$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}], "operations": [{"operationId": "MonitoredSubscriptions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "configurationName", "arg": "$Path.configurationName", "required": true, "format": {"pattern": "^.*$"}, "enum": {"items": [{"value": "default"}]}}, {"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true, "format": {"pattern": "^.*$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}/monitoredSubscriptions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "monitoredSubscriptionList", "item": {"type": "object", "props": [{"type": "string", "name": "error"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Active"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "InProgress"}]}}, {"type": "string", "name": "subscriptionId"}, {"type": "object", "name": "tagRules", "props": [{"type": "object", "name": "logRules", "props": [{"type": "array", "name": "filteringTags", "item": {"type": "object", "props": [{"type": "string", "name": "action", "enum": {"items": [{"value": "Exclude"}, {"value": "Include"}]}}, {"type": "string", "name": "name"}, {"type": "string", "name": "value"}], "cls": "FilteringTag_read"}}, {"type": "string", "name": "sendAadLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendActivityLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendSubscriptionLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "metricRules", "props": [{"type": "array<@FilteringTag_read>", "name": "filteringTags", "item": {"type": "@FilteringTag_read"}}, {"type": "string", "name": "sendMetrics", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "userEmail", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}]}}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkU3Vic2NyaXB0aW9ucy97Y29uZmlndXJhdGlvbk5hbWV9/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.configurationName", "options": ["configuration-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The configuration name. Only 'default' value is supported."}, "default": {"value": "default"}, "format": {"pattern": "^.*$"}, "enum": {"items": [{"name": "default", "value": "default"}]}}, {"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}, "format": {"pattern": "^.*$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "MonitoredSubscriptions_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "configurationName", "arg": "$Path.configurationName", "required": true, "format": {"pattern": "^.*$"}, "enum": {"items": [{"value": "default"}]}}, {"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true, "format": {"pattern": "^.*$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkU3Vic2NyaXB0aW9ucy97Y29uZmlndXJhdGlvbk5hbWV9/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.configurationName", "options": ["configuration-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The configuration name. Only 'default' value is supported."}, "default": {"value": "default"}, "format": {"pattern": "^.*$"}, "enum": {"items": [{"name": "default", "value": "default"}]}}, {"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}, "format": {"pattern": "^.*$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$body.properties.monitoredSubscriptionList", "options": ["monitored-subscription-list"], "group": "Properties", "help": {"short": "List of subscriptions and the state of the monitoring."}, "item": {"type": "object", "args": [{"type": "string", "var": "$body.properties.monitoredSubscriptionList[].error", "options": ["error"], "help": {"short": "The reason of not monitoring the subscription."}}, {"type": "string", "var": "$body.properties.monitoredSubscriptionList[].status", "options": ["status"], "help": {"short": "The state of monitoring."}, "enum": {"items": [{"name": "Active", "value": "Active"}, {"name": "Deleting", "value": "Deleting"}, {"name": "Failed", "value": "Failed"}, {"name": "InProgress", "value": "InProgress"}]}}, {"type": "string", "var": "$body.properties.monitoredSubscriptionList[].subscriptionId", "options": ["subscription-id"], "help": {"short": "The subscriptionId to be monitored."}}, {"type": "object", "var": "$body.properties.monitoredSubscriptionList[].tagRules", "options": ["tag-rules"], "help": {"short": "The resource-specific properties for this resource."}, "args": [{"type": "object", "var": "$body.properties.monitoredSubscriptionList[].tagRules.logRules", "options": ["log-rules"], "help": {"short": "Set of rules for sending logs for the Monitor resource."}, "args": [{"type": "array", "var": "$body.properties.monitoredSubscriptionList[].tagRules.logRules.filteringTags", "options": ["filtering-tags"], "help": {"short": "List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags."}, "item": {"type": "object", "args": [{"type": "string", "var": "@FilteringTag_create.action", "options": ["action"], "help": {"short": "Valid actions for a filtering tag. Exclusion takes priority over inclusion."}, "enum": {"items": [{"name": "Exclude", "value": "Exclude"}, {"name": "Include", "value": "Include"}]}}, {"type": "string", "var": "@FilteringTag_create.name", "options": ["name"], "help": {"short": "The name (also known as the key) of the tag."}}, {"type": "string", "var": "@FilteringTag_create.value", "options": ["value"], "help": {"short": "The value of the tag."}}], "cls": "FilteringTag_create"}}, {"type": "string", "var": "$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendAadLogs", "options": ["send-aad-logs"], "help": {"short": "Flag specifying if AAD logs should be sent for the Monitor resource."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendActivityLogs", "options": ["send-activity-logs"], "help": {"short": "Flag specifying if activity logs from Azure resources should be sent for the Monitor resource."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendSubscriptionLogs", "options": ["send-subscription-logs"], "help": {"short": "Flag specifying if subscription logs should be sent for the Monitor resource."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "object", "var": "$body.properties.monitoredSubscriptionList[].tagRules.metricRules", "options": ["metric-rules"], "help": {"short": "Set of rules for sending metrics for the Monitor resource."}, "args": [{"type": "array<@FilteringTag_create>", "var": "$body.properties.monitoredSubscriptionList[].tagRules.metricRules.filteringTags", "options": ["filtering-tags"], "help": {"short": "List of filtering tags to be used for capturing metrics."}, "item": {"type": "@FilteringTag_create"}}, {"type": "string", "var": "$body.properties.monitoredSubscriptionList[].tagRules.metricRules.sendMetrics", "options": ["send-metrics"], "help": {"short": "Flag specifying if metrics should be sent for the Monitor resource."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$body.properties.monitoredSubscriptionList[].tagRules.metricRules.userEmail", "options": ["user-email"], "help": {"short": "User Email"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}]}]}}, {"type": "string", "var": "$body.properties.patchOperation", "options": ["patch-operation"], "group": "Properties", "help": {"short": "The operation for the patch on the resource."}, "enum": {"items": [{"name": "Active", "value": "Active"}, {"name": "AddBegin", "value": "AddBegin"}, {"name": "AddComplete", "value": "AddComplete"}, {"name": "DeleteBegin", "value": "DeleteBegin"}, {"name": "DeleteComplete", "value": "DeleteComplete"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "MonitoredSubscriptions_CreateorUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "configurationName", "arg": "$Path.configurationName", "required": true, "format": {"pattern": "^.*$"}, "enum": {"items": [{"value": "default"}]}}, {"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true, "format": {"pattern": "^.*$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "props": [{"type": "object", "name": "properties", "props": [{"type": "array", "name": "monitoredSubscriptionList", "arg": "$body.properties.monitoredSubscriptionList", "item": {"type": "object", "props": [{"type": "string", "name": "error", "arg": "$body.properties.monitoredSubscriptionList[].error"}, {"type": "string", "name": "status", "arg": "$body.properties.monitoredSubscriptionList[].status", "enum": {"items": [{"value": "Active"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "InProgress"}]}}, {"type": "string", "name": "subscriptionId", "arg": "$body.properties.monitoredSubscriptionList[].subscriptionId"}, {"type": "object", "name": "tagRules", "arg": "$body.properties.monitoredSubscriptionList[].tagRules", "props": [{"type": "object", "name": "logRules", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.logRules", "props": [{"type": "array", "name": "filteringTags", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.logRules.filteringTags", "item": {"type": "object", "props": [{"type": "string", "name": "action", "arg": "@FilteringTag_create.action", "enum": {"items": [{"value": "Exclude"}, {"value": "Include"}]}}, {"type": "string", "name": "name", "arg": "@FilteringTag_create.name"}, {"type": "string", "name": "value", "arg": "@FilteringTag_create.value"}], "cls": "FilteringTag_create"}}, {"type": "string", "name": "sendAadLogs", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendAadLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendActivityLogs", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendActivityLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendSubscriptionLogs", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendSubscriptionLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "metricRules", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.metricRules", "props": [{"type": "array<@FilteringTag_create>", "name": "filteringTags", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.metricRules.filteringTags", "item": {"type": "@FilteringTag_create"}}, {"type": "string", "name": "sendMetrics", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.metricRules.sendMetrics", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "userEmail", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.metricRules.userEmail", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}]}]}}, {"type": "string", "name": "patchOperation", "arg": "$body.properties.patchOperation", "enum": {"items": [{"value": "Active"}, {"value": "AddBegin"}, {"value": "AddComplete"}, {"value": "DeleteBegin"}, {"value": "DeleteComplete"}]}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}/monitoredSubscriptions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "monitoredSubscriptionList", "item": {"type": "object", "props": [{"type": "string", "name": "error"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Active"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "InProgress"}]}}, {"type": "string", "name": "subscriptionId"}, {"type": "object", "name": "tagRules", "props": [{"type": "object", "name": "logRules", "props": [{"type": "array", "name": "filteringTags", "item": {"type": "object", "props": [{"type": "string", "name": "action", "enum": {"items": [{"value": "Exclude"}, {"value": "Include"}]}}, {"type": "string", "name": "name"}, {"type": "string", "name": "value"}], "cls": "FilteringTag_read"}}, {"type": "string", "name": "sendAadLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendActivityLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendSubscriptionLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "metricRules", "props": [{"type": "array<@FilteringTag_read>", "name": "filteringTags", "item": {"type": "@FilteringTag_read"}}, {"type": "string", "name": "sendMetrics", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "userEmail", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}]}}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkU3Vic2NyaXB0aW9ucy97Y29uZmlndXJhdGlvbk5hbWV9/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.configurationName", "options": ["configuration-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The configuration name. Only 'default' value is supported."}, "default": {"value": "default"}, "format": {"pattern": "^.*$"}, "enum": {"items": [{"name": "default", "value": "default"}]}}, {"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}, "format": {"pattern": "^.*$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$body.properties.monitoredSubscriptionList", "options": ["monitored-subscription-list"], "group": "Properties", "help": {"short": "List of subscriptions and the state of the monitoring."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$body.properties.monitoredSubscriptionList[].error", "options": ["error"], "help": {"short": "The reason of not monitoring the subscription."}}, {"nullable": true, "type": "string", "var": "$body.properties.monitoredSubscriptionList[].status", "options": ["status"], "help": {"short": "The state of monitoring."}, "enum": {"items": [{"name": "Active", "value": "Active"}, {"name": "Deleting", "value": "Deleting"}, {"name": "Failed", "value": "Failed"}, {"name": "InProgress", "value": "InProgress"}]}}, {"nullable": true, "type": "string", "var": "$body.properties.monitoredSubscriptionList[].subscriptionId", "options": ["subscription-id"], "help": {"short": "The subscriptionId to be monitored."}}, {"nullable": true, "type": "object", "var": "$body.properties.monitoredSubscriptionList[].tagRules", "options": ["tag-rules"], "help": {"short": "The resource-specific properties for this resource."}, "args": [{"nullable": true, "type": "object", "var": "$body.properties.monitoredSubscriptionList[].tagRules.logRules", "options": ["log-rules"], "help": {"short": "Set of rules for sending logs for the Monitor resource."}, "args": [{"nullable": true, "type": "array", "var": "$body.properties.monitoredSubscriptionList[].tagRules.logRules.filteringTags", "options": ["filtering-tags"], "help": {"short": "List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@FilteringTag_update.action", "options": ["action"], "help": {"short": "Valid actions for a filtering tag. Exclusion takes priority over inclusion."}, "enum": {"items": [{"name": "Exclude", "value": "Exclude"}, {"name": "Include", "value": "Include"}]}}, {"nullable": true, "type": "string", "var": "@FilteringTag_update.name", "options": ["name"], "help": {"short": "The name (also known as the key) of the tag."}}, {"nullable": true, "type": "string", "var": "@FilteringTag_update.value", "options": ["value"], "help": {"short": "The value of the tag."}}], "cls": "FilteringTag_update"}}, {"nullable": true, "type": "string", "var": "$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendAadLogs", "options": ["send-aad-logs"], "help": {"short": "Flag specifying if AAD logs should be sent for the Monitor resource."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendActivityLogs", "options": ["send-activity-logs"], "help": {"short": "Flag specifying if activity logs from Azure resources should be sent for the Monitor resource."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendSubscriptionLogs", "options": ["send-subscription-logs"], "help": {"short": "Flag specifying if subscription logs should be sent for the Monitor resource."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"nullable": true, "type": "object", "var": "$body.properties.monitoredSubscriptionList[].tagRules.metricRules", "options": ["metric-rules"], "help": {"short": "Set of rules for sending metrics for the Monitor resource."}, "args": [{"nullable": true, "type": "array<@FilteringTag_update>", "var": "$body.properties.monitoredSubscriptionList[].tagRules.metricRules.filteringTags", "options": ["filtering-tags"], "help": {"short": "List of filtering tags to be used for capturing metrics."}, "item": {"nullable": true, "type": "@FilteringTag_update"}}, {"nullable": true, "type": "string", "var": "$body.properties.monitoredSubscriptionList[].tagRules.metricRules.sendMetrics", "options": ["send-metrics"], "help": {"short": "Flag specifying if metrics should be sent for the Monitor resource."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$body.properties.monitoredSubscriptionList[].tagRules.metricRules.userEmail", "options": ["user-email"], "help": {"short": "User Email"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}]}]}}, {"nullable": true, "type": "string", "var": "$body.properties.patchOperation", "options": ["patch-operation"], "group": "Properties", "help": {"short": "The operation for the patch on the resource."}, "enum": {"items": [{"name": "Active", "value": "Active"}, {"name": "AddBegin", "value": "AddBegin"}, {"name": "AddComplete", "value": "AddComplete"}, {"name": "DeleteBegin", "value": "DeleteBegin"}, {"name": "DeleteComplete", "value": "DeleteComplete"}]}}]}], "operations": [{"operationId": "MonitoredSubscriptions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "configurationName", "arg": "$Path.configurationName", "required": true, "format": {"pattern": "^.*$"}, "enum": {"items": [{"value": "default"}]}}, {"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true, "format": {"pattern": "^.*$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}/monitoredSubscriptions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "monitoredSubscriptionList", "item": {"type": "object", "props": [{"type": "string", "name": "error"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Active"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "InProgress"}]}}, {"type": "string", "name": "subscriptionId"}, {"type": "object", "name": "tagRules", "props": [{"type": "object", "name": "logRules", "props": [{"type": "array", "name": "filteringTags", "item": {"type": "object", "props": [{"type": "string", "name": "action", "enum": {"items": [{"value": "Exclude"}, {"value": "Include"}]}}, {"type": "string", "name": "name"}, {"type": "string", "name": "value"}], "cls": "FilteringTag_read"}}, {"type": "string", "name": "sendAadLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendActivityLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendSubscriptionLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "metricRules", "props": [{"type": "array<@FilteringTag_read>", "name": "filteringTags", "item": {"type": "@FilteringTag_read"}}, {"type": "string", "name": "sendMetrics", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "userEmail", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}]}}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "MonitoredSubscriptionProperties_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "body", "props": [{"type": "object", "name": "properties", "props": [{"type": "array", "name": "monitoredSubscriptionList", "arg": "$body.properties.monitoredSubscriptionList", "item": {"type": "object", "props": [{"type": "string", "name": "error", "arg": "$body.properties.monitoredSubscriptionList[].error"}, {"type": "string", "name": "status", "arg": "$body.properties.monitoredSubscriptionList[].status", "enum": {"items": [{"value": "Active"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "InProgress"}]}}, {"type": "string", "name": "subscriptionId", "arg": "$body.properties.monitoredSubscriptionList[].subscriptionId"}, {"type": "object", "name": "tagRules", "arg": "$body.properties.monitoredSubscriptionList[].tagRules", "props": [{"type": "object", "name": "logRules", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.logRules", "props": [{"type": "array", "name": "filteringTags", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.logRules.filteringTags", "item": {"type": "object", "props": [{"type": "string", "name": "action", "arg": "@FilteringTag_update.action", "enum": {"items": [{"value": "Exclude"}, {"value": "Include"}]}}, {"type": "string", "name": "name", "arg": "@FilteringTag_update.name"}, {"type": "string", "name": "value", "arg": "@FilteringTag_update.value"}], "cls": "FilteringTag_update"}}, {"type": "string", "name": "sendAadLogs", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendAadLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendActivityLogs", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendActivityLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendSubscriptionLogs", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendSubscriptionLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "metricRules", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.metricRules", "props": [{"type": "array<@FilteringTag_update>", "name": "filteringTags", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.metricRules.filteringTags", "item": {"type": "@FilteringTag_update"}}, {"type": "string", "name": "sendMetrics", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.metricRules.sendMetrics", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "userEmail", "arg": "$body.properties.monitoredSubscriptionList[].tagRules.metricRules.userEmail", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}]}]}}, {"type": "string", "name": "patchOperation", "arg": "$body.properties.patchOperation", "enum": {"items": [{"value": "Active"}, {"value": "AddBegin"}, {"value": "AddComplete"}, {"value": "DeleteBegin"}, {"value": "DeleteComplete"}]}}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "MonitoredSubscriptions_CreateorUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "configurationName", "arg": "$Path.configurationName", "required": true, "format": {"pattern": "^.*$"}, "enum": {"items": [{"value": "default"}]}}, {"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true, "format": {"pattern": "^.*$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@MonitoredSubscriptionProperties_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucy97fQ==/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucy97fQ==/2024-01-01.xml new file mode 100644 index 00000000..79ac030e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucy97fQ==/2024-01-01.xml @@ -0,0 +1,959 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkcmVzb3VyY2Vz/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkcmVzb3VyY2Vz/2024-01-01.json new file mode 100644 index 00000000..42684c95 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkcmVzb3VyY2Vz/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredresources", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkUmVzb3VyY2Vz/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "monitored-resource", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredresources", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkUmVzb3VyY2Vz/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}], "operations": [{"operationId": "Monitors_ListMonitoredResources", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredResources", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "reasonForLogsStatus"}, {"type": "string", "name": "reasonForMetricsStatus"}, {"type": "string", "name": "sendingLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendingMetrics", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkcmVzb3VyY2Vz/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkcmVzb3VyY2Vz/2024-01-01.xml new file mode 100644 index 00000000..e8209a3b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkcmVzb3VyY2Vz/2024-01-01.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vc3dpdGNoYmlsbGluZw==/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vc3dpdGNoYmlsbGluZw==/2024-01-01.json new file mode 100644 index 00000000..2509454c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vc3dpdGNoYmlsbGluZw==/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/switchbilling", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vc3dpdGNoQmlsbGluZw==/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "switch-billing", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/switchbilling", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vc3dpdGNoQmlsbGluZw==/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}, {"name": "Request", "args": [{"type": "string", "var": "$request.azureResourceId", "options": ["azure-resource-id"], "group": "Request", "help": {"short": "Azure resource Id"}}, {"type": "string", "var": "$request.organizationId", "options": ["organization-id"], "group": "Request", "help": {"short": "Organization id"}}, {"type": "object", "var": "$request.planData", "options": ["plan-data"], "group": "Request", "help": {"short": "Plan details Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "args": [{"type": "string", "var": "$request.planData.billingCycle", "options": ["billing-cycle"], "help": {"short": "Different billing cycles like MONTHLY/WEEKLY. this could be enum"}, "enum": {"items": [{"name": "MONTHLY", "value": "MONTHLY"}, {"name": "WEEKLY", "value": "WEEKLY"}, {"name": "YEARLY", "value": "YEARLY"}]}}, {"type": "dateTime", "var": "$request.planData.effectiveDate", "options": ["effective-date"], "help": {"short": "date when plan was applied"}}, {"type": "string", "var": "$request.planData.planDetails", "options": ["plan-details"], "help": {"short": "plan id as published by NewRelic"}}, {"type": "string", "var": "$request.planData.usageType", "options": ["usage-type"], "help": {"short": "Different usage type like PAYG/COMMITTED. this could be enum"}, "enum": {"items": [{"name": "COMMITTED", "value": "COMMITTED"}, {"name": "PAYG", "value": "PAYG"}]}}]}, {"type": "string", "var": "$request.userEmail", "options": ["user-email"], "required": true, "group": "Request", "help": {"short": "User Email"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}], "operations": [{"operationId": "Monitors_SwitchBilling", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/switchBilling", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "request", "required": true, "props": [{"type": "string", "name": "azureResourceId", "arg": "$request.azureResourceId"}, {"type": "string", "name": "organizationId", "arg": "$request.organizationId"}, {"type": "object", "name": "planData", "arg": "$request.planData", "props": [{"type": "string", "name": "billingCycle", "arg": "$request.planData.billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate", "arg": "$request.planData.effectiveDate"}, {"type": "string", "name": "planDetails", "arg": "$request.planData.planDetails"}, {"type": "string", "name": "usageType", "arg": "$request.planData.usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}, {"type": "string", "name": "userEmail", "arg": "$request.userEmail", "required": true, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "string", "name": "liftrResourceCategory", "enum": {"items": [{"value": "MonitorLogs"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "integer32", "name": "liftrResourcePreference"}, {"readOnly": true, "type": "string", "name": "marketplaceSubscriptionId"}, {"type": "string", "name": "marketplaceSubscriptionStatus", "enum": {"items": [{"value": "Active"}, {"value": "Suspended"}]}}, {"type": "string", "name": "monitoringStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "newRelicAccountProperties", "props": [{"type": "object", "name": "accountInfo", "props": [{"type": "string", "name": "accountId"}, {"type": "password", "name": "ingestionKey", "secret": true}, {"type": "string", "name": "region"}]}, {"type": "object", "name": "organizationInfo", "props": [{"type": "string", "name": "organizationId"}]}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Existing"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}, {"type": "string", "name": "userId"}]}, {"type": "string", "name": "orgCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "planData", "props": [{"type": "string", "name": "billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate"}, {"type": "string", "name": "planDetails"}, {"type": "string", "name": "usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "saaSAzureSubscriptionStatus"}, {"type": "string", "name": "subscriptionState"}, {"type": "object", "name": "userInfo", "props": [{"type": "string", "name": "country"}, {"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "format": {"maxLength": 50}}, {"type": "string", "name": "lastName", "format": {"maxLength": 50}}, {"type": "string", "name": "phoneNumber", "format": {"maxLength": 40}}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Retry-After"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vc3dpdGNoYmlsbGluZw==/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vc3dpdGNoYmlsbGluZw==/2024-01-01.xml new file mode 100644 index 00000000..53dcf20e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vc3dpdGNoYmlsbGluZw==/2024-01-01.xml @@ -0,0 +1,297 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXM=/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXM=/2024-01-01.json new file mode 100644 index 00000000..6b3ace2d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXM=/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdGFnUnVsZXM=/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor tag-rule", "commands": [{"name": "list", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdGFnUnVsZXM=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}], "operations": [{"operationId": "TagRules_ListByNewRelicMonitorResource", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}/tagRules/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "logRules", "props": [{"type": "array", "name": "filteringTags", "item": {"type": "object", "props": [{"type": "string", "name": "action", "enum": {"items": [{"value": "Exclude"}, {"value": "Include"}]}}, {"type": "string", "name": "name"}, {"type": "string", "name": "value"}], "cls": "FilteringTag_read"}}, {"type": "string", "name": "sendAadLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendActivityLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendSubscriptionLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "metricRules", "props": [{"type": "array<@FilteringTag_read>", "name": "filteringTags", "item": {"type": "@FilteringTag_read"}}, {"type": "string", "name": "sendMetrics", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "userEmail", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXM=/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXM=/2024-01-01.xml new file mode 100644 index 00000000..3f565f82 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXM=/2024-01-01.xml @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXMve30=/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXMve30=/2024-01-01.json new file mode 100644 index 00000000..1321a29d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXMve30=/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdGFnUnVsZXMve3J1bGVTZXROYW1lfQ==/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor tag-rule", "commands": [{"name": "show", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdGFnUnVsZXMve3J1bGVTZXROYW1lfQ==/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "string", "var": "$Path.ruleSetName", "options": ["name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of the TagRule"}, "default": {"value": "default"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}], "operations": [{"operationId": "TagRules_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "ruleSetName", "arg": "$Path.ruleSetName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}/tagRules/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "logRules", "props": [{"type": "array", "name": "filteringTags", "item": {"type": "object", "props": [{"type": "string", "name": "action", "enum": {"items": [{"value": "Exclude"}, {"value": "Include"}]}}, {"type": "string", "name": "name"}, {"type": "string", "name": "value"}], "cls": "FilteringTag_read"}}, {"type": "string", "name": "sendAadLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendActivityLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendSubscriptionLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "metricRules", "props": [{"type": "array<@FilteringTag_read>", "name": "filteringTags", "item": {"type": "@FilteringTag_read"}}, {"type": "string", "name": "sendMetrics", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "userEmail", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdGFnUnVsZXMve3J1bGVTZXROYW1lfQ==/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "string", "var": "$Path.ruleSetName", "options": ["name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of the TagRule"}, "default": {"value": "default"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "TagRules_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "ruleSetName", "arg": "$Path.ruleSetName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Retry-After"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdGFnUnVsZXMve3J1bGVTZXROYW1lfQ==/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "string", "var": "$Path.ruleSetName", "options": ["name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of the TagRule"}, "default": {"value": "default"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.logRules", "options": ["log-rules"], "group": "Properties", "help": {"short": "Set of rules for sending logs for the Monitor resource. Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "args": [{"type": "array", "var": "$resource.properties.logRules.filteringTags", "options": ["filtering-tags"], "help": {"short": "List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags."}, "item": {"type": "object", "args": [{"type": "string", "var": "@FilteringTag_create.action", "options": ["action"], "help": {"short": "Valid actions for a filtering tag. Exclusion takes priority over inclusion."}, "enum": {"items": [{"name": "Exclude", "value": "Exclude"}, {"name": "Include", "value": "Include"}]}}, {"type": "string", "var": "@FilteringTag_create.name", "options": ["name"], "help": {"short": "The name (also known as the key) of the tag."}}, {"type": "string", "var": "@FilteringTag_create.value", "options": ["value"], "help": {"short": "The value of the tag."}}], "cls": "FilteringTag_create"}}, {"type": "string", "var": "$resource.properties.logRules.sendAadLogs", "options": ["send-aad-logs"], "help": {"short": "Flag specifying if AAD logs should be sent for the Monitor resource."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$resource.properties.logRules.sendActivityLogs", "options": ["send-activity-logs"], "help": {"short": "Flag specifying if activity logs from Azure resources should be sent for the Monitor resource."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$resource.properties.logRules.sendSubscriptionLogs", "options": ["send-subscription-logs"], "help": {"short": "Flag specifying if subscription logs should be sent for the Monitor resource."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "object", "var": "$resource.properties.metricRules", "options": ["metric-rules"], "group": "Properties", "help": {"short": "Set of rules for sending metrics for the Monitor resource. Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "args": [{"type": "array<@FilteringTag_create>", "var": "$resource.properties.metricRules.filteringTags", "options": ["filtering-tags"], "help": {"short": "List of filtering tags to be used for capturing metrics."}, "item": {"type": "@FilteringTag_create"}}, {"type": "string", "var": "$resource.properties.metricRules.sendMetrics", "options": ["send-metrics"], "help": {"short": "Flag specifying if metrics should be sent for the Monitor resource."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$resource.properties.metricRules.userEmail", "options": ["user-email"], "help": {"short": "User Email"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "TagRules_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "ruleSetName", "arg": "$Path.ruleSetName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "logRules", "arg": "$resource.properties.logRules", "props": [{"type": "array", "name": "filteringTags", "arg": "$resource.properties.logRules.filteringTags", "item": {"type": "object", "props": [{"type": "string", "name": "action", "arg": "@FilteringTag_create.action", "enum": {"items": [{"value": "Exclude"}, {"value": "Include"}]}}, {"type": "string", "name": "name", "arg": "@FilteringTag_create.name"}, {"type": "string", "name": "value", "arg": "@FilteringTag_create.value"}], "cls": "FilteringTag_create"}}, {"type": "string", "name": "sendAadLogs", "arg": "$resource.properties.logRules.sendAadLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendActivityLogs", "arg": "$resource.properties.logRules.sendActivityLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendSubscriptionLogs", "arg": "$resource.properties.logRules.sendSubscriptionLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "metricRules", "arg": "$resource.properties.metricRules", "props": [{"type": "array<@FilteringTag_create>", "name": "filteringTags", "arg": "$resource.properties.metricRules.filteringTags", "item": {"type": "@FilteringTag_create"}}, {"type": "string", "name": "sendMetrics", "arg": "$resource.properties.metricRules.sendMetrics", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "userEmail", "arg": "$resource.properties.metricRules.userEmail", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}/tagRules/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "logRules", "props": [{"type": "array", "name": "filteringTags", "item": {"type": "object", "props": [{"type": "string", "name": "action", "enum": {"items": [{"value": "Exclude"}, {"value": "Include"}]}}, {"type": "string", "name": "name"}, {"type": "string", "name": "value"}], "cls": "FilteringTag_read"}}, {"type": "string", "name": "sendAadLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendActivityLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendSubscriptionLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "metricRules", "props": [{"type": "array<@FilteringTag_read>", "name": "filteringTags", "item": {"type": "@FilteringTag_read"}}, {"type": "string", "name": "sendMetrics", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "userEmail", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdGFnUnVsZXMve3J1bGVTZXROYW1lfQ==/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "string", "var": "$Path.ruleSetName", "options": ["name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of the TagRule"}, "default": {"value": "default"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}], "operations": [{"operationId": "TagRules_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "ruleSetName", "arg": "$Path.ruleSetName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}/tagRules/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "logRules", "props": [{"type": "array", "name": "filteringTags", "item": {"type": "object", "props": [{"type": "string", "name": "action", "enum": {"items": [{"value": "Exclude"}, {"value": "Include"}]}}, {"type": "string", "name": "name"}, {"type": "string", "name": "value"}], "cls": "FilteringTag_read"}}, {"type": "string", "name": "sendAadLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendActivityLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendSubscriptionLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "metricRules", "props": [{"type": "array<@FilteringTag_read>", "name": "filteringTags", "item": {"type": "@FilteringTag_read"}}, {"type": "string", "name": "sendMetrics", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "userEmail", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "TagRule_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "TagRules_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "ruleSetName", "arg": "$Path.ruleSetName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@TagRule_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXMve30=/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXMve30=/2024-01-01.xml new file mode 100644 index 00000000..ab35c4b8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXMve30=/2024-01-01.xml @@ -0,0 +1,657 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdm1ob3N0cGF5bG9hZHM=/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdm1ob3N0cGF5bG9hZHM=/2024-01-01.json new file mode 100644 index 00000000..a40be5f4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdm1ob3N0cGF5bG9hZHM=/2024-01-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/vmhostpayloads", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdm1Ib3N0UGF5bG9hZHM=/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "vm-host-payload", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/vmhostpayloads", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdm1Ib3N0UGF5bG9hZHM=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}], "operations": [{"operationId": "Monitors_VmHostPayload", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/vmHostPayloads", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "ingestionKey"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdm1ob3N0cGF5bG9hZHM=/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdm1ob3N0cGF5bG9hZHM=/2024-01-01.xml new file mode 100644 index 00000000..3be0b599 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdm1ob3N0cGF5bG9hZHM=/2024-01-01.xml @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +