com.azure.resourcemanager.costmanagement.models.GenerateDetailedCostReports Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-costmanagement Show documentation
Show all versions of azure-resourcemanager-costmanagement Show documentation
This package contains Microsoft Azure SDK for CostManagement Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. CostManagement management client provides access to CostManagement resources for Azure Enterprise Subscriptions. Package tag package-2022-10.
The newest version!
// 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.models;
import com.azure.core.util.Context;
/** Resource collection API of GenerateDetailedCostReports. */
public interface GenerateDetailedCostReports {
/**
* Generates the detailed cost report for provided date range, billing period(only enterprise customers) or Invoice
* ID asynchronously at a certain scope. Call returns a 202 with header Azure-Consumption-AsyncOperation providing a
* link to the operation created. A call on the operation will provide the status and if the operation is completed
* the blob file where generated detailed cost report is being stored.
*
* @param scope The ARM Resource ID for subscription, resource group, billing account, or other billing scopes. For
* details, see https://aka.ms/costmgmt/scopes.
* @param parameters Parameters supplied to the Create detailed cost report operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the result of the long running operation for cost detailed report.
*/
GenerateDetailedCostReportOperationResult createOperation(
String scope, GenerateDetailedCostReportDefinition parameters);
/**
* Generates the detailed cost report for provided date range, billing period(only enterprise customers) or Invoice
* ID asynchronously at a certain scope. Call returns a 202 with header Azure-Consumption-AsyncOperation providing a
* link to the operation created. A call on the operation will provide the status and if the operation is completed
* the blob file where generated detailed cost report is being stored.
*
* @param scope The ARM Resource ID for subscription, resource group, billing account, or other billing scopes. For
* details, see https://aka.ms/costmgmt/scopes.
* @param parameters Parameters supplied to the Create detailed cost report operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the result of the long running operation for cost detailed report.
*/
GenerateDetailedCostReportOperationResult createOperation(
String scope, GenerateDetailedCostReportDefinition parameters, Context context);
}