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 synonym set. See the synonym set API documentation for more details.
Using getElasticsearchSynonymSet
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 getElasticsearchSynonymSet(args: GetElasticsearchSynonymSetArgs, opts?: InvokeOptions): Promise<GetElasticsearchSynonymSetResult>
function getElasticsearchSynonymSetOutput(args: GetElasticsearchSynonymSetOutputArgs, opts?: InvokeOptions): Output<GetElasticsearchSynonymSetResult>def get_elasticsearch_synonym_set(elasticsearch_connections: Optional[Sequence[GetElasticsearchSynonymSetElasticsearchConnection]] = None,
synonym_set_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetElasticsearchSynonymSetResult
def get_elasticsearch_synonym_set_output(elasticsearch_connections: pulumi.Input[Optional[Sequence[pulumi.Input[GetElasticsearchSynonymSetElasticsearchConnectionArgs]]]] = None,
synonym_set_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetElasticsearchSynonymSetResult]func LookupElasticsearchSynonymSet(ctx *Context, args *LookupElasticsearchSynonymSetArgs, opts ...InvokeOption) (*LookupElasticsearchSynonymSetResult, error)
func LookupElasticsearchSynonymSetOutput(ctx *Context, args *LookupElasticsearchSynonymSetOutputArgs, opts ...InvokeOption) LookupElasticsearchSynonymSetResultOutput> Note: This function is named LookupElasticsearchSynonymSet in the Go SDK.
public static class GetElasticsearchSynonymSet
{
public static Task<GetElasticsearchSynonymSetResult> InvokeAsync(GetElasticsearchSynonymSetArgs args, InvokeOptions? opts = null)
public static Output<GetElasticsearchSynonymSetResult> Invoke(GetElasticsearchSynonymSetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetElasticsearchSynonymSetResult> getElasticsearchSynonymSet(GetElasticsearchSynonymSetArgs args, InvokeOptions options)
public static Output<GetElasticsearchSynonymSetResult> getElasticsearchSynonymSet(GetElasticsearchSynonymSetArgs args, InvokeOptions options)
fn::invoke:
function: elasticstack:index/getElasticsearchSynonymSet:getElasticsearchSynonymSet
arguments:
# arguments dictionarydata "elasticstack_getelasticsearchsynonymset" "name" {
# arguments
}The following arguments are supported:
- Synonym
Set stringId - The name of the synonym set to look up.
- Elasticsearch
Connections List<GetElasticsearch Synonym Set Elasticsearch Connection> - Elasticsearch connection configuration block.
- Synonym
Set stringId - The name of the synonym set to look up.
- Elasticsearch
Connections []GetElasticsearch Synonym Set Elasticsearch Connection - Elasticsearch connection configuration block.
- synonym_
set_ stringid - The name of the synonym set to look up.
- elasticsearch_
connections list(object) - Elasticsearch connection configuration block.
- synonym
Set StringId - The name of the synonym set to look up.
- elasticsearch
Connections List<GetElasticsearch Synonym Set Elasticsearch Connection> - Elasticsearch connection configuration block.
- synonym
Set stringId - The name of the synonym set to look up.
- elasticsearch
Connections GetElasticsearch Synonym Set Elasticsearch Connection[] - Elasticsearch connection configuration block.
- synonym_
set_ strid - The name of the synonym set to look up.
- elasticsearch_
connections Sequence[GetElasticsearch Synonym Set Elasticsearch Connection] - Elasticsearch connection configuration block.
- synonym
Set StringId - The name of the synonym set to look up.
- elasticsearch
Connections List<Property Map> - Elasticsearch connection configuration block.
getElasticsearchSynonymSet Result
The following output properties are available:
- Id string
- Internal identifier of the resource.
- Synonym
Set stringId - The name of the synonym set to look up.
- Synonyms
Sets List<GetElasticsearch Synonym Set Synonyms Set> - The list of synonym rules for this synonym set.
- Elasticsearch
Connections List<GetElasticsearch Synonym Set Elasticsearch Connection> - Elasticsearch connection configuration block.
- Id string
- Internal identifier of the resource.
- Synonym
Set stringId - The name of the synonym set to look up.
- Synonyms
Sets []GetElasticsearch Synonym Set Synonyms Set - The list of synonym rules for this synonym set.
- Elasticsearch
Connections []GetElasticsearch Synonym Set Elasticsearch Connection - Elasticsearch connection configuration block.
- id string
- Internal identifier of the resource.
- synonym_
set_ stringid - The name of the synonym set to look up.
- synonyms_
sets list(object) - The list of synonym rules for this synonym set.
- elasticsearch_
connections list(object) - Elasticsearch connection configuration block.
- id String
- Internal identifier of the resource.
- synonym
Set StringId - The name of the synonym set to look up.
- synonyms
Sets List<GetElasticsearch Synonym Set Synonyms Set> - The list of synonym rules for this synonym set.
- elasticsearch
Connections List<GetElasticsearch Synonym Set Elasticsearch Connection> - Elasticsearch connection configuration block.
- id string
- Internal identifier of the resource.
- synonym
Set stringId - The name of the synonym set to look up.
- synonyms
Sets GetElasticsearch Synonym Set Synonyms Set[] - The list of synonym rules for this synonym set.
- elasticsearch
Connections GetElasticsearch Synonym Set Elasticsearch Connection[] - Elasticsearch connection configuration block.
- id str
- Internal identifier of the resource.
- synonym_
set_ strid - The name of the synonym set to look up.
- synonyms_
sets Sequence[GetElasticsearch Synonym Set Synonyms Set] - The list of synonym rules for this synonym set.
- elasticsearch_
connections Sequence[GetElasticsearch Synonym Set Elasticsearch Connection] - Elasticsearch connection configuration block.
- id String
- Internal identifier of the resource.
- synonym
Set StringId - The name of the synonym set to look up.
- synonyms
Sets List<Property Map> - The list of synonym rules for this synonym set.
- elasticsearch
Connections List<Property Map> - Elasticsearch connection configuration block.
Supporting Types
GetElasticsearchSynonymSetElasticsearchConnection
- 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.
GetElasticsearchSynonymSetSynonymsSet
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