AggregatedCostsClient Interface

public interface AggregatedCostsClient

An instance of this class provides access to all the operations defined in AggregatedCostsClient.

Method Summary

Modifier and Type Method and Description
abstract ManagementGroupAggregatedCostResultInner getByManagementGroup(String managementGroupId)

Provides the aggregate cost of a management group and all child management groups by current billing period.

abstract Response<ManagementGroupAggregatedCostResultInner> getByManagementGroupWithResponse(String managementGroupId, String filter, Context context)

Provides the aggregate cost of a management group and all child management groups by current billing period.

abstract ManagementGroupAggregatedCostResultInner getForBillingPeriodByManagementGroup(String managementGroupId, String billingPeriodName)

Provides the aggregate cost of a management group and all child management groups by specified billing period.

abstract Response<ManagementGroupAggregatedCostResultInner> getForBillingPeriodByManagementGroupWithResponse(String managementGroupId, String billingPeriodName, Context context)

Provides the aggregate cost of a management group and all child management groups by specified billing period.

Method Details

getByManagementGroup

public abstract ManagementGroupAggregatedCostResultInner getByManagementGroup(String managementGroupId)

Provides the aggregate cost of a management group and all child management groups by current billing period.

Parameters:

managementGroupId - Azure Management Group ID.

Returns:

a management group aggregated cost resource.

getByManagementGroupWithResponse

public abstract Response getByManagementGroupWithResponse(String managementGroupId, String filter, Context context)

Provides the aggregate cost of a management group and all child management groups by current billing period.

Parameters:

managementGroupId - Azure Management Group ID.
filter - May be used to filter aggregated cost by properties/usageStart (Utc time), properties/usageEnd (Utc time). The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).
context - The context to associate with this operation.

Returns:

a management group aggregated cost resource.

getForBillingPeriodByManagementGroup

public abstract ManagementGroupAggregatedCostResultInner getForBillingPeriodByManagementGroup(String managementGroupId, String billingPeriodName)

Provides the aggregate cost of a management group and all child management groups by specified billing period.

Parameters:

managementGroupId - Azure Management Group ID.
billingPeriodName - Billing Period Name.

Returns:

a management group aggregated cost resource.

getForBillingPeriodByManagementGroupWithResponse

public abstract Response getForBillingPeriodByManagementGroupWithResponse(String managementGroupId, String billingPeriodName, Context context)

Provides the aggregate cost of a management group and all child management groups by specified billing period.

Parameters:

managementGroupId - Azure Management Group ID.
billingPeriodName - Billing Period Name.
context - The context to associate with this operation.

Returns:

a management group aggregated cost resource.

Applies to