NewRelicObservabilityExtensions.GetNewRelicPlansAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET