diff --git a/services/resources/mgmt/2015-12-01/features/models.go b/services/resources/mgmt/2015-12-01/features/models.go index fe3192ec7943..df5b4528a07b 100644 --- a/services/resources/mgmt/2015-12-01/features/models.go +++ b/services/resources/mgmt/2015-12-01/features/models.go @@ -199,8 +199,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, + } } // OperationsListResult list of previewed features. @@ -355,8 +358,11 @@ func (page OperationsListResultPage) Values() []Result { } // Creates a new instance of the OperationsListResultPage type. -func NewOperationsListResultPage(getNextPage func(context.Context, OperationsListResult) (OperationsListResult, error)) OperationsListResultPage { - return OperationsListResultPage{fn: getNextPage} +func NewOperationsListResultPage(cur OperationsListResult, getNextPage func(context.Context, OperationsListResult) (OperationsListResult, error)) OperationsListResultPage { + return OperationsListResultPage{ + fn: getNextPage, + olr: cur, + } } // Properties information about feature.