Viewing docs for elasticstack 0.14.5
published on Thursday, Apr 23, 2026 by elastic
published on Thursday, Apr 23, 2026 by elastic
Viewing docs for elasticstack 0.14.5
published on Thursday, Apr 23, 2026 by elastic
published on Thursday, Apr 23, 2026 by elastic
Use this data source to retrieve and get information about all existing Kibana spaces. See https://www.elastic.co/guide/en/kibana/master/spaces-api-get-all.html
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as elasticstack from "@pulumi/elasticstack";
const allSpaces = elasticstack.getKibanaSpaces({});
import pulumi
import pulumi_elasticstack as elasticstack
all_spaces = elasticstack.get_kibana_spaces()
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 {
_, err := elasticstack.GetKibanaSpaces(ctx, &elasticstack.GetKibanaSpacesArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Elasticstack = Pulumi.Elasticstack;
return await Deployment.RunAsync(() =>
{
var allSpaces = Elasticstack.GetKibanaSpaces.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.elasticstack.ElasticstackFunctions;
import com.pulumi.elasticstack.inputs.GetKibanaSpacesArgs;
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) {
final var allSpaces = ElasticstackFunctions.getKibanaSpaces(GetKibanaSpacesArgs.builder()
.build());
}
}
variables:
allSpaces:
fn::invoke:
function: elasticstack:getKibanaSpaces
arguments: {}
Using getKibanaSpaces
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 getKibanaSpaces(args: GetKibanaSpacesArgs, opts?: InvokeOptions): Promise<GetKibanaSpacesResult>
function getKibanaSpacesOutput(args: GetKibanaSpacesOutputArgs, opts?: InvokeOptions): Output<GetKibanaSpacesResult>def get_kibana_spaces(kibana_connections: Optional[Sequence[GetKibanaSpacesKibanaConnection]] = None,
opts: Optional[InvokeOptions] = None) -> GetKibanaSpacesResult
def get_kibana_spaces_output(kibana_connections: pulumi.Input[Optional[Sequence[pulumi.Input[GetKibanaSpacesKibanaConnectionArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKibanaSpacesResult]func GetKibanaSpaces(ctx *Context, args *GetKibanaSpacesArgs, opts ...InvokeOption) (*GetKibanaSpacesResult, error)
func GetKibanaSpacesOutput(ctx *Context, args *GetKibanaSpacesOutputArgs, opts ...InvokeOption) GetKibanaSpacesResultOutput> Note: This function is named GetKibanaSpaces in the Go SDK.
public static class GetKibanaSpaces
{
public static Task<GetKibanaSpacesResult> InvokeAsync(GetKibanaSpacesArgs args, InvokeOptions? opts = null)
public static Output<GetKibanaSpacesResult> Invoke(GetKibanaSpacesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKibanaSpacesResult> getKibanaSpaces(GetKibanaSpacesArgs args, InvokeOptions options)
public static Output<GetKibanaSpacesResult> getKibanaSpaces(GetKibanaSpacesArgs args, InvokeOptions options)
fn::invoke:
function: elasticstack:index/getKibanaSpaces:getKibanaSpaces
arguments:
# arguments dictionaryThe following arguments are supported:
- Kibana
Connections List<GetKibana Spaces Kibana Connection> - Kibana connection configuration block.
- Kibana
Connections []GetKibana Spaces Kibana Connection - Kibana connection configuration block.
- kibana
Connections List<GetKibana Spaces Kibana Connection> - Kibana connection configuration block.
- kibana
Connections GetKibana Spaces Kibana Connection[] - Kibana connection configuration block.
- kibana_
connections Sequence[GetKibana Spaces Kibana Connection] - Kibana connection configuration block.
- kibana
Connections List<Property Map> - Kibana connection configuration block.
getKibanaSpaces Result
The following output properties are available:
- Id string
- Generated ID for the spaces.
- Spaces
List<Get
Kibana Spaces Space> - The list of spaces.
- Kibana
Connections List<GetKibana Spaces Kibana Connection> - Kibana connection configuration block.
- Id string
- Generated ID for the spaces.
- Spaces
[]Get
Kibana Spaces Space - The list of spaces.
- Kibana
Connections []GetKibana Spaces Kibana Connection - Kibana connection configuration block.
- id String
- Generated ID for the spaces.
- spaces
List<Get
Kibana Spaces Space> - The list of spaces.
- kibana
Connections List<GetKibana Spaces Kibana Connection> - Kibana connection configuration block.
- id string
- Generated ID for the spaces.
- spaces
Get
Kibana Spaces Space[] - The list of spaces.
- kibana
Connections GetKibana Spaces Kibana Connection[] - Kibana connection configuration block.
- id str
- Generated ID for the spaces.
- spaces
Sequence[Get
Kibana Spaces Space] - The list of spaces.
- kibana_
connections Sequence[GetKibana Spaces Kibana Connection] - Kibana connection configuration block.
- id String
- Generated ID for the spaces.
- spaces List<Property Map>
- The list of spaces.
- kibana
Connections List<Property Map> - Kibana connection configuration block.
Supporting Types
GetKibanaSpacesKibanaConnection
- Api
Key string - API Key to use for authentication to Kibana
- Bearer
Token string - Bearer Token to use for authentication to Kibana
- Ca
Certs List<string> - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- Endpoints List<string>
- Insecure bool
- Disable TLS certificate validation
- Password string
- Password to use for API authentication to Kibana.
- Username string
- Username to use for API authentication to Kibana.
- Api
Key string - API Key to use for authentication to Kibana
- Bearer
Token string - Bearer Token to use for authentication to Kibana
- Ca
Certs []string - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- Endpoints []string
- Insecure bool
- Disable TLS certificate validation
- Password string
- Password to use for API authentication to Kibana.
- Username string
- Username to use for API authentication to Kibana.
- api
Key String - API Key to use for authentication to Kibana
- bearer
Token String - Bearer Token to use for authentication to Kibana
- ca
Certs List<String> - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints List<String>
- insecure Boolean
- Disable TLS certificate validation
- password String
- Password to use for API authentication to Kibana.
- username String
- Username to use for API authentication to Kibana.
- api
Key string - API Key to use for authentication to Kibana
- bearer
Token string - Bearer Token to use for authentication to Kibana
- ca
Certs string[] - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints string[]
- insecure boolean
- Disable TLS certificate validation
- password string
- Password to use for API authentication to Kibana.
- username string
- Username to use for API authentication to Kibana.
- api_
key str - API Key to use for authentication to Kibana
- bearer_
token str - Bearer Token to use for authentication to Kibana
- ca_
certs Sequence[str] - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints Sequence[str]
- insecure bool
- Disable TLS certificate validation
- password str
- Password to use for API authentication to Kibana.
- username str
- Username to use for API authentication to Kibana.
- api
Key String - API Key to use for authentication to Kibana
- bearer
Token String - Bearer Token to use for authentication to Kibana
- ca
Certs List<String> - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints List<String>
- insecure Boolean
- Disable TLS certificate validation
- password String
- Password to use for API authentication to Kibana.
- username String
- Username to use for API authentication to Kibana.
GetKibanaSpacesSpace
- Color string
- The hexadecimal color code used in the space avatar. By default, the color is automatically generated from the space name.
- Disabled
Features List<string> - The list of disabled features for the space. To get a list of available feature IDs, use the Features API (https://www.elastic.co/guide/en/kibana/master/features-api-get.html).
- Id string
- Internal identifier of the resource.
- Initials string
- The initials shown in the space avatar. By default, the initials are automatically generated from the space name. Initials must be 1 or 2 characters.
- Name string
- The display name for the space.
- Solution string
- The solution view for the space. Valid options are
security,oblt,es, orclassic. - Description string
- The description for the space.
- Image
Url string - The data-URL encoded image to display in the space avatar.
- Color string
- The hexadecimal color code used in the space avatar. By default, the color is automatically generated from the space name.
- Disabled
Features []string - The list of disabled features for the space. To get a list of available feature IDs, use the Features API (https://www.elastic.co/guide/en/kibana/master/features-api-get.html).
- Id string
- Internal identifier of the resource.
- Initials string
- The initials shown in the space avatar. By default, the initials are automatically generated from the space name. Initials must be 1 or 2 characters.
- Name string
- The display name for the space.
- Solution string
- The solution view for the space. Valid options are
security,oblt,es, orclassic. - Description string
- The description for the space.
- Image
Url string - The data-URL encoded image to display in the space avatar.
- color String
- The hexadecimal color code used in the space avatar. By default, the color is automatically generated from the space name.
- disabled
Features List<String> - The list of disabled features for the space. To get a list of available feature IDs, use the Features API (https://www.elastic.co/guide/en/kibana/master/features-api-get.html).
- id String
- Internal identifier of the resource.
- initials String
- The initials shown in the space avatar. By default, the initials are automatically generated from the space name. Initials must be 1 or 2 characters.
- name String
- The display name for the space.
- solution String
- The solution view for the space. Valid options are
security,oblt,es, orclassic. - description String
- The description for the space.
- image
Url String - The data-URL encoded image to display in the space avatar.
- color string
- The hexadecimal color code used in the space avatar. By default, the color is automatically generated from the space name.
- disabled
Features string[] - The list of disabled features for the space. To get a list of available feature IDs, use the Features API (https://www.elastic.co/guide/en/kibana/master/features-api-get.html).
- id string
- Internal identifier of the resource.
- initials string
- The initials shown in the space avatar. By default, the initials are automatically generated from the space name. Initials must be 1 or 2 characters.
- name string
- The display name for the space.
- solution string
- The solution view for the space. Valid options are
security,oblt,es, orclassic. - description string
- The description for the space.
- image
Url string - The data-URL encoded image to display in the space avatar.
- color str
- The hexadecimal color code used in the space avatar. By default, the color is automatically generated from the space name.
- disabled_
features Sequence[str] - The list of disabled features for the space. To get a list of available feature IDs, use the Features API (https://www.elastic.co/guide/en/kibana/master/features-api-get.html).
- id str
- Internal identifier of the resource.
- initials str
- The initials shown in the space avatar. By default, the initials are automatically generated from the space name. Initials must be 1 or 2 characters.
- name str
- The display name for the space.
- solution str
- The solution view for the space. Valid options are
security,oblt,es, orclassic. - description str
- The description for the space.
- image_
url str - The data-URL encoded image to display in the space avatar.
- color String
- The hexadecimal color code used in the space avatar. By default, the color is automatically generated from the space name.
- disabled
Features List<String> - The list of disabled features for the space. To get a list of available feature IDs, use the Features API (https://www.elastic.co/guide/en/kibana/master/features-api-get.html).
- id String
- Internal identifier of the resource.
- initials String
- The initials shown in the space avatar. By default, the initials are automatically generated from the space name. Initials must be 1 or 2 characters.
- name String
- The display name for the space.
- solution String
- The solution view for the space. Valid options are
security,oblt,es, orclassic. - description String
- The description for the space.
- image
Url String - The data-URL encoded image to display in the space avatar.
Package Details
- Repository
- elasticstack elastic/terraform-provider-elasticstack
- License
- Notes
- This Pulumi package is based on the
elasticstackTerraform Provider.
Viewing docs for elasticstack 0.14.5
published on Thursday, Apr 23, 2026 by elastic
published on Thursday, Apr 23, 2026 by elastic
