1. Packages
  2. Elasticstack Provider
  3. API Docs
  4. FleetIntegration
elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic

elasticstack.FleetIntegration

Explore with Pulumi AI

elasticstack logo
elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic

    Installs or uninstalls a Fleet integration package. The Kibana Fleet UI can be used to view available packages. Additional information for managing integration packages can be found here.

    To prevent the package from being uninstalled when the resource is destroyed, set skip_destroy to true.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as elasticstack from "@pulumi/elasticstack";
    
    const testIntegration = new elasticstack.FleetIntegration("testIntegration", {
        force: true,
        version: "1.16.0",
    });
    
    import pulumi
    import pulumi_elasticstack as elasticstack
    
    test_integration = elasticstack.FleetIntegration("testIntegration",
        force=True,
        version="1.16.0")
    
    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.NewFleetIntegration(ctx, "testIntegration", &elasticstack.FleetIntegrationArgs{
    			Force:   pulumi.Bool(true),
    			Version: pulumi.String("1.16.0"),
    		})
    		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 testIntegration = new Elasticstack.FleetIntegration("testIntegration", new()
        {
            Force = true,
            Version = "1.16.0",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.elasticstack.FleetIntegration;
    import com.pulumi.elasticstack.FleetIntegrationArgs;
    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 testIntegration = new FleetIntegration("testIntegration", FleetIntegrationArgs.builder()
                .force(true)
                .version("1.16.0")
                .build());
    
        }
    }
    
    resources:
      testIntegration:
        type: elasticstack:FleetIntegration
        properties:
          force: true
          version: 1.16.0
    

    Create FleetIntegration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FleetIntegration(name: string, args: FleetIntegrationArgs, opts?: CustomResourceOptions);
    @overload
    def FleetIntegration(resource_name: str,
                         args: FleetIntegrationArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def FleetIntegration(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         version: Optional[str] = None,
                         force: Optional[bool] = None,
                         name: Optional[str] = None,
                         skip_destroy: Optional[bool] = None)
    func NewFleetIntegration(ctx *Context, name string, args FleetIntegrationArgs, opts ...ResourceOption) (*FleetIntegration, error)
    public FleetIntegration(string name, FleetIntegrationArgs args, CustomResourceOptions? opts = null)
    public FleetIntegration(String name, FleetIntegrationArgs args)
    public FleetIntegration(String name, FleetIntegrationArgs args, CustomResourceOptions options)
    
    type: elasticstack:FleetIntegration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args FleetIntegrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FleetIntegrationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FleetIntegrationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FleetIntegrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FleetIntegrationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var fleetIntegrationResource = new Elasticstack.FleetIntegration("fleetIntegrationResource", new()
    {
        Version = "string",
        Force = false,
        Name = "string",
        SkipDestroy = false,
    });
    
    example, err := elasticstack.NewFleetIntegration(ctx, "fleetIntegrationResource", &elasticstack.FleetIntegrationArgs{
    	Version:     pulumi.String("string"),
    	Force:       pulumi.Bool(false),
    	Name:        pulumi.String("string"),
    	SkipDestroy: pulumi.Bool(false),
    })
    
    var fleetIntegrationResource = new FleetIntegration("fleetIntegrationResource", FleetIntegrationArgs.builder()
        .version("string")
        .force(false)
        .name("string")
        .skipDestroy(false)
        .build());
    
    fleet_integration_resource = elasticstack.FleetIntegration("fleetIntegrationResource",
        version="string",
        force=False,
        name="string",
        skip_destroy=False)
    
    const fleetIntegrationResource = new elasticstack.FleetIntegration("fleetIntegrationResource", {
        version: "string",
        force: false,
        name: "string",
        skipDestroy: false,
    });
    
    type: elasticstack:FleetIntegration
    properties:
        force: false
        name: string
        skipDestroy: false
        version: string
    

    FleetIntegration Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The FleetIntegration resource accepts the following input properties:

    Version string
    The integration package version.
    Force bool
    Set to true to force the requested action.
    Name string
    The integration package name.
    SkipDestroy bool
    Version string
    The integration package version.
    Force bool
    Set to true to force the requested action.
    Name string
    The integration package name.
    SkipDestroy bool
    version String
    The integration package version.
    force Boolean
    Set to true to force the requested action.
    name String
    The integration package name.
    skipDestroy Boolean
    version string
    The integration package version.
    force boolean
    Set to true to force the requested action.
    name string
    The integration package name.
    skipDestroy boolean
    version str
    The integration package version.
    force bool
    Set to true to force the requested action.
    name str
    The integration package name.
    skip_destroy bool
    version String
    The integration package version.
    force Boolean
    Set to true to force the requested action.
    name String
    The integration package name.
    skipDestroy Boolean

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FleetIntegration resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing FleetIntegration Resource

    Get an existing FleetIntegration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FleetIntegrationState, opts?: CustomResourceOptions): FleetIntegration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            force: Optional[bool] = None,
            name: Optional[str] = None,
            skip_destroy: Optional[bool] = None,
            version: Optional[str] = None) -> FleetIntegration
    func GetFleetIntegration(ctx *Context, name string, id IDInput, state *FleetIntegrationState, opts ...ResourceOption) (*FleetIntegration, error)
    public static FleetIntegration Get(string name, Input<string> id, FleetIntegrationState? state, CustomResourceOptions? opts = null)
    public static FleetIntegration get(String name, Output<String> id, FleetIntegrationState state, CustomResourceOptions options)
    resources:  _:    type: elasticstack:FleetIntegration    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Force bool
    Set to true to force the requested action.
    Name string
    The integration package name.
    SkipDestroy bool
    Version string
    The integration package version.
    Force bool
    Set to true to force the requested action.
    Name string
    The integration package name.
    SkipDestroy bool
    Version string
    The integration package version.
    force Boolean
    Set to true to force the requested action.
    name String
    The integration package name.
    skipDestroy Boolean
    version String
    The integration package version.
    force boolean
    Set to true to force the requested action.
    name string
    The integration package name.
    skipDestroy boolean
    version string
    The integration package version.
    force bool
    Set to true to force the requested action.
    name str
    The integration package name.
    skip_destroy bool
    version str
    The integration package version.
    force Boolean
    Set to true to force the requested action.
    name String
    The integration package name.
    skipDestroy Boolean
    version String
    The integration package version.

    Package Details

    Repository
    elasticstack elastic/terraform-provider-elasticstack
    License
    Notes
    This Pulumi package is based on the elasticstack Terraform Provider.
    elasticstack logo
    elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic