Share via


DesktopVirtualizationExtensions.GetVirtualApplicationGroupsAsync Method

Definition

List applicationGroups in subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups
  • Operation Id: ApplicationGroups_ListBySubscription
  • Default Api Version: 2024-04-03
  • Resource: VirtualApplicationGroupResource
public static Azure.AsyncPageable<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationGroupResource> GetVirtualApplicationGroupsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetVirtualApplicationGroupsAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationGroupResource>
<Extension()>
Public Function GetVirtualApplicationGroupsAsync (subscriptionResource As SubscriptionResource, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualApplicationGroupResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

filter
String

OData filter expression. Valid properties for filtering are applicationGroupType.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to