Compartir a través de


CostManagementExtensions.GetBenefitUtilizationSummariesBySavingsPlanId 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.Pageable<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummary> GetBenefitUtilizationSummariesBySavingsPlanId (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 GetBenefitUtilizationSummariesBySavingsPlanId : Azure.ResourceManager.Resources.TenantResource * string * string * string * Nullable<Azure.ResourceManager.CostManagement.Models.GrainContent> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummary>
<Extension()>
Public Function GetBenefitUtilizationSummariesBySavingsPlanId (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 Pageable(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 de que puede tomar varias solicitudes de BenefitUtilizationSummary servicio para iterar.

Excepciones

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

savingsPlanOrderId o savingsPlanId es null.

Se aplica a