1. Packages
  2. Packages
  3. Elasticstack Provider
  4. API Docs
  5. ElasticsearchMlCalendarEvent
Viewing docs for elasticstack 0.16.1
published on Monday, Jun 1, 2026 by elastic
Viewing docs for elasticstack 0.16.1
published on Monday, Jun 1, 2026 by elastic

    Manages scheduled events for a Machine Learning calendar. See the ML post calendar events API for more details. Import id format: <cluster_uuid>/<calendar_id>/<event_id> (the same value as the computed id attribute).

    Create ElasticsearchMlCalendarEvent Resource

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

    Constructor syntax

    new ElasticsearchMlCalendarEvent(name: string, args: ElasticsearchMlCalendarEventArgs, opts?: CustomResourceOptions);
    @overload
    def ElasticsearchMlCalendarEvent(resource_name: str,
                                     args: ElasticsearchMlCalendarEventArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def ElasticsearchMlCalendarEvent(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     calendar_id: Optional[str] = None,
                                     description: Optional[str] = None,
                                     end_time: Optional[str] = None,
                                     start_time: Optional[str] = None,
                                     elasticsearch_connections: Optional[Sequence[ElasticsearchMlCalendarEventElasticsearchConnectionArgs]] = None,
                                     force_time_shift: Optional[str] = None,
                                     skip_model_update: Optional[bool] = None,
                                     skip_result: Optional[bool] = None)
    func NewElasticsearchMlCalendarEvent(ctx *Context, name string, args ElasticsearchMlCalendarEventArgs, opts ...ResourceOption) (*ElasticsearchMlCalendarEvent, error)
    public ElasticsearchMlCalendarEvent(string name, ElasticsearchMlCalendarEventArgs args, CustomResourceOptions? opts = null)
    public ElasticsearchMlCalendarEvent(String name, ElasticsearchMlCalendarEventArgs args)
    public ElasticsearchMlCalendarEvent(String name, ElasticsearchMlCalendarEventArgs args, CustomResourceOptions options)
    
    type: elasticstack:ElasticsearchMlCalendarEvent
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "elasticstack_elasticsearchmlcalendarevent" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ElasticsearchMlCalendarEventArgs
    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 ElasticsearchMlCalendarEventArgs
    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 ElasticsearchMlCalendarEventArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ElasticsearchMlCalendarEventArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ElasticsearchMlCalendarEventArgs
    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 elasticsearchMlCalendarEventResource = new Elasticstack.ElasticsearchMlCalendarEvent("elasticsearchMlCalendarEventResource", new()
    {
        CalendarId = "string",
        Description = "string",
        EndTime = "string",
        StartTime = "string",
        ElasticsearchConnections = new[]
        {
            new Elasticstack.Inputs.ElasticsearchMlCalendarEventElasticsearchConnectionArgs
            {
                ApiKey = "string",
                BearerToken = "string",
                CaData = "string",
                CaFile = "string",
                CertData = "string",
                CertFile = "string",
                Endpoints = new[]
                {
                    "string",
                },
                EsClientAuthentication = "string",
                Headers = 
                {
                    { "string", "string" },
                },
                Insecure = false,
                KeyData = "string",
                KeyFile = "string",
                Password = "string",
                Username = "string",
            },
        },
        ForceTimeShift = "string",
        SkipModelUpdate = false,
        SkipResult = false,
    });
    
    example, err := elasticstack.NewElasticsearchMlCalendarEvent(ctx, "elasticsearchMlCalendarEventResource", &elasticstack.ElasticsearchMlCalendarEventArgs{
    	CalendarId:  pulumi.String("string"),
    	Description: pulumi.String("string"),
    	EndTime:     pulumi.String("string"),
    	StartTime:   pulumi.String("string"),
    	ElasticsearchConnections: elasticstack.ElasticsearchMlCalendarEventElasticsearchConnectionArray{
    		&elasticstack.ElasticsearchMlCalendarEventElasticsearchConnectionArgs{
    			ApiKey:      pulumi.String("string"),
    			BearerToken: pulumi.String("string"),
    			CaData:      pulumi.String("string"),
    			CaFile:      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"),
    		},
    	},
    	ForceTimeShift:  pulumi.String("string"),
    	SkipModelUpdate: pulumi.Bool(false),
    	SkipResult:      pulumi.Bool(false),
    })
    
    resource "elasticstack_elasticsearchmlcalendarevent" "elasticsearchMlCalendarEventResource" {
      calendar_id = "string"
      description = "string"
      end_time    = "string"
      start_time  = "string"
      elasticsearch_connections {
        api_key                  = "string"
        bearer_token             = "string"
        ca_data                  = "string"
        ca_file                  = "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"
      }
      force_time_shift  = "string"
      skip_model_update = false
      skip_result       = false
    }
    
    var elasticsearchMlCalendarEventResource = new ElasticsearchMlCalendarEvent("elasticsearchMlCalendarEventResource", ElasticsearchMlCalendarEventArgs.builder()
        .calendarId("string")
        .description("string")
        .endTime("string")
        .startTime("string")
        .elasticsearchConnections(ElasticsearchMlCalendarEventElasticsearchConnectionArgs.builder()
            .apiKey("string")
            .bearerToken("string")
            .caData("string")
            .caFile("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())
        .forceTimeShift("string")
        .skipModelUpdate(false)
        .skipResult(false)
        .build());
    
    elasticsearch_ml_calendar_event_resource = elasticstack.ElasticsearchMlCalendarEvent("elasticsearchMlCalendarEventResource",
        calendar_id="string",
        description="string",
        end_time="string",
        start_time="string",
        elasticsearch_connections=[{
            "api_key": "string",
            "bearer_token": "string",
            "ca_data": "string",
            "ca_file": "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",
        }],
        force_time_shift="string",
        skip_model_update=False,
        skip_result=False)
    
    const elasticsearchMlCalendarEventResource = new elasticstack.ElasticsearchMlCalendarEvent("elasticsearchMlCalendarEventResource", {
        calendarId: "string",
        description: "string",
        endTime: "string",
        startTime: "string",
        elasticsearchConnections: [{
            apiKey: "string",
            bearerToken: "string",
            caData: "string",
            caFile: "string",
            certData: "string",
            certFile: "string",
            endpoints: ["string"],
            esClientAuthentication: "string",
            headers: {
                string: "string",
            },
            insecure: false,
            keyData: "string",
            keyFile: "string",
            password: "string",
            username: "string",
        }],
        forceTimeShift: "string",
        skipModelUpdate: false,
        skipResult: false,
    });
    
    type: elasticstack:ElasticsearchMlCalendarEvent
    properties:
        calendarId: string
        description: string
        elasticsearchConnections:
            - apiKey: string
              bearerToken: string
              caData: string
              caFile: string
              certData: string
              certFile: string
              endpoints:
                - string
              esClientAuthentication: string
              headers:
                string: string
              insecure: false
              keyData: string
              keyFile: string
              password: string
              username: string
        endTime: string
        forceTimeShift: string
        skipModelUpdate: false
        skipResult: false
        startTime: string
    

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

    CalendarId string
    The identifier for the calendar that owns the event. Must contain lowercase alphanumeric characters (a-z and 0-9), hyphens, or underscores. Must start and end with an alphanumeric character.
    Description string
    A description of the scheduled event.
    EndTime string
    The end time of the scheduled event in RFC 3339 format.
    StartTime string
    The start time of the scheduled event in RFC 3339 format.
    ElasticsearchConnections List<ElasticsearchMlCalendarEventElasticsearchConnection>
    Elasticsearch connection configuration block.
    ForceTimeShift string
    When set, changes the duration of the event to the specified value in seconds (decimal digits as a string; the API uses a JSON number). Requires Elasticsearch 8.16 or newer. Maps to force_time_shift in the Elasticsearch API.
    SkipModelUpdate bool
    If true, model updates are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_model_update in the Elasticsearch API.
    SkipResult bool
    If true, results are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_result in the Elasticsearch API.
    CalendarId string
    The identifier for the calendar that owns the event. Must contain lowercase alphanumeric characters (a-z and 0-9), hyphens, or underscores. Must start and end with an alphanumeric character.
    Description string
    A description of the scheduled event.
    EndTime string
    The end time of the scheduled event in RFC 3339 format.
    StartTime string
    The start time of the scheduled event in RFC 3339 format.
    ElasticsearchConnections []ElasticsearchMlCalendarEventElasticsearchConnectionArgs
    Elasticsearch connection configuration block.
    ForceTimeShift string
    When set, changes the duration of the event to the specified value in seconds (decimal digits as a string; the API uses a JSON number). Requires Elasticsearch 8.16 or newer. Maps to force_time_shift in the Elasticsearch API.
    SkipModelUpdate bool
    If true, model updates are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_model_update in the Elasticsearch API.
    SkipResult bool
    If true, results are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_result in the Elasticsearch API.
    calendar_id string
    The identifier for the calendar that owns the event. Must contain lowercase alphanumeric characters (a-z and 0-9), hyphens, or underscores. Must start and end with an alphanumeric character.
    description string
    A description of the scheduled event.
    end_time string
    The end time of the scheduled event in RFC 3339 format.
    start_time string
    The start time of the scheduled event in RFC 3339 format.
    elasticsearch_connections list(object)
    Elasticsearch connection configuration block.
    force_time_shift string
    When set, changes the duration of the event to the specified value in seconds (decimal digits as a string; the API uses a JSON number). Requires Elasticsearch 8.16 or newer. Maps to force_time_shift in the Elasticsearch API.
    skip_model_update bool
    If true, model updates are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_model_update in the Elasticsearch API.
    skip_result bool
    If true, results are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_result in the Elasticsearch API.
    calendarId String
    The identifier for the calendar that owns the event. Must contain lowercase alphanumeric characters (a-z and 0-9), hyphens, or underscores. Must start and end with an alphanumeric character.
    description String
    A description of the scheduled event.
    endTime String
    The end time of the scheduled event in RFC 3339 format.
    startTime String
    The start time of the scheduled event in RFC 3339 format.
    elasticsearchConnections List<ElasticsearchMlCalendarEventElasticsearchConnection>
    Elasticsearch connection configuration block.
    forceTimeShift String
    When set, changes the duration of the event to the specified value in seconds (decimal digits as a string; the API uses a JSON number). Requires Elasticsearch 8.16 or newer. Maps to force_time_shift in the Elasticsearch API.
    skipModelUpdate Boolean
    If true, model updates are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_model_update in the Elasticsearch API.
    skipResult Boolean
    If true, results are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_result in the Elasticsearch API.
    calendarId string
    The identifier for the calendar that owns the event. Must contain lowercase alphanumeric characters (a-z and 0-9), hyphens, or underscores. Must start and end with an alphanumeric character.
    description string
    A description of the scheduled event.
    endTime string
    The end time of the scheduled event in RFC 3339 format.
    startTime string
    The start time of the scheduled event in RFC 3339 format.
    elasticsearchConnections ElasticsearchMlCalendarEventElasticsearchConnection[]
    Elasticsearch connection configuration block.
    forceTimeShift string
    When set, changes the duration of the event to the specified value in seconds (decimal digits as a string; the API uses a JSON number). Requires Elasticsearch 8.16 or newer. Maps to force_time_shift in the Elasticsearch API.
    skipModelUpdate boolean
    If true, model updates are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_model_update in the Elasticsearch API.
    skipResult boolean
    If true, results are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_result in the Elasticsearch API.
    calendar_id str
    The identifier for the calendar that owns the event. Must contain lowercase alphanumeric characters (a-z and 0-9), hyphens, or underscores. Must start and end with an alphanumeric character.
    description str
    A description of the scheduled event.
    end_time str
    The end time of the scheduled event in RFC 3339 format.
    start_time str
    The start time of the scheduled event in RFC 3339 format.
    elasticsearch_connections Sequence[ElasticsearchMlCalendarEventElasticsearchConnectionArgs]
    Elasticsearch connection configuration block.
    force_time_shift str
    When set, changes the duration of the event to the specified value in seconds (decimal digits as a string; the API uses a JSON number). Requires Elasticsearch 8.16 or newer. Maps to force_time_shift in the Elasticsearch API.
    skip_model_update bool
    If true, model updates are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_model_update in the Elasticsearch API.
    skip_result bool
    If true, results are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_result in the Elasticsearch API.
    calendarId String
    The identifier for the calendar that owns the event. Must contain lowercase alphanumeric characters (a-z and 0-9), hyphens, or underscores. Must start and end with an alphanumeric character.
    description String
    A description of the scheduled event.
    endTime String
    The end time of the scheduled event in RFC 3339 format.
    startTime String
    The start time of the scheduled event in RFC 3339 format.
    elasticsearchConnections List<Property Map>
    Elasticsearch connection configuration block.
    forceTimeShift String
    When set, changes the duration of the event to the specified value in seconds (decimal digits as a string; the API uses a JSON number). Requires Elasticsearch 8.16 or newer. Maps to force_time_shift in the Elasticsearch API.
    skipModelUpdate Boolean
    If true, model updates are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_model_update in the Elasticsearch API.
    skipResult Boolean
    If true, results are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_result in the Elasticsearch API.

    Outputs

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

    EventId string
    The server-generated identifier for the event.
    Id string
    The provider-assigned unique ID for this managed resource.
    EventId string
    The server-generated identifier for the event.
    Id string
    The provider-assigned unique ID for this managed resource.
    event_id string
    The server-generated identifier for the event.
    id string
    The provider-assigned unique ID for this managed resource.
    eventId String
    The server-generated identifier for the event.
    id String
    The provider-assigned unique ID for this managed resource.
    eventId string
    The server-generated identifier for the event.
    id string
    The provider-assigned unique ID for this managed resource.
    event_id str
    The server-generated identifier for the event.
    id str
    The provider-assigned unique ID for this managed resource.
    eventId String
    The server-generated identifier for the event.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ElasticsearchMlCalendarEvent Resource

    Get an existing ElasticsearchMlCalendarEvent 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?: ElasticsearchMlCalendarEventState, opts?: CustomResourceOptions): ElasticsearchMlCalendarEvent
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            calendar_id: Optional[str] = None,
            description: Optional[str] = None,
            elasticsearch_connections: Optional[Sequence[ElasticsearchMlCalendarEventElasticsearchConnectionArgs]] = None,
            end_time: Optional[str] = None,
            event_id: Optional[str] = None,
            force_time_shift: Optional[str] = None,
            skip_model_update: Optional[bool] = None,
            skip_result: Optional[bool] = None,
            start_time: Optional[str] = None) -> ElasticsearchMlCalendarEvent
    func GetElasticsearchMlCalendarEvent(ctx *Context, name string, id IDInput, state *ElasticsearchMlCalendarEventState, opts ...ResourceOption) (*ElasticsearchMlCalendarEvent, error)
    public static ElasticsearchMlCalendarEvent Get(string name, Input<string> id, ElasticsearchMlCalendarEventState? state, CustomResourceOptions? opts = null)
    public static ElasticsearchMlCalendarEvent get(String name, Output<String> id, ElasticsearchMlCalendarEventState state, CustomResourceOptions options)
    resources:  _:    type: elasticstack:ElasticsearchMlCalendarEvent    get:      id: ${id}
    import {
      to = elasticstack_elasticsearchmlcalendarevent.example
      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:
    CalendarId string
    The identifier for the calendar that owns the event. Must contain lowercase alphanumeric characters (a-z and 0-9), hyphens, or underscores. Must start and end with an alphanumeric character.
    Description string
    A description of the scheduled event.
    ElasticsearchConnections List<ElasticsearchMlCalendarEventElasticsearchConnection>
    Elasticsearch connection configuration block.
    EndTime string
    The end time of the scheduled event in RFC 3339 format.
    EventId string
    The server-generated identifier for the event.
    ForceTimeShift string
    When set, changes the duration of the event to the specified value in seconds (decimal digits as a string; the API uses a JSON number). Requires Elasticsearch 8.16 or newer. Maps to force_time_shift in the Elasticsearch API.
    SkipModelUpdate bool
    If true, model updates are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_model_update in the Elasticsearch API.
    SkipResult bool
    If true, results are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_result in the Elasticsearch API.
    StartTime string
    The start time of the scheduled event in RFC 3339 format.
    CalendarId string
    The identifier for the calendar that owns the event. Must contain lowercase alphanumeric characters (a-z and 0-9), hyphens, or underscores. Must start and end with an alphanumeric character.
    Description string
    A description of the scheduled event.
    ElasticsearchConnections []ElasticsearchMlCalendarEventElasticsearchConnectionArgs
    Elasticsearch connection configuration block.
    EndTime string
    The end time of the scheduled event in RFC 3339 format.
    EventId string
    The server-generated identifier for the event.
    ForceTimeShift string
    When set, changes the duration of the event to the specified value in seconds (decimal digits as a string; the API uses a JSON number). Requires Elasticsearch 8.16 or newer. Maps to force_time_shift in the Elasticsearch API.
    SkipModelUpdate bool
    If true, model updates are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_model_update in the Elasticsearch API.
    SkipResult bool
    If true, results are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_result in the Elasticsearch API.
    StartTime string
    The start time of the scheduled event in RFC 3339 format.
    calendar_id string
    The identifier for the calendar that owns the event. Must contain lowercase alphanumeric characters (a-z and 0-9), hyphens, or underscores. Must start and end with an alphanumeric character.
    description string
    A description of the scheduled event.
    elasticsearch_connections list(object)
    Elasticsearch connection configuration block.
    end_time string
    The end time of the scheduled event in RFC 3339 format.
    event_id string
    The server-generated identifier for the event.
    force_time_shift string
    When set, changes the duration of the event to the specified value in seconds (decimal digits as a string; the API uses a JSON number). Requires Elasticsearch 8.16 or newer. Maps to force_time_shift in the Elasticsearch API.
    skip_model_update bool
    If true, model updates are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_model_update in the Elasticsearch API.
    skip_result bool
    If true, results are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_result in the Elasticsearch API.
    start_time string
    The start time of the scheduled event in RFC 3339 format.
    calendarId String
    The identifier for the calendar that owns the event. Must contain lowercase alphanumeric characters (a-z and 0-9), hyphens, or underscores. Must start and end with an alphanumeric character.
    description String
    A description of the scheduled event.
    elasticsearchConnections List<ElasticsearchMlCalendarEventElasticsearchConnection>
    Elasticsearch connection configuration block.
    endTime String
    The end time of the scheduled event in RFC 3339 format.
    eventId String
    The server-generated identifier for the event.
    forceTimeShift String
    When set, changes the duration of the event to the specified value in seconds (decimal digits as a string; the API uses a JSON number). Requires Elasticsearch 8.16 or newer. Maps to force_time_shift in the Elasticsearch API.
    skipModelUpdate Boolean
    If true, model updates are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_model_update in the Elasticsearch API.
    skipResult Boolean
    If true, results are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_result in the Elasticsearch API.
    startTime String
    The start time of the scheduled event in RFC 3339 format.
    calendarId string
    The identifier for the calendar that owns the event. Must contain lowercase alphanumeric characters (a-z and 0-9), hyphens, or underscores. Must start and end with an alphanumeric character.
    description string
    A description of the scheduled event.
    elasticsearchConnections ElasticsearchMlCalendarEventElasticsearchConnection[]
    Elasticsearch connection configuration block.
    endTime string
    The end time of the scheduled event in RFC 3339 format.
    eventId string
    The server-generated identifier for the event.
    forceTimeShift string
    When set, changes the duration of the event to the specified value in seconds (decimal digits as a string; the API uses a JSON number). Requires Elasticsearch 8.16 or newer. Maps to force_time_shift in the Elasticsearch API.
    skipModelUpdate boolean
    If true, model updates are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_model_update in the Elasticsearch API.
    skipResult boolean
    If true, results are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_result in the Elasticsearch API.
    startTime string
    The start time of the scheduled event in RFC 3339 format.
    calendar_id str
    The identifier for the calendar that owns the event. Must contain lowercase alphanumeric characters (a-z and 0-9), hyphens, or underscores. Must start and end with an alphanumeric character.
    description str
    A description of the scheduled event.
    elasticsearch_connections Sequence[ElasticsearchMlCalendarEventElasticsearchConnectionArgs]
    Elasticsearch connection configuration block.
    end_time str
    The end time of the scheduled event in RFC 3339 format.
    event_id str
    The server-generated identifier for the event.
    force_time_shift str
    When set, changes the duration of the event to the specified value in seconds (decimal digits as a string; the API uses a JSON number). Requires Elasticsearch 8.16 or newer. Maps to force_time_shift in the Elasticsearch API.
    skip_model_update bool
    If true, model updates are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_model_update in the Elasticsearch API.
    skip_result bool
    If true, results are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_result in the Elasticsearch API.
    start_time str
    The start time of the scheduled event in RFC 3339 format.
    calendarId String
    The identifier for the calendar that owns the event. Must contain lowercase alphanumeric characters (a-z and 0-9), hyphens, or underscores. Must start and end with an alphanumeric character.
    description String
    A description of the scheduled event.
    elasticsearchConnections List<Property Map>
    Elasticsearch connection configuration block.
    endTime String
    The end time of the scheduled event in RFC 3339 format.
    eventId String
    The server-generated identifier for the event.
    forceTimeShift String
    When set, changes the duration of the event to the specified value in seconds (decimal digits as a string; the API uses a JSON number). Requires Elasticsearch 8.16 or newer. Maps to force_time_shift in the Elasticsearch API.
    skipModelUpdate Boolean
    If true, model updates are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_model_update in the Elasticsearch API.
    skipResult Boolean
    If true, results are not generated for buckets that fall inside the event period. When omitted, the request does not send this field and Elasticsearch applies its default behavior. Explicit values require Elasticsearch 8.16 or newer. Maps to skip_result in the Elasticsearch API.
    startTime String
    The start time of the scheduled event in RFC 3339 format.

    Supporting Types

    ElasticsearchMlCalendarEventElasticsearchConnection, ElasticsearchMlCalendarEventElasticsearchConnectionArgs

    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
    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
    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
    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
    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
    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
    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
    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.

    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.16.1
    published on Monday, Jun 1, 2026 by elastic

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial