DesktopVirtualizationExtensions.GetVirtualApplicationGroups 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.
Overloads
GetVirtualApplicationGroups(SubscriptionResource, String, CancellationToken) |
List applicationGroups in subscription.
|
GetVirtualApplicationGroups(ResourceGroupResource) |
Gets a collection of VirtualApplicationGroupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVirtualApplicationGroups() instead. |
GetVirtualApplicationGroups(SubscriptionResource, String, CancellationToken)
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.Pageable<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationGroupResource> GetVirtualApplicationGroups (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetVirtualApplicationGroups : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationGroupResource>
<Extension()>
Public Function GetVirtualApplicationGroups (subscriptionResource As SubscriptionResource, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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
A collection of VirtualApplicationGroupResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
GetVirtualApplicationGroups(ResourceGroupResource)
Gets a collection of VirtualApplicationGroupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVirtualApplicationGroups() instead.
public static Azure.ResourceManager.DesktopVirtualization.VirtualApplicationGroupCollection GetVirtualApplicationGroups (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetVirtualApplicationGroups : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.DesktopVirtualization.VirtualApplicationGroupCollection
<Extension()>
Public Function GetVirtualApplicationGroups (resourceGroupResource As ResourceGroupResource) As VirtualApplicationGroupCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of VirtualApplicationGroupResources and their operations over a VirtualApplicationGroupResource.
Exceptions
resourceGroupResource
is null.