// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.costmanagement.generated;

/** Samples for BenefitUtilizationSummaries ListByBillingProfileId. */
public final class BenefitUtilizationSummariesListByBillingProfileIdSamples {
    /*
     * x-ms-original-file: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2022-10-01/examples/BenefitUtilizationSummaries/SavingsPlan-BillingProfile.json
     */
    /**
     * Sample code: SavingsPlanUtilizationSummaries-BillingProfile.
     *
     * @param manager Entry point to CostManagementManager.
     */
    public static void savingsPlanUtilizationSummariesBillingProfile(
        com.azure.resourcemanager.costmanagement.CostManagementManager manager) {
        manager
            .benefitUtilizationSummaries()
            .listByBillingProfileId(
                "c0a00000-0e04-5ee3-000e-f0c6e00000ec:c0a00000-0e04-5ee3-000e-f0c6e00000ec",
                "200e5e90-000e-4960-8dcd-8d00a02db000",
                null,
                "properties/usageDate ge 2022-10-15 and properties/usageDate le 2022-10-18",
                com.azure.core.util.Context.NONE);
    }
}
