Class S3RepositoryDescriptor
A snapshot repository that stores snapshots in an Amazon S3 bucket
Requires the repository-s3 plugin to be installed on the clusterImplements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class S3RepositoryDescriptor : DescriptorBase<S3RepositoryDescriptor, IS3Repository>, IDescriptor, IS3Repository, IRepository<IS3RepositorySettings>, IRepositoryWithSettings, ISnapshotRepository
Methods
| Edit this page View SourceSettings(string, Func<S3RepositorySettingsDescriptor, IS3RepositorySettings>)
Snapshot repository settings for IS3Repository
Declaration
public S3RepositoryDescriptor Settings(string bucket, Func<S3RepositorySettingsDescriptor, IS3RepositorySettings> settingsSelector = null)
Parameters
Type | Name | Description |
---|---|---|
string | bucket | |
Func<S3RepositorySettingsDescriptor, IS3RepositorySettings> | settingsSelector |
Returns
Type | Description |
---|---|
S3RepositoryDescriptor |