Partilhar via


BillingBenefitsSavingsPlanOrderResource.GetBillingBenefitsSavingsPlanAsync Método

Definição

Obtenha o plano de economia.

  • Caminho da Solicitação/provedores/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}
  • Operação IdSavingsPlan_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanResource>> GetBillingBenefitsSavingsPlanAsync (string savingsPlanId, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBillingBenefitsSavingsPlanAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanResource>>
override this.GetBillingBenefitsSavingsPlanAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanResource>>
Public Overridable Function GetBillingBenefitsSavingsPlanAsync (savingsPlanId As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BillingBenefitsSavingsPlanResource))

Parâmetros

savingsPlanId
String

ID do plano de economia.

expand
String

Pode ser usado para expandir as informações detalhadas de algumas propriedades.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

savingsPlanId é nulo.

Aplica-se a