1. Packages
  2. Packages
  3. Elasticstack Provider
  4. API Docs
  5. ElasticsearchMlTrainedModelDeployment
Viewing docs for elasticstack 0.16.2
published on Saturday, Jul 4, 2026 by elastic
Viewing docs for elasticstack 0.16.2
published on Saturday, Jul 4, 2026 by elastic

    Create ElasticsearchMlTrainedModelDeployment Resource

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

    Constructor syntax

    new ElasticsearchMlTrainedModelDeployment(name: string, args: ElasticsearchMlTrainedModelDeploymentArgs, opts?: CustomResourceOptions);
    @overload
    def ElasticsearchMlTrainedModelDeployment(resource_name: str,
                                              args: ElasticsearchMlTrainedModelDeploymentArgs,
                                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def ElasticsearchMlTrainedModelDeployment(resource_name: str,
                                              opts: Optional[ResourceOptions] = None,
                                              model_id: Optional[str] = None,
                                              adaptive_allocations: Optional[ElasticsearchMlTrainedModelDeploymentAdaptiveAllocationsArgs] = None,
                                              api_timeout: Optional[str] = None,
                                              deployment_id: Optional[str] = None,
                                              elasticsearch_connections: Optional[Sequence[ElasticsearchMlTrainedModelDeploymentElasticsearchConnectionArgs]] = None,
                                              force_stop: Optional[bool] = None,
                                              number_of_allocations: Optional[float] = None,
                                              priority: Optional[str] = None,
                                              queue_capacity: Optional[float] = None,
                                              threads_per_allocation: Optional[float] = None,
                                              timeouts: Optional[ElasticsearchMlTrainedModelDeploymentTimeoutsArgs] = None,
                                              wait_for: Optional[str] = None)
    func NewElasticsearchMlTrainedModelDeployment(ctx *Context, name string, args ElasticsearchMlTrainedModelDeploymentArgs, opts ...ResourceOption) (*ElasticsearchMlTrainedModelDeployment, error)
    public ElasticsearchMlTrainedModelDeployment(string name, ElasticsearchMlTrainedModelDeploymentArgs args, CustomResourceOptions? opts = null)
    public ElasticsearchMlTrainedModelDeployment(String name, ElasticsearchMlTrainedModelDeploymentArgs args)
    public ElasticsearchMlTrainedModelDeployment(String name, ElasticsearchMlTrainedModelDeploymentArgs args, CustomResourceOptions options)
    
    type: elasticstack:ElasticsearchMlTrainedModelDeployment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "elasticstack_elasticsearchmltrainedmodeldeployment" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ElasticsearchMlTrainedModelDeploymentArgs
    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 ElasticsearchMlTrainedModelDeploymentArgs
    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 ElasticsearchMlTrainedModelDeploymentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ElasticsearchMlTrainedModelDeploymentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ElasticsearchMlTrainedModelDeploymentArgs
    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 elasticsearchMlTrainedModelDeploymentResource = new Elasticstack.ElasticsearchMlTrainedModelDeployment("elasticsearchMlTrainedModelDeploymentResource", new()
    {
        ModelId = "string",
        AdaptiveAllocations = new Elasticstack.Inputs.ElasticsearchMlTrainedModelDeploymentAdaptiveAllocationsArgs
        {
            Enabled = false,
            MaxNumberOfAllocations = 0,
            MinNumberOfAllocations = 0,
        },
        ApiTimeout = "string",
        DeploymentId = "string",
        ElasticsearchConnections = new[]
        {
            new Elasticstack.Inputs.ElasticsearchMlTrainedModelDeploymentElasticsearchConnectionArgs
            {
                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",
            },
        },
        ForceStop = false,
        NumberOfAllocations = 0,
        Priority = "string",
        QueueCapacity = 0,
        ThreadsPerAllocation = 0,
        Timeouts = new Elasticstack.Inputs.ElasticsearchMlTrainedModelDeploymentTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
        WaitFor = "string",
    });
    
    example, err := elasticstack.NewElasticsearchMlTrainedModelDeployment(ctx, "elasticsearchMlTrainedModelDeploymentResource", &elasticstack.ElasticsearchMlTrainedModelDeploymentArgs{
    	ModelId: pulumi.String("string"),
    	AdaptiveAllocations: &elasticstack.ElasticsearchMlTrainedModelDeploymentAdaptiveAllocationsArgs{
    		Enabled:                pulumi.Bool(false),
    		MaxNumberOfAllocations: pulumi.Float64(0),
    		MinNumberOfAllocations: pulumi.Float64(0),
    	},
    	ApiTimeout:   pulumi.String("string"),
    	DeploymentId: pulumi.String("string"),
    	ElasticsearchConnections: elasticstack.ElasticsearchMlTrainedModelDeploymentElasticsearchConnectionArray{
    		&elasticstack.ElasticsearchMlTrainedModelDeploymentElasticsearchConnectionArgs{
    			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"),
    		},
    	},
    	ForceStop:            pulumi.Bool(false),
    	NumberOfAllocations:  pulumi.Float64(0),
    	Priority:             pulumi.String("string"),
    	QueueCapacity:        pulumi.Float64(0),
    	ThreadsPerAllocation: pulumi.Float64(0),
    	Timeouts: &elasticstack.ElasticsearchMlTrainedModelDeploymentTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	WaitFor: pulumi.String("string"),
    })
    
    resource "elasticstack_elasticsearchmltrainedmodeldeployment" "elasticsearchMlTrainedModelDeploymentResource" {
      model_id = "string"
      adaptive_allocations = {
        enabled                   = false
        max_number_of_allocations = 0
        min_number_of_allocations = 0
      }
      api_timeout   = "string"
      deployment_id = "string"
      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"
      }
      force_stop             = false
      number_of_allocations  = 0
      priority               = "string"
      queue_capacity         = 0
      threads_per_allocation = 0
      timeouts = {
        create = "string"
        delete = "string"
        read   = "string"
        update = "string"
      }
      wait_for = "string"
    }
    
    var elasticsearchMlTrainedModelDeploymentResource = new ElasticsearchMlTrainedModelDeployment("elasticsearchMlTrainedModelDeploymentResource", ElasticsearchMlTrainedModelDeploymentArgs.builder()
        .modelId("string")
        .adaptiveAllocations(ElasticsearchMlTrainedModelDeploymentAdaptiveAllocationsArgs.builder()
            .enabled(false)
            .maxNumberOfAllocations(0.0)
            .minNumberOfAllocations(0.0)
            .build())
        .apiTimeout("string")
        .deploymentId("string")
        .elasticsearchConnections(ElasticsearchMlTrainedModelDeploymentElasticsearchConnectionArgs.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())
        .forceStop(false)
        .numberOfAllocations(0.0)
        .priority("string")
        .queueCapacity(0.0)
        .threadsPerAllocation(0.0)
        .timeouts(ElasticsearchMlTrainedModelDeploymentTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .waitFor("string")
        .build());
    
    elasticsearch_ml_trained_model_deployment_resource = elasticstack.ElasticsearchMlTrainedModelDeployment("elasticsearchMlTrainedModelDeploymentResource",
        model_id="string",
        adaptive_allocations={
            "enabled": False,
            "max_number_of_allocations": float(0),
            "min_number_of_allocations": float(0),
        },
        api_timeout="string",
        deployment_id="string",
        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",
        }],
        force_stop=False,
        number_of_allocations=float(0),
        priority="string",
        queue_capacity=float(0),
        threads_per_allocation=float(0),
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        },
        wait_for="string")
    
    const elasticsearchMlTrainedModelDeploymentResource = new elasticstack.ElasticsearchMlTrainedModelDeployment("elasticsearchMlTrainedModelDeploymentResource", {
        modelId: "string",
        adaptiveAllocations: {
            enabled: false,
            maxNumberOfAllocations: 0,
            minNumberOfAllocations: 0,
        },
        apiTimeout: "string",
        deploymentId: "string",
        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",
        }],
        forceStop: false,
        numberOfAllocations: 0,
        priority: "string",
        queueCapacity: 0,
        threadsPerAllocation: 0,
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
        waitFor: "string",
    });
    
    type: elasticstack:ElasticsearchMlTrainedModelDeployment
    properties:
        adaptiveAllocations:
            enabled: false
            maxNumberOfAllocations: 0
            minNumberOfAllocations: 0
        apiTimeout: string
        deploymentId: string
        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
        forceStop: false
        modelId: string
        numberOfAllocations: 0
        priority: string
        queueCapacity: 0
        threadsPerAllocation: 0
        timeouts:
            create: string
            delete: string
            read: string
            update: string
        waitFor: string
    

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

    ModelId string
    The unique identifier of the trained model to deploy.
    AdaptiveAllocations ElasticsearchMlTrainedModelDeploymentAdaptiveAllocations
    Adaptive allocations configuration. When enabled, the number of allocations is set based on the current load. Cannot be set when number_of_allocations is configured.
    ApiTimeout string
    Specifies the amount of time to wait for the model to deploy. This is the server-side start timeout.
    DeploymentId string
    A unique identifier for the deployment of the model. Defaults to the value of model_id.
    ElasticsearchConnections List<ElasticsearchMlTrainedModelDeploymentElasticsearchConnection>
    Elasticsearch connection configuration block.
    ForceStop bool
    When true, passes force=true to the Stop Deployment API on destroy.
    NumberOfAllocations double
    The number of model allocations on each node where the model is deployed. Cannot be set when adaptive_allocations is configured.
    Priority string
    The deployment priority. Valid values are low and normal.
    QueueCapacity double
    Specifies the number of inference requests that are allowed in the queue.
    ThreadsPerAllocation double
    Sets the number of threads used by each model allocation during inference.
    Timeouts ElasticsearchMlTrainedModelDeploymentTimeouts
    WaitFor string
    Specifies the allocation status to wait for before returning. Valid values are starting, started, and fully_allocated. Defaults to fully_allocated.
    ModelId string
    The unique identifier of the trained model to deploy.
    AdaptiveAllocations ElasticsearchMlTrainedModelDeploymentAdaptiveAllocationsArgs
    Adaptive allocations configuration. When enabled, the number of allocations is set based on the current load. Cannot be set when number_of_allocations is configured.
    ApiTimeout string
    Specifies the amount of time to wait for the model to deploy. This is the server-side start timeout.
    DeploymentId string
    A unique identifier for the deployment of the model. Defaults to the value of model_id.
    ElasticsearchConnections []ElasticsearchMlTrainedModelDeploymentElasticsearchConnectionArgs
    Elasticsearch connection configuration block.
    ForceStop bool
    When true, passes force=true to the Stop Deployment API on destroy.
    NumberOfAllocations float64
    The number of model allocations on each node where the model is deployed. Cannot be set when adaptive_allocations is configured.
    Priority string
    The deployment priority. Valid values are low and normal.
    QueueCapacity float64
    Specifies the number of inference requests that are allowed in the queue.
    ThreadsPerAllocation float64
    Sets the number of threads used by each model allocation during inference.
    Timeouts ElasticsearchMlTrainedModelDeploymentTimeoutsArgs
    WaitFor string
    Specifies the allocation status to wait for before returning. Valid values are starting, started, and fully_allocated. Defaults to fully_allocated.
    model_id string
    The unique identifier of the trained model to deploy.
    adaptive_allocations object
    Adaptive allocations configuration. When enabled, the number of allocations is set based on the current load. Cannot be set when number_of_allocations is configured.
    api_timeout string
    Specifies the amount of time to wait for the model to deploy. This is the server-side start timeout.
    deployment_id string
    A unique identifier for the deployment of the model. Defaults to the value of model_id.
    elasticsearch_connections list(object)
    Elasticsearch connection configuration block.
    force_stop bool
    When true, passes force=true to the Stop Deployment API on destroy.
    number_of_allocations number
    The number of model allocations on each node where the model is deployed. Cannot be set when adaptive_allocations is configured.
    priority string
    The deployment priority. Valid values are low and normal.
    queue_capacity number
    Specifies the number of inference requests that are allowed in the queue.
    threads_per_allocation number
    Sets the number of threads used by each model allocation during inference.
    timeouts object
    wait_for string
    Specifies the allocation status to wait for before returning. Valid values are starting, started, and fully_allocated. Defaults to fully_allocated.
    modelId String
    The unique identifier of the trained model to deploy.
    adaptiveAllocations ElasticsearchMlTrainedModelDeploymentAdaptiveAllocations
    Adaptive allocations configuration. When enabled, the number of allocations is set based on the current load. Cannot be set when number_of_allocations is configured.
    apiTimeout String
    Specifies the amount of time to wait for the model to deploy. This is the server-side start timeout.
    deploymentId String
    A unique identifier for the deployment of the model. Defaults to the value of model_id.
    elasticsearchConnections List<ElasticsearchMlTrainedModelDeploymentElasticsearchConnection>
    Elasticsearch connection configuration block.
    forceStop Boolean
    When true, passes force=true to the Stop Deployment API on destroy.
    numberOfAllocations Double
    The number of model allocations on each node where the model is deployed. Cannot be set when adaptive_allocations is configured.
    priority String
    The deployment priority. Valid values are low and normal.
    queueCapacity Double
    Specifies the number of inference requests that are allowed in the queue.
    threadsPerAllocation Double
    Sets the number of threads used by each model allocation during inference.
    timeouts ElasticsearchMlTrainedModelDeploymentTimeouts
    waitFor String
    Specifies the allocation status to wait for before returning. Valid values are starting, started, and fully_allocated. Defaults to fully_allocated.
    modelId string
    The unique identifier of the trained model to deploy.
    adaptiveAllocations ElasticsearchMlTrainedModelDeploymentAdaptiveAllocations
    Adaptive allocations configuration. When enabled, the number of allocations is set based on the current load. Cannot be set when number_of_allocations is configured.
    apiTimeout string
    Specifies the amount of time to wait for the model to deploy. This is the server-side start timeout.
    deploymentId string
    A unique identifier for the deployment of the model. Defaults to the value of model_id.
    elasticsearchConnections ElasticsearchMlTrainedModelDeploymentElasticsearchConnection[]
    Elasticsearch connection configuration block.
    forceStop boolean
    When true, passes force=true to the Stop Deployment API on destroy.
    numberOfAllocations number
    The number of model allocations on each node where the model is deployed. Cannot be set when adaptive_allocations is configured.
    priority string
    The deployment priority. Valid values are low and normal.
    queueCapacity number
    Specifies the number of inference requests that are allowed in the queue.
    threadsPerAllocation number
    Sets the number of threads used by each model allocation during inference.
    timeouts ElasticsearchMlTrainedModelDeploymentTimeouts
    waitFor string
    Specifies the allocation status to wait for before returning. Valid values are starting, started, and fully_allocated. Defaults to fully_allocated.
    model_id str
    The unique identifier of the trained model to deploy.
    adaptive_allocations ElasticsearchMlTrainedModelDeploymentAdaptiveAllocationsArgs
    Adaptive allocations configuration. When enabled, the number of allocations is set based on the current load. Cannot be set when number_of_allocations is configured.
    api_timeout str
    Specifies the amount of time to wait for the model to deploy. This is the server-side start timeout.
    deployment_id str
    A unique identifier for the deployment of the model. Defaults to the value of model_id.
    elasticsearch_connections Sequence[ElasticsearchMlTrainedModelDeploymentElasticsearchConnectionArgs]
    Elasticsearch connection configuration block.
    force_stop bool
    When true, passes force=true to the Stop Deployment API on destroy.
    number_of_allocations float
    The number of model allocations on each node where the model is deployed. Cannot be set when adaptive_allocations is configured.
    priority str
    The deployment priority. Valid values are low and normal.
    queue_capacity float
    Specifies the number of inference requests that are allowed in the queue.
    threads_per_allocation float
    Sets the number of threads used by each model allocation during inference.
    timeouts ElasticsearchMlTrainedModelDeploymentTimeoutsArgs
    wait_for str
    Specifies the allocation status to wait for before returning. Valid values are starting, started, and fully_allocated. Defaults to fully_allocated.
    modelId String
    The unique identifier of the trained model to deploy.
    adaptiveAllocations Property Map
    Adaptive allocations configuration. When enabled, the number of allocations is set based on the current load. Cannot be set when number_of_allocations is configured.
    apiTimeout String
    Specifies the amount of time to wait for the model to deploy. This is the server-side start timeout.
    deploymentId String
    A unique identifier for the deployment of the model. Defaults to the value of model_id.
    elasticsearchConnections List<Property Map>
    Elasticsearch connection configuration block.
    forceStop Boolean
    When true, passes force=true to the Stop Deployment API on destroy.
    numberOfAllocations Number
    The number of model allocations on each node where the model is deployed. Cannot be set when adaptive_allocations is configured.
    priority String
    The deployment priority. Valid values are low and normal.
    queueCapacity Number
    Specifies the number of inference requests that are allowed in the queue.
    threadsPerAllocation Number
    Sets the number of threads used by each model allocation during inference.
    timeouts Property Map
    waitFor String
    Specifies the allocation status to wait for before returning. Valid values are starting, started, and fully_allocated. Defaults to fully_allocated.

    Outputs

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

    AllocationStatus string
    The detailed allocation state of the deployment.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The overall state of the deployment.
    StatsJson string
    The raw JSON of the trained model stats for this deployment.
    AllocationStatus string
    The detailed allocation state of the deployment.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The overall state of the deployment.
    StatsJson string
    The raw JSON of the trained model stats for this deployment.
    allocation_status string
    The detailed allocation state of the deployment.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The overall state of the deployment.
    stats_json string
    The raw JSON of the trained model stats for this deployment.
    allocationStatus String
    The detailed allocation state of the deployment.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The overall state of the deployment.
    statsJson String
    The raw JSON of the trained model stats for this deployment.
    allocationStatus string
    The detailed allocation state of the deployment.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The overall state of the deployment.
    statsJson string
    The raw JSON of the trained model stats for this deployment.
    allocation_status str
    The detailed allocation state of the deployment.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The overall state of the deployment.
    stats_json str
    The raw JSON of the trained model stats for this deployment.
    allocationStatus String
    The detailed allocation state of the deployment.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The overall state of the deployment.
    statsJson String
    The raw JSON of the trained model stats for this deployment.

    Look up Existing ElasticsearchMlTrainedModelDeployment Resource

    Get an existing ElasticsearchMlTrainedModelDeployment 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?: ElasticsearchMlTrainedModelDeploymentState, opts?: CustomResourceOptions): ElasticsearchMlTrainedModelDeployment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            adaptive_allocations: Optional[ElasticsearchMlTrainedModelDeploymentAdaptiveAllocationsArgs] = None,
            allocation_status: Optional[str] = None,
            api_timeout: Optional[str] = None,
            deployment_id: Optional[str] = None,
            elasticsearch_connections: Optional[Sequence[ElasticsearchMlTrainedModelDeploymentElasticsearchConnectionArgs]] = None,
            force_stop: Optional[bool] = None,
            model_id: Optional[str] = None,
            number_of_allocations: Optional[float] = None,
            priority: Optional[str] = None,
            queue_capacity: Optional[float] = None,
            state: Optional[str] = None,
            stats_json: Optional[str] = None,
            threads_per_allocation: Optional[float] = None,
            timeouts: Optional[ElasticsearchMlTrainedModelDeploymentTimeoutsArgs] = None,
            wait_for: Optional[str] = None) -> ElasticsearchMlTrainedModelDeployment
    func GetElasticsearchMlTrainedModelDeployment(ctx *Context, name string, id IDInput, state *ElasticsearchMlTrainedModelDeploymentState, opts ...ResourceOption) (*ElasticsearchMlTrainedModelDeployment, error)
    public static ElasticsearchMlTrainedModelDeployment Get(string name, Input<string> id, ElasticsearchMlTrainedModelDeploymentState? state, CustomResourceOptions? opts = null)
    public static ElasticsearchMlTrainedModelDeployment get(String name, Output<String> id, ElasticsearchMlTrainedModelDeploymentState state, CustomResourceOptions options)
    resources:  _:    type: elasticstack:ElasticsearchMlTrainedModelDeployment    get:      id: ${id}
    import {
      to = elasticstack_elasticsearchmltrainedmodeldeployment.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:
    AdaptiveAllocations ElasticsearchMlTrainedModelDeploymentAdaptiveAllocations
    Adaptive allocations configuration. When enabled, the number of allocations is set based on the current load. Cannot be set when number_of_allocations is configured.
    AllocationStatus string
    The detailed allocation state of the deployment.
    ApiTimeout string
    Specifies the amount of time to wait for the model to deploy. This is the server-side start timeout.
    DeploymentId string
    A unique identifier for the deployment of the model. Defaults to the value of model_id.
    ElasticsearchConnections List<ElasticsearchMlTrainedModelDeploymentElasticsearchConnection>
    Elasticsearch connection configuration block.
    ForceStop bool
    When true, passes force=true to the Stop Deployment API on destroy.
    ModelId string
    The unique identifier of the trained model to deploy.
    NumberOfAllocations double
    The number of model allocations on each node where the model is deployed. Cannot be set when adaptive_allocations is configured.
    Priority string
    The deployment priority. Valid values are low and normal.
    QueueCapacity double
    Specifies the number of inference requests that are allowed in the queue.
    State string
    The overall state of the deployment.
    StatsJson string
    The raw JSON of the trained model stats for this deployment.
    ThreadsPerAllocation double
    Sets the number of threads used by each model allocation during inference.
    Timeouts ElasticsearchMlTrainedModelDeploymentTimeouts
    WaitFor string
    Specifies the allocation status to wait for before returning. Valid values are starting, started, and fully_allocated. Defaults to fully_allocated.
    AdaptiveAllocations ElasticsearchMlTrainedModelDeploymentAdaptiveAllocationsArgs
    Adaptive allocations configuration. When enabled, the number of allocations is set based on the current load. Cannot be set when number_of_allocations is configured.
    AllocationStatus string
    The detailed allocation state of the deployment.
    ApiTimeout string
    Specifies the amount of time to wait for the model to deploy. This is the server-side start timeout.
    DeploymentId string
    A unique identifier for the deployment of the model. Defaults to the value of model_id.
    ElasticsearchConnections []ElasticsearchMlTrainedModelDeploymentElasticsearchConnectionArgs
    Elasticsearch connection configuration block.
    ForceStop bool
    When true, passes force=true to the Stop Deployment API on destroy.
    ModelId string
    The unique identifier of the trained model to deploy.
    NumberOfAllocations float64
    The number of model allocations on each node where the model is deployed. Cannot be set when adaptive_allocations is configured.
    Priority string
    The deployment priority. Valid values are low and normal.
    QueueCapacity float64
    Specifies the number of inference requests that are allowed in the queue.
    State string
    The overall state of the deployment.
    StatsJson string
    The raw JSON of the trained model stats for this deployment.
    ThreadsPerAllocation float64
    Sets the number of threads used by each model allocation during inference.
    Timeouts ElasticsearchMlTrainedModelDeploymentTimeoutsArgs
    WaitFor string
    Specifies the allocation status to wait for before returning. Valid values are starting, started, and fully_allocated. Defaults to fully_allocated.
    adaptive_allocations object
    Adaptive allocations configuration. When enabled, the number of allocations is set based on the current load. Cannot be set when number_of_allocations is configured.
    allocation_status string
    The detailed allocation state of the deployment.
    api_timeout string
    Specifies the amount of time to wait for the model to deploy. This is the server-side start timeout.
    deployment_id string
    A unique identifier for the deployment of the model. Defaults to the value of model_id.
    elasticsearch_connections list(object)
    Elasticsearch connection configuration block.
    force_stop bool
    When true, passes force=true to the Stop Deployment API on destroy.
    model_id string
    The unique identifier of the trained model to deploy.
    number_of_allocations number
    The number of model allocations on each node where the model is deployed. Cannot be set when adaptive_allocations is configured.
    priority string
    The deployment priority. Valid values are low and normal.
    queue_capacity number
    Specifies the number of inference requests that are allowed in the queue.
    state string
    The overall state of the deployment.
    stats_json string
    The raw JSON of the trained model stats for this deployment.
    threads_per_allocation number
    Sets the number of threads used by each model allocation during inference.
    timeouts object
    wait_for string
    Specifies the allocation status to wait for before returning. Valid values are starting, started, and fully_allocated. Defaults to fully_allocated.
    adaptiveAllocations ElasticsearchMlTrainedModelDeploymentAdaptiveAllocations
    Adaptive allocations configuration. When enabled, the number of allocations is set based on the current load. Cannot be set when number_of_allocations is configured.
    allocationStatus String
    The detailed allocation state of the deployment.
    apiTimeout String
    Specifies the amount of time to wait for the model to deploy. This is the server-side start timeout.
    deploymentId String
    A unique identifier for the deployment of the model. Defaults to the value of model_id.
    elasticsearchConnections List<ElasticsearchMlTrainedModelDeploymentElasticsearchConnection>
    Elasticsearch connection configuration block.
    forceStop Boolean
    When true, passes force=true to the Stop Deployment API on destroy.
    modelId String
    The unique identifier of the trained model to deploy.
    numberOfAllocations Double
    The number of model allocations on each node where the model is deployed. Cannot be set when adaptive_allocations is configured.
    priority String
    The deployment priority. Valid values are low and normal.
    queueCapacity Double
    Specifies the number of inference requests that are allowed in the queue.
    state String
    The overall state of the deployment.
    statsJson String
    The raw JSON of the trained model stats for this deployment.
    threadsPerAllocation Double
    Sets the number of threads used by each model allocation during inference.
    timeouts ElasticsearchMlTrainedModelDeploymentTimeouts
    waitFor String
    Specifies the allocation status to wait for before returning. Valid values are starting, started, and fully_allocated. Defaults to fully_allocated.
    adaptiveAllocations ElasticsearchMlTrainedModelDeploymentAdaptiveAllocations
    Adaptive allocations configuration. When enabled, the number of allocations is set based on the current load. Cannot be set when number_of_allocations is configured.
    allocationStatus string
    The detailed allocation state of the deployment.
    apiTimeout string
    Specifies the amount of time to wait for the model to deploy. This is the server-side start timeout.
    deploymentId string
    A unique identifier for the deployment of the model. Defaults to the value of model_id.
    elasticsearchConnections ElasticsearchMlTrainedModelDeploymentElasticsearchConnection[]
    Elasticsearch connection configuration block.
    forceStop boolean
    When true, passes force=true to the Stop Deployment API on destroy.
    modelId string
    The unique identifier of the trained model to deploy.
    numberOfAllocations number
    The number of model allocations on each node where the model is deployed. Cannot be set when adaptive_allocations is configured.
    priority string
    The deployment priority. Valid values are low and normal.
    queueCapacity number
    Specifies the number of inference requests that are allowed in the queue.
    state string
    The overall state of the deployment.
    statsJson string
    The raw JSON of the trained model stats for this deployment.
    threadsPerAllocation number
    Sets the number of threads used by each model allocation during inference.
    timeouts ElasticsearchMlTrainedModelDeploymentTimeouts
    waitFor string
    Specifies the allocation status to wait for before returning. Valid values are starting, started, and fully_allocated. Defaults to fully_allocated.
    adaptive_allocations ElasticsearchMlTrainedModelDeploymentAdaptiveAllocationsArgs
    Adaptive allocations configuration. When enabled, the number of allocations is set based on the current load. Cannot be set when number_of_allocations is configured.
    allocation_status str
    The detailed allocation state of the deployment.
    api_timeout str
    Specifies the amount of time to wait for the model to deploy. This is the server-side start timeout.
    deployment_id str
    A unique identifier for the deployment of the model. Defaults to the value of model_id.
    elasticsearch_connections Sequence[ElasticsearchMlTrainedModelDeploymentElasticsearchConnectionArgs]
    Elasticsearch connection configuration block.
    force_stop bool
    When true, passes force=true to the Stop Deployment API on destroy.
    model_id str
    The unique identifier of the trained model to deploy.
    number_of_allocations float
    The number of model allocations on each node where the model is deployed. Cannot be set when adaptive_allocations is configured.
    priority str
    The deployment priority. Valid values are low and normal.
    queue_capacity float
    Specifies the number of inference requests that are allowed in the queue.
    state str
    The overall state of the deployment.
    stats_json str
    The raw JSON of the trained model stats for this deployment.
    threads_per_allocation float
    Sets the number of threads used by each model allocation during inference.
    timeouts ElasticsearchMlTrainedModelDeploymentTimeoutsArgs
    wait_for str
    Specifies the allocation status to wait for before returning. Valid values are starting, started, and fully_allocated. Defaults to fully_allocated.
    adaptiveAllocations Property Map
    Adaptive allocations configuration. When enabled, the number of allocations is set based on the current load. Cannot be set when number_of_allocations is configured.
    allocationStatus String
    The detailed allocation state of the deployment.
    apiTimeout String
    Specifies the amount of time to wait for the model to deploy. This is the server-side start timeout.
    deploymentId String
    A unique identifier for the deployment of the model. Defaults to the value of model_id.
    elasticsearchConnections List<Property Map>
    Elasticsearch connection configuration block.
    forceStop Boolean
    When true, passes force=true to the Stop Deployment API on destroy.
    modelId String
    The unique identifier of the trained model to deploy.
    numberOfAllocations Number
    The number of model allocations on each node where the model is deployed. Cannot be set when adaptive_allocations is configured.
    priority String
    The deployment priority. Valid values are low and normal.
    queueCapacity Number
    Specifies the number of inference requests that are allowed in the queue.
    state String
    The overall state of the deployment.
    statsJson String
    The raw JSON of the trained model stats for this deployment.
    threadsPerAllocation Number
    Sets the number of threads used by each model allocation during inference.
    timeouts Property Map
    waitFor String
    Specifies the allocation status to wait for before returning. Valid values are starting, started, and fully_allocated. Defaults to fully_allocated.

    Supporting Types

    ElasticsearchMlTrainedModelDeploymentAdaptiveAllocations, ElasticsearchMlTrainedModelDeploymentAdaptiveAllocationsArgs

    Enabled bool
    If true, adaptive allocations is enabled.
    MaxNumberOfAllocations double
    Specifies the maximum number of allocations to scale to.
    MinNumberOfAllocations double
    Specifies the minimum number of allocations to scale to.
    Enabled bool
    If true, adaptive allocations is enabled.
    MaxNumberOfAllocations float64
    Specifies the maximum number of allocations to scale to.
    MinNumberOfAllocations float64
    Specifies the minimum number of allocations to scale to.
    enabled bool
    If true, adaptive allocations is enabled.
    max_number_of_allocations number
    Specifies the maximum number of allocations to scale to.
    min_number_of_allocations number
    Specifies the minimum number of allocations to scale to.
    enabled Boolean
    If true, adaptive allocations is enabled.
    maxNumberOfAllocations Double
    Specifies the maximum number of allocations to scale to.
    minNumberOfAllocations Double
    Specifies the minimum number of allocations to scale to.
    enabled boolean
    If true, adaptive allocations is enabled.
    maxNumberOfAllocations number
    Specifies the maximum number of allocations to scale to.
    minNumberOfAllocations number
    Specifies the minimum number of allocations to scale to.
    enabled bool
    If true, adaptive allocations is enabled.
    max_number_of_allocations float
    Specifies the maximum number of allocations to scale to.
    min_number_of_allocations float
    Specifies the minimum number of allocations to scale to.
    enabled Boolean
    If true, adaptive allocations is enabled.
    maxNumberOfAllocations Number
    Specifies the maximum number of allocations to scale to.
    minNumberOfAllocations Number
    Specifies the minimum number of allocations to scale to.

    ElasticsearchMlTrainedModelDeploymentElasticsearchConnection, ElasticsearchMlTrainedModelDeploymentElasticsearchConnectionArgs

    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.

    ElasticsearchMlTrainedModelDeploymentTimeouts, ElasticsearchMlTrainedModelDeploymentTimeoutsArgs

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

    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.2
    published on Saturday, Jul 4, 2026 by elastic

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial