diff --git a/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/models.go b/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/models.go index a8dff983c54e..95931423236c 100644 --- a/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/models.go +++ b/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/models.go @@ -226,8 +226,11 @@ func (page DataSourceListResultPage) Values() []DataSource { } // Creates a new instance of the DataSourceListResultPage type. -func NewDataSourceListResultPage(getNextPage func(context.Context, DataSourceListResult) (DataSourceListResult, error)) DataSourceListResultPage { - return DataSourceListResultPage{fn: getNextPage} +func NewDataSourceListResultPage(cur DataSourceListResult, getNextPage func(context.Context, DataSourceListResult) (DataSourceListResult, error)) DataSourceListResultPage { + return DataSourceListResultPage{ + fn: getNextPage, + dslr: cur, + } } // ErrorResponse describes the format of Error response. @@ -600,8 +603,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, + } } // OperationStatus the status of operation. @@ -866,8 +872,8 @@ func (wp WorkspaceProperties) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// WorkspacesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// WorkspacesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type WorkspacesCreateOrUpdateFuture struct { azure.Future }