Freigeben über


DesktopVirtualizationExtensions.GetScalingPlans Methode

Definition

Überlädt

GetScalingPlans(ResourceGroupResource)

Ruft eine Auflistung von ScalingPlanResources in resourceGroupResource ab.

GetScalingPlans(SubscriptionResource, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, CancellationToken)

Listen Sie Skalierungspläne im Abonnement auf.

  • Anfordern von Path/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/scalingPlans
  • Vorgang IdScalingPlans_ListBySubscription

GetScalingPlans(ResourceGroupResource)

Ruft eine Auflistung von ScalingPlanResources in resourceGroupResource ab.

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

Parameter

resourceGroupResource
ResourceGroupResource

Der ResourceGroupResource instance, für den die Methode ausgeführt wird.

Gibt zurück

Ein Objekt, das die Auflistung von ScalingPlanResources und deren Vorgänge über eine ScalingPlanResource darstellt.

Gilt für:

GetScalingPlans(SubscriptionResource, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, CancellationToken)

Listen Sie Skalierungspläne im Abonnement auf.

  • Anfordern von Path/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/scalingPlans
  • Vorgang IdScalingPlans_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.DesktopVirtualization.ScalingPlanResource> GetScalingPlans (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, int? pageSize = default, bool? isDescending = default, int? initialSkip = default, System.Threading.CancellationToken cancellationToken = default);
static member GetScalingPlans : Azure.ResourceManager.Resources.SubscriptionResource * Nullable<int> * Nullable<bool> * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DesktopVirtualization.ScalingPlanResource>
<Extension()>
Public Function GetScalingPlans (subscriptionResource As SubscriptionResource, Optional pageSize As Nullable(Of Integer) = Nothing, Optional isDescending As Nullable(Of Boolean) = Nothing, Optional initialSkip As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ScalingPlanResource)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

pageSize
Nullable<Int32>

Anzahl der Elemente pro Seite.

isDescending
Nullable<Boolean>

Gibt an, ob die Auflistung absteigend ist.

initialSkip
Nullable<Int32>

Anfängliche Anzahl der zu überspringenden Elemente.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine Sammlung von, bei der ScalingPlanResource möglicherweise mehrere Dienstanforderungen zum Durchlaufen verwendet werden.

Gilt für: