diff --git a/lib/services/consumptionManagement/lib/consumptionManagementClient.js b/lib/services/consumptionManagement/lib/consumptionManagementClient.js index ab688cada5..57b0c67bcc 100644 --- a/lib/services/consumptionManagement/lib/consumptionManagementClient.js +++ b/lib/services/consumptionManagement/lib/consumptionManagementClient.js @@ -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; diff --git a/lib/services/consumptionManagement/lib/models/index.d.ts b/lib/services/consumptionManagement/lib/models/index.d.ts index 73d0de5508..f1570af4bb 100644 --- a/lib/services/consumptionManagement/lib/models/index.d.ts +++ b/lib/services/consumptionManagement/lib/models/index.d.ts @@ -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; @@ -721,6 +725,8 @@ export interface ManagementGroupAggregatedCostResult extends Resource { readonly chargesBilledSeparately?: number; readonly currency?: string; children?: ManagementGroupAggregatedCostResult[]; + includedSubscriptions?: string[]; + excludedSubscriptions?: string[]; } /** diff --git a/lib/services/consumptionManagement/lib/models/managementGroupAggregatedCostResult.js b/lib/services/consumptionManagement/lib/models/managementGroupAggregatedCostResult.js index 27b2d42198..ba793233fa 100644 --- a/lib/services/consumptionManagement/lib/models/managementGroupAggregatedCostResult.js +++ b/lib/services/consumptionManagement/lib/models/managementGroupAggregatedCostResult.js @@ -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(); @@ -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' + } + } + } } } } diff --git a/lib/services/consumptionManagement/package.json b/lib/services/consumptionManagement/package.json index 204a541b08..87c3379cdb 100644 --- a/lib/services/consumptionManagement/package.json +++ b/lib/services/consumptionManagement/package.json @@ -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"