Class ReadOnlyUrlRepositoryDescriptor
A snapshot repository that can be used as an alternative read-only way to access data created by the IFileSystemRepository. The URL specified in the url parameter should point to the root of the shared filesystem repository.
Inheritance
ReadOnlyUrlRepositoryDescriptor
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class ReadOnlyUrlRepositoryDescriptor : DescriptorBase<ReadOnlyUrlRepositoryDescriptor, IReadOnlyUrlRepository>, IDescriptor, IReadOnlyUrlRepository, IRepository<IReadOnlyUrlRepositorySettings>, IRepositoryWithSettings, ISnapshotRepository
Methods
| Edit this page View SourceSettings(string, Func<ReadOnlyUrlRepositorySettingsDescriptor, IReadOnlyUrlRepositorySettings>)
Snapshot repository settings for IReadOnlyUrlRepository
Declaration
public ReadOnlyUrlRepositoryDescriptor Settings(string location, Func<ReadOnlyUrlRepositorySettingsDescriptor, IReadOnlyUrlRepositorySettings> settingsSelector = null)
Parameters
Type | Name | Description |
---|---|---|
string | location | |
Func<ReadOnlyUrlRepositorySettingsDescriptor, IReadOnlyUrlRepositorySettings> | settingsSelector |
Returns
Type | Description |
---|---|
ReadOnlyUrlRepositoryDescriptor |