Viewing docs for elasticstack 0.16.1
published on Monday, Jun 1, 2026 by elastic
published on Monday, Jun 1, 2026 by elastic
Viewing docs for elasticstack 0.16.1
published on Monday, Jun 1, 2026 by elastic
published on Monday, Jun 1, 2026 by elastic
Reads an Elasticsearch query ruleset by ruleset_id. See the Query Rules API documentation for more details.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as elasticstack from "@pulumi/elasticstack";
const myRuleset = new elasticstack.ElasticsearchQueryRuleset("my_ruleset", {
rulesetId: "my-search-rules",
rules: [
{
ruleId: "pin-laptops",
type: "pinned",
priority: 1,
criterias: [{
type: "exact",
metadata: "query",
values: JSON.stringify([
"laptop",
"notebook",
]),
}],
actions: {
ids: [
"doc-1",
"doc-2",
],
},
},
{
ruleId: "exclude-deprecated",
type: "exclude",
criterias: [{
type: "contains",
metadata: "query",
values: JSON.stringify(["deprecated"]),
}],
actions: {
docs: [{
_index: "products",
_id: "old-1",
}],
},
},
],
});
const example = elasticstack.getElasticsearchQueryRulesetOutput({
rulesetId: myRuleset.rulesetId,
});
export const rules = example.apply(example => example.rules);
import pulumi
import json
import pulumi_elasticstack as elasticstack
my_ruleset = elasticstack.ElasticsearchQueryRuleset("my_ruleset",
ruleset_id="my-search-rules",
rules=[
{
"rule_id": "pin-laptops",
"type": "pinned",
"priority": 1,
"criterias": [{
"type": "exact",
"metadata": "query",
"values": json.dumps([
"laptop",
"notebook",
]),
}],
"actions": {
"ids": [
"doc-1",
"doc-2",
],
},
},
{
"rule_id": "exclude-deprecated",
"type": "exclude",
"criterias": [{
"type": "contains",
"metadata": "query",
"values": json.dumps(["deprecated"]),
}],
"actions": {
"docs": [{
"_index": "products",
"_id": "old-1",
}],
},
},
])
example = elasticstack.get_elasticsearch_query_ruleset_output(ruleset_id=my_ruleset.ruleset_id)
pulumi.export("rules", example.rules)
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-terraform-provider/sdks/go/elasticstack/elasticstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
tmpJSON0, err := json.Marshal([]string{
"laptop",
"notebook",
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
tmpJSON1, err := json.Marshal([]string{
"deprecated",
})
if err != nil {
return err
}
json1 := string(tmpJSON1)
myRuleset, err := elasticstack.NewElasticsearchQueryRuleset(ctx, "my_ruleset", &elasticstack.ElasticsearchQueryRulesetArgs{
RulesetId: pulumi.String("my-search-rules"),
Rules: elasticstack.ElasticsearchQueryRulesetRuleArray{
&elasticstack.ElasticsearchQueryRulesetRuleArgs{
RuleId: pulumi.String("pin-laptops"),
Type: pulumi.String("pinned"),
Priority: pulumi.Float64(1),
Criterias: elasticstack.ElasticsearchQueryRulesetRuleCriteriaArray{
&elasticstack.ElasticsearchQueryRulesetRuleCriteriaArgs{
Type: pulumi.String("exact"),
Metadata: pulumi.String("query"),
Values: pulumi.String(json0),
},
},
Actions: &elasticstack.ElasticsearchQueryRulesetRuleActionsArgs{
Ids: pulumi.StringArray{
pulumi.String("doc-1"),
pulumi.String("doc-2"),
},
},
},
&elasticstack.ElasticsearchQueryRulesetRuleArgs{
RuleId: pulumi.String("exclude-deprecated"),
Type: pulumi.String("exclude"),
Criterias: elasticstack.ElasticsearchQueryRulesetRuleCriteriaArray{
&elasticstack.ElasticsearchQueryRulesetRuleCriteriaArgs{
Type: pulumi.String("contains"),
Metadata: pulumi.String("query"),
Values: pulumi.String(json1),
},
},
Actions: &elasticstack.ElasticsearchQueryRulesetRuleActionsArgs{
Docs: elasticstack.ElasticsearchQueryRulesetRuleActionsDocArray{
&elasticstack.ElasticsearchQueryRulesetRuleActionsDocArgs{
_index: pulumi.String("products"),
_id: pulumi.String("old-1"),
},
},
},
},
},
})
if err != nil {
return err
}
example := elasticstack.LookupElasticsearchQueryRulesetOutput(ctx, elasticstack.GetElasticsearchQueryRulesetOutputArgs{
RulesetId: myRuleset.RulesetId,
}, nil)
ctx.Export("rules", example.ApplyT(func(example elasticstack.GetElasticsearchQueryRulesetResult) ([]elasticstack.GetElasticsearchQueryRulesetRule, error) {
return []elasticstack.GetElasticsearchQueryRulesetRule(example.Rules), nil
}).([]elasticstack.GetElasticsearchQueryRulesetRuleOutput))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Elasticstack = Pulumi.Elasticstack;
return await Deployment.RunAsync(() =>
{
var myRuleset = new Elasticstack.ElasticsearchQueryRuleset("my_ruleset", new()
{
RulesetId = "my-search-rules",
Rules = new[]
{
new Elasticstack.Inputs.ElasticsearchQueryRulesetRuleArgs
{
RuleId = "pin-laptops",
Type = "pinned",
Priority = 1,
Criterias = new[]
{
new Elasticstack.Inputs.ElasticsearchQueryRulesetRuleCriteriaArgs
{
Type = "exact",
Metadata = "query",
Values = JsonSerializer.Serialize(new[]
{
"laptop",
"notebook",
}),
},
},
Actions = new Elasticstack.Inputs.ElasticsearchQueryRulesetRuleActionsArgs
{
Ids = new[]
{
"doc-1",
"doc-2",
},
},
},
new Elasticstack.Inputs.ElasticsearchQueryRulesetRuleArgs
{
RuleId = "exclude-deprecated",
Type = "exclude",
Criterias = new[]
{
new Elasticstack.Inputs.ElasticsearchQueryRulesetRuleCriteriaArgs
{
Type = "contains",
Metadata = "query",
Values = JsonSerializer.Serialize(new[]
{
"deprecated",
}),
},
},
Actions = new Elasticstack.Inputs.ElasticsearchQueryRulesetRuleActionsArgs
{
Docs = new[]
{
new Elasticstack.Inputs.ElasticsearchQueryRulesetRuleActionsDocArgs
{
_index = "products",
_id = "old-1",
},
},
},
},
},
});
var example = Elasticstack.GetElasticsearchQueryRuleset.Invoke(new()
{
RulesetId = myRuleset.RulesetId,
});
return new Dictionary<string, object?>
{
["rules"] = example.Apply(getElasticsearchQueryRulesetResult => getElasticsearchQueryRulesetResult.Rules),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.elasticstack.ElasticsearchQueryRuleset;
import com.pulumi.elasticstack.ElasticsearchQueryRulesetArgs;
import com.pulumi.elasticstack.inputs.ElasticsearchQueryRulesetRuleArgs;
import com.pulumi.elasticstack.inputs.ElasticsearchQueryRulesetRuleActionsArgs;
import com.pulumi.elasticstack.ElasticstackFunctions;
import com.pulumi.elasticstack.inputs.GetElasticsearchQueryRulesetArgs;
import static com.pulumi.codegen.internal.Serialization.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var myRuleset = new ElasticsearchQueryRuleset("myRuleset", ElasticsearchQueryRulesetArgs.builder()
.rulesetId("my-search-rules")
.rules(
ElasticsearchQueryRulesetRuleArgs.builder()
.ruleId("pin-laptops")
.type("pinned")
.priority(1.0)
.criterias(ElasticsearchQueryRulesetRuleCriteriaArgs.builder()
.type("exact")
.metadata("query")
.values(serializeJson(
jsonArray(
"laptop",
"notebook"
)))
.build())
.actions(ElasticsearchQueryRulesetRuleActionsArgs.builder()
.ids(
"doc-1",
"doc-2")
.build())
.build(),
ElasticsearchQueryRulesetRuleArgs.builder()
.ruleId("exclude-deprecated")
.type("exclude")
.criterias(ElasticsearchQueryRulesetRuleCriteriaArgs.builder()
.type("contains")
.metadata("query")
.values(serializeJson(
jsonArray("deprecated")))
.build())
.actions(ElasticsearchQueryRulesetRuleActionsArgs.builder()
.docs(ElasticsearchQueryRulesetRuleActionsDocArgs.builder()
._index("products")
._id("old-1")
.build())
.build())
.build())
.build());
final var example = ElasticstackFunctions.getElasticsearchQueryRuleset(GetElasticsearchQueryRulesetArgs.builder()
.rulesetId(myRuleset.rulesetId())
.build());
ctx.export("rules", example.applyValue(_example -> _example.rules()));
}
}
resources:
myRuleset:
type: elasticstack:ElasticsearchQueryRuleset
name: my_ruleset
properties:
rulesetId: my-search-rules
rules:
- ruleId: pin-laptops
type: pinned
priority: 1
criterias:
- type: exact
metadata: query
values:
fn::toJSON:
- laptop
- notebook
actions:
ids:
- doc-1
- doc-2
- ruleId: exclude-deprecated
type: exclude
criterias:
- type: contains
metadata: query
values:
fn::toJSON:
- deprecated
actions:
docs:
- _index: products
_id: old-1
variables:
example:
fn::invoke:
function: elasticstack:getElasticsearchQueryRuleset
arguments:
rulesetId: ${myRuleset.rulesetId}
outputs:
rules: ${example.rules}
Example coming soon!
Using getElasticsearchQueryRuleset
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getElasticsearchQueryRuleset(args: GetElasticsearchQueryRulesetArgs, opts?: InvokeOptions): Promise<GetElasticsearchQueryRulesetResult>
function getElasticsearchQueryRulesetOutput(args: GetElasticsearchQueryRulesetOutputArgs, opts?: InvokeOptions): Output<GetElasticsearchQueryRulesetResult>def get_elasticsearch_query_ruleset(elasticsearch_connections: Optional[Sequence[GetElasticsearchQueryRulesetElasticsearchConnection]] = None,
ruleset_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetElasticsearchQueryRulesetResult
def get_elasticsearch_query_ruleset_output(elasticsearch_connections: pulumi.Input[Optional[Sequence[pulumi.Input[GetElasticsearchQueryRulesetElasticsearchConnectionArgs]]]] = None,
ruleset_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetElasticsearchQueryRulesetResult]func LookupElasticsearchQueryRuleset(ctx *Context, args *LookupElasticsearchQueryRulesetArgs, opts ...InvokeOption) (*LookupElasticsearchQueryRulesetResult, error)
func LookupElasticsearchQueryRulesetOutput(ctx *Context, args *LookupElasticsearchQueryRulesetOutputArgs, opts ...InvokeOption) LookupElasticsearchQueryRulesetResultOutput> Note: This function is named LookupElasticsearchQueryRuleset in the Go SDK.
public static class GetElasticsearchQueryRuleset
{
public static Task<GetElasticsearchQueryRulesetResult> InvokeAsync(GetElasticsearchQueryRulesetArgs args, InvokeOptions? opts = null)
public static Output<GetElasticsearchQueryRulesetResult> Invoke(GetElasticsearchQueryRulesetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetElasticsearchQueryRulesetResult> getElasticsearchQueryRuleset(GetElasticsearchQueryRulesetArgs args, InvokeOptions options)
public static Output<GetElasticsearchQueryRulesetResult> getElasticsearchQueryRuleset(GetElasticsearchQueryRulesetArgs args, InvokeOptions options)
fn::invoke:
function: elasticstack:index/getElasticsearchQueryRuleset:getElasticsearchQueryRuleset
arguments:
# arguments dictionarydata "elasticstack_getelasticsearchqueryruleset" "name" {
# arguments
}The following arguments are supported:
- Ruleset
Id string - Unique identifier of the query ruleset to look up.
- Elasticsearch
Connections List<GetElasticsearch Query Ruleset Elasticsearch Connection> - Elasticsearch connection configuration block.
- Ruleset
Id string - Unique identifier of the query ruleset to look up.
- Elasticsearch
Connections []GetElasticsearch Query Ruleset Elasticsearch Connection - Elasticsearch connection configuration block.
- ruleset_
id string - Unique identifier of the query ruleset to look up.
- elasticsearch_
connections list(object) - Elasticsearch connection configuration block.
- ruleset
Id String - Unique identifier of the query ruleset to look up.
- elasticsearch
Connections List<GetElasticsearch Query Ruleset Elasticsearch Connection> - Elasticsearch connection configuration block.
- ruleset
Id string - Unique identifier of the query ruleset to look up.
- elasticsearch
Connections GetElasticsearch Query Ruleset Elasticsearch Connection[] - Elasticsearch connection configuration block.
- ruleset_
id str - Unique identifier of the query ruleset to look up.
- elasticsearch_
connections Sequence[GetElasticsearch Query Ruleset Elasticsearch Connection] - Elasticsearch connection configuration block.
- ruleset
Id String - Unique identifier of the query ruleset to look up.
- elasticsearch
Connections List<Property Map> - Elasticsearch connection configuration block.
getElasticsearchQueryRuleset Result
The following output properties are available:
- Id string
- Internal identifier in the form
<cluster_uuid>/<ruleset_id>. - Rules
List<Get
Elasticsearch Query Ruleset Rule> - Ordered list of query rules for this ruleset.
- Ruleset
Id string - Unique identifier of the query ruleset to look up.
- Elasticsearch
Connections List<GetElasticsearch Query Ruleset Elasticsearch Connection> - Elasticsearch connection configuration block.
- Id string
- Internal identifier in the form
<cluster_uuid>/<ruleset_id>. - Rules
[]Get
Elasticsearch Query Ruleset Rule - Ordered list of query rules for this ruleset.
- Ruleset
Id string - Unique identifier of the query ruleset to look up.
- Elasticsearch
Connections []GetElasticsearch Query Ruleset Elasticsearch Connection - Elasticsearch connection configuration block.
- id string
- Internal identifier in the form
<cluster_uuid>/<ruleset_id>. - rules list(object)
- Ordered list of query rules for this ruleset.
- ruleset_
id string - Unique identifier of the query ruleset to look up.
- elasticsearch_
connections list(object) - Elasticsearch connection configuration block.
- id String
- Internal identifier in the form
<cluster_uuid>/<ruleset_id>. - rules
List<Get
Elasticsearch Query Ruleset Rule> - Ordered list of query rules for this ruleset.
- ruleset
Id String - Unique identifier of the query ruleset to look up.
- elasticsearch
Connections List<GetElasticsearch Query Ruleset Elasticsearch Connection> - Elasticsearch connection configuration block.
- id string
- Internal identifier in the form
<cluster_uuid>/<ruleset_id>. - rules
Get
Elasticsearch Query Ruleset Rule[] - Ordered list of query rules for this ruleset.
- ruleset
Id string - Unique identifier of the query ruleset to look up.
- elasticsearch
Connections GetElasticsearch Query Ruleset Elasticsearch Connection[] - Elasticsearch connection configuration block.
- id str
- Internal identifier in the form
<cluster_uuid>/<ruleset_id>. - rules
Sequence[Get
Elasticsearch Query Ruleset Rule] - Ordered list of query rules for this ruleset.
- ruleset_
id str - Unique identifier of the query ruleset to look up.
- elasticsearch_
connections Sequence[GetElasticsearch Query Ruleset Elasticsearch Connection] - Elasticsearch connection configuration block.
- id String
- Internal identifier in the form
<cluster_uuid>/<ruleset_id>. - rules List<Property Map>
- Ordered list of query rules for this ruleset.
- ruleset
Id String - Unique identifier of the query ruleset to look up.
- elasticsearch
Connections List<Property Map> - Elasticsearch connection configuration block.
Supporting Types
GetElasticsearchQueryRulesetElasticsearchConnection
- Api
Key string - API Key to use for authentication to Elasticsearch
- Bearer
Token string - Bearer Token to use for authentication to Elasticsearch
- Ca
Data string - PEM-encoded custom Certificate Authority certificate
- Ca
File string - Path to a custom Certificate Authority certificate
- Cert
Data string - PEM encoded certificate for client auth
- Cert
File string - Path to a file containing the PEM encoded certificate for client auth
- Endpoints List<string>
- Es
Client stringAuthentication - ES Client Authentication field to be used with the JWT token
- Headers Dictionary<string, string>
- A list of headers to be sent with each request to Elasticsearch.
- Insecure bool
- Disable TLS certificate validation
- Key
Data string - PEM encoded private key for client auth
- Key
File string - Path to a file containing the PEM encoded private key for client auth
- Password string
- Password to use for API authentication to Elasticsearch.
- Username string
- Username to use for API authentication to Elasticsearch.
- Api
Key string - API Key to use for authentication to Elasticsearch
- Bearer
Token string - Bearer Token to use for authentication to Elasticsearch
- Ca
Data string - PEM-encoded custom Certificate Authority certificate
- Ca
File string - Path to a custom Certificate Authority certificate
- Cert
Data string - PEM encoded certificate for client auth
- Cert
File string - Path to a file containing the PEM encoded certificate for client auth
- Endpoints []string
- Es
Client stringAuthentication - ES Client Authentication field to be used with the JWT token
- Headers map[string]string
- A list of headers to be sent with each request to Elasticsearch.
- Insecure bool
- Disable TLS certificate validation
- Key
Data string - PEM encoded private key for client auth
- Key
File string - Path to a file containing the PEM encoded private key for client auth
- Password string
- Password to use for API authentication to Elasticsearch.
- Username string
- Username to use for API authentication to Elasticsearch.
- api_
key string - API Key to use for authentication to Elasticsearch
- bearer_
token string - Bearer Token to use for authentication to Elasticsearch
- ca_
data string - PEM-encoded custom Certificate Authority certificate
- ca_
file string - Path to a custom Certificate Authority certificate
- cert_
data string - PEM encoded certificate for client auth
- cert_
file string - Path to a file containing the PEM encoded certificate for client auth
- endpoints list(string)
- es_
client_ stringauthentication - ES Client Authentication field to be used with the JWT token
- headers map(string)
- A list of headers to be sent with each request to Elasticsearch.
- insecure bool
- Disable TLS certificate validation
- key_
data string - PEM encoded private key for client auth
- key_
file string - Path to a file containing the PEM encoded private key for client auth
- password string
- Password to use for API authentication to Elasticsearch.
- username string
- Username to use for API authentication to Elasticsearch.
- api
Key String - API Key to use for authentication to Elasticsearch
- bearer
Token String - Bearer Token to use for authentication to Elasticsearch
- ca
Data String - PEM-encoded custom Certificate Authority certificate
- ca
File String - Path to a custom Certificate Authority certificate
- cert
Data String - PEM encoded certificate for client auth
- cert
File String - Path to a file containing the PEM encoded certificate for client auth
- endpoints List<String>
- es
Client StringAuthentication - ES Client Authentication field to be used with the JWT token
- headers Map<String,String>
- A list of headers to be sent with each request to Elasticsearch.
- insecure Boolean
- Disable TLS certificate validation
- key
Data String - PEM encoded private key for client auth
- key
File String - Path to a file containing the PEM encoded private key for client auth
- password String
- Password to use for API authentication to Elasticsearch.
- username String
- Username to use for API authentication to Elasticsearch.
- api
Key string - API Key to use for authentication to Elasticsearch
- bearer
Token string - Bearer Token to use for authentication to Elasticsearch
- ca
Data string - PEM-encoded custom Certificate Authority certificate
- ca
File string - Path to a custom Certificate Authority certificate
- cert
Data string - PEM encoded certificate for client auth
- cert
File string - Path to a file containing the PEM encoded certificate for client auth
- endpoints string[]
- es
Client stringAuthentication - ES Client Authentication field to be used with the JWT token
- headers {[key: string]: string}
- A list of headers to be sent with each request to Elasticsearch.
- insecure boolean
- Disable TLS certificate validation
- key
Data string - PEM encoded private key for client auth
- key
File string - Path to a file containing the PEM encoded private key for client auth
- password string
- Password to use for API authentication to Elasticsearch.
- username string
- Username to use for API authentication to Elasticsearch.
- api_
key str - API Key to use for authentication to Elasticsearch
- bearer_
token str - Bearer Token to use for authentication to Elasticsearch
- ca_
data str - PEM-encoded custom Certificate Authority certificate
- ca_
file str - Path to a custom Certificate Authority certificate
- cert_
data str - PEM encoded certificate for client auth
- cert_
file str - Path to a file containing the PEM encoded certificate for client auth
- endpoints Sequence[str]
- es_
client_ strauthentication - ES Client Authentication field to be used with the JWT token
- headers Mapping[str, str]
- A list of headers to be sent with each request to Elasticsearch.
- insecure bool
- Disable TLS certificate validation
- key_
data str - PEM encoded private key for client auth
- key_
file str - Path to a file containing the PEM encoded private key for client auth
- password str
- Password to use for API authentication to Elasticsearch.
- username str
- Username to use for API authentication to Elasticsearch.
- api
Key String - API Key to use for authentication to Elasticsearch
- bearer
Token String - Bearer Token to use for authentication to Elasticsearch
- ca
Data String - PEM-encoded custom Certificate Authority certificate
- ca
File String - Path to a custom Certificate Authority certificate
- cert
Data String - PEM encoded certificate for client auth
- cert
File String - Path to a file containing the PEM encoded certificate for client auth
- endpoints List<String>
- es
Client StringAuthentication - ES Client Authentication field to be used with the JWT token
- headers Map<String>
- A list of headers to be sent with each request to Elasticsearch.
- insecure Boolean
- Disable TLS certificate validation
- key
Data String - PEM encoded private key for client auth
- key
File String - Path to a file containing the PEM encoded private key for client auth
- password String
- Password to use for API authentication to Elasticsearch.
- username String
- Username to use for API authentication to Elasticsearch.
GetElasticsearchQueryRulesetRule
- Actions
Get
Elasticsearch Query Ruleset Rule Actions - Actions taken when the rule matches.
- Criterias
List<Get
Elasticsearch Query Ruleset Rule Criteria> - Match criteria for the rule.
- Priority double
- Relative priority within the ruleset.
- Rule
Id string - Unique identifier for the rule within the ruleset.
- Type string
- Rule type:
pinnedorexclude.
- Actions
Get
Elasticsearch Query Ruleset Rule Actions - Actions taken when the rule matches.
- Criterias
[]Get
Elasticsearch Query Ruleset Rule Criteria - Match criteria for the rule.
- Priority float64
- Relative priority within the ruleset.
- Rule
Id string - Unique identifier for the rule within the ruleset.
- Type string
- Rule type:
pinnedorexclude.
- actions
Get
Elasticsearch Query Ruleset Rule Actions - Actions taken when the rule matches.
- criterias
List<Get
Elasticsearch Query Ruleset Rule Criteria> - Match criteria for the rule.
- priority Double
- Relative priority within the ruleset.
- rule
Id String - Unique identifier for the rule within the ruleset.
- type String
- Rule type:
pinnedorexclude.
- actions
Get
Elasticsearch Query Ruleset Rule Actions - Actions taken when the rule matches.
- criterias
Get
Elasticsearch Query Ruleset Rule Criteria[] - Match criteria for the rule.
- priority number
- Relative priority within the ruleset.
- rule
Id string - Unique identifier for the rule within the ruleset.
- type string
- Rule type:
pinnedorexclude.
- actions
Get
Elasticsearch Query Ruleset Rule Actions - Actions taken when the rule matches.
- criterias
Sequence[Get
Elasticsearch Query Ruleset Rule Criteria] - Match criteria for the rule.
- priority float
- Relative priority within the ruleset.
- rule_
id str - Unique identifier for the rule within the ruleset.
- type str
- Rule type:
pinnedorexclude.
- actions Property Map
- Actions taken when the rule matches.
- criterias List<Property Map>
- Match criteria for the rule.
- priority Number
- Relative priority within the ruleset.
- rule
Id String - Unique identifier for the rule within the ruleset.
- type String
- Rule type:
pinnedorexclude.
GetElasticsearchQueryRulesetRuleActions
- Docs
List<Get
Elasticsearch Query Ruleset Rule Actions Doc> - Documents pinned or excluded.
- Ids List<string>
- Document IDs pinned or excluded.
- Docs
[]Get
Elasticsearch Query Ruleset Rule Actions Doc - Documents pinned or excluded.
- Ids []string
- Document IDs pinned or excluded.
- docs list(object)
- Documents pinned or excluded.
- ids list(string)
- Document IDs pinned or excluded.
- docs
List<Get
Elasticsearch Query Ruleset Rule Actions Doc> - Documents pinned or excluded.
- ids List<String>
- Document IDs pinned or excluded.
- docs
Get
Elasticsearch Query Ruleset Rule Actions Doc[] - Documents pinned or excluded.
- ids string[]
- Document IDs pinned or excluded.
- docs
Sequence[Get
Elasticsearch Query Ruleset Rule Actions Doc] - Documents pinned or excluded.
- ids Sequence[str]
- Document IDs pinned or excluded.
- docs List<Property Map>
- Documents pinned or excluded.
- ids List<String>
- Document IDs pinned or excluded.
GetElasticsearchQueryRulesetRuleActionsDoc
GetElasticsearchQueryRulesetRuleCriteria
Package Details
- Repository
- elasticstack elastic/terraform-provider-elasticstack
- License
- Notes
- This Pulumi package is based on the
elasticstackTerraform Provider.
Viewing docs for elasticstack 0.16.1
published on Monday, Jun 1, 2026 by elastic
published on Monday, Jun 1, 2026 by elastic