Skip to content

Commit 9919d22

Browse files
authored
Merge pull request #845 from alphauslabs/add-resource_group-field
add-resource_group_field
2 parents 6dea638 + 88abab3 commit 9919d22

3 files changed

Lines changed: 2377 additions & 2370 deletions

File tree

api/azure/cost.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ message Cost {
8181

8282
// The entitlement id.
8383
string entitlementId = 25;
84+
85+
// The resource group of the lineitem, if applicable.
86+
string resourceGroup = 26;
8487
}
8588

8689
message CostAttribute {

cost/v1/cost.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2204,7 +2204,7 @@ message DeleteAccountBudgetAlertsRequest {
22042204

22052205
// Azure-specific options for ReadCostsRequest.
22062206
message ReadCostsRequestAzureOptions {
2207-
// Optional. A comma-separated list of columns to aggregate the data into. Valid values are `serviceName`, `productName`, `region`, `chargeType`, `description`, `billableQuantity`, `effectiveUnitPrice`, `timeInterval`, `billingType`, `alternateId` and `domainName`. A special value of `none` is also supported, which means query by date or month per account only.
2207+
// Optional. A comma-separated list of columns to aggregate the data into. Valid values are `serviceName`, `productName`, `region`, `chargeType`, `description`, `billableQuantity`, `effectiveUnitPrice`, `timeInterval`, `billingType`, `alternateId`, `domainName` and `resourceGroup`. A special value of `none` is also supported, which means query by date or month per account only.
22082208
//
22092209
// For example, if you only want the services and region data, you can set this field to `serviceName,region`. Your input sequence doesn't matter (although the sequence above is recommended) as the actual sequence is already fixed in the return data (see the definition in https://github.com/alphauslabs/blueapi/blob/main/api/azure/cost.proto), which is generic to specific, top to bottom. Invalid values are discarded. Excluded columns will be empty.
22102210
string groupByColumns = 1;

0 commit comments

Comments
 (0)