Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion packages/@azure/arm-consumption/dist/arm-consumption.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class ConsumptionManagementClientContext extends msRestAzure.AzureService
}
super(credentials, options);

this.apiVersion = '2018-08-31';
this.apiVersion = '2018-10-01';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
Expand Down
10 changes: 10 additions & 0 deletions packages/@azure/arm-consumption/lib/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1306,6 +1306,16 @@ export interface ManagementGroupAggregatedCostResult extends Resource {
* management group
*/
children?: ManagementGroupAggregatedCostResult[];
/**
* @member {string[]} [includedSubscriptions] List of subscription Guids
* included in the calculation of aggregated cost
*/
includedSubscriptions?: string[];
/**
* @member {string[]} [excludedSubscriptions] List of subscription Guids
* excluded from the calculation of aggregated cost
*/
excludedSubscriptions?: string[];
}

/**
Expand Down
22 changes: 22 additions & 0 deletions packages/@azure/arm-consumption/lib/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1546,6 +1546,28 @@ export const ManagementGroupAggregatedCostResult: msRest.CompositeMapper = {
}
}
}
},
includedSubscriptions: {
serializedName: "properties.includedSubscriptions",
type: {
name: "Sequence",
element: {
type: {
name: "String"
}
}
}
},
excludedSubscriptions: {
serializedName: "properties.excludedSubscriptions",
type: {
name: "Sequence",
element: {
type: {
name: "String"
}
}
}
}
}
}
Expand Down