Compartilhar via


BillingBenefitsExtensions.GetBillingBenefitsSavingsPlanOrderAliasAsync Método

Definição

Obtenha um plano de economia.

  • Caminho da Solicitação/provedores/Microsoft.BillingBenefits/savingsPlanOrderAliases/{savingsPlanOrderAliasName}
  • Operação IdSavingsPlanOrderAlias_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanOrderAliasResource>> GetBillingBenefitsSavingsPlanOrderAliasAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, string savingsPlanOrderAliasName, System.Threading.CancellationToken cancellationToken = default);
static member GetBillingBenefitsSavingsPlanOrderAliasAsync : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanOrderAliasResource>>
<Extension()>
Public Function GetBillingBenefitsSavingsPlanOrderAliasAsync (tenantResource As TenantResource, savingsPlanOrderAliasName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BillingBenefitsSavingsPlanOrderAliasResource))

Parâmetros

tenantResource
TenantResource

A TenantResource instância em que o método será executado.

savingsPlanOrderAliasName
String

Nome do alias do pedido do plano de economia.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

savingsPlanOrderAliasName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

savingsPlanOrderAliasName é nulo.

Aplica-se a