Compartilhar via


ScalingPlanCollection.GetAsync(String, CancellationToken) Método

Definição

Obtenha um plano de dimensionamento.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}
  • Operação IdScalingPlans_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanResource>> GetAsync (string scalingPlanName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanResource>>
Public Overridable Function GetAsync (scalingPlanName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ScalingPlanResource))

Parâmetros

scalingPlanName
String

O nome do plano de dimensionamento.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

scalingPlanName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

scalingPlanName é nulo.

Aplica-se a