Interface BenefitUtilizationSummariesClient
public interface BenefitUtilizationSummariesClient
An instance of this class provides access to all the operations defined in BenefitUtilizationSummariesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<BenefitUtilizationSummaryInner>
listByBillingAccountId
(String billingAccountId) Lists savings plan utilization summaries for the enterprise agreement scope.com.azure.core.http.rest.PagedIterable<BenefitUtilizationSummaryInner>
listByBillingAccountId
(String billingAccountId, GrainParameter grainParameter, String filter, com.azure.core.util.Context context) Lists savings plan utilization summaries for the enterprise agreement scope.com.azure.core.http.rest.PagedIterable<BenefitUtilizationSummaryInner>
listByBillingProfileId
(String billingAccountId, String billingProfileId) Lists savings plan utilization summaries for billing profile.com.azure.core.http.rest.PagedIterable<BenefitUtilizationSummaryInner>
listByBillingProfileId
(String billingAccountId, String billingProfileId, GrainParameter grainParameter, String filter, com.azure.core.util.Context context) Lists savings plan utilization summaries for billing profile.com.azure.core.http.rest.PagedIterable<BenefitUtilizationSummaryInner>
listBySavingsPlanId
(String savingsPlanOrderId, String savingsPlanId) Lists the savings plan utilization summaries for daily or monthly grain.com.azure.core.http.rest.PagedIterable<BenefitUtilizationSummaryInner>
listBySavingsPlanId
(String savingsPlanOrderId, String savingsPlanId, String filter, GrainParameter grainParameter, com.azure.core.util.Context context) Lists the savings plan utilization summaries for daily or monthly grain.com.azure.core.http.rest.PagedIterable<BenefitUtilizationSummaryInner>
listBySavingsPlanOrder
(String savingsPlanOrderId) Lists the savings plan utilization summaries for daily or monthly grain.com.azure.core.http.rest.PagedIterable<BenefitUtilizationSummaryInner>
listBySavingsPlanOrder
(String savingsPlanOrderId, String filter, GrainParameter grainParameter, com.azure.core.util.Context context) Lists the savings plan utilization summaries for daily or monthly grain.
-
Method Details
-
listByBillingAccountId
com.azure.core.http.rest.PagedIterable<BenefitUtilizationSummaryInner> listByBillingAccountId(String billingAccountId) Lists savings plan utilization summaries for the enterprise agreement scope. Supported at grain values: 'Daily' and 'Monthly'.- Parameters:
billingAccountId
- Billing account ID.- Returns:
- list of benefit utilization summaries as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByBillingAccountId
com.azure.core.http.rest.PagedIterable<BenefitUtilizationSummaryInner> listByBillingAccountId(String billingAccountId, GrainParameter grainParameter, String filter, com.azure.core.util.Context context) Lists savings plan utilization summaries for the enterprise agreement scope. Supported at grain values: 'Daily' and 'Monthly'.- Parameters:
billingAccountId
- Billing account ID.grainParameter
- Grain.filter
- Supports filtering by properties/benefitId, properties/benefitOrderId and properties/usageDate.context
- The context to associate with this operation.- Returns:
- list of benefit utilization summaries as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByBillingProfileId
com.azure.core.http.rest.PagedIterable<BenefitUtilizationSummaryInner> listByBillingProfileId(String billingAccountId, String billingProfileId) Lists savings plan utilization summaries for billing profile. Supported at grain values: 'Daily' and 'Monthly'.- Parameters:
billingAccountId
- Billing account ID.billingProfileId
- Billing profile ID.- Returns:
- list of benefit utilization summaries as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByBillingProfileId
com.azure.core.http.rest.PagedIterable<BenefitUtilizationSummaryInner> listByBillingProfileId(String billingAccountId, String billingProfileId, GrainParameter grainParameter, String filter, com.azure.core.util.Context context) Lists savings plan utilization summaries for billing profile. Supported at grain values: 'Daily' and 'Monthly'.- Parameters:
billingAccountId
- Billing account ID.billingProfileId
- Billing profile ID.grainParameter
- Grain.filter
- Supports filtering by properties/benefitId, properties/benefitOrderId and properties/usageDate.context
- The context to associate with this operation.- Returns:
- list of benefit utilization summaries as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listBySavingsPlanOrder
com.azure.core.http.rest.PagedIterable<BenefitUtilizationSummaryInner> listBySavingsPlanOrder(String savingsPlanOrderId) Lists the savings plan utilization summaries for daily or monthly grain.- Parameters:
savingsPlanOrderId
- Savings plan order ID.- Returns:
- list of benefit utilization summaries as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listBySavingsPlanOrder
com.azure.core.http.rest.PagedIterable<BenefitUtilizationSummaryInner> listBySavingsPlanOrder(String savingsPlanOrderId, String filter, GrainParameter grainParameter, com.azure.core.util.Context context) Lists the savings plan utilization summaries for daily or monthly grain.- Parameters:
savingsPlanOrderId
- Savings plan order ID.filter
- Supports filtering by properties/usageDate.grainParameter
- Grain.context
- The context to associate with this operation.- Returns:
- list of benefit utilization summaries as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listBySavingsPlanId
com.azure.core.http.rest.PagedIterable<BenefitUtilizationSummaryInner> listBySavingsPlanId(String savingsPlanOrderId, String savingsPlanId) Lists the savings plan utilization summaries for daily or monthly grain.- Parameters:
savingsPlanOrderId
- Savings plan order ID.savingsPlanId
- Savings plan ID.- Returns:
- list of benefit utilization summaries as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listBySavingsPlanId
com.azure.core.http.rest.PagedIterable<BenefitUtilizationSummaryInner> listBySavingsPlanId(String savingsPlanOrderId, String savingsPlanId, String filter, GrainParameter grainParameter, com.azure.core.util.Context context) Lists the savings plan utilization summaries for daily or monthly grain.- Parameters:
savingsPlanOrderId
- Savings plan order ID.savingsPlanId
- Savings plan ID.filter
- Supports filtering by properties/usageDate.grainParameter
- Grain.context
- The context to associate with this operation.- Returns:
- list of benefit utilization summaries as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-