Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
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
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ConsumptionManagementClient extends ServiceClient {

super(credentials, options);

this.apiVersion = '2018-08-31';
this.apiVersion = '2018-10-01';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.generateClientRequestId = true;
Expand Down
6 changes: 6 additions & 0 deletions lib/services/consumptionManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,10 @@ export interface Forecast extends Resource {
* @member {string} [currency] The ISO currency in which the meter is charged,
* for example, USD.
* @member {array} [children] Children of a management group
* @member {array} [includedSubscriptions] List of subscription Guids included
* in the calculation of aggregated cost
* @member {array} [excludedSubscriptions] List of subscription Guids excluded
* from the calculation of aggregated cost
*/
export interface ManagementGroupAggregatedCostResult extends Resource {
readonly billingPeriodId?: string;
Expand All @@ -721,6 +725,8 @@ export interface ManagementGroupAggregatedCostResult extends Resource {
readonly chargesBilledSeparately?: number;
readonly currency?: string;
children?: ManagementGroupAggregatedCostResult[];
includedSubscriptions?: string[];
excludedSubscriptions?: string[];
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ class ManagementGroupAggregatedCostResult extends models['Resource'] {
* @member {string} [currency] The ISO currency in which the meter is
* charged, for example, USD.
* @member {array} [children] Children of a management group
* @member {array} [includedSubscriptions] List of subscription Guids
* included in the calculation of aggregated cost
* @member {array} [excludedSubscriptions] List of subscription Guids
* excluded from the calculation of aggregated cost
*/
constructor() {
super();
Expand Down Expand Up @@ -160,6 +164,34 @@ class ManagementGroupAggregatedCostResult extends models['Resource'] {
}
}
}
},
includedSubscriptions: {
required: false,
serializedName: 'properties.includedSubscriptions',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
excludedSubscriptions: {
required: false,
serializedName: 'properties.excludedSubscriptions',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/services/consumptionManagement/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"license": "MIT",
"main": "./lib/consumptionManagementClient.js",
"types": "./lib/consumptionManagementClient.d.ts",
"homepage": "https://github.com/azure/azure-sdk-for-node/tree/master/lib/services/consumptionManagement",
"homepage": "https://github.com/azure/azure-sdk-for-node",
"repository": {
"type": "git",
"url": "https://github.com/azure/azure-sdk-for-node.git"
Expand Down