diff --git a/services/consumption/mgmt/2018-05-31/consumption/models.go b/services/consumption/mgmt/2018-05-31/consumption/models.go index 960f17f910e6..42e8c4938c5b 100644 --- a/services/consumption/mgmt/2018-05-31/consumption/models.go +++ b/services/consumption/mgmt/2018-05-31/consumption/models.go @@ -381,8 +381,11 @@ func (page OperationListResultPage) Values() []Operation { } // Creates a new instance of the OperationListResultPage type. -func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage { - return OperationListResultPage{fn: getNextPage} +func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage { + return OperationListResultPage{ + fn: getNextPage, + olr: cur, + } } // PriceSheetModel price sheet result. It contains the pricesheet associated with billing period @@ -807,6 +810,9 @@ func (page UsageDetailsListResultPage) Values() []UsageDetail { } // Creates a new instance of the UsageDetailsListResultPage type. -func NewUsageDetailsListResultPage(getNextPage func(context.Context, UsageDetailsListResult) (UsageDetailsListResult, error)) UsageDetailsListResultPage { - return UsageDetailsListResultPage{fn: getNextPage} +func NewUsageDetailsListResultPage(cur UsageDetailsListResult, getNextPage func(context.Context, UsageDetailsListResult) (UsageDetailsListResult, error)) UsageDetailsListResultPage { + return UsageDetailsListResultPage{ + fn: getNextPage, + udlr: cur, + } }