Share via


NewRelicObservabilityExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.NewRelicObservability.

public static class NewRelicObservabilityExtensions
type NewRelicObservabilityExtensions = class
Public Module NewRelicObservabilityExtensions
Inheritance
NewRelicObservabilityExtensions

Methods

GetNewRelicAccounts(SubscriptionResource, String, AzureLocation, CancellationToken)

List all the existing accounts

  • Request Path: /subscriptions/{subscriptionId}/providers/NewRelic.Observability/accounts
  • Operation Id: Accounts_List
  • Default Api Version: 2024-03-01
<item>MockingTo mock this method, please mock GetNewRelicAccounts(String, AzureLocation, CancellationToken) instead.</item>
GetNewRelicAccountsAsync(SubscriptionResource, String, AzureLocation, CancellationToken)

List all the existing accounts

  • Request Path: /subscriptions/{subscriptionId}/providers/NewRelic.Observability/accounts
  • Operation Id: Accounts_List
  • Default Api Version: 2024-03-01
<item>MockingTo mock this method, please mock GetNewRelicAccounts(String, AzureLocation, CancellationToken) instead.</item>
GetNewRelicMonitoredSubscriptionResource(ArmClient, ResourceIdentifier)

Gets an object representing a NewRelicMonitoredSubscriptionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, MonitoredSubscriptionConfigurationName) to create a NewRelicMonitoredSubscriptionResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetNewRelicMonitoredSubscriptionResource(ResourceIdentifier) instead.</item>

GetNewRelicMonitorResource(ArmClient, ResourceIdentifier)

Gets an object representing a NewRelicMonitorResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a NewRelicMonitorResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetNewRelicMonitorResource(ResourceIdentifier) instead.</item>

GetNewRelicMonitorResource(ResourceGroupResource, String, CancellationToken)

Get a NewRelicMonitorResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}
  • Operation Id: Monitors_Get
  • Default Api Version: 2024-03-01
  • Resource: NewRelicMonitorResource
<item>MockingTo mock this method, please mock GetNewRelicMonitorResource(String, CancellationToken) instead.</item>
GetNewRelicMonitorResourceAsync(ResourceGroupResource, String, CancellationToken)

Get a NewRelicMonitorResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}
  • Operation Id: Monitors_Get
  • Default Api Version: 2024-03-01
  • Resource: NewRelicMonitorResource
<item>MockingTo mock this method, please mock GetNewRelicMonitorResourceAsync(String, CancellationToken) instead.</item>
GetNewRelicMonitorResources(ResourceGroupResource)

Gets a collection of NewRelicMonitorResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetNewRelicMonitorResources() instead.</item>

GetNewRelicMonitorResources(SubscriptionResource, CancellationToken)

List NewRelicMonitorResource resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/NewRelic.Observability/monitors
  • Operation Id: Monitors_ListBySubscription
  • Default Api Version: 2024-03-01
  • Resource: NewRelicMonitorResource
<item>MockingTo mock this method, please mock GetNewRelicMonitorResources(CancellationToken) instead.</item>
GetNewRelicMonitorResourcesAsync(SubscriptionResource, CancellationToken)

List NewRelicMonitorResource resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/NewRelic.Observability/monitors
  • Operation Id: Monitors_ListBySubscription
  • Default Api Version: 2024-03-01
  • Resource: NewRelicMonitorResource
<item>MockingTo mock this method, please mock GetNewRelicMonitorResources(CancellationToken) instead.</item>
GetNewRelicObservabilityTagRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a NewRelicObservabilityTagRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a NewRelicObservabilityTagRuleResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetNewRelicObservabilityTagRuleResource(ResourceIdentifier) instead.</item>

GetNewRelicOrganizations(SubscriptionResource, String, AzureLocation, CancellationToken)

List all the existing organizations

  • Request Path: /subscriptions/{subscriptionId}/providers/NewRelic.Observability/organizations
  • Operation Id: Organizations_List
  • Default Api Version: 2024-03-01
<item>MockingTo mock this method, please mock GetNewRelicOrganizations(String, AzureLocation, CancellationToken) instead.</item>
GetNewRelicOrganizationsAsync(SubscriptionResource, String, AzureLocation, CancellationToken)

List all the existing organizations

  • Request Path: /subscriptions/{subscriptionId}/providers/NewRelic.Observability/organizations
  • Operation Id: Organizations_List
  • Default Api Version: 2024-03-01
<item>MockingTo mock this method, please mock GetNewRelicOrganizations(String, AzureLocation, CancellationToken) instead.</item>
GetNewRelicPlans(SubscriptionResource, String, String, CancellationToken)

List plans data

  • Request Path: /subscriptions/{subscriptionId}/providers/NewRelic.Observability/plans
  • Operation Id: Plans_List
  • Default Api Version: 2024-03-01
<item>MockingTo mock this method, please mock GetNewRelicPlans(String, String, CancellationToken) instead.</item>
GetNewRelicPlansAsync(SubscriptionResource, String, String, CancellationToken)

List plans data

  • Request Path: /subscriptions/{subscriptionId}/providers/NewRelic.Observability/plans
  • Operation Id: Plans_List
  • Default Api Version: 2024-03-01
<item>MockingTo mock this method, please mock GetNewRelicPlans(String, String, CancellationToken) instead.</item>

Applies to