Skip to content

Commit

Permalink
Merge pull request Azure#187 from Azure/restapi_auto_consumption/reso…
Browse files Browse the repository at this point in the history
…urce-manager

Regenerate arm-consumption
  • Loading branch information
Dan Schulte authored Oct 15, 2018
2 parents 70d8723 + 872cf6b commit 1d8c662
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 5 deletions.
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

0 comments on commit 1d8c662

Please sign in to comment.