Class PutComposableIndexTemplateDescriptor
Descriptor for PutComposableTemplate
https://opensearch.org/docs/latest/im-plugin/index-templates/
Inheritance
PutComposableIndexTemplateDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class PutComposableIndexTemplateDescriptor : RequestDescriptorBase<PutComposableIndexTemplateDescriptor, PutComposableIndexTemplateRequestParameters, IPutComposableIndexTemplateRequest>, IDescriptor, IPutComposableIndexTemplateRequest, IComposableIndexTemplate, IRequest<PutComposableIndexTemplateRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
PutComposableIndexTemplateDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected PutComposableIndexTemplateDescriptor()
|
Edit this page
View Source
PutComposableIndexTemplateDescriptor(Name)
Declaration
public PutComposableIndexTemplateDescriptor(Name name)
Parameters
Type |
Name |
Description |
Name |
name |
this parameter is required
|
Methods
|
Edit this page
View Source
Cause(string)
User defined reason for creating/updating the index template.
Declaration
public PutComposableIndexTemplateDescriptor Cause(string cause)
Parameters
Type |
Name |
Description |
string |
cause |
|
Returns
|
Edit this page
View Source
ClusterManagerTimeout(Time)
Operation timeout for connection to cluster-manager node.
Declaration
public PutComposableIndexTemplateDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
Parameters
Type |
Name |
Description |
Time |
clustermanagertimeout |
|
Returns
|
Edit this page
View Source
ComposedOf(IEnumerable<string>)
Declaration
public PutComposableIndexTemplateDescriptor ComposedOf(IEnumerable<string> composedOf)
Parameters
Returns
|
Edit this page
View Source
ComposedOf(params string[])
Declaration
public PutComposableIndexTemplateDescriptor ComposedOf(params string[] composedOf)
Parameters
Type |
Name |
Description |
string[] |
composedOf |
|
Returns
|
Edit this page
View Source
Create(bool?)
If true
, this request cannot replace or update existing index templates.
Declaration
public PutComposableIndexTemplateDescriptor Create(bool? create = true)
Parameters
Type |
Name |
Description |
bool? |
create |
|
Returns
|
Edit this page
View Source
DataStream(Func<DataStreamTemplateDescriptor, IDataStreamTemplate>)
Declaration
public PutComposableIndexTemplateDescriptor DataStream(Func<DataStreamTemplateDescriptor, IDataStreamTemplate> dataStreamSelector)
Parameters
Returns
|
Edit this page
View Source
IndexPatterns(IEnumerable<string>)
Declaration
public PutComposableIndexTemplateDescriptor IndexPatterns(IEnumerable<string> patterns)
Parameters
Returns
|
Edit this page
View Source
IndexPatterns(params string[])
Declaration
public PutComposableIndexTemplateDescriptor IndexPatterns(params string[] patterns)
Parameters
Type |
Name |
Description |
string[] |
patterns |
|
Returns
|
Edit this page
View Source
MasterTimeout(Time)
Operation timeout for connection to master node.
Declaration
[Obsolete("Deprecated as of: 2.0.0, reason: To promote inclusive language, use 'cluster_manager_timeout' instead.")]
public PutComposableIndexTemplateDescriptor MasterTimeout(Time mastertimeout)
Parameters
Type |
Name |
Description |
Time |
mastertimeout |
|
Returns
|
Edit this page
View Source
Declaration
public PutComposableIndexTemplateDescriptor Meta(Dictionary<string, object> meta)
Parameters
Returns
|
Edit this page
View Source
Declaration
public PutComposableIndexTemplateDescriptor Meta(Func<FluentDictionary<string, object>, FluentDictionary<string, object>> selector)
Parameters
Returns
|
Edit this page
View Source
Priority(long?)
Declaration
public PutComposableIndexTemplateDescriptor Priority(long? priority)
Parameters
Type |
Name |
Description |
long? |
priority |
|
Returns
|
Edit this page
View Source
Template(Func<TemplateDescriptor, ITemplate>)
Declaration
public PutComposableIndexTemplateDescriptor Template(Func<TemplateDescriptor, ITemplate> selector)
Parameters
Returns
|
Edit this page
View Source
Version(long?)
Declaration
public PutComposableIndexTemplateDescriptor Version(long? version)
Parameters
Type |
Name |
Description |
long? |
version |
|
Returns
Implements
Extension Methods