MockableCostManagementTenantResource.GetBenefitUtilizationSummariesBySavingsPlanOrder Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists the savings plan utilization summaries for daily or monthly grain.
- Request Path: /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries
- Operation Id: BenefitUtilizationSummaries_ListBySavingsPlanOrder
public virtual Azure.Pageable<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummary> GetBenefitUtilizationSummariesBySavingsPlanOrder (string savingsPlanOrderId, string filter = default, Azure.ResourceManager.CostManagement.Models.GrainContent? grainParameter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBenefitUtilizationSummariesBySavingsPlanOrder : string * string * Nullable<Azure.ResourceManager.CostManagement.Models.GrainContent> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummary>
override this.GetBenefitUtilizationSummariesBySavingsPlanOrder : string * string * Nullable<Azure.ResourceManager.CostManagement.Models.GrainContent> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummary>
Public Overridable Function GetBenefitUtilizationSummariesBySavingsPlanOrder (savingsPlanOrderId As String, Optional filter As String = Nothing, Optional grainParameter As Nullable(Of GrainContent) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of BenefitUtilizationSummary)
Parameters
- savingsPlanOrderId
- String
Savings plan order ID.
- filter
- String
Supports filtering by properties/usageDate.
- grainParameter
- Nullable<GrainContent>
Grain.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of BenefitUtilizationSummary that may take multiple service requests to iterate over.
Exceptions
savingsPlanOrderId
is an empty string, and was expected to be non-empty.
savingsPlanOrderId
is null.
Applies to
Azure SDK for .NET