Share via


az new-relic monitor

Note

This reference is part of the new-relic extension for the Azure CLI (version 2.57.0 or higher). The extension will automatically install the first time you run an az new-relic monitor command. Learn more about extensions.

Manage NewRelic Monitor resource.

Commands

Name Description Type Status
az new-relic monitor create

Create a NewRelicMonitorResource.

Extension GA
az new-relic monitor delete

Delete a NewRelicMonitorResource.

Extension GA
az new-relic monitor get-billing-info

Get marketplace info mapped to the given monitor.

Extension GA
az new-relic monitor get-metric-rule

Get metric rules.

Extension GA
az new-relic monitor get-metric-statu

Get metric status.

Extension GA
az new-relic monitor list

List NewRelicMonitorResource resources.

Extension GA
az new-relic monitor list-app-service

List the app service resources currently being monitored by the NewRelic resource.

Extension GA
az new-relic monitor list-connected-partner-resource

List of all active deployments that are associated with the marketplace subscription linked to the given monitor.

Extension GA
az new-relic monitor list-host

List the compute vm resources currently being monitored by the NewRelic resource.

Extension GA
az new-relic monitor list-linked-resource

List all Azure resources associated to the same NewRelic organization and account as the target resource.

Extension GA
az new-relic monitor monitored-resource

List the resources currently being monitored by the NewRelic monitor resource.

Extension GA
az new-relic monitor monitored-subscription

Manage list of subscriptions and the state of the monitoring.

Extension GA
az new-relic monitor monitored-subscription create

Create the subscriptions that should be monitored by the NewRelic monitor resource.

Extension GA
az new-relic monitor monitored-subscription delete

Delete the subscriptions that are being monitored by the NewRelic monitor resource.

Extension GA
az new-relic monitor monitored-subscription show

Get the subscriptions currently being monitored by the NewRelic monitor resource.

Extension GA
az new-relic monitor monitored-subscription update

Update the subscriptions that should be monitored by the NewRelic monitor resource.

Extension GA
az new-relic monitor monitored-subscription wait

Place the CLI in a waiting state until a condition is met.

Extension GA
az new-relic monitor show

Get a NewRelicMonitorResource.

Extension GA
az new-relic monitor switch-billing

Switches the billing for NewRelic monitor resource.

Extension GA
az new-relic monitor tag-rule

Manage tag rule of a NewRelic Monitor resource.

Extension GA
az new-relic monitor tag-rule create

Create a TagRule.

Extension GA
az new-relic monitor tag-rule delete

Delete a TagRule.

Extension GA
az new-relic monitor tag-rule list

List TagRule resources by NewRelicMonitorResource.

Extension GA
az new-relic monitor tag-rule show

Get a TagRule.

Extension GA
az new-relic monitor tag-rule update

Update a TagRule.

Extension GA
az new-relic monitor tag-rule wait

Place the CLI in a waiting state until a condition is met.

Extension GA
az new-relic monitor vm-host-payload

Returns the payload that needs to be passed in the request body for installing NewRelic agent on a VM.

Extension GA
az new-relic monitor wait

Place the CLI in a waiting state until a condition is met.

Extension GA

az new-relic monitor create

Create a NewRelicMonitorResource.

