diff --git a/services/analysisservices/mgmt/2017-08-01/analysisservices/CHANGELOG.md b/services/analysisservices/mgmt/2017-08-01/analysisservices/CHANGELOG.md new file mode 100644 index 000000000000..3430499dd2dd --- /dev/null +++ b/services/analysisservices/mgmt/2017-08-01/analysisservices/CHANGELOG.md @@ -0,0 +1,7 @@ +Generated from https://github.com/Azure/azure-rest-api-specs/tree/3c764635e7d442b3e74caf593029fcd440b3ef82 + +Code generator @microsoft.azure/autorest.go@~2.1.161 + +## Breaking Changes + +- Function `NewOperationListResultPage` parameter(s) have been changed from `(func(context.Context, OperationListResult) (OperationListResult, error))` to `(OperationListResult, func(context.Context, OperationListResult) (OperationListResult, error))` diff --git a/services/analysisservices/mgmt/2017-08-01/analysisservices/models.go b/services/analysisservices/mgmt/2017-08-01/analysisservices/models.go index 7e12d7bdc99f..16fd6dd4c353 100644 --- a/services/analysisservices/mgmt/2017-08-01/analysisservices/models.go +++ b/services/analysisservices/mgmt/2017-08-01/analysisservices/models.go @@ -295,8 +295,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. @@ -478,7 +481,8 @@ type ServerAdministrators struct { Members *[]string `json:"members,omitempty"` } -// ServerMutableProperties an object that represents a set of mutable Analysis Services resource properties. +// ServerMutableProperties an object that represents a set of mutable Analysis Services resource +// properties. type ServerMutableProperties struct { // AsAdministrators - A collection of AS server administrators AsAdministrators *ServerAdministrators `json:"asAdministrators,omitempty"` @@ -540,7 +544,8 @@ type Servers struct { Value *[]Server `json:"value,omitempty"` } -// ServersCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// ServersCreateFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type ServersCreateFuture struct { azure.Future } @@ -568,7 +573,8 @@ func (future *ServersCreateFuture) Result(client ServersClient) (s Server, err e return } -// ServersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// ServersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type ServersDeleteFuture struct { azure.Future } @@ -590,7 +596,8 @@ func (future *ServersDeleteFuture) Result(client ServersClient) (ar autorest.Res return } -// ServersResumeFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// ServersResumeFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type ServersResumeFuture struct { azure.Future } @@ -612,7 +619,8 @@ func (future *ServersResumeFuture) Result(client ServersClient) (ar autorest.Res return } -// ServersSuspendFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// ServersSuspendFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type ServersSuspendFuture struct { azure.Future } @@ -634,7 +642,8 @@ func (future *ServersSuspendFuture) Result(client ServersClient) (ar autorest.Re return } -// ServersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// ServersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type ServersUpdateFuture struct { azure.Future } @@ -735,7 +744,8 @@ type SkuDetailsForExistingResource struct { Sku *ResourceSku `json:"sku,omitempty"` } -// SkuEnumerationForExistingResourceResult an object that represents enumerating SKUs for existing resources. +// SkuEnumerationForExistingResourceResult an object that represents enumerating SKUs for existing +// resources. type SkuEnumerationForExistingResourceResult struct { autorest.Response `json:"-"` // Value - The collection of available SKUs for existing resources.