1. Packages
  2. Packages
  3. Elasticstack Provider
  4. API Docs
  5. getFleetIntegration
Viewing docs for elasticstack 0.15.0
published on Thursday, May 14, 2026 by elastic
Viewing docs for elasticstack 0.15.0
published on Thursday, May 14, 2026 by elastic

    This data source provides information about a Fleet integration package. Currently, the data source will retrieve the latest available version of the package. Version selection is determined by the Fleet API, which is currently based on semantic versioning.

    By default, the highest GA release version will be selected. If a package is not GA (the version is below 1.0.0) or if a new non-GA version of the package is to be selected (i.e., the GA version of the package is 1.5.0, but there’s a new 1.5.1-beta version available), then the prerelease parameter in the plan should be set to true.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as elasticstack from "@pulumi/elasticstack";
    
    const test = elasticstack.getFleetIntegration({
        name: "tcp",
    });
    
    import pulumi
    import pulumi_elasticstack as elasticstack
    
    test = elasticstack.get_fleet_integration(name="tcp")
    
    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.LookupFleetIntegration(ctx, &elasticstack.LookupFleetIntegrationArgs{
    			Name: "tcp",
    		}, 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 test = Elasticstack.GetFleetIntegration.Invoke(new()
        {
            Name = "tcp",
        });
    
    });
    
    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.GetFleetIntegrationArgs;
    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 test = ElasticstackFunctions.getFleetIntegration(GetFleetIntegrationArgs.builder()
                .name("tcp")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: elasticstack:getFleetIntegration
          arguments:
            name: tcp
    
    Example coming soon!
    

    Using getFleetIntegration

    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 getFleetIntegration(args: GetFleetIntegrationArgs, opts?: InvokeOptions): Promise<GetFleetIntegrationResult>
    function getFleetIntegrationOutput(args: GetFleetIntegrationOutputArgs, opts?: InvokeOptions): Output<GetFleetIntegrationResult>
    def get_fleet_integration(kibana_connections: Optional[Sequence[GetFleetIntegrationKibanaConnection]] = None,
                              name: Optional[str] = None,
                              prerelease: Optional[bool] = None,
                              space_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetFleetIntegrationResult
    def get_fleet_integration_output(kibana_connections: pulumi.Input[Optional[Sequence[pulumi.Input[GetFleetIntegrationKibanaConnectionArgs]]]] = None,
                              name: pulumi.Input[Optional[str]] = None,
                              prerelease: pulumi.Input[Optional[bool]] = None,
                              space_id: pulumi.Input[Optional[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetFleetIntegrationResult]
    func LookupFleetIntegration(ctx *Context, args *LookupFleetIntegrationArgs, opts ...InvokeOption) (*LookupFleetIntegrationResult, error)
    func LookupFleetIntegrationOutput(ctx *Context, args *LookupFleetIntegrationOutputArgs, opts ...InvokeOption) LookupFleetIntegrationResultOutput

    > Note: This function is named LookupFleetIntegration in the Go SDK.

    public static class GetFleetIntegration 
    {
        public static Task<GetFleetIntegrationResult> InvokeAsync(GetFleetIntegrationArgs args, InvokeOptions? opts = null)
        public static Output<GetFleetIntegrationResult> Invoke(GetFleetIntegrationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFleetIntegrationResult> getFleetIntegration(GetFleetIntegrationArgs args, InvokeOptions options)
    public static Output<GetFleetIntegrationResult> getFleetIntegration(GetFleetIntegrationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: elasticstack:index/getFleetIntegration:getFleetIntegration
      arguments:
        # arguments dictionary
    data "elasticstack_getfleetintegration" "name" {
        # arguments
    }

    The following arguments are supported:

    Name string
    The integration package name.
    KibanaConnections List<GetFleetIntegrationKibanaConnection>
    Kibana connection configuration block.
    Prerelease bool
    Include prerelease packages.
    SpaceId string
    The Kibana space ID to scope the request to. When not specified, the default space is used.
    Name string
    The integration package name.
    KibanaConnections []GetFleetIntegrationKibanaConnection
    Kibana connection configuration block.
    Prerelease bool
    Include prerelease packages.
    SpaceId string
    The Kibana space ID to scope the request to. When not specified, the default space is used.
    name string
    The integration package name.
    kibana_connections list(object)
    Kibana connection configuration block.
    prerelease bool
    Include prerelease packages.
    space_id string
    The Kibana space ID to scope the request to. When not specified, the default space is used.
    name String
    The integration package name.
    kibanaConnections List<GetFleetIntegrationKibanaConnection>
    Kibana connection configuration block.
    prerelease Boolean
    Include prerelease packages.
    spaceId String
    The Kibana space ID to scope the request to. When not specified, the default space is used.
    name string
    The integration package name.
    kibanaConnections GetFleetIntegrationKibanaConnection[]
    Kibana connection configuration block.
    prerelease boolean
    Include prerelease packages.
    spaceId string
    The Kibana space ID to scope the request to. When not specified, the default space is used.
    name str
    The integration package name.
    kibana_connections Sequence[GetFleetIntegrationKibanaConnection]
    Kibana connection configuration block.
    prerelease bool
    Include prerelease packages.
    space_id str
    The Kibana space ID to scope the request to. When not specified, the default space is used.
    name String
    The integration package name.
    kibanaConnections List<Property Map>
    Kibana connection configuration block.
    prerelease Boolean
    Include prerelease packages.
    spaceId String
    The Kibana space ID to scope the request to. When not specified, the default space is used.

    getFleetIntegration Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Name string
    The integration package name.
    Version string
    The integration package version.
    KibanaConnections List<GetFleetIntegrationKibanaConnection>
    Kibana connection configuration block.
    Prerelease bool
    Include prerelease packages.
    SpaceId string
    The Kibana space ID to scope the request to. When not specified, the default space is used.
    Id string
    The ID of this resource.
    Name string
    The integration package name.
    Version string
    The integration package version.
    KibanaConnections []GetFleetIntegrationKibanaConnection
    Kibana connection configuration block.
    Prerelease bool
    Include prerelease packages.
    SpaceId string
    The Kibana space ID to scope the request to. When not specified, the default space is used.
    id string
    The ID of this resource.
    name string
    The integration package name.
    version string
    The integration package version.
    kibana_connections list(object)
    Kibana connection configuration block.
    prerelease bool
    Include prerelease packages.
    space_id string
    The Kibana space ID to scope the request to. When not specified, the default space is used.
    id String
    The ID of this resource.
    name String
    The integration package name.
    version String
    The integration package version.
    kibanaConnections List<GetFleetIntegrationKibanaConnection>
    Kibana connection configuration block.
    prerelease Boolean
    Include prerelease packages.
    spaceId String
    The Kibana space ID to scope the request to. When not specified, the default space is used.
    id string
    The ID of this resource.
    name string
    The integration package name.
    version string
    The integration package version.
    kibanaConnections GetFleetIntegrationKibanaConnection[]
    Kibana connection configuration block.
    prerelease boolean
    Include prerelease packages.
    spaceId string
    The Kibana space ID to scope the request to. When not specified, the default space is used.
    id str
    The ID of this resource.
    name str
    The integration package name.
    version str
    The integration package version.
    kibana_connections Sequence[GetFleetIntegrationKibanaConnection]
    Kibana connection configuration block.
    prerelease bool
    Include prerelease packages.
    space_id str
    The Kibana space ID to scope the request to. When not specified, the default space is used.
    id String
    The ID of this resource.
    name String
    The integration package name.
    version String
    The integration package version.
    kibanaConnections List<Property Map>
    Kibana connection configuration block.
    prerelease Boolean
    Include prerelease packages.
    spaceId String
    The Kibana space ID to scope the request to. When not specified, the default space is used.

    Supporting Types

    GetFleetIntegrationKibanaConnection

    ApiKey string
    API Key to use for authentication to Kibana
    BearerToken string
    Bearer Token to use for authentication to Kibana
    CaCerts 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.
    ApiKey string
    API Key to use for authentication to Kibana
    BearerToken string
    Bearer Token to use for authentication to Kibana
    CaCerts []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 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.
    apiKey String
    API Key to use for authentication to Kibana
    bearerToken String
    Bearer Token to use for authentication to Kibana
    caCerts 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.
    apiKey string
    API Key to use for authentication to Kibana
    bearerToken string
    Bearer Token to use for authentication to Kibana
    caCerts 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.
    apiKey String
    API Key to use for authentication to Kibana
    bearerToken String
    Bearer Token to use for authentication to Kibana
    caCerts 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.

    Package Details

    Repository
    elasticstack elastic/terraform-provider-elasticstack
    License
    Notes
    This Pulumi package is based on the elasticstack Terraform Provider.
    Viewing docs for elasticstack 0.15.0
    published on Thursday, May 14, 2026 by elastic
      Try Pulumi Cloud free. Your team will thank you.