az new-relic monitor create --monitor-name
                            --resource-group
                            [--account-creation-source {LIFTR, NEWRELIC}]
                            [--identity]
                            [--location]
                            [--new-relic-account]
                            [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                            [--org-creation-source {LIFTR, NEWRELIC}]
                            [--plan-data]
                            [--tags]
                            [--user-info]

Examples

Create a NewRelicMonitorResource.

az 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

Required Parameters

--monitor-name --name -n

Name of the Monitors resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

Optional Parameters

--account-creation-source --account-source

Source of account creation.

Accepted values: LIFTR, NEWRELIC
--identity

The managed service identities assigned to this resource. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--location -l

The geo-location where the resource lives When not specified, the location of the resource group will be used. When not specified, the location of the resource group will be used.

--new-relic-account

MarketplaceSubscriptionStatus of the resource Support shorthand-syntax, json-file and yaml-file. Try "??" to show Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--no-wait

Do not wait for the long-running operation to finish.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--org-creation-source

Source of org creation.

Accepted values: LIFTR, NEWRELIC
--plan-data

Plan details Support shorthand-syntax, json-file and yaml-file. Try "??" to show more. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--tags

Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--user-info

User Info Support shorthand-syntax, json-file and yaml-file. Try "??" to show more. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az new-relic monitor delete

Delete a NewRelicMonitorResource.

az new-relic monitor delete --user-email
                            [--ids]
                            [--monitor-name]
                            [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                            [--resource-group]
                            [--subscription]

Examples

Delete a NewRelicMonitorResource.

az new-relic monitor delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com

Required Parameters

--user-email

User Email.

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name --name -n

Name of the Monitoring resource.

--no-wait

Do not wait for the long-running operation to finish.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az new-relic monitor get-billing-info

Get marketplace info mapped to the given monitor.

az new-relic monitor get-billing-info [--g]
                                      [--ids]
                                      [--monitor-name]
                                      [--subscription]

Examples

Get marketplace info mapped to the given monitor.

az new-relic monitor get-billing-info --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup

Optional Parameters

--g --resource-group

Name of resource group. You can configure the default group using az configure --defaults group=.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name

Name of the Monitoring resource.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az new-relic monitor get-metric-rule

Get metric rules.

az new-relic monitor get-metric-rule --user-email
                                     [--ids]
                                     [--monitor-name]
                                     [--resource-group]
                                     [--subscription]

Examples

Get metric rules.

az new-relic monitor get-metric-rule --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup --user-email UserEmail@123.com

Required Parameters

--user-email

User Email.

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name --name -n

Name of the Monitoring resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az new-relic monitor get-metric-statu

Get metric status.

az new-relic monitor get-metric-statu --user-email
                                      [--azure-resource-ids]
                                      [--ids]
                                      [--monitor-name]
                                      [--resource-group]
                                      [--subscription]

Examples

Get metric status.

az new-relic monitor get-metric-statu --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --azure-resource-ids MyAzureResourceIds

Required Parameters

--user-email

User Email.

Optional Parameters

--azure-resource-ids

Azure resource IDs Support shorthand-syntax, json-file and yaml-file. Try "??" to show more. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name --name -n

Name of the Monitoring resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az new-relic monitor list

List NewRelicMonitorResource resources.

az new-relic monitor list [--max-items]
                          [--next-token]
                          [--resource-group]

Examples

List NewRelicMonitorResource resources by subscription ID

az new-relic monitor list

Optional Parameters

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az new-relic monitor list-app-service

List the app service resources currently being monitored by the NewRelic resource.

az new-relic monitor list-app-service --monitor-name
                                      --resource-group
                                      --user-email
                                      [--azure-resource-ids]
                                      [--max-items]
                                      [--next-token]

Examples

List the app service resources currently being monitored by the NewRelic resource.

az new-relic monitor list-app-service --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --azure-resource-ids MyAzureResourceIds

Required Parameters

--monitor-name --name -n

Name of the Monitoring resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--user-email

User Email.

Optional Parameters

--azure-resource-ids

Azure resource IDs Support shorthand-syntax, json-file and yaml-file. Try "??" to show more. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az new-relic monitor list-connected-partner-resource

List of all active deployments that are associated with the marketplace subscription linked to the given monitor.

az new-relic monitor list-connected-partner-resource --monitor-name
                                                     --resource-group
                                                     [--body]
                                                     [--max-items]
                                                     [--next-token]

Examples

List of all active deployments that are associated with the marketplace subscription linked to the given monitor.

az new-relic monitor list-connected-partner-resource --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor

Required Parameters

--monitor-name

Name of the Monitoring resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

Optional Parameters

--body

Reusable representation of an email address.

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az new-relic monitor list-host

List the compute vm resources currently being monitored by the NewRelic resource.

az new-relic monitor list-host --monitor-name
                               --resource-group
                               --user-email
                               [--max-items]
                               [--next-token]
                               [--vm-ids]

Examples

List the compute vm resources currently being monitored by the NewRelic resource.

az new-relic monitor list-host --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --vm-ids MyVmIds

Required Parameters

--monitor-name --name -n

Name of the Monitoring resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--user-email

User Email.

Optional Parameters

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

--vm-ids

VM resource IDs Support shorthand-syntax, json-file and yaml-file. Try "??" to show more. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az new-relic monitor list-linked-resource

List all Azure resources associated to the same NewRelic organization and account as the target resource.

az new-relic monitor list-linked-resource --monitor-name
                                          --resource-group
                                          [--max-items]
                                          [--next-token]

Examples

List all Azure resources associated to the same NewRelic organization and account as the target resource.

az new-relic monitor list-linked-resource --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup

Required Parameters

--monitor-name

Name of the Monitoring resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

Optional Parameters

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az new-relic monitor monitored-resource

List the resources currently being monitored by the NewRelic monitor resource.

az new-relic monitor monitored-resource --monitor-name
                                        --resource-group
                                        [--max-items]
                                        [--next-token]

Examples

List the resources currently being monitored by the NewRelic monitor resource.

az new-relic monitor monitored-resource --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup

Required Parameters

--monitor-name --name -n

Name of the Monitoring resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

Optional Parameters

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az new-relic monitor show

Get a NewRelicMonitorResource.

az new-relic monitor show [--ids]
                          [--monitor-name]
                          [--resource-group]
                          [--subscription]

Examples

Get a NewRelicMonitorResource.

az new-relic monitor show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name --name -n

Name of the Monitoring resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az new-relic monitor switch-billing

Switches the billing for NewRelic monitor resource.

az new-relic monitor switch-billing --user-email
                                    [--azure-resource-id]
                                    [--ids]
                                    [--monitor-name]
                                    [--organization-id]
                                    [--plan-data]
                                    [--resource-group]
                                    [--subscription]

Examples

Switches the billing for NewRelic monitor resource.

az 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="nr-privateofferplan03-upfront@TID5xd5yfrmr6no@PUBIDnewrelicinc-privateoffers.nr-privateoffers1" usage-type="COMMITTED"

Required Parameters

--user-email

User Email.

Optional Parameters

--azure-resource-id

Azure resource Id.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name

Name of the Monitoring resource.

--organization-id

Organization id.

--plan-data

Plan details Support shorthand-syntax, json-file and yaml-file. Try "??" to show more. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az new-relic monitor vm-host-payload

Returns the payload that needs to be passed in the request body for installing NewRelic agent on a VM.

az new-relic monitor vm-host-payload [--ids]
                                     [--monitor-name]
                                     [--resource-group]
                                     [--subscription]

Examples

Get MonitorsVmHostPayload.

az monitor vm-host-payload --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name

Name of the Monitoring resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az new-relic monitor wait

Place the CLI in a waiting state until a condition is met.

az new-relic monitor wait [--created]
                          [--custom]
                          [--deleted]
                          [--exists]
                          [--ids]
                          [--interval]
                          [--monitor-name]
                          [--resource-group]
                          [--subscription]
                          [--timeout]
                          [--updated]

Optional Parameters

--created

Wait until created with 'provisioningState' at 'Succeeded'.

Default value: False
--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wait until deleted.

Default value: False
--exists

Wait until the resource exists.

Default value: False
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--interval

Polling interval in seconds.

Default value: 30
--monitor-name --name -n

Name of the Monitoring resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--timeout

Maximum wait in seconds.

Default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.