Share via


LabPlansOperationsExtensions.ListBySubscriptionAsync Method

Definition

Get all lab plans for a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.LabServices.Models.LabPlan>> ListBySubscriptionAsync (this Microsoft.Azure.Management.LabServices.ILabPlansOperations operations, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListBySubscriptionAsync : Microsoft.Azure.Management.LabServices.ILabPlansOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.LabServices.Models.LabPlan>>
<Extension()>
Public Function ListBySubscriptionAsync (operations As ILabPlansOperations, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of LabPlan))

Parameters

operations
ILabPlansOperations

The operations group for this extension method.

filter
String

The filter to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Returns a list of all lab plans within a subscription

Applies to