Share via


NewRelicObservabilityExtensions.GetNewRelicPlans Method

Definition

List plans data

  • Request Path: /subscriptions/{subscriptionId}/providers/NewRelic.Observability/plans
  • Operation Id: Plans_List
  • Default Api Version: 2024-03-01
public static Azure.Pageable<Azure.ResourceManager.NewRelicObservability.Models.NewRelicPlanData> GetNewRelicPlans (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string accountId = default, string organizationId = default, System.Threading.CancellationToken cancellationToken = default);
static member GetNewRelicPlans : Azure.ResourceManager.Resources.SubscriptionResource * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NewRelicObservability.Models.NewRelicPlanData>
<Extension()>
Public Function GetNewRelicPlans (subscriptionResource As SubscriptionResource, Optional accountId As String = Nothing, Optional organizationId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NewRelicPlanData)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

accountId
String

Account Id.

organizationId
String

Organization Id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of NewRelicPlanData that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to