Compartir a través de


CostManagementExtensions.GetBenefitUtilizationSummariesBySavingsPlanIdAsync Método

Definición

Enumera los resúmenes de uso del plan de ahorro para el grano diario o mensual.

  • Ruta de acceso de solicitud/providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries
  • IdBenefitUtilizationSummaries_ListBySavingsPlanId de operación
public static Azure.AsyncPageable<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummary> GetBenefitUtilizationSummariesBySavingsPlanIdAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, string savingsPlanOrderId, string savingsPlanId, string filter = default, Azure.ResourceManager.CostManagement.Models.GrainContent? grainParameter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetBenefitUtilizationSummariesBySavingsPlanIdAsync : Azure.ResourceManager.Resources.TenantResource * string * string * string * Nullable<Azure.ResourceManager.CostManagement.Models.GrainContent> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummary>
<Extension()>
Public Function GetBenefitUtilizationSummariesBySavingsPlanIdAsync (tenantResource As TenantResource, savingsPlanOrderId As String, savingsPlanId As String, Optional filter As String = Nothing, Optional grainParameter As Nullable(Of GrainContent) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BenefitUtilizationSummary)

Parámetros

tenantResource
TenantResource

Instancia TenantResource en la que se ejecutará el método.

savingsPlanOrderId
String

Identificador de pedido del plan de ahorro.

savingsPlanId
String

Identificador del plan de ahorro.

filter
String

Admite el filtrado por properties/usageDate.

grainParameter
Nullable<GrainContent>

Grano.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Colección asincrónica de BenefitUtilizationSummary que puede tomar varias solicitudes de servicio para iterar.

Excepciones

savingsPlanOrderId o savingsPlanId es una cadena vacía y se esperaba que no estuviera vacía.

savingsPlanOrderId o savingsPlanId es null.

Se aplica a