다음을 통해 공유


DesktopVirtualizationExtensions.GetAppAttachPackages Method

Definition

Overloads

GetAppAttachPackages(ResourceGroupResource)

Gets a collection of AppAttachPackageResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAppAttachPackages() instead.

GetAppAttachPackages(SubscriptionResource, String, CancellationToken)

List App Attach packages in subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/appAttachPackages
  • Operation Id: AppAttachPackage_ListBySubscription
  • Default Api Version: 2024-04-03
  • Resource: AppAttachPackageResource

GetAppAttachPackages(ResourceGroupResource)

Source:
DesktopVirtualizationExtensions.cs

Gets a collection of AppAttachPackageResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAppAttachPackages() instead.

public static Azure.ResourceManager.DesktopVirtualization.AppAttachPackageCollection GetAppAttachPackages (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetAppAttachPackages : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.DesktopVirtualization.AppAttachPackageCollection
<Extension()>
Public Function GetAppAttachPackages (resourceGroupResource As ResourceGroupResource) As AppAttachPackageCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of AppAttachPackageResources and their operations over a AppAttachPackageResource.

Exceptions

resourceGroupResource is null.

Applies to

GetAppAttachPackages(SubscriptionResource, String, CancellationToken)

Source:
DesktopVirtualizationExtensions.cs

List App Attach packages in subscription.

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

filter
String

OData filter expression. Valid properties for filtering are package name, host pool, and resource group.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of AppAttachPackageResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to