elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic
elasticstack.getElasticsearchSnapshotRepository
Explore with Pulumi AI
elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic
This data source provides the information about the registered snaphosts repositories
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 dictionary
The 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
- 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
- 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
- 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
- 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
- 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
- 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
elasticstack
Terraform Provider.
elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic