Share via


LabServicesExtensions.GetLabPlansAsync Méthode

Définition

Retourne une liste de tous les plans lab au sein d’un abonnement

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.LabServices/labPlans
  • IdLabPlans_ListBySubscription d’opération
public static Azure.AsyncPageable<Azure.ResourceManager.LabServices.LabPlanResource> GetLabPlansAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetLabPlansAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.LabServices.LabPlanResource>
<Extension()>
Public Function GetLabPlansAsync (subscriptionResource As SubscriptionResource, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of LabPlanResource)

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

filter
String

Filtre à appliquer à l’opération.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Collection asynchrone de qui peut nécessiter plusieurs demandes de LabPlanResource service pour itérer.

S’applique à