diff --git a/services/preview/resources/mgmt/2015-10-01-preview/policy/models.go b/services/preview/resources/mgmt/2015-10-01-preview/policy/models.go index eef9b44fa404..3c88ee76c88a 100644 --- a/services/preview/resources/mgmt/2015-10-01-preview/policy/models.go +++ b/services/preview/resources/mgmt/2015-10-01-preview/policy/models.go @@ -263,8 +263,11 @@ func (page AssignmentListResultPage) Values() []Assignment { } // Creates a new instance of the AssignmentListResultPage type. -func NewAssignmentListResultPage(getNextPage func(context.Context, AssignmentListResult) (AssignmentListResult, error)) AssignmentListResultPage { - return AssignmentListResultPage{fn: getNextPage} +func NewAssignmentListResultPage(cur AssignmentListResult, getNextPage func(context.Context, AssignmentListResult) (AssignmentListResult, error)) AssignmentListResultPage { + return AssignmentListResultPage{ + fn: getNextPage, + alr: cur, + } } // AssignmentProperties the policy assignment properties. @@ -494,8 +497,11 @@ func (page DefinitionListResultPage) Values() []Definition { } // Creates a new instance of the DefinitionListResultPage type. -func NewDefinitionListResultPage(getNextPage func(context.Context, DefinitionListResult) (DefinitionListResult, error)) DefinitionListResultPage { - return DefinitionListResultPage{fn: getNextPage} +func NewDefinitionListResultPage(cur DefinitionListResult, getNextPage func(context.Context, DefinitionListResult) (DefinitionListResult, error)) DefinitionListResultPage { + return DefinitionListResultPage{ + fn: getNextPage, + dlr: cur, + } } // DefinitionProperties the policy definition properties.