Share via


NewRelicObservabilityExtensions.GetNewRelicPlansAsync 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.AsyncPageable<Azure.ResourceManager.NewRelicObservability.Models.NewRelicPlanData> GetNewRelicPlansAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string accountId = default, string organizationId = default, System.Threading.CancellationToken cancellationToken = default);
static member GetNewRelicPlansAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NewRelicObservability.Models.NewRelicPlanData>
<Extension()>
Public Function GetNewRelicPlansAsync (subscriptionResource As SubscriptionResource, Optional accountId As String = Nothing, Optional organizationId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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

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

Exceptions

subscriptionResource is null.

Applies to