Skip to content
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
4 changes: 4 additions & 0 deletions src/new-relic/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

1.0.2
++++++
* Updated CLI command descriptions.

1.0.1
++++++
* Update module documentation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic",
)
class __CMDGroup(AAZCommandGroup):
"""Manage Azure NewRelic resources.
"""Manage Azure New Relic resources.
"""
pass

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic account",
)
class __CMDGroup(AAZCommandGroup):
"""Manage NewRelic Account resource
"""Manage the New Relic account.
"""
pass

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic account list",
)
class List(AAZCommand):
"""List all the existing accounts
"""Lists all the New Relic accounts in your Azure subscription, helping you understand the existing accounts that have been created.

:example: List all the existing accounts.
az new-relic account list --location eastus2euap --user-email [email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor",
)
class __CMDGroup(AAZCommandGroup):
"""Manage NewRelic Monitor resource
"""Provides a set of commands to manage New Relic monitor resources in your Azure subscription, enabling integration and observability of your Azure resources through New Relic.
"""
pass

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor create",
)
class Create(AAZCommand):
"""Create a NewRelicMonitorResource
"""Creates a new New Relic monitor resource in your Azure subscription. This sets up the integration between Azure and your New Relic account, enabling observability and monitoring of your Azure resources through New Relic.
:example: 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="[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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor delete",
)
class Delete(AAZCommand):
"""Delete a NewRelicMonitorResource
"""Deletes an existing New Relic monitor resource from your Azure subscription, removing the integration and stopping the observability of your Azure resources through New Relic.
:example: Delete a NewRelicMonitorResource.
az new-relic monitor delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email [email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor get-billing-info",
)
class GetBillingInfo(AAZCommand):
"""Get marketplace info mapped to the given monitor.
"""Retrieve marketplace and organization billing information mapped to the given New Relic monitor resource.

:example: Get marketplace info mapped to the given monitor.
az new-relic monitor get-billing-info --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor get-metric-rule",
)
class GetMetricRule(AAZCommand):
"""Get metric rules
"""Retrieves the metric rules that are configured in the New Relic monitor resource.

:example: Get metric rules.
az new-relic monitor get-metric-rule --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup --user-email [email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor get-metric-statu",
)
class GetMetricStatu(AAZCommand):
"""Get metric status
"""Retrieves the metric status that are configured in the New Relic monitor resource.
:example: Get metric status.
az new-relic monitor get-metric-statu --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email [email protected] --azure-resource-ids MyAzureResourceIds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor list",
)
class List(AAZCommand):
"""List NewRelicMonitorResource resources
"""Retrieves a list of all New Relic monitor resources either within a specific resource group or across the entire subscription, helping you quickly audit and manage your monitoring setup.

:example: List NewRelicMonitorResource resources by subscription ID
az new-relic monitor list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor list-app-service",
)
class ListAppService(AAZCommand):
"""List the app service resources currently being monitored by the NewRelic resource.
"""Lists the app service resources currently being monitored by the New Relic resource, helping you understand which app services are under monitoring.

:example: 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 [email protected] --azure-resource-ids MyAzureResourceIds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor list-connected-partner-resource",
)
class ListConnectedPartnerResource(AAZCommand):
"""List of all active deployments that are associated with the marketplace subscription linked to the given monitor.
"""List all active deployments associated with the marketplace subscription linked to the given New Relic monitor resource.

:example: 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor list-host",
)
class ListHost(AAZCommand):
"""List the compute vm resources currently being monitored by the NewRelic resource.
"""List all VM resources currently being monitored by the New Relic monitor resource, helping you manage observability.

:example: 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 [email protected] --vm-ids MyVmIds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor list-linked-resource",
)
class ListLinkedResource(AAZCommand):
"""List all Azure resources associated to the same NewRelic organization and account as the target resource.
"""Lists all Azure resources that are linked to the same New Relic organization as the specified monitor resource, helping you understand the scope of integration.

:example: 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor monitored-resource",
)
class MonitoredResource(AAZCommand):
"""List the resources currently being monitored by the NewRelic monitor resource.
"""Lists all Azure resources that are currently being monitored by the specified New Relic monitor resource, providing insight into the coverage of your observability setup.

:example: List the resources currently being monitored by the NewRelic monitor resource.
az new-relic monitor monitored-resource --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor show",
)
class Show(AAZCommand):
"""Get a NewRelicMonitorResource
"""Retrieves the properties and configuration details of a specific New Relic monitor resource, providing insight into its setup and status.

:example: Get a NewRelicMonitorResource.
az new-relic monitor show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor switch-billing",
)
class SwitchBilling(AAZCommand):
"""Switches the billing for NewRelic monitor resource.
"""Switches the billing for the New Relic Monitor resource to be billed by Azure Marketplace.

:example: 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="[email protected]" --plan-data billing-cycle="MONTHLY" effective-date='2022-10-25T15:14:33+02:00' plan-details="nr-privateofferplan03-upfront@[email protected]" usage-type="COMMITTED"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor vm-host-payload",
)
class VmHostPayload(AAZCommand):
"""Returns the payload that needs to be passed in the request body for installing NewRelic agent on a VM.
"""Returns the payload that needs to be passed in the request body for installing the New Relic agent on a VM, providing the necessary configuration details.

:example: Get MonitorsVmHostPayload.
az monitor vm-host-payload --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor monitored-subscription",
)
class __CMDGroup(AAZCommandGroup):
"""Manage list of subscriptions and the state of the monitoring.
"""Manage subscriptions monitored by the New Relic monitor resource, ensuring optimal observability and performance.
"""
pass

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"new-relic monitor monitored-subscription create",
)
class Create(AAZCommand):
"""Create the subscriptions that should be monitored by the NewRelic monitor resource.
"""Create subscriptions to be monitored by the New Relic monitor resource, enabling observability and monitoring.

:example: Create the subscriptions that should be monitored by the NewRelic monitor resource.
Please run below commands in the mentioned order
1) az new-relic monitor monitored-subscription create --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default --patch-operation AddBegin --subscriptions "[{status:'InProgress',subscription-id:'subscription-id'}]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor monitored-subscription delete",
)
class Delete(AAZCommand):
"""Delete the subscriptions that are being monitored by the NewRelic monitor resource
"""Delete subscriptions being monitored by the New Relic monitor resource, removing their observability and monitoring capabilities.

:example: Delete the subscriptions that are being monitored by the NewRelic monitor resource
az new-relic monitor monitored-subscription delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor monitored-subscription show",
)
class Show(AAZCommand):
"""Get the subscriptions currently being monitored by the NewRelic monitor resource.
"""Get detailed information about all subscriptions currently being monitored by the New Relic monitor resource.

:example: List the subscriptions currently being monitored by the NewRelic monitor resource.
az new-relic monitor monitored-subscription show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"new-relic monitor monitored-subscription update",
)
class Update(AAZCommand):
"""Update the subscriptions that should be monitored by the NewRelic monitor resource.
"""Update subscriptions to be monitored by the New Relic monitor resource, ensuring optimal observability and performance.

:example: Update the subscriptions that should be monitored by the NewRelic monitor resource.
Please run below commands in the mentioned order
1) az new-relic monitor monitored-subscription update --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default --patch-operation AddBegin --subscriptions "[{status:'InProgress',subscription-id:'subscription-id'}]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor tag-rule",
)
class __CMDGroup(AAZCommandGroup):
"""Manage tag rule of a NewRelic Monitor resource
"""Provides a set of commands to manage tag rules for New Relic monitor resources, allowing you to control which Azure resources are monitored based on their tags.
"""
pass

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor tag-rule create",
)
class Create(AAZCommand):
"""Create a TagRule
"""Creates a new set of tag rules for a specific New Relic monitor resource, determining which Azure resources are monitored based on their tags.

:example: Create a TagRule.
az 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:[{name:'Environment',value:'Prod',action:'Include'}]}" --metric-rules "{user-email:'[email protected]',filtering-tags:[{name:'Environment',value:'Prod',action:'Include'}]}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor tag-rule delete",
)
class Delete(AAZCommand):
"""Delete a TagRule
"""Delete a tag rule set for a given New Relic monitor resource, removing fine-grained control over observability based on resource tags.

:example: Delete a TagRule.
az new-relic monitor tag-rule delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor tag-rule list",
)
class List(AAZCommand):
"""List TagRule resources by NewRelicMonitorResource
"""Lists all tag rules associated with a specific New Relic monitor resource, helping you manage and audit the rules that control resource monitoring.

:example: List TagRule resources by NewRelicMonitorResource.
az new-relic monitor tag-rule list --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor tag-rule show",
)
class Show(AAZCommand):
"""Get a TagRule
"""Retrieves the details of the tag rules for a specific New Relic monitor resource, providing insight into its setup and status.

:example: Get a TagRule.
az new-relic monitor tag-rule show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic monitor tag-rule update",
)
class Update(AAZCommand):
"""Update a TagRule
"""Updates the tag rules for a specific New Relic monitor resource, allowing you to modify the rules that control which Azure resources are monitored.

:example: Update a TagRule.
az 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:'Enabled',filtering-tags:[{name:'Environment',value:'Prod',action:'Include'}]}" --metric-rules "{user-email:'[email protected]',filtering-tags:[{name:'Environment',value:'Prod',action:'Include'}]}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic organization",
)
class __CMDGroup(AAZCommandGroup):
"""Manage NewRelic Organization resource
"""Manage the New Relic organization.
"""
pass

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic organization list",
)
class List(AAZCommand):
"""List all the existing organizations
"""Lists all the New Relic organizations in your Azure subscription, helping you understand the existing organizations that have been created.

:example: List all the existing organizations.
az new-relic organization list --location eastus2euap --user-email [email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic plan",
)
class __CMDGroup(AAZCommandGroup):
"""Manage NewRelic Plan resource
"""Manages the New Relic plans.
"""
pass

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"new-relic plan list",
)
class List(AAZCommand):
"""List plans data
"""Lists all the plans data in your Azure subscription, providing an overview of the available plans.

:example: List plans data.
az new-relic plan list --account-id MyAccountId --organization-id MyOrganizationId
Expand Down
2 changes: 1 addition & 1 deletion src/new-relic/azext_new_relic/azext_metadata.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"azext.minCliCoreVersion": "2.57.0"
"azext.minCliCoreVersion": "2.61.0"
}
2 changes: 1 addition & 1 deletion src/new-relic/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


# HISTORY.rst entry.
VERSION = '1.0.1'
VERSION = '1.0.2'

# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down
Loading