elasticstack 0.12.2 published on Wednesday, Nov 19, 2025 by elastic
elasticstack 0.12.2 published on Wednesday, Nov 19, 2025 by elastic
Gets information about the registered snapshot repositories.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as elasticstack from "@pulumi/elasticstack";
const myUrlRepoElasticsearchSnapshotRepository = new elasticstack.ElasticsearchSnapshotRepository("my_url_repo", {
name: "my_url_repo",
url: {
url: "https://example.com/repo",
},
});
const myFsRepoElasticsearchSnapshotRepository = new elasticstack.ElasticsearchSnapshotRepository("my_fs_repo", {
name: "my_fs_repo",
fs: {
location: "/tmp",
compress: true,
maxRestoreBytesPerSec: "10mb",
},
});
const myFsRepo = elasticstack.getElasticsearchSnapshotRepositoryOutput({
name: myFsRepoElasticsearchSnapshotRepository.name,
});
const myUrlRepo = elasticstack.getElasticsearchSnapshotRepositoryOutput({
name: myUrlRepoElasticsearchSnapshotRepository.name,
});
export const repoFsLocation = myFsRepo.apply(myFsRepo => myFsRepo.fs?.[0]?.location);
export const repoUrl = myUrlRepo.apply(myUrlRepo => myUrlRepo.urls?.[0]?.url);
import pulumi
import pulumi_elasticstack as elasticstack
my_url_repo_elasticsearch_snapshot_repository = elasticstack.ElasticsearchSnapshotRepository("my_url_repo",
name="my_url_repo",
url={
"url": "https://example.com/repo",
})
my_fs_repo_elasticsearch_snapshot_repository = elasticstack.ElasticsearchSnapshotRepository("my_fs_repo",
name="my_fs_repo",
fs={
"location": "/tmp",
"compress": True,
"max_restore_bytes_per_sec": "10mb",
})
my_fs_repo = elasticstack.get_elasticsearch_snapshot_repository_output(name=my_fs_repo_elasticsearch_snapshot_repository.name)
my_url_repo = elasticstack.get_elasticsearch_snapshot_repository_output(name=my_url_repo_elasticsearch_snapshot_repository.name)
pulumi.export("repoFsLocation", my_fs_repo.fs[0].location)
pulumi.export("repoUrl", my_url_repo.urls[0].url)
package main
import (
"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 {
myUrlRepoElasticsearchSnapshotRepository, err := elasticstack.NewElasticsearchSnapshotRepository(ctx, "my_url_repo", &elasticstack.ElasticsearchSnapshotRepositoryArgs{
Name: pulumi.String("my_url_repo"),
Url: &elasticstack.ElasticsearchSnapshotRepositoryUrlArgs{
Url: pulumi.String("https://example.com/repo"),
},
})
if err != nil {
return err
}
myFsRepoElasticsearchSnapshotRepository, err := elasticstack.NewElasticsearchSnapshotRepository(ctx, "my_fs_repo", &elasticstack.ElasticsearchSnapshotRepositoryArgs{
Name: pulumi.String("my_fs_repo"),
Fs: &elasticstack.ElasticsearchSnapshotRepositoryFsArgs{
Location: pulumi.String("/tmp"),
Compress: pulumi.Bool(true),
MaxRestoreBytesPerSec: pulumi.String("10mb"),
},
})
if err != nil {
return err
}
myFsRepo := elasticstack.LookupElasticsearchSnapshotRepositoryOutput(ctx, elasticstack.GetElasticsearchSnapshotRepositoryOutputArgs{
Name: myFsRepoElasticsearchSnapshotRepository.Name,
}, nil)
myUrlRepo := elasticstack.LookupElasticsearchSnapshotRepositoryOutput(ctx, elasticstack.GetElasticsearchSnapshotRepositoryOutputArgs{
Name: myUrlRepoElasticsearchSnapshotRepository.Name,
}, nil)
ctx.Export("repoFsLocation", myFsRepo.ApplyT(func(myFsRepo elasticstack.GetElasticsearchSnapshotRepositoryResult) (*string, error) {
return &myFsRepo.Fs[0].Location, nil
}).(pulumi.StringPtrOutput))
ctx.Export("repoUrl", myUrlRepo.ApplyT(func(myUrlRepo elasticstack.GetElasticsearchSnapshotRepositoryResult) (*string, error) {
return &myUrlRepo.Urls[0].Url, nil
}).(pulumi.StringPtrOutput))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Elasticstack = Pulumi.Elasticstack;
return await Deployment.RunAsync(() =>
{
var myUrlRepoElasticsearchSnapshotRepository = new Elasticstack.ElasticsearchSnapshotRepository("my_url_repo", new()
{
Name = "my_url_repo",
Url = new Elasticstack.Inputs.ElasticsearchSnapshotRepositoryUrlArgs
{
Url = "https://example.com/repo",
},
});
var myFsRepoElasticsearchSnapshotRepository = new Elasticstack.ElasticsearchSnapshotRepository("my_fs_repo", new()
{
Name = "my_fs_repo",
Fs = new Elasticstack.Inputs.ElasticsearchSnapshotRepositoryFsArgs
{
Location = "/tmp",
Compress = true,
MaxRestoreBytesPerSec = "10mb",
},
});
var myFsRepo = Elasticstack.GetElasticsearchSnapshotRepository.Invoke(new()
{
Name = myFsRepoElasticsearchSnapshotRepository.Name,
});
var myUrlRepo = Elasticstack.GetElasticsearchSnapshotRepository.Invoke(new()
{
Name = myUrlRepoElasticsearchSnapshotRepository.Name,
});
return new Dictionary<string, object?>
{
["repoFsLocation"] = myFsRepo.Apply(getElasticsearchSnapshotRepositoryResult => getElasticsearchSnapshotRepositoryResult.Fs[0]?.Location),
["repoUrl"] = myUrlRepo.Apply(getElasticsearchSnapshotRepositoryResult => getElasticsearchSnapshotRepositoryResult.Urls[0]?.Url),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.elasticstack.ElasticsearchSnapshotRepository;
import com.pulumi.elasticstack.ElasticsearchSnapshotRepositoryArgs;
import com.pulumi.elasticstack.inputs.ElasticsearchSnapshotRepositoryUrlArgs;
import com.pulumi.elasticstack.inputs.ElasticsearchSnapshotRepositoryFsArgs;
import com.pulumi.elasticstack.ElasticstackFunctions;
import com.pulumi.elasticstack.inputs.GetElasticsearchSnapshotRepositoryArgs;
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 myUrlRepoElasticsearchSnapshotRepository = new ElasticsearchSnapshotRepository("myUrlRepoElasticsearchSnapshotRepository", ElasticsearchSnapshotRepositoryArgs.builder()
.name("my_url_repo")
.url(ElasticsearchSnapshotRepositoryUrlArgs.builder()
.url("https://example.com/repo")
.build())
.build());
var myFsRepoElasticsearchSnapshotRepository = new ElasticsearchSnapshotRepository("myFsRepoElasticsearchSnapshotRepository", ElasticsearchSnapshotRepositoryArgs.builder()
.name("my_fs_repo")
.fs(ElasticsearchSnapshotRepositoryFsArgs.builder()
.location("/tmp")
.compress(true)
.maxRestoreBytesPerSec("10mb")
.build())
.build());
final var myFsRepo = ElasticstackFunctions.getElasticsearchSnapshotRepository(GetElasticsearchSnapshotRepositoryArgs.builder()
.name(myFsRepoElasticsearchSnapshotRepository.name())
.build());
final var myUrlRepo = ElasticstackFunctions.getElasticsearchSnapshotRepository(GetElasticsearchSnapshotRepositoryArgs.builder()
.name(myUrlRepoElasticsearchSnapshotRepository.name())
.build());
ctx.export("repoFsLocation", myFsRepo.applyValue(_myFsRepo -> _myFsRepo.fs()[0].location()));
ctx.export("repoUrl", myUrlRepo.applyValue(_myUrlRepo -> _myUrlRepo.urls()[0].url()));
}
}
resources:
myUrlRepoElasticsearchSnapshotRepository:
type: elasticstack:ElasticsearchSnapshotRepository
name: my_url_repo
properties:
name: my_url_repo
url:
url: https://example.com/repo
myFsRepoElasticsearchSnapshotRepository:
type: elasticstack:ElasticsearchSnapshotRepository
name: my_fs_repo
properties:
name: my_fs_repo
fs:
location: /tmp
compress: true
maxRestoreBytesPerSec: 10mb
variables:
myFsRepo:
fn::invoke:
function: elasticstack:getElasticsearchSnapshotRepository
arguments:
name: ${myFsRepoElasticsearchSnapshotRepository.name}
myUrlRepo:
fn::invoke:
function: elasticstack:getElasticsearchSnapshotRepository
arguments:
name: ${myUrlRepoElasticsearchSnapshotRepository.name}
outputs:
repoFsLocation: ${myFsRepo.fs[0].location}
repoUrl: ${myUrlRepo.urls[0].url}
Using getElasticsearchSnapshotRepository
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 getElasticsearchSnapshotRepository(args: GetElasticsearchSnapshotRepositoryArgs, opts?: InvokeOptions): Promise<GetElasticsearchSnapshotRepositoryResult>
function getElasticsearchSnapshotRepositoryOutput(args: GetElasticsearchSnapshotRepositoryOutputArgs, opts?: InvokeOptions): Output<GetElasticsearchSnapshotRepositoryResult>def get_elasticsearch_snapshot_repository(elasticsearch_connection: Optional[GetElasticsearchSnapshotRepositoryElasticsearchConnection] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetElasticsearchSnapshotRepositoryResult
def get_elasticsearch_snapshot_repository_output(elasticsearch_connection: Optional[pulumi.Input[GetElasticsearchSnapshotRepositoryElasticsearchConnectionArgs]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetElasticsearchSnapshotRepositoryResult]func LookupElasticsearchSnapshotRepository(ctx *Context, args *LookupElasticsearchSnapshotRepositoryArgs, opts ...InvokeOption) (*LookupElasticsearchSnapshotRepositoryResult, error)
func LookupElasticsearchSnapshotRepositoryOutput(ctx *Context, args *LookupElasticsearchSnapshotRepositoryOutputArgs, opts ...InvokeOption) LookupElasticsearchSnapshotRepositoryResultOutput> Note: This function is named LookupElasticsearchSnapshotRepository in the Go SDK.
public static class GetElasticsearchSnapshotRepository
{
public static Task<GetElasticsearchSnapshotRepositoryResult> InvokeAsync(GetElasticsearchSnapshotRepositoryArgs args, InvokeOptions? opts = null)
public static Output<GetElasticsearchSnapshotRepositoryResult> Invoke(GetElasticsearchSnapshotRepositoryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetElasticsearchSnapshotRepositoryResult> getElasticsearchSnapshotRepository(GetElasticsearchSnapshotRepositoryArgs args, InvokeOptions options)
public static Output<GetElasticsearchSnapshotRepositoryResult> getElasticsearchSnapshotRepository(GetElasticsearchSnapshotRepositoryArgs args, InvokeOptions options)
fn::invoke:
function: elasticstack:index/getElasticsearchSnapshotRepository:getElasticsearchSnapshotRepository
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- Name of the snapshot repository.
- Elasticsearch
Connection GetElasticsearch Snapshot Repository Elasticsearch Connection - Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.
- Name string
- Name of the snapshot repository.
- Elasticsearch
Connection GetElasticsearch Snapshot Repository Elasticsearch Connection - Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.
- name String
- Name of the snapshot repository.
- elasticsearch
Connection GetElasticsearch Snapshot Repository Elasticsearch Connection - Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.
- name string
- Name of the snapshot repository.
- elasticsearch
Connection GetElasticsearch Snapshot Repository Elasticsearch Connection - Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.
- name str
- Name of the snapshot repository.
- elasticsearch_
connection GetElasticsearch Snapshot Repository Elasticsearch Connection - Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.
- name String
- Name of the snapshot repository.
- elasticsearch
Connection Property Map - Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.
getElasticsearchSnapshotRepository Result
The following output properties are available:
- Azures
List<Get
Elasticsearch Snapshot Repository Azure> - Azure Blob storage as a repository. Set only if the type of the fetched repo is
azure. - Fs
List<Get
Elasticsearch Snapshot Repository F> - Shared filesystem repository. Set only if the type of the fetched repo is
fs. - Gcs
List<Get
Elasticsearch Snapshot Repository Gc> - Google Cloud Storage service as a repository. Set only if the type of the fetched repo is
gcs. - Hdfs
List<Get
Elasticsearch Snapshot Repository Hdf> - HDFS File System as a repository. Set only if the type of the fetched repo is
hdfs. - Id string
- Internal identifier of the resource
- Name string
- Name of the snapshot repository.
- S3s
List<Get
Elasticsearch Snapshot Repository S3> - AWS S3 as a repository. Set only if the type of the fetched repo is
s3. - Type string
- Repository type.
- Urls
List<Get
Elasticsearch Snapshot Repository Url> - URL repository. Set only if the type of the fetched repo is
url. - Elasticsearch
Connection GetElasticsearch Snapshot Repository Elasticsearch Connection - Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.
- Azures
[]Get
Elasticsearch Snapshot Repository Azure - Azure Blob storage as a repository. Set only if the type of the fetched repo is
azure. - Fs
[]Get
Elasticsearch Snapshot Repository F - Shared filesystem repository. Set only if the type of the fetched repo is
fs. - Gcs
[]Get
Elasticsearch Snapshot Repository Gc - Google Cloud Storage service as a repository. Set only if the type of the fetched repo is
gcs. - Hdfs
[]Get
Elasticsearch Snapshot Repository Hdf - HDFS File System as a repository. Set only if the type of the fetched repo is
hdfs. - Id string
- Internal identifier of the resource
- Name string
- Name of the snapshot repository.
- S3s
[]Get
Elasticsearch Snapshot Repository S3 - AWS S3 as a repository. Set only if the type of the fetched repo is
s3. - Type string
- Repository type.
- Urls
[]Get
Elasticsearch Snapshot Repository Url - URL repository. Set only if the type of the fetched repo is
url. - Elasticsearch
Connection GetElasticsearch Snapshot Repository Elasticsearch Connection - Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.
- azures
List<Get
Elasticsearch Snapshot Repository Azure> - Azure Blob storage as a repository. Set only if the type of the fetched repo is
azure. - fs
List<Get
Elasticsearch Snapshot Repository F> - Shared filesystem repository. Set only if the type of the fetched repo is
fs. - gcs
List<Get
Elasticsearch Snapshot Repository Gc> - Google Cloud Storage service as a repository. Set only if the type of the fetched repo is
gcs. - hdfs
List<Get
Elasticsearch Snapshot Repository Hdf> - HDFS File System as a repository. Set only if the type of the fetched repo is
hdfs. - id String
- Internal identifier of the resource
- name String
- Name of the snapshot repository.
- s3s
List<Get
Elasticsearch Snapshot Repository S3> - AWS S3 as a repository. Set only if the type of the fetched repo is
s3. - type String
- Repository type.
- urls
List<Get
Elasticsearch Snapshot Repository Url> - URL repository. Set only if the type of the fetched repo is
url. - elasticsearch
Connection GetElasticsearch Snapshot Repository Elasticsearch Connection - Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.
- azures
Get
Elasticsearch Snapshot Repository Azure[] - Azure Blob storage as a repository. Set only if the type of the fetched repo is
azure. - fs
Get
Elasticsearch Snapshot Repository F[] - Shared filesystem repository. Set only if the type of the fetched repo is
fs. - gcs
Get
Elasticsearch Snapshot Repository Gc[] - Google Cloud Storage service as a repository. Set only if the type of the fetched repo is
gcs. - hdfs
Get
Elasticsearch Snapshot Repository Hdf[] - HDFS File System as a repository. Set only if the type of the fetched repo is
hdfs. - id string
- Internal identifier of the resource
- name string
- Name of the snapshot repository.
- s3s
Get
Elasticsearch Snapshot Repository S3[] - AWS S3 as a repository. Set only if the type of the fetched repo is
s3. - type string
- Repository type.
- urls
Get
Elasticsearch Snapshot Repository Url[] - URL repository. Set only if the type of the fetched repo is
url. - elasticsearch
Connection GetElasticsearch Snapshot Repository Elasticsearch Connection - Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.
- azures
Sequence[Get
Elasticsearch Snapshot Repository Azure] - Azure Blob storage as a repository. Set only if the type of the fetched repo is
azure. - fs
Sequence[Get
Elasticsearch Snapshot Repository F] - Shared filesystem repository. Set only if the type of the fetched repo is
fs. - gcs
Sequence[Get
Elasticsearch Snapshot Repository Gc] - Google Cloud Storage service as a repository. Set only if the type of the fetched repo is
gcs. - hdfs
Sequence[Get
Elasticsearch Snapshot Repository Hdf] - HDFS File System as a repository. Set only if the type of the fetched repo is
hdfs. - id str
- Internal identifier of the resource
- name str
- Name of the snapshot repository.
- s3s
Sequence[Get
Elasticsearch Snapshot Repository S3] - AWS S3 as a repository. Set only if the type of the fetched repo is
s3. - type str
- Repository type.
- urls
Sequence[Get
Elasticsearch Snapshot Repository Url] - URL repository. Set only if the type of the fetched repo is
url. - elasticsearch_
connection GetElasticsearch Snapshot Repository Elasticsearch Connection - Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.
- azures List<Property Map>
- Azure Blob storage as a repository. Set only if the type of the fetched repo is
azure. - fs List<Property Map>
- Shared filesystem repository. Set only if the type of the fetched repo is
fs. - gcs List<Property Map>
- Google Cloud Storage service as a repository. Set only if the type of the fetched repo is
gcs. - hdfs List<Property Map>
- HDFS File System as a repository. Set only if the type of the fetched repo is
hdfs. - id String
- Internal identifier of the resource
- name String
- Name of the snapshot repository.
- s3s List<Property Map>
- AWS S3 as a repository. Set only if the type of the fetched repo is
s3. - type String
- Repository type.
- urls List<Property Map>
- URL repository. Set only if the type of the fetched repo is
url. - elasticsearch
Connection Property Map - Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.
Supporting Types
GetElasticsearchSnapshotRepositoryAzure
- Base
Path string - Chunk
Size string - Client string
- Compress bool
- Container string
- Location
Mode string - Max
Restore stringBytes Per Sec - Max
Snapshot stringBytes Per Sec - Readonly bool
- Base
Path string - Chunk
Size string - Client string
- Compress bool
- Container string
- Location
Mode string - Max
Restore stringBytes Per Sec - Max
Snapshot stringBytes Per Sec - Readonly bool
- base
Path String - chunk
Size String - client String
- compress Boolean
- container String
- location
Mode String - max
Restore StringBytes Per Sec - max
Snapshot StringBytes Per Sec - readonly Boolean
- base
Path string - chunk
Size string - client string
- compress boolean
- container string
- location
Mode string - max
Restore stringBytes Per Sec - max
Snapshot stringBytes Per Sec - readonly boolean
- base_
path str - chunk_
size str - client str
- compress bool
- container str
- location_
mode str - max_
restore_ strbytes_ per_ sec - max_
snapshot_ strbytes_ per_ sec - readonly bool
- base
Path String - chunk
Size String - client String
- compress Boolean
- container String
- location
Mode String - max
Restore StringBytes Per Sec - max
Snapshot StringBytes Per Sec - readonly Boolean
GetElasticsearchSnapshotRepositoryElasticsearchConnection
- 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,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.
GetElasticsearchSnapshotRepositoryF
- Chunk
Size string - Compress bool
- Location string
- Max
Number doubleOf Snapshots - Max
Restore stringBytes Per Sec - Max
Snapshot stringBytes Per Sec - Readonly bool
- Chunk
Size string - Compress bool
- Location string
- Max
Number float64Of Snapshots - Max
Restore stringBytes Per Sec - Max
Snapshot stringBytes Per Sec - Readonly bool
- chunk
Size String - compress Boolean
- location String
- max
Number DoubleOf Snapshots - max
Restore StringBytes Per Sec - max
Snapshot StringBytes Per Sec - readonly Boolean
- chunk
Size string - compress boolean
- location string
- max
Number numberOf Snapshots - max
Restore stringBytes Per Sec - max
Snapshot stringBytes Per Sec - readonly boolean
- chunk_
size str - compress bool
- location str
- max_
number_ floatof_ snapshots - max_
restore_ strbytes_ per_ sec - max_
snapshot_ strbytes_ per_ sec - readonly bool
- chunk
Size String - compress Boolean
- location String
- max
Number NumberOf Snapshots - max
Restore StringBytes Per Sec - max
Snapshot StringBytes Per Sec - readonly Boolean
GetElasticsearchSnapshotRepositoryGc
- Base
Path string - Bucket string
- Chunk
Size string - Client string
- Compress bool
- Max
Restore stringBytes Per Sec - Max
Snapshot stringBytes Per Sec - Readonly bool
- Base
Path string - Bucket string
- Chunk
Size string - Client string
- Compress bool
- Max
Restore stringBytes Per Sec - Max
Snapshot stringBytes Per Sec - Readonly bool
- base
Path String - bucket String
- chunk
Size String - client String
- compress Boolean
- max
Restore StringBytes Per Sec - max
Snapshot StringBytes Per Sec - readonly Boolean
- base
Path string - bucket string
- chunk
Size string - client string
- compress boolean
- max
Restore stringBytes Per Sec - max
Snapshot stringBytes Per Sec - readonly boolean
- base_
path str - bucket str
- chunk_
size str - client str
- compress bool
- max_
restore_ strbytes_ per_ sec - max_
snapshot_ strbytes_ per_ sec - readonly bool
- base
Path String - bucket String
- chunk
Size String - client String
- compress Boolean
- max
Restore StringBytes Per Sec - max
Snapshot StringBytes Per Sec - readonly Boolean
GetElasticsearchSnapshotRepositoryHdf
- Chunk
Size string - Compress bool
- Load
Defaults bool - Max
Restore stringBytes Per Sec - Max
Snapshot stringBytes Per Sec - Path string
- Readonly bool
- Uri string
- Chunk
Size string - Compress bool
- Load
Defaults bool - Max
Restore stringBytes Per Sec - Max
Snapshot stringBytes Per Sec - Path string
- Readonly bool
- Uri string
- chunk
Size String - compress Boolean
- load
Defaults Boolean - max
Restore StringBytes Per Sec - max
Snapshot StringBytes Per Sec - path String
- readonly Boolean
- uri String
- chunk
Size string - compress boolean
- load
Defaults boolean - max
Restore stringBytes Per Sec - max
Snapshot stringBytes Per Sec - path string
- readonly boolean
- uri string
- chunk_
size str - compress bool
- load_
defaults bool - max_
restore_ strbytes_ per_ sec - max_
snapshot_ strbytes_ per_ sec - path str
- readonly bool
- uri str
- chunk
Size String - compress Boolean
- load
Defaults Boolean - max
Restore StringBytes Per Sec - max
Snapshot StringBytes Per Sec - path String
- readonly Boolean
- uri String
GetElasticsearchSnapshotRepositoryS3
- Base
Path string - Bucket string
- Buffer
Size string - Canned
Acl string - Chunk
Size string - Client string
- Compress bool
- Max
Restore stringBytes Per Sec - Max
Snapshot stringBytes Per Sec - Path
Style boolAccess - Readonly bool
- Server
Side boolEncryption - Storage
Class string
- Base
Path string - Bucket string
- Buffer
Size string - Canned
Acl string - Chunk
Size string - Client string
- Compress bool
- Max
Restore stringBytes Per Sec - Max
Snapshot stringBytes Per Sec - Path
Style boolAccess - Readonly bool
- Server
Side boolEncryption - Storage
Class string
- base
Path String - bucket String
- buffer
Size String - canned
Acl String - chunk
Size String - client String
- compress Boolean
- max
Restore StringBytes Per Sec - max
Snapshot StringBytes Per Sec - path
Style BooleanAccess - readonly Boolean
- server
Side BooleanEncryption - storage
Class String
- base
Path string - bucket string
- buffer
Size string - canned
Acl string - chunk
Size string - client string
- compress boolean
- max
Restore stringBytes Per Sec - max
Snapshot stringBytes Per Sec - path
Style booleanAccess - readonly boolean
- server
Side booleanEncryption - storage
Class string
- base_
path str - bucket str
- buffer_
size str - canned_
acl str - chunk_
size str - client str
- compress bool
- max_
restore_ strbytes_ per_ sec - max_
snapshot_ strbytes_ per_ sec - path_
style_ boolaccess - readonly bool
- server_
side_ boolencryption - storage_
class str
- base
Path String - bucket String
- buffer
Size String - canned
Acl String - chunk
Size String - client String
- compress Boolean
- max
Restore StringBytes Per Sec - max
Snapshot StringBytes Per Sec - path
Style BooleanAccess - readonly Boolean
- server
Side BooleanEncryption - storage
Class String
GetElasticsearchSnapshotRepositoryUrl
- Chunk
Size string - Compress bool
- Http
Max doubleRetries - Http
Socket stringTimeout - Max
Number doubleOf Snapshots - Max
Restore stringBytes Per Sec - Max
Snapshot stringBytes Per Sec - Readonly bool
- Url string
- Chunk
Size string - Compress bool
- Http
Max float64Retries - Http
Socket stringTimeout - Max
Number float64Of Snapshots - Max
Restore stringBytes Per Sec - Max
Snapshot stringBytes Per Sec - Readonly bool
- Url string
- chunk
Size String - compress Boolean
- http
Max DoubleRetries - http
Socket StringTimeout - max
Number DoubleOf Snapshots - max
Restore StringBytes Per Sec - max
Snapshot StringBytes Per Sec - readonly Boolean
- url String
- chunk
Size string - compress boolean
- http
Max numberRetries - http
Socket stringTimeout - max
Number numberOf Snapshots - max
Restore stringBytes Per Sec - max
Snapshot stringBytes Per Sec - readonly boolean
- url string
- chunk_
size str - compress bool
- http_
max_ floatretries - http_
socket_ strtimeout - max_
number_ floatof_ snapshots - max_
restore_ strbytes_ per_ sec - max_
snapshot_ strbytes_ per_ sec - readonly bool
- url str
- chunk
Size String - compress Boolean
- http
Max NumberRetries - http
Socket StringTimeout - max
Number NumberOf Snapshots - max
Restore StringBytes Per Sec - max
Snapshot StringBytes Per Sec - readonly Boolean
- url String
Package Details
- Repository
- elasticstack elastic/terraform-provider-elasticstack
- License
- Notes
- This Pulumi package is based on the
elasticstackTerraform Provider.
elasticstack 0.12.2 published on Wednesday, Nov 19, 2025 by elastic
