ElasticsearchBuilderExtensions Class

Definition

Provides extension methods for adding Elasticsearch resources to the application model.

public static class ElasticsearchBuilderExtensions
type ElasticsearchBuilderExtensions = class
Public Module ElasticsearchBuilderExtensions
Inheritance
ElasticsearchBuilderExtensions

Methods

AddElasticsearch(IDistributedApplicationBuilder, String, IResourceBuilder<ParameterResource>, Nullable<Int32>)

Adds an Elasticsearch container resource to the application model.

WithDataBindMount(IResourceBuilder<ElasticsearchResource>, String)

Adds a bind mount for the data folder to a Elasticsearch container resource.

WithDataVolume(IResourceBuilder<ElasticsearchResource>, String)

Adds a named volume for the data folder to a Elasticsearch container resource.

Applies to