diff --git a/services/preview/appconfiguration/mgmt/2019-02-01-preview/appconfiguration/models.go b/services/preview/appconfiguration/mgmt/2019-02-01-preview/appconfiguration/models.go index 6cea0f4be9a5..7d53273f4b8f 100644 --- a/services/preview/appconfiguration/mgmt/2019-02-01-preview/appconfiguration/models.go +++ b/services/preview/appconfiguration/mgmt/2019-02-01-preview/appconfiguration/models.go @@ -200,8 +200,11 @@ func (page APIKeyListResultPage) Values() []APIKey { } // Creates a new instance of the APIKeyListResultPage type. -func NewAPIKeyListResultPage(getNextPage func(context.Context, APIKeyListResult) (APIKeyListResult, error)) APIKeyListResultPage { - return APIKeyListResultPage{fn: getNextPage} +func NewAPIKeyListResultPage(cur APIKeyListResult, getNextPage func(context.Context, APIKeyListResult) (APIKeyListResult, error)) APIKeyListResultPage { + return APIKeyListResultPage{ + fn: getNextPage, + aklr: cur, + } } // CheckNameAvailabilityParameters parameters used for checking whether a resource name is available. @@ -212,8 +215,8 @@ type CheckNameAvailabilityParameters struct { Type *string `json:"type,omitempty"` } -// ConfigurationStore the configuration store along with all resource properties. The Configuration Store will -// have all information to begin utilizing it. +// ConfigurationStore the configuration store along with all resource properties. The Configuration Store +// will have all information to begin utilizing it. type ConfigurationStore struct { autorest.Response `json:"-"` // ConfigurationStoreProperties - The properties of a configuration store. @@ -466,8 +469,11 @@ func (page ConfigurationStoreListResultPage) Values() []ConfigurationStore { } // Creates a new instance of the ConfigurationStoreListResultPage type. -func NewConfigurationStoreListResultPage(getNextPage func(context.Context, ConfigurationStoreListResult) (ConfigurationStoreListResult, error)) ConfigurationStoreListResultPage { - return ConfigurationStoreListResultPage{fn: getNextPage} +func NewConfigurationStoreListResultPage(cur ConfigurationStoreListResult, getNextPage func(context.Context, ConfigurationStoreListResult) (ConfigurationStoreListResult, error)) ConfigurationStoreListResultPage { + return ConfigurationStoreListResultPage{ + fn: getNextPage, + cslr: cur, + } } // ConfigurationStoreProperties the properties of a configuration store. @@ -480,8 +486,8 @@ type ConfigurationStoreProperties struct { Endpoint *string `json:"endpoint,omitempty"` } -// ConfigurationStoresCreateFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// ConfigurationStoresCreateFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type ConfigurationStoresCreateFuture struct { azure.Future } @@ -509,8 +515,8 @@ func (future *ConfigurationStoresCreateFuture) Result(client ConfigurationStores return } -// ConfigurationStoresDeleteFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// ConfigurationStoresDeleteFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type ConfigurationStoresDeleteFuture struct { azure.Future } @@ -532,8 +538,8 @@ func (future *ConfigurationStoresDeleteFuture) Result(client ConfigurationStores return } -// ConfigurationStoresUpdateFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// ConfigurationStoresUpdateFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type ConfigurationStoresUpdateFuture struct { azure.Future } @@ -683,7 +689,8 @@ type OperationDefinitionListResult struct { NextLink *string `json:"nextLink,omitempty"` } -// OperationDefinitionListResultIterator provides access to a complete listing of OperationDefinition values. +// OperationDefinitionListResultIterator provides access to a complete listing of OperationDefinition +// values. type OperationDefinitionListResultIterator struct { i int page OperationDefinitionListResultPage @@ -826,8 +833,11 @@ func (page OperationDefinitionListResultPage) Values() []OperationDefinition { } // Creates a new instance of the OperationDefinitionListResultPage type. -func NewOperationDefinitionListResultPage(getNextPage func(context.Context, OperationDefinitionListResult) (OperationDefinitionListResult, error)) OperationDefinitionListResultPage { - return OperationDefinitionListResultPage{fn: getNextPage} +func NewOperationDefinitionListResultPage(cur OperationDefinitionListResult, getNextPage func(context.Context, OperationDefinitionListResult) (OperationDefinitionListResult, error)) OperationDefinitionListResultPage { + return OperationDefinitionListResultPage{ + fn: getNextPage, + odlr: cur, + } } // RegenerateKeyParameters the parameters used to regenerate an API key.