Compartir a través de


CostManagementExtensions.GetBenefitUtilizationSummariesBySavingsPlanOrderAsync 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}/providers/Microsoft.CostManagement/benefitUtilizationSummaries
  • IdBenefitUtilizationSummaries_ListBySavingsPlanOrder de operación
public static Azure.AsyncPageable<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummary> GetBenefitUtilizationSummariesBySavingsPlanOrderAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, string savingsPlanOrderId, string filter = default, Azure.ResourceManager.CostManagement.Models.GrainContent? grainParameter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetBenefitUtilizationSummariesBySavingsPlanOrderAsync : Azure.ResourceManager.Resources.TenantResource * string * string * Nullable<Azure.ResourceManager.CostManagement.Models.GrainContent> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummary>
<Extension()>
Public Function GetBenefitUtilizationSummariesBySavingsPlanOrderAsync (tenantResource As TenantResource, savingsPlanOrderId 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.

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 que puede tomar varias solicitudes de BenefitUtilizationSummary servicio para iterar.

Excepciones

savingsPlanOrderId es una cadena vacía y se espera que no esté vacía.

savingsPlanOrderId es null.

Se aplica a