1. Registry
  2. Packages
  3. Elasticstack Provider
  4. API Docs
  5. ElasticsearchRolloverIndexSeries
Viewing docs for elasticstack 0.17.0
published on Tuesday, Nov 10, 2026 by elastic
elasticstack
Viewing docs for elasticstack 0.17.0
published on Tuesday, Nov 10, 2026 by elastic

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as elasticstack from "@pulumi/elasticstack";
    
    const orders = new elasticstack.ElasticsearchIndexLifecycle("orders", {
        name: "orders",
        hot: {
            rollover: {
                maxPrimaryShardSize: "50gb",
                maxAge: "30d",
            },
        },
        warm: {
            shrink: {
                numberOfShards: 1,
            },
        },
        "delete": {
            minAge: "90d",
            "delete": {},
        },
    });
    const ordersElasticsearchIndexTemplate = new elasticstack.ElasticsearchIndexTemplate("orders", {
        name: "orders",
        indexPatterns: ["orders-*"],
        priority: 500,
        template: {
            settings: pulumi.jsonStringify({
                number_of_shards: 2,
                number_of_replicas: 1,
                index: {
                    lifecycle: {
                        name: orders.name,
                        rollover_alias: "orders-write",
                    },
                },
            }),
            mappings: JSON.stringify({
                properties: {
                    order_id: {
                        type: "keyword",
                    },
                },
            }),
        },
    });
    const ordersElasticsearchRolloverIndexSeries = new elasticstack.ElasticsearchRolloverIndexSeries("orders", {
        prefix: "orders",
        rolloverAlias: "orders-write",
        deletionProtection: false,
    }, {
        dependsOn: [ordersElasticsearchIndexTemplate],
    });
    
    import pulumi
    import json
    import pulumi_elasticstack as elasticstack
    
    orders = elasticstack.ElasticsearchIndexLifecycle("orders",
        name="orders",
        hot={
            "rollover": {
                "max_primary_shard_size": "50gb",
                "max_age": "30d",
            },
        },
        warm={
            "shrink": {
                "number_of_shards": 1,
            },
        },
        delete={
            "min_age": "90d",
            "delete": {},
        })
    orders_elasticsearch_index_template = elasticstack.ElasticsearchIndexTemplate("orders",
        name="orders",
        index_patterns=["orders-*"],
        priority=500,
        template={
            "settings": pulumi.Output.json_dumps({
                "number_of_shards": 2,
                "number_of_replicas": 1,
                "index": {
                    "lifecycle": {
                        "name": orders.name,
                        "rollover_alias": "orders-write",
                    },
                },
            }),
            "mappings": json.dumps({
                "properties": {
                    "order_id": {
                        "type": "keyword",
                    },
                },
            }),
        })
    orders_elasticsearch_rollover_index_series = elasticstack.ElasticsearchRolloverIndexSeries("orders",
        prefix="orders",
        rollover_alias="orders-write",
        deletion_protection=False,
        opts = pulumi.ResourceOptions(depends_on=[orders_elasticsearch_index_template]))
    
    package main
    
    import (
    	"encoding/json"
    
    	"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 {
    		orders, err := elasticstack.NewElasticsearchIndexLifecycle(ctx, "orders", &elasticstack.ElasticsearchIndexLifecycleArgs{
    			Name: pulumi.String("orders"),
    			Hot: &elasticstack.ElasticsearchIndexLifecycleHotArgs{
    				Rollover: &elasticstack.ElasticsearchIndexLifecycleHotRolloverArgs{
    					MaxPrimaryShardSize: pulumi.String("50gb"),
    					MaxAge:              pulumi.String("30d"),
    				},
    			},
    			Warm: &elasticstack.ElasticsearchIndexLifecycleWarmArgs{
    				Shrink: &elasticstack.ElasticsearchIndexLifecycleWarmShrinkArgs{
    					NumberOfShards: pulumi.Float64(1),
    				},
    			},
    			Delete: &elasticstack.ElasticsearchIndexLifecycleDeleteArgs{
    				MinAge: pulumi.String("90d"),
    				Delete: &elasticstack.ElasticsearchIndexLifecycleDeleteDeleteArgs{},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		tmpJSON0, err := json.Marshal(map[string]interface{}{
    			"properties": map[string]interface{}{
    				"order_id": map[string]interface{}{
    					"type": "keyword",
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		ordersElasticsearchIndexTemplate, err := elasticstack.NewElasticsearchIndexTemplate(ctx, "orders", &elasticstack.ElasticsearchIndexTemplateArgs{
    			Name: pulumi.String("orders"),
    			IndexPatterns: pulumi.StringArray{
    				pulumi.String("orders-*"),
    			},
    			Priority: pulumi.Float64(500),
    			Template: &elasticstack.ElasticsearchIndexTemplateTemplateArgs{
    				Settings: orders.Name.ApplyT(func(name string) (pulumi.String, error) {
    					var _zero pulumi.String
    					tmpJSON1, err := json.Marshal(map[string]interface{}{
    						"number_of_shards":   2,
    						"number_of_replicas": 1,
    						"index": map[string]interface{}{
    							"lifecycle": map[string]interface{}{
    								"name":           name,
    								"rollover_alias": "orders-write",
    							},
    						},
    					})
    					if err != nil {
    						return _zero, err
    					}
    					json1 := string(tmpJSON1)
    					return pulumi.String(json1), nil
    				}).(pulumi.StringOutput),
    				Mappings: pulumi.String(json0),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = elasticstack.NewElasticsearchRolloverIndexSeries(ctx, "orders", &elasticstack.ElasticsearchRolloverIndexSeriesArgs{
    			Prefix:             pulumi.String("orders"),
    			RolloverAlias:      pulumi.String("orders-write"),
    			DeletionProtection: pulumi.Bool(false),
    		}, pulumi.DependsOn([]pulumi.Resource{
    			ordersElasticsearchIndexTemplate,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Elasticstack = Pulumi.Elasticstack;
    
    return await Deployment.RunAsync(() => 
    {
        var orders = new Elasticstack.ElasticsearchIndexLifecycle("orders", new()
        {
            Name = "orders",
            Hot = new Elasticstack.Inputs.ElasticsearchIndexLifecycleHotArgs
            {
                Rollover = new Elasticstack.Inputs.ElasticsearchIndexLifecycleHotRolloverArgs
                {
                    MaxPrimaryShardSize = "50gb",
                    MaxAge = "30d",
                },
            },
            Warm = new Elasticstack.Inputs.ElasticsearchIndexLifecycleWarmArgs
            {
                Shrink = new Elasticstack.Inputs.ElasticsearchIndexLifecycleWarmShrinkArgs
                {
                    NumberOfShards = 1,
                },
            },
            Delete = new Elasticstack.Inputs.ElasticsearchIndexLifecycleDeleteArgs
            {
                MinAge = "90d",
                Delete = null,
            },
        });
    
        var ordersElasticsearchIndexTemplate = new Elasticstack.ElasticsearchIndexTemplate("orders", new()
        {
            Name = "orders",
            IndexPatterns = new[]
            {
                "orders-*",
            },
            Priority = 500,
            Template = new Elasticstack.Inputs.ElasticsearchIndexTemplateTemplateArgs
            {
                Settings = Output.JsonSerialize(Output.Create(new Dictionary<string, object?>
                {
                    ["number_of_shards"] = 2,
                    ["number_of_replicas"] = 1,
                    ["index"] = new Dictionary<string, object?>
                    {
                        ["lifecycle"] = new Dictionary<string, object?>
                        {
                            ["name"] = orders.Name,
                            ["rollover_alias"] = "orders-write",
                        },
                    },
                })),
                Mappings = JsonSerializer.Serialize(new Dictionary<string, object?>
                {
                    ["properties"] = new Dictionary<string, object?>
                    {
                        ["order_id"] = new Dictionary<string, object?>
                        {
                            ["type"] = "keyword",
                        },
                    },
                }),
            },
        });
    
        var ordersElasticsearchRolloverIndexSeries = new Elasticstack.ElasticsearchRolloverIndexSeries("orders", new()
        {
            Prefix = "orders",
            RolloverAlias = "orders-write",
            DeletionProtection = false,
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                ordersElasticsearchIndexTemplate,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.elasticstack.ElasticsearchIndexLifecycle;
    import com.pulumi.elasticstack.ElasticsearchIndexLifecycleArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleHotArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleHotRolloverArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleWarmArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleWarmShrinkArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleDeleteArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexLifecycleDeleteDeleteArgs;
    import com.pulumi.elasticstack.ElasticsearchIndexTemplate;
    import com.pulumi.elasticstack.ElasticsearchIndexTemplateArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchIndexTemplateTemplateArgs;
    import com.pulumi.elasticstack.ElasticsearchRolloverIndexSeries;
    import com.pulumi.elasticstack.ElasticsearchRolloverIndexSeriesArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    import com.pulumi.resources.CustomResourceOptions;
    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 orders = new ElasticsearchIndexLifecycle("orders", ElasticsearchIndexLifecycleArgs.builder()
                .name("orders")
                .hot(ElasticsearchIndexLifecycleHotArgs.builder()
                    .rollover(ElasticsearchIndexLifecycleHotRolloverArgs.builder()
                        .maxPrimaryShardSize("50gb")
                        .maxAge("30d")
                        .build())
                    .build())
                .warm(ElasticsearchIndexLifecycleWarmArgs.builder()
                    .shrink(ElasticsearchIndexLifecycleWarmShrinkArgs.builder()
                        .numberOfShards(1.0)
                        .build())
                    .build())
                .delete(ElasticsearchIndexLifecycleDeleteArgs.builder()
                    .minAge("90d")
                    .delete(ElasticsearchIndexLifecycleDeleteDeleteArgs.builder()
                        .build())
                    .build())
                .build());
    
            var ordersElasticsearchIndexTemplate = new ElasticsearchIndexTemplate("ordersElasticsearchIndexTemplate", ElasticsearchIndexTemplateArgs.builder()
                .name("orders")
                .indexPatterns("orders-*")
                .priority(500.0)
                .template(ElasticsearchIndexTemplateTemplateArgs.builder()
                    .settings(orders.name().applyValue(_name -> serializeJson(
                        jsonObject(
                            jsonProperty("number_of_shards", 2),
                            jsonProperty("number_of_replicas", 1),
                            jsonProperty("index", jsonObject(
                                jsonProperty("lifecycle", jsonObject(
                                    jsonProperty("name", _name),
                                    jsonProperty("rollover_alias", "orders-write")
                                ))
                            ))
                        ))))
                    .mappings(serializeJson(
                        jsonObject(
                            jsonProperty("properties", jsonObject(
                                jsonProperty("order_id", jsonObject(
                                    jsonProperty("type", "keyword")
                                ))
                            ))
                        )))
                    .build())
                .build());
    
            var ordersElasticsearchRolloverIndexSeries = new ElasticsearchRolloverIndexSeries("ordersElasticsearchRolloverIndexSeries", ElasticsearchRolloverIndexSeriesArgs.builder()
                .prefix("orders")
                .rolloverAlias("orders-write")
                .deletionProtection(false)
                .build(), CustomResourceOptions.builder()
                    .dependsOn(ordersElasticsearchIndexTemplate)
                    .build());
    
        }
    }
    
    resources:
      orders:
        type: elasticstack:ElasticsearchIndexLifecycle
        properties:
          name: orders
          hot:
            rollover:
              maxPrimaryShardSize: 50gb
              maxAge: 30d
          warm:
            shrink:
              numberOfShards: 1
          delete:
            minAge: 90d
            delete: {}
      ordersElasticsearchIndexTemplate:
        type: elasticstack:ElasticsearchIndexTemplate
        name: orders
        properties:
          name: orders
          indexPatterns:
            - orders-*
          priority: 500
          template:
            settings:
              fn::toJSON:
                number_of_shards: 2
                number_of_replicas: 1
                index:
                  lifecycle:
                    name: ${orders.name}
                    rollover_alias: orders-write
            mappings:
              fn::toJSON:
                properties:
                  order_id:
                    type: keyword
      ordersElasticsearchRolloverIndexSeries:
        type: elasticstack:ElasticsearchRolloverIndexSeries
        name: orders
        properties:
          prefix: orders
          rolloverAlias: orders-write
          deletionProtection: false # Changing prefix or rollover_alias replaces the resource. Terraform Core orders
          #   # that replacement. Keep destroy-before-create. Do not set create_before_destroy
          #   # here or on a dependency that propagates it: the old instance can then delete
          #   # members the replacement just adopted.
        options:
          dependsOn:
            - ${ordersElasticsearchIndexTemplate}
    
    Example coming soon!
    

    Create ElasticsearchRolloverIndexSeries Resource

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

    Constructor syntax

    new ElasticsearchRolloverIndexSeries(name: string, args: ElasticsearchRolloverIndexSeriesArgs, opts?: CustomResourceOptions);
    @overload
    def ElasticsearchRolloverIndexSeries(resource_name: str,
                                         args: ElasticsearchRolloverIndexSeriesArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def ElasticsearchRolloverIndexSeries(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         prefix: Optional[str] = None,
                                         rollover_alias: Optional[str] = None,
                                         deletion_protection: Optional[bool] = None,
                                         elasticsearch_connections: Optional[Sequence[ElasticsearchRolloverIndexSeriesElasticsearchConnectionArgs]] = None,
                                         timeouts: Optional[ElasticsearchRolloverIndexSeriesTimeoutsArgs] = None)
    func NewElasticsearchRolloverIndexSeries(ctx *Context, name string, args ElasticsearchRolloverIndexSeriesArgs, opts ...ResourceOption) (*ElasticsearchRolloverIndexSeries, error)
    public ElasticsearchRolloverIndexSeries(string name, ElasticsearchRolloverIndexSeriesArgs args, CustomResourceOptions? opts = null)
    public ElasticsearchRolloverIndexSeries(String name, ElasticsearchRolloverIndexSeriesArgs args)
    public ElasticsearchRolloverIndexSeries(String name, ElasticsearchRolloverIndexSeriesArgs args, CustomResourceOptions options)
    
    type: elasticstack:ElasticsearchRolloverIndexSeries
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "elasticstack_elasticsearch_rollover_index_series" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ElasticsearchRolloverIndexSeriesArgs
    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 ElasticsearchRolloverIndexSeriesArgs
    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 ElasticsearchRolloverIndexSeriesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ElasticsearchRolloverIndexSeriesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ElasticsearchRolloverIndexSeriesArgs
    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 elasticsearchRolloverIndexSeriesResource = new Elasticstack.ElasticsearchRolloverIndexSeries("elasticsearchRolloverIndexSeriesResource", new()
    {
        Prefix = "string",
        RolloverAlias = "string",
        DeletionProtection = false,
        ElasticsearchConnections = new[]
        {
            new Elasticstack.Inputs.ElasticsearchRolloverIndexSeriesElasticsearchConnectionArgs
            {
                ApiKey = "string",
                BearerToken = "string",
                CaData = "string",
                CaFile = "string",
                CaFingerprint = "string",
                CertData = "string",
                CertFile = "string",
                Endpoints = new[]
                {
                    "string",
                },
                EsClientAuthentication = "string",
                Headers = 
                {
                    { "string", "string" },
                },
                Insecure = false,
                KeyData = "string",
                KeyFile = "string",
                Password = "string",
                Username = "string",
            },
        },
        Timeouts = new Elasticstack.Inputs.ElasticsearchRolloverIndexSeriesTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := elasticstack.NewElasticsearchRolloverIndexSeries(ctx, "elasticsearchRolloverIndexSeriesResource", &elasticstack.ElasticsearchRolloverIndexSeriesArgs{
    	Prefix:             pulumi.String("string"),
    	RolloverAlias:      pulumi.String("string"),
    	DeletionProtection: pulumi.Bool(false),
    	ElasticsearchConnections: elasticstack.ElasticsearchRolloverIndexSeriesElasticsearchConnectionArray{
    		&elasticstack.ElasticsearchRolloverIndexSeriesElasticsearchConnectionArgs{
    			ApiKey:        pulumi.String("string"),
    			BearerToken:   pulumi.String("string"),
    			CaData:        pulumi.String("string"),
    			CaFile:        pulumi.String("string"),
    			CaFingerprint: pulumi.String("string"),
    			CertData:      pulumi.String("string"),
    			CertFile:      pulumi.String("string"),
    			Endpoints: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			EsClientAuthentication: pulumi.String("string"),
    			Headers: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Insecure: pulumi.Bool(false),
    			KeyData:  pulumi.String("string"),
    			KeyFile:  pulumi.String("string"),
    			Password: pulumi.String("string"),
    			Username: pulumi.String("string"),
    		},
    	},
    	Timeouts: &elasticstack.ElasticsearchRolloverIndexSeriesTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    resource "elasticstack_elasticsearch_rollover_index_series" "elasticsearchRolloverIndexSeriesResource" {
      lifecycle {
        create_before_destroy = true
      }
      prefix              = "string"
      rollover_alias      = "string"
      deletion_protection = false
      elasticsearch_connections {
        api_key                  = "string"
        bearer_token             = "string"
        ca_data                  = "string"
        ca_file                  = "string"
        ca_fingerprint           = "string"
        cert_data                = "string"
        cert_file                = "string"
        endpoints                = ["string"]
        es_client_authentication = "string"
        headers = {
          "string" = "string"
        }
        insecure = false
        key_data = "string"
        key_file = "string"
        password = "string"
        username = "string"
      }
      _ {
        timeouts = {
          create = "string"
          delete = "string"
          read   = "string"
          update = "string"
        }
      }
    }
    
    var elasticsearchRolloverIndexSeriesResource = new ElasticsearchRolloverIndexSeries("elasticsearchRolloverIndexSeriesResource", ElasticsearchRolloverIndexSeriesArgs.builder()
        .prefix("string")
        .rolloverAlias("string")
        .deletionProtection(false)
        .elasticsearchConnections(ElasticsearchRolloverIndexSeriesElasticsearchConnectionArgs.builder()
            .apiKey("string")
            .bearerToken("string")
            .caData("string")
            .caFile("string")
            .caFingerprint("string")
            .certData("string")
            .certFile("string")
            .endpoints("string")
            .esClientAuthentication("string")
            .headers(Map.of("string", "string"))
            .insecure(false)
            .keyData("string")
            .keyFile("string")
            .password("string")
            .username("string")
            .build())
        .timeouts(ElasticsearchRolloverIndexSeriesTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    elasticsearch_rollover_index_series_resource = elasticstack.ElasticsearchRolloverIndexSeries("elasticsearchRolloverIndexSeriesResource",
        prefix="string",
        rollover_alias="string",
        deletion_protection=False,
        elasticsearch_connections=[{
            "api_key": "string",
            "bearer_token": "string",
            "ca_data": "string",
            "ca_file": "string",
            "ca_fingerprint": "string",
            "cert_data": "string",
            "cert_file": "string",
            "endpoints": ["string"],
            "es_client_authentication": "string",
            "headers": {
                "string": "string",
            },
            "insecure": False,
            "key_data": "string",
            "key_file": "string",
            "password": "string",
            "username": "string",
        }],
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const elasticsearchRolloverIndexSeriesResource = new elasticstack.ElasticsearchRolloverIndexSeries("elasticsearchRolloverIndexSeriesResource", {
        prefix: "string",
        rolloverAlias: "string",
        deletionProtection: false,
        elasticsearchConnections: [{
            apiKey: "string",
            bearerToken: "string",
            caData: "string",
            caFile: "string",
            caFingerprint: "string",
            certData: "string",
            certFile: "string",
            endpoints: ["string"],
            esClientAuthentication: "string",
            headers: {
                string: "string",
            },
            insecure: false,
            keyData: "string",
            keyFile: "string",
            password: "string",
            username: "string",
        }],
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: elasticstack:ElasticsearchRolloverIndexSeries
    properties:
        deletionProtection: false
        elasticsearchConnections:
            - apiKey: string
              bearerToken: string
              caData: string
              caFile: string
              caFingerprint: string
              certData: string
              certFile: string
              endpoints:
                - string
              esClientAuthentication: string
              headers:
                string: string
              insecure: false
              keyData: string
              keyFile: string
              password: string
              username: string
        prefix: string
        rolloverAlias: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
    

    ElasticsearchRolloverIndexSeries 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 ElasticsearchRolloverIndexSeries resource accepts the following input properties:

    Prefix string
    Literal prefix used only to name the bootstrap index <prefix>-000001. Changing it forces replacement. Membership and deletion follow rollover_alias, not this prefix.
    RolloverAlias string
    Dedicated ordinary-index alias. It is the series identity and the only membership boundary. Changing it forces replacement.
    DeletionProtection bool
    ElasticsearchConnections List<ElasticsearchRolloverIndexSeriesElasticsearchConnection>
    Elasticsearch connection configuration block.
    Timeouts ElasticsearchRolloverIndexSeriesTimeouts
    Prefix string
    Literal prefix used only to name the bootstrap index <prefix>-000001. Changing it forces replacement. Membership and deletion follow rollover_alias, not this prefix.
    RolloverAlias string
    Dedicated ordinary-index alias. It is the series identity and the only membership boundary. Changing it forces replacement.
    DeletionProtection bool
    ElasticsearchConnections []ElasticsearchRolloverIndexSeriesElasticsearchConnectionArgs
    Elasticsearch connection configuration block.
    Timeouts ElasticsearchRolloverIndexSeriesTimeoutsArgs
    prefix string
    Literal prefix used only to name the bootstrap index <prefix>-000001. Changing it forces replacement. Membership and deletion follow rollover_alias, not this prefix.
    rollover_alias string
    Dedicated ordinary-index alias. It is the series identity and the only membership boundary. Changing it forces replacement.
    deletion_protection bool
    elasticsearch_connections list(object)
    Elasticsearch connection configuration block.
    timeouts object
    prefix String
    Literal prefix used only to name the bootstrap index <prefix>-000001. Changing it forces replacement. Membership and deletion follow rollover_alias, not this prefix.
    rolloverAlias String
    Dedicated ordinary-index alias. It is the series identity and the only membership boundary. Changing it forces replacement.
    deletionProtection Boolean
    elasticsearchConnections List<ElasticsearchRolloverIndexSeriesElasticsearchConnection>
    Elasticsearch connection configuration block.
    timeouts ElasticsearchRolloverIndexSeriesTimeouts
    prefix string
    Literal prefix used only to name the bootstrap index <prefix>-000001. Changing it forces replacement. Membership and deletion follow rollover_alias, not this prefix.
    rolloverAlias string
    Dedicated ordinary-index alias. It is the series identity and the only membership boundary. Changing it forces replacement.
    deletionProtection boolean
    elasticsearchConnections ElasticsearchRolloverIndexSeriesElasticsearchConnection[]
    Elasticsearch connection configuration block.
    timeouts ElasticsearchRolloverIndexSeriesTimeouts
    prefix str
    Literal prefix used only to name the bootstrap index <prefix>-000001. Changing it forces replacement. Membership and deletion follow rollover_alias, not this prefix.
    rollover_alias str
    Dedicated ordinary-index alias. It is the series identity and the only membership boundary. Changing it forces replacement.
    deletion_protection bool
    elasticsearch_connections Sequence[ElasticsearchRolloverIndexSeriesElasticsearchConnectionArgs]
    Elasticsearch connection configuration block.
    timeouts ElasticsearchRolloverIndexSeriesTimeoutsArgs
    prefix String
    Literal prefix used only to name the bootstrap index <prefix>-000001. Changing it forces replacement. Membership and deletion follow rollover_alias, not this prefix.
    rolloverAlias String
    Dedicated ordinary-index alias. It is the series identity and the only membership boundary. Changing it forces replacement.
    deletionProtection Boolean
    elasticsearchConnections List<Property Map>
    Elasticsearch connection configuration block.
    timeouts Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Indices List<string>
    Concrete indices currently attached to rollover_alias, including members that do not match prefix.
    WriteIndex string
    Concrete name of the effective write index. Null when the alias has no effective writer.
    Id string
    The provider-assigned unique ID for this managed resource.
    Indices []string
    Concrete indices currently attached to rollover_alias, including members that do not match prefix.
    WriteIndex string
    Concrete name of the effective write index. Null when the alias has no effective writer.
    id string
    The provider-assigned unique ID for this managed resource.
    indices list(string)
    Concrete indices currently attached to rollover_alias, including members that do not match prefix.
    write_index string
    Concrete name of the effective write index. Null when the alias has no effective writer.
    id String
    The provider-assigned unique ID for this managed resource.
    indices List<String>
    Concrete indices currently attached to rollover_alias, including members that do not match prefix.
    writeIndex String
    Concrete name of the effective write index. Null when the alias has no effective writer.
    id string
    The provider-assigned unique ID for this managed resource.
    indices string[]
    Concrete indices currently attached to rollover_alias, including members that do not match prefix.
    writeIndex string
    Concrete name of the effective write index. Null when the alias has no effective writer.
    id str
    The provider-assigned unique ID for this managed resource.
    indices Sequence[str]
    Concrete indices currently attached to rollover_alias, including members that do not match prefix.
    write_index str
    Concrete name of the effective write index. Null when the alias has no effective writer.
    id String
    The provider-assigned unique ID for this managed resource.
    indices List<String>
    Concrete indices currently attached to rollover_alias, including members that do not match prefix.
    writeIndex String
    Concrete name of the effective write index. Null when the alias has no effective writer.

    Look up Existing ElasticsearchRolloverIndexSeries Resource

    Get an existing ElasticsearchRolloverIndexSeries 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?: ElasticsearchRolloverIndexSeriesState, opts?: CustomResourceOptions): ElasticsearchRolloverIndexSeries
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            deletion_protection: Optional[bool] = None,
            elasticsearch_connections: Optional[Sequence[ElasticsearchRolloverIndexSeriesElasticsearchConnectionArgs]] = None,
            indices: Optional[Sequence[str]] = None,
            prefix: Optional[str] = None,
            rollover_alias: Optional[str] = None,
            timeouts: Optional[ElasticsearchRolloverIndexSeriesTimeoutsArgs] = None,
            write_index: Optional[str] = None) -> ElasticsearchRolloverIndexSeries
    func GetElasticsearchRolloverIndexSeries(ctx *Context, name string, id IDInput, state *ElasticsearchRolloverIndexSeriesState, opts ...ResourceOption) (*ElasticsearchRolloverIndexSeries, error)
    public static ElasticsearchRolloverIndexSeries Get(string name, Input<string> id, ElasticsearchRolloverIndexSeriesState? state, CustomResourceOptions? opts = null)
    public static ElasticsearchRolloverIndexSeries get(String name, Output<String> id, ElasticsearchRolloverIndexSeriesState state, CustomResourceOptions options)
    resources:  existingElasticsearchRolloverIndexSeries:    type: elasticstack:ElasticsearchRolloverIndexSeries    get:      id: ${id}
    import {
      to = elasticstack_elasticsearch_rollover_index_series.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state ElasticsearchRolloverIndexSeriesState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state ElasticsearchRolloverIndexSeriesState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state ElasticsearchRolloverIndexSeriesState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state ElasticsearchRolloverIndexSeriesState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    DeletionProtection bool
    ElasticsearchConnections List<ElasticsearchRolloverIndexSeriesElasticsearchConnection>
    Elasticsearch connection configuration block.
    Indices List<string>
    Concrete indices currently attached to rollover_alias, including members that do not match prefix.
    Prefix string
    Literal prefix used only to name the bootstrap index <prefix>-000001. Changing it forces replacement. Membership and deletion follow rollover_alias, not this prefix.
    RolloverAlias string
    Dedicated ordinary-index alias. It is the series identity and the only membership boundary. Changing it forces replacement.
    Timeouts ElasticsearchRolloverIndexSeriesTimeouts
    WriteIndex string
    Concrete name of the effective write index. Null when the alias has no effective writer.
    DeletionProtection bool
    ElasticsearchConnections []ElasticsearchRolloverIndexSeriesElasticsearchConnectionArgs
    Elasticsearch connection configuration block.
    Indices []string
    Concrete indices currently attached to rollover_alias, including members that do not match prefix.
    Prefix string
    Literal prefix used only to name the bootstrap index <prefix>-000001. Changing it forces replacement. Membership and deletion follow rollover_alias, not this prefix.
    RolloverAlias string
    Dedicated ordinary-index alias. It is the series identity and the only membership boundary. Changing it forces replacement.
    Timeouts ElasticsearchRolloverIndexSeriesTimeoutsArgs
    WriteIndex string
    Concrete name of the effective write index. Null when the alias has no effective writer.
    deletion_protection bool
    elasticsearch_connections list(object)
    Elasticsearch connection configuration block.
    indices list(string)
    Concrete indices currently attached to rollover_alias, including members that do not match prefix.
    prefix string
    Literal prefix used only to name the bootstrap index <prefix>-000001. Changing it forces replacement. Membership and deletion follow rollover_alias, not this prefix.
    rollover_alias string
    Dedicated ordinary-index alias. It is the series identity and the only membership boundary. Changing it forces replacement.
    timeouts object
    write_index string
    Concrete name of the effective write index. Null when the alias has no effective writer.
    deletionProtection Boolean
    elasticsearchConnections List<ElasticsearchRolloverIndexSeriesElasticsearchConnection>
    Elasticsearch connection configuration block.
    indices List<String>
    Concrete indices currently attached to rollover_alias, including members that do not match prefix.
    prefix String
    Literal prefix used only to name the bootstrap index <prefix>-000001. Changing it forces replacement. Membership and deletion follow rollover_alias, not this prefix.
    rolloverAlias String
    Dedicated ordinary-index alias. It is the series identity and the only membership boundary. Changing it forces replacement.
    timeouts ElasticsearchRolloverIndexSeriesTimeouts
    writeIndex String
    Concrete name of the effective write index. Null when the alias has no effective writer.
    deletionProtection boolean
    elasticsearchConnections ElasticsearchRolloverIndexSeriesElasticsearchConnection[]
    Elasticsearch connection configuration block.
    indices string[]
    Concrete indices currently attached to rollover_alias, including members that do not match prefix.
    prefix string
    Literal prefix used only to name the bootstrap index <prefix>-000001. Changing it forces replacement. Membership and deletion follow rollover_alias, not this prefix.
    rolloverAlias string
    Dedicated ordinary-index alias. It is the series identity and the only membership boundary. Changing it forces replacement.
    timeouts ElasticsearchRolloverIndexSeriesTimeouts
    writeIndex string
    Concrete name of the effective write index. Null when the alias has no effective writer.
    deletion_protection bool
    elasticsearch_connections Sequence[ElasticsearchRolloverIndexSeriesElasticsearchConnectionArgs]
    Elasticsearch connection configuration block.
    indices Sequence[str]
    Concrete indices currently attached to rollover_alias, including members that do not match prefix.
    prefix str
    Literal prefix used only to name the bootstrap index <prefix>-000001. Changing it forces replacement. Membership and deletion follow rollover_alias, not this prefix.
    rollover_alias str
    Dedicated ordinary-index alias. It is the series identity and the only membership boundary. Changing it forces replacement.
    timeouts ElasticsearchRolloverIndexSeriesTimeoutsArgs
    write_index str
    Concrete name of the effective write index. Null when the alias has no effective writer.
    deletionProtection Boolean
    elasticsearchConnections List<Property Map>
    Elasticsearch connection configuration block.
    indices List<String>
    Concrete indices currently attached to rollover_alias, including members that do not match prefix.
    prefix String
    Literal prefix used only to name the bootstrap index <prefix>-000001. Changing it forces replacement. Membership and deletion follow rollover_alias, not this prefix.
    rolloverAlias String
    Dedicated ordinary-index alias. It is the series identity and the only membership boundary. Changing it forces replacement.
    timeouts Property Map
    writeIndex String
    Concrete name of the effective write index. Null when the alias has no effective writer.

    Supporting Types

    ElasticsearchRolloverIndexSeriesElasticsearchConnection, ElasticsearchRolloverIndexSeriesElasticsearchConnectionArgs

    ApiKey string
    API Key to use for authentication to Elasticsearch
    BearerToken string
    Bearer Token to use for authentication to Elasticsearch
    CaData string
    PEM-encoded custom Certificate Authority certificate
    CaFile string
    Path to a custom Certificate Authority certificate
    CaFingerprint string
    SHA-256 hex fingerprint (64 hexadecimal characters, no colons or separators) of the server TLS certificate used to pin the connection instead of a full CA chain
    CertData string
    PEM encoded certificate for client auth
    CertFile string
    Path to a file containing the PEM encoded certificate for client auth
    Endpoints List<string>
    EsClientAuthentication string
    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
    KeyData string
    PEM encoded private key for client auth
    KeyFile 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.
    ApiKey string
    API Key to use for authentication to Elasticsearch
    BearerToken string
    Bearer Token to use for authentication to Elasticsearch
    CaData string
    PEM-encoded custom Certificate Authority certificate
    CaFile string
    Path to a custom Certificate Authority certificate
    CaFingerprint string
    SHA-256 hex fingerprint (64 hexadecimal characters, no colons or separators) of the server TLS certificate used to pin the connection instead of a full CA chain
    CertData string
    PEM encoded certificate for client auth
    CertFile string
    Path to a file containing the PEM encoded certificate for client auth
    Endpoints []string
    EsClientAuthentication string
    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
    KeyData string
    PEM encoded private key for client auth
    KeyFile 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
    ca_fingerprint string
    SHA-256 hex fingerprint (64 hexadecimal characters, no colons or separators) of the server TLS certificate used to pin the connection instead of a full CA chain
    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_authentication string
    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 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.
    apiKey String
    API Key to use for authentication to Elasticsearch
    bearerToken String
    Bearer Token to use for authentication to Elasticsearch
    caData String
    PEM-encoded custom Certificate Authority certificate
    caFile String
    Path to a custom Certificate Authority certificate
    caFingerprint String
    SHA-256 hex fingerprint (64 hexadecimal characters, no colons or separators) of the server TLS certificate used to pin the connection instead of a full CA chain
    certData String
    PEM encoded certificate for client auth
    certFile String
    Path to a file containing the PEM encoded certificate for client auth
    endpoints List<String>
    esClientAuthentication String
    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
    keyData String
    PEM encoded private key for client auth
    keyFile 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.
    apiKey string
    API Key to use for authentication to Elasticsearch
    bearerToken string
    Bearer Token to use for authentication to Elasticsearch
    caData string
    PEM-encoded custom Certificate Authority certificate
    caFile string
    Path to a custom Certificate Authority certificate
    caFingerprint string
    SHA-256 hex fingerprint (64 hexadecimal characters, no colons or separators) of the server TLS certificate used to pin the connection instead of a full CA chain
    certData string
    PEM encoded certificate for client auth
    certFile string
    Path to a file containing the PEM encoded certificate for client auth
    endpoints string[]
    esClientAuthentication string
    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
    keyData string
    PEM encoded private key for client auth
    keyFile 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
    ca_fingerprint str
    SHA-256 hex fingerprint (64 hexadecimal characters, no colons or separators) of the server TLS certificate used to pin the connection instead of a full CA chain
    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_authentication str
    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.
    apiKey String
    API Key to use for authentication to Elasticsearch
    bearerToken String
    Bearer Token to use for authentication to Elasticsearch
    caData String
    PEM-encoded custom Certificate Authority certificate
    caFile String
    Path to a custom Certificate Authority certificate
    caFingerprint String
    SHA-256 hex fingerprint (64 hexadecimal characters, no colons or separators) of the server TLS certificate used to pin the connection instead of a full CA chain
    certData String
    PEM encoded certificate for client auth
    certFile String
    Path to a file containing the PEM encoded certificate for client auth
    endpoints List<String>
    esClientAuthentication String
    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
    keyData String
    PEM encoded private key for client auth
    keyFile 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.

    ElasticsearchRolloverIndexSeriesTimeouts, ElasticsearchRolloverIndexSeriesTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    The pulumi import command can be used, for example:

    Import identifier: <cluster_uuid>/<rollover_alias>/

    State id is <cluster_uuid>/<rollover_alias>. The three-part import string is not stored as id.

    prefix is taken from this identifier and is not inferred from the current writer.

    deletion_protection is initialized to true. A later apply must set it to false before destroy.

    Healthy create and import read an ordinary alias and do not require an extra flag.

    $ pulumi import elasticstack:index/elasticsearchRolloverIndexSeries:ElasticsearchRolloverIndexSeries orders '<cluster_uuid>/orders-write/orders'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    elasticstack elastic/terraform-provider-elasticstack
    License
    Notes
    This Pulumi package is based on the elasticstack Terraform Provider.
    elasticstack
    Viewing docs for elasticstack 0.17.0
    published on Tuesday, Nov 10, 2026 by elastic

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial