MockableLabServicesSubscriptionResource.GetLabPlansAsync Method

Definition

Returns a list of all lab plans within a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/labPlans
  • Operation Id: LabPlans_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.LabServices.LabPlanResource> GetLabPlansAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLabPlansAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.LabServices.LabPlanResource>
override this.GetLabPlansAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.LabServices.LabPlanResource>
Public Overridable Function GetLabPlansAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of LabPlanResource)

Parameters

filter
String

The filter to apply to the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to