Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release New-Relic CLI for stable version 2024-01-01 #603

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Commands/new-relic/account/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ List all the existing accounts
```bash
new-relic account list --location eastus2euap --user-email [email protected]
```

### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvYWNjb3VudHM=/2024-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/newrelic.observability/accounts 2024-01-01 -->

#### examples

- List all the existing accounts.
```bash
new-relic account list --location eastus2euap --user-email [email protected]
```
11 changes: 11 additions & 0 deletions Commands/new-relic/monitor/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]" 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@[email protected]_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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{} 2024-01-01 -->

#### 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="[email protected]" 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@[email protected]_liftr_payg" usage-type="PAYG" --account-creation-source "LIFTR" --org-creation-source "LIFTR" --tags key6976=oaxfhf
```
11 changes: 11 additions & 0 deletions Commands/new-relic/monitor/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Delete a NewRelicMonitorResource
```bash
new-relic monitor delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email [email protected]
```

### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{} 2024-01-01 -->

#### examples

- Delete a NewRelicMonitorResource.
```bash
new-relic monitor delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email [email protected]
```
16 changes: 16 additions & 0 deletions Commands/new-relic/monitor/_get-billing-info.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getbillinginfo 2024-01-01 -->

#### examples

- Get marketplace info mapped to the given monitor.
```bash
new-relic monitor get-billing-info --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/new-relic/monitor/_get-metric-rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Get metric rules
```bash
new-relic monitor get-metric-rule --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup --user-email [email protected]
```

### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljcnVsZXM=/2024-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricrules 2024-01-01 -->

#### examples

- Get metric rules.
```bash
new-relic monitor get-metric-rule --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup --user-email [email protected]
```
11 changes: 11 additions & 0 deletions Commands/new-relic/monitor/_get-metric-statu.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Get metric status
```bash
new-relic monitor get-metric-statu --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email [email protected] --azure-resource-ids MyAzureResourceIds
```

### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljc3RhdHVz/2024-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricstatus 2024-01-01 -->

#### examples

- Get metric status.
```bash
new-relic monitor get-metric-statu --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email [email protected] --azure-resource-ids MyAzureResourceIds
```
11 changes: 11 additions & 0 deletions Commands/new-relic/monitor/_list-app-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected] --azure-resource-ids MyAzureResourceIds
```

### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGFwcHNlcnZpY2Vz/2024-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listappservices 2024-01-01 -->

#### 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 [email protected] --azure-resource-ids MyAzureResourceIds
```
16 changes: 16 additions & 0 deletions Commands/new-relic/monitor/_list-connected-partner-resource.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listconnectedpartnerresources 2024-01-01 -->

#### 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 [email protected]
```
11 changes: 11 additions & 0 deletions Commands/new-relic/monitor/_list-host.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected] --vm-ids MyVmIds
```

### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGhvc3Rz/2024-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listhosts 2024-01-01 -->

#### 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 [email protected] --vm-ids MyVmIds
```
16 changes: 16 additions & 0 deletions Commands/new-relic/monitor/_list-linked-resource.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listlinkedresources 2024-01-01 -->

#### 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
```
12 changes: 12 additions & 0 deletions Commands/new-relic/monitor/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,15 @@ List NewRelicMonitorResource resources
```bash
new-relic monitor list
```

### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/newrelic.observability/monitors 2024-01-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors 2024-01-01 -->

#### examples

- List NewRelicMonitorResource resources by subscription ID
```bash
new-relic monitor list
```
11 changes: 11 additions & 0 deletions Commands/new-relic/monitor/_monitored-resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredresources 2024-01-01 -->

#### examples

- List the resources currently being monitored by the NewRelic monitor resource.
```bash
new-relic monitor monitored-resource --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/new-relic/monitor/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{} 2024-01-01 -->

#### examples

- Get a NewRelicMonitorResource.
```bash
new-relic monitor show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor
```
11 changes: 11 additions & 0 deletions Commands/new-relic/monitor/_switch-billing.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,14 @@ Switches the billing for NewRelic monitor resource.
### [2022-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vc3dpdGNoYmlsbGluZw==/2022-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/switchbilling 2022-07-01 -->

### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vc3dpdGNoYmlsbGluZw==/2024-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/switchbilling 2024-01-01 -->

#### 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="[email protected]" --plan-data billing-cycle="MONTHLY" effective-date='2022-10-25T15:14:33+02:00' plan-details="newrelic-pay-as-you-go-free-live@[email protected]_liftr_payg" usage-type="PAYG"
```
11 changes: 11 additions & 0 deletions Commands/new-relic/monitor/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,14 @@ Update a NewRelicMonitorResource
### [2022-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2022-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{} 2022-07-01 -->

### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{} 2024-01-01 -->

#### examples

- Update a NewRelicMonitorResource
```bash
new-relic monitor update --resource-group MyResourceGroup --name MyNewRelicMonitor --user-info first-name="vdftzcggiref" last-name="bcsztgqovdlmzf" email-address="[email protected]" 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@[email protected]_liftr_payg" usage-type="PAYG" --account-creation-source "LIFTR" --org-creation-source "LIFTR" --tags key6976=oaxfhf
```
11 changes: 11 additions & 0 deletions Commands/new-relic/monitor/_vm-host-payload.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/vmhostpayloads 2024-01-01 -->

#### examples

- Get MonitorsVmHostPayload.
```bash
monitor vm-host-payload --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup
```
16 changes: 16 additions & 0 deletions Commands/new-relic/monitor/monitored-subscription/_create.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{} 2024-01-01 -->

#### 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"="[email protected]",filtering-tags=[{"name":"Environment","value":"Prod","action":"Include"}]}]
```
16 changes: 16 additions & 0 deletions Commands/new-relic/monitor/monitored-subscription/_delete.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{} 2024-01-01 -->

#### 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
```
16 changes: 16 additions & 0 deletions Commands/new-relic/monitor/monitored-subscription/_list.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions 2024-01-01 -->

#### 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
```
16 changes: 16 additions & 0 deletions Commands/new-relic/monitor/monitored-subscription/_show.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{} 2024-01-01 -->

#### 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
```
16 changes: 16 additions & 0 deletions Commands/new-relic/monitor/monitored-subscription/_update.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{} 2024-01-01 -->

#### 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"="[email protected]",filtering-tags=[{"name":"Environment","value":"Prod","action":"Include"}]}]
```
20 changes: 20 additions & 0 deletions Commands/new-relic/monitor/monitored-subscription/readme.md
Original file line number Diff line number Diff line change
@@ -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.
Loading
Loading