1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. CssConfigurationV1
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.CssConfigurationV1

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference for API arguments and details can be found at the documentation portal.

    Manage the configuration settings of a CSS cluster in OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const example = new opentelekomcloud.CssConfigurationV1("example", {
        autoCreateIndex: "true",
        clusterId: "your-cluster-id",
        httpCorsAllowCredentials: "true",
        httpCorsAllowOrigin: "122.122.122.122:9200",
        indicesQueriesCacheSize: "50",
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    example = opentelekomcloud.CssConfigurationV1("example",
        auto_create_index="true",
        cluster_id="your-cluster-id",
        http_cors_allow_credentials="true",
        http_cors_allow_origin="122.122.122.122:9200",
        indices_queries_cache_size="50")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.NewCssConfigurationV1(ctx, "example", &opentelekomcloud.CssConfigurationV1Args{
    			AutoCreateIndex:          pulumi.String("true"),
    			ClusterId:                pulumi.String("your-cluster-id"),
    			HttpCorsAllowCredentials: pulumi.String("true"),
    			HttpCorsAllowOrigin:      pulumi.String("122.122.122.122:9200"),
    			IndicesQueriesCacheSize:  pulumi.String("50"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Opentelekomcloud.CssConfigurationV1("example", new()
        {
            AutoCreateIndex = "true",
            ClusterId = "your-cluster-id",
            HttpCorsAllowCredentials = "true",
            HttpCorsAllowOrigin = "122.122.122.122:9200",
            IndicesQueriesCacheSize = "50",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.CssConfigurationV1;
    import com.pulumi.opentelekomcloud.CssConfigurationV1Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new CssConfigurationV1("example", CssConfigurationV1Args.builder()
                .autoCreateIndex("true")
                .clusterId("your-cluster-id")
                .httpCorsAllowCredentials("true")
                .httpCorsAllowOrigin("122.122.122.122:9200")
                .indicesQueriesCacheSize("50")
                .build());
    
        }
    }
    
    resources:
      example:
        type: opentelekomcloud:CssConfigurationV1
        properties:
          autoCreateIndex: 'true'
          clusterId: your-cluster-id
          httpCorsAllowCredentials: 'true'
          httpCorsAllowOrigin: 122.122.122.122:9200
          indicesQueriesCacheSize: '50'
    

    Create CssConfigurationV1 Resource

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

    Constructor syntax

    new CssConfigurationV1(name: string, args: CssConfigurationV1Args, opts?: CustomResourceOptions);
    @overload
    def CssConfigurationV1(resource_name: str,
                           args: CssConfigurationV1Args,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def CssConfigurationV1(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           cluster_id: Optional[str] = None,
                           http_cors_allow_origin: Optional[str] = None,
                           css_configuration_v1_id: Optional[str] = None,
                           http_cors_allow_credentials: Optional[str] = None,
                           http_cors_allow_headers: Optional[str] = None,
                           http_cors_allow_methods: Optional[str] = None,
                           auto_create_index: Optional[str] = None,
                           http_cors_enabled: Optional[str] = None,
                           http_cors_max_age: Optional[str] = None,
                           indices_queries_cache_size: Optional[str] = None,
                           reindex_remote_whitelist: Optional[str] = None,
                           thread_pool_force_merge_size: Optional[str] = None,
                           timeouts: Optional[CssConfigurationV1TimeoutsArgs] = None)
    func NewCssConfigurationV1(ctx *Context, name string, args CssConfigurationV1Args, opts ...ResourceOption) (*CssConfigurationV1, error)
    public CssConfigurationV1(string name, CssConfigurationV1Args args, CustomResourceOptions? opts = null)
    public CssConfigurationV1(String name, CssConfigurationV1Args args)
    public CssConfigurationV1(String name, CssConfigurationV1Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:CssConfigurationV1
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CssConfigurationV1Args
    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 CssConfigurationV1Args
    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 CssConfigurationV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CssConfigurationV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CssConfigurationV1Args
    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 cssConfigurationV1Resource = new Opentelekomcloud.CssConfigurationV1("cssConfigurationV1Resource", new()
    {
        ClusterId = "string",
        HttpCorsAllowOrigin = "string",
        CssConfigurationV1Id = "string",
        HttpCorsAllowCredentials = "string",
        HttpCorsAllowHeaders = "string",
        HttpCorsAllowMethods = "string",
        AutoCreateIndex = "string",
        HttpCorsEnabled = "string",
        HttpCorsMaxAge = "string",
        IndicesQueriesCacheSize = "string",
        ReindexRemoteWhitelist = "string",
        ThreadPoolForceMergeSize = "string",
        Timeouts = new Opentelekomcloud.Inputs.CssConfigurationV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := opentelekomcloud.NewCssConfigurationV1(ctx, "cssConfigurationV1Resource", &opentelekomcloud.CssConfigurationV1Args{
    	ClusterId:                pulumi.String("string"),
    	HttpCorsAllowOrigin:      pulumi.String("string"),
    	CssConfigurationV1Id:     pulumi.String("string"),
    	HttpCorsAllowCredentials: pulumi.String("string"),
    	HttpCorsAllowHeaders:     pulumi.String("string"),
    	HttpCorsAllowMethods:     pulumi.String("string"),
    	AutoCreateIndex:          pulumi.String("string"),
    	HttpCorsEnabled:          pulumi.String("string"),
    	HttpCorsMaxAge:           pulumi.String("string"),
    	IndicesQueriesCacheSize:  pulumi.String("string"),
    	ReindexRemoteWhitelist:   pulumi.String("string"),
    	ThreadPoolForceMergeSize: pulumi.String("string"),
    	Timeouts: &opentelekomcloud.CssConfigurationV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var cssConfigurationV1Resource = new CssConfigurationV1("cssConfigurationV1Resource", CssConfigurationV1Args.builder()
        .clusterId("string")
        .httpCorsAllowOrigin("string")
        .cssConfigurationV1Id("string")
        .httpCorsAllowCredentials("string")
        .httpCorsAllowHeaders("string")
        .httpCorsAllowMethods("string")
        .autoCreateIndex("string")
        .httpCorsEnabled("string")
        .httpCorsMaxAge("string")
        .indicesQueriesCacheSize("string")
        .reindexRemoteWhitelist("string")
        .threadPoolForceMergeSize("string")
        .timeouts(CssConfigurationV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    css_configuration_v1_resource = opentelekomcloud.CssConfigurationV1("cssConfigurationV1Resource",
        cluster_id="string",
        http_cors_allow_origin="string",
        css_configuration_v1_id="string",
        http_cors_allow_credentials="string",
        http_cors_allow_headers="string",
        http_cors_allow_methods="string",
        auto_create_index="string",
        http_cors_enabled="string",
        http_cors_max_age="string",
        indices_queries_cache_size="string",
        reindex_remote_whitelist="string",
        thread_pool_force_merge_size="string",
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const cssConfigurationV1Resource = new opentelekomcloud.CssConfigurationV1("cssConfigurationV1Resource", {
        clusterId: "string",
        httpCorsAllowOrigin: "string",
        cssConfigurationV1Id: "string",
        httpCorsAllowCredentials: "string",
        httpCorsAllowHeaders: "string",
        httpCorsAllowMethods: "string",
        autoCreateIndex: "string",
        httpCorsEnabled: "string",
        httpCorsMaxAge: "string",
        indicesQueriesCacheSize: "string",
        reindexRemoteWhitelist: "string",
        threadPoolForceMergeSize: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: opentelekomcloud:CssConfigurationV1
    properties:
        autoCreateIndex: string
        clusterId: string
        cssConfigurationV1Id: string
        httpCorsAllowCredentials: string
        httpCorsAllowHeaders: string
        httpCorsAllowMethods: string
        httpCorsAllowOrigin: string
        httpCorsEnabled: string
        httpCorsMaxAge: string
        indicesQueriesCacheSize: string
        reindexRemoteWhitelist: string
        threadPoolForceMergeSize: string
        timeouts:
            create: string
            delete: string
    

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

    ClusterId string

    The CSS cluster ID.

    Changing this parameter will create a new resource.

    AutoCreateIndex string
    Whether to auto-create an index. The value can be true or false.
    CssConfigurationV1Id string
    The resource ID which equals the cluster_id.
    HttpCorsAllowCredentials string
    Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
    HttpCorsAllowHeaders string
    Headers allowed for cross-domain access. Including X-Requested-With, Content-Type, and Content-Length. Use commas (,) and spaces to separate headers.
    HttpCorsAllowMethods string
    Methods allowed for cross-domain access. Including OPTIONS, HEAD, GET, POST, PUT, and DELETE. Use commas (,) and spaces to separate methods.
    HttpCorsAllowOrigin string
    Origin IP address allowed for cross-domain access, for example, 122.122.122.122:9200.
    HttpCorsEnabled string
    Whether to allow cross-domain access. The value can be true or false. Default value: false.
    HttpCorsMaxAge string
    Cache duration of the browser. The cache is automatically cleared after the time range you specify. Unit: s, Default value: 1,728,000.
    IndicesQueriesCacheSize string
    Cache size in the query phase. Value range: 1% to 100%. Unit: %, Default value: 10%.
    ReindexRemoteWhitelist string
    Configured for migrating data from the current cluster to the target cluster through the reindex API. The example value is 122.122.122.122:9200.
    ThreadPoolForceMergeSize string
    Queue size in the force merge thread pool. Default value: 1.
    Timeouts CssConfigurationV1Timeouts
    ClusterId string

    The CSS cluster ID.

    Changing this parameter will create a new resource.

    AutoCreateIndex string
    Whether to auto-create an index. The value can be true or false.
    CssConfigurationV1Id string
    The resource ID which equals the cluster_id.
    HttpCorsAllowCredentials string
    Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
    HttpCorsAllowHeaders string
    Headers allowed for cross-domain access. Including X-Requested-With, Content-Type, and Content-Length. Use commas (,) and spaces to separate headers.
    HttpCorsAllowMethods string
    Methods allowed for cross-domain access. Including OPTIONS, HEAD, GET, POST, PUT, and DELETE. Use commas (,) and spaces to separate methods.
    HttpCorsAllowOrigin string
    Origin IP address allowed for cross-domain access, for example, 122.122.122.122:9200.
    HttpCorsEnabled string
    Whether to allow cross-domain access. The value can be true or false. Default value: false.
    HttpCorsMaxAge string
    Cache duration of the browser. The cache is automatically cleared after the time range you specify. Unit: s, Default value: 1,728,000.
    IndicesQueriesCacheSize string
    Cache size in the query phase. Value range: 1% to 100%. Unit: %, Default value: 10%.
    ReindexRemoteWhitelist string
    Configured for migrating data from the current cluster to the target cluster through the reindex API. The example value is 122.122.122.122:9200.
    ThreadPoolForceMergeSize string
    Queue size in the force merge thread pool. Default value: 1.
    Timeouts CssConfigurationV1TimeoutsArgs
    clusterId String

    The CSS cluster ID.

    Changing this parameter will create a new resource.

    autoCreateIndex String
    Whether to auto-create an index. The value can be true or false.
    cssConfigurationV1Id String
    The resource ID which equals the cluster_id.
    httpCorsAllowCredentials String
    Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
    httpCorsAllowHeaders String
    Headers allowed for cross-domain access. Including X-Requested-With, Content-Type, and Content-Length. Use commas (,) and spaces to separate headers.
    httpCorsAllowMethods String
    Methods allowed for cross-domain access. Including OPTIONS, HEAD, GET, POST, PUT, and DELETE. Use commas (,) and spaces to separate methods.
    httpCorsAllowOrigin String
    Origin IP address allowed for cross-domain access, for example, 122.122.122.122:9200.
    httpCorsEnabled String
    Whether to allow cross-domain access. The value can be true or false. Default value: false.
    httpCorsMaxAge String
    Cache duration of the browser. The cache is automatically cleared after the time range you specify. Unit: s, Default value: 1,728,000.
    indicesQueriesCacheSize String
    Cache size in the query phase. Value range: 1% to 100%. Unit: %, Default value: 10%.
    reindexRemoteWhitelist String
    Configured for migrating data from the current cluster to the target cluster through the reindex API. The example value is 122.122.122.122:9200.
    threadPoolForceMergeSize String
    Queue size in the force merge thread pool. Default value: 1.
    timeouts CssConfigurationV1Timeouts
    clusterId string

    The CSS cluster ID.

    Changing this parameter will create a new resource.

    autoCreateIndex string
    Whether to auto-create an index. The value can be true or false.
    cssConfigurationV1Id string
    The resource ID which equals the cluster_id.
    httpCorsAllowCredentials string
    Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
    httpCorsAllowHeaders string
    Headers allowed for cross-domain access. Including X-Requested-With, Content-Type, and Content-Length. Use commas (,) and spaces to separate headers.
    httpCorsAllowMethods string
    Methods allowed for cross-domain access. Including OPTIONS, HEAD, GET, POST, PUT, and DELETE. Use commas (,) and spaces to separate methods.
    httpCorsAllowOrigin string
    Origin IP address allowed for cross-domain access, for example, 122.122.122.122:9200.
    httpCorsEnabled string
    Whether to allow cross-domain access. The value can be true or false. Default value: false.
    httpCorsMaxAge string
    Cache duration of the browser. The cache is automatically cleared after the time range you specify. Unit: s, Default value: 1,728,000.
    indicesQueriesCacheSize string
    Cache size in the query phase. Value range: 1% to 100%. Unit: %, Default value: 10%.
    reindexRemoteWhitelist string
    Configured for migrating data from the current cluster to the target cluster through the reindex API. The example value is 122.122.122.122:9200.
    threadPoolForceMergeSize string
    Queue size in the force merge thread pool. Default value: 1.
    timeouts CssConfigurationV1Timeouts
    cluster_id str

    The CSS cluster ID.

    Changing this parameter will create a new resource.

    auto_create_index str
    Whether to auto-create an index. The value can be true or false.
    css_configuration_v1_id str
    The resource ID which equals the cluster_id.
    http_cors_allow_credentials str
    Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
    http_cors_allow_headers str
    Headers allowed for cross-domain access. Including X-Requested-With, Content-Type, and Content-Length. Use commas (,) and spaces to separate headers.
    http_cors_allow_methods str
    Methods allowed for cross-domain access. Including OPTIONS, HEAD, GET, POST, PUT, and DELETE. Use commas (,) and spaces to separate methods.
    http_cors_allow_origin str
    Origin IP address allowed for cross-domain access, for example, 122.122.122.122:9200.
    http_cors_enabled str
    Whether to allow cross-domain access. The value can be true or false. Default value: false.
    http_cors_max_age str
    Cache duration of the browser. The cache is automatically cleared after the time range you specify. Unit: s, Default value: 1,728,000.
    indices_queries_cache_size str
    Cache size in the query phase. Value range: 1% to 100%. Unit: %, Default value: 10%.
    reindex_remote_whitelist str
    Configured for migrating data from the current cluster to the target cluster through the reindex API. The example value is 122.122.122.122:9200.
    thread_pool_force_merge_size str
    Queue size in the force merge thread pool. Default value: 1.
    timeouts CssConfigurationV1TimeoutsArgs
    clusterId String

    The CSS cluster ID.

    Changing this parameter will create a new resource.

    autoCreateIndex String
    Whether to auto-create an index. The value can be true or false.
    cssConfigurationV1Id String
    The resource ID which equals the cluster_id.
    httpCorsAllowCredentials String
    Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
    httpCorsAllowHeaders String
    Headers allowed for cross-domain access. Including X-Requested-With, Content-Type, and Content-Length. Use commas (,) and spaces to separate headers.
    httpCorsAllowMethods String
    Methods allowed for cross-domain access. Including OPTIONS, HEAD, GET, POST, PUT, and DELETE. Use commas (,) and spaces to separate methods.
    httpCorsAllowOrigin String
    Origin IP address allowed for cross-domain access, for example, 122.122.122.122:9200.
    httpCorsEnabled String
    Whether to allow cross-domain access. The value can be true or false. Default value: false.
    httpCorsMaxAge String
    Cache duration of the browser. The cache is automatically cleared after the time range you specify. Unit: s, Default value: 1,728,000.
    indicesQueriesCacheSize String
    Cache size in the query phase. Value range: 1% to 100%. Unit: %, Default value: 10%.
    reindexRemoteWhitelist String
    Configured for migrating data from the current cluster to the target cluster through the reindex API. The example value is 122.122.122.122:9200.
    threadPoolForceMergeSize String
    Queue size in the force merge thread pool. Default value: 1.
    timeouts Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    The region where the CSS cluster is deployed.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    The region where the CSS cluster is deployed.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    The region where the CSS cluster is deployed.
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    The region where the CSS cluster is deployed.
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    The region where the CSS cluster is deployed.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    The region where the CSS cluster is deployed.

    Look up Existing CssConfigurationV1 Resource

    Get an existing CssConfigurationV1 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?: CssConfigurationV1State, opts?: CustomResourceOptions): CssConfigurationV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_create_index: Optional[str] = None,
            cluster_id: Optional[str] = None,
            css_configuration_v1_id: Optional[str] = None,
            http_cors_allow_credentials: Optional[str] = None,
            http_cors_allow_headers: Optional[str] = None,
            http_cors_allow_methods: Optional[str] = None,
            http_cors_allow_origin: Optional[str] = None,
            http_cors_enabled: Optional[str] = None,
            http_cors_max_age: Optional[str] = None,
            indices_queries_cache_size: Optional[str] = None,
            region: Optional[str] = None,
            reindex_remote_whitelist: Optional[str] = None,
            thread_pool_force_merge_size: Optional[str] = None,
            timeouts: Optional[CssConfigurationV1TimeoutsArgs] = None) -> CssConfigurationV1
    func GetCssConfigurationV1(ctx *Context, name string, id IDInput, state *CssConfigurationV1State, opts ...ResourceOption) (*CssConfigurationV1, error)
    public static CssConfigurationV1 Get(string name, Input<string> id, CssConfigurationV1State? state, CustomResourceOptions? opts = null)
    public static CssConfigurationV1 get(String name, Output<String> id, CssConfigurationV1State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:CssConfigurationV1    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AutoCreateIndex string
    Whether to auto-create an index. The value can be true or false.
    ClusterId string

    The CSS cluster ID.

    Changing this parameter will create a new resource.

    CssConfigurationV1Id string
    The resource ID which equals the cluster_id.
    HttpCorsAllowCredentials string
    Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
    HttpCorsAllowHeaders string
    Headers allowed for cross-domain access. Including X-Requested-With, Content-Type, and Content-Length. Use commas (,) and spaces to separate headers.
    HttpCorsAllowMethods string
    Methods allowed for cross-domain access. Including OPTIONS, HEAD, GET, POST, PUT, and DELETE. Use commas (,) and spaces to separate methods.
    HttpCorsAllowOrigin string
    Origin IP address allowed for cross-domain access, for example, 122.122.122.122:9200.
    HttpCorsEnabled string
    Whether to allow cross-domain access. The value can be true or false. Default value: false.
    HttpCorsMaxAge string
    Cache duration of the browser. The cache is automatically cleared after the time range you specify. Unit: s, Default value: 1,728,000.
    IndicesQueriesCacheSize string
    Cache size in the query phase. Value range: 1% to 100%. Unit: %, Default value: 10%.
    Region string
    The region where the CSS cluster is deployed.
    ReindexRemoteWhitelist string
    Configured for migrating data from the current cluster to the target cluster through the reindex API. The example value is 122.122.122.122:9200.
    ThreadPoolForceMergeSize string
    Queue size in the force merge thread pool. Default value: 1.
    Timeouts CssConfigurationV1Timeouts
    AutoCreateIndex string
    Whether to auto-create an index. The value can be true or false.
    ClusterId string

    The CSS cluster ID.

    Changing this parameter will create a new resource.

    CssConfigurationV1Id string
    The resource ID which equals the cluster_id.
    HttpCorsAllowCredentials string
    Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
    HttpCorsAllowHeaders string
    Headers allowed for cross-domain access. Including X-Requested-With, Content-Type, and Content-Length. Use commas (,) and spaces to separate headers.
    HttpCorsAllowMethods string
    Methods allowed for cross-domain access. Including OPTIONS, HEAD, GET, POST, PUT, and DELETE. Use commas (,) and spaces to separate methods.
    HttpCorsAllowOrigin string
    Origin IP address allowed for cross-domain access, for example, 122.122.122.122:9200.
    HttpCorsEnabled string
    Whether to allow cross-domain access. The value can be true or false. Default value: false.
    HttpCorsMaxAge string
    Cache duration of the browser. The cache is automatically cleared after the time range you specify. Unit: s, Default value: 1,728,000.
    IndicesQueriesCacheSize string
    Cache size in the query phase. Value range: 1% to 100%. Unit: %, Default value: 10%.
    Region string
    The region where the CSS cluster is deployed.
    ReindexRemoteWhitelist string
    Configured for migrating data from the current cluster to the target cluster through the reindex API. The example value is 122.122.122.122:9200.
    ThreadPoolForceMergeSize string
    Queue size in the force merge thread pool. Default value: 1.
    Timeouts CssConfigurationV1TimeoutsArgs
    autoCreateIndex String
    Whether to auto-create an index. The value can be true or false.
    clusterId String

    The CSS cluster ID.

    Changing this parameter will create a new resource.

    cssConfigurationV1Id String
    The resource ID which equals the cluster_id.
    httpCorsAllowCredentials String
    Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
    httpCorsAllowHeaders String
    Headers allowed for cross-domain access. Including X-Requested-With, Content-Type, and Content-Length. Use commas (,) and spaces to separate headers.
    httpCorsAllowMethods String
    Methods allowed for cross-domain access. Including OPTIONS, HEAD, GET, POST, PUT, and DELETE. Use commas (,) and spaces to separate methods.
    httpCorsAllowOrigin String
    Origin IP address allowed for cross-domain access, for example, 122.122.122.122:9200.
    httpCorsEnabled String
    Whether to allow cross-domain access. The value can be true or false. Default value: false.
    httpCorsMaxAge String
    Cache duration of the browser. The cache is automatically cleared after the time range you specify. Unit: s, Default value: 1,728,000.
    indicesQueriesCacheSize String
    Cache size in the query phase. Value range: 1% to 100%. Unit: %, Default value: 10%.
    region String
    The region where the CSS cluster is deployed.
    reindexRemoteWhitelist String
    Configured for migrating data from the current cluster to the target cluster through the reindex API. The example value is 122.122.122.122:9200.
    threadPoolForceMergeSize String
    Queue size in the force merge thread pool. Default value: 1.
    timeouts CssConfigurationV1Timeouts
    autoCreateIndex string
    Whether to auto-create an index. The value can be true or false.
    clusterId string

    The CSS cluster ID.

    Changing this parameter will create a new resource.

    cssConfigurationV1Id string
    The resource ID which equals the cluster_id.
    httpCorsAllowCredentials string
    Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
    httpCorsAllowHeaders string
    Headers allowed for cross-domain access. Including X-Requested-With, Content-Type, and Content-Length. Use commas (,) and spaces to separate headers.
    httpCorsAllowMethods string
    Methods allowed for cross-domain access. Including OPTIONS, HEAD, GET, POST, PUT, and DELETE. Use commas (,) and spaces to separate methods.
    httpCorsAllowOrigin string
    Origin IP address allowed for cross-domain access, for example, 122.122.122.122:9200.
    httpCorsEnabled string
    Whether to allow cross-domain access. The value can be true or false. Default value: false.
    httpCorsMaxAge string
    Cache duration of the browser. The cache is automatically cleared after the time range you specify. Unit: s, Default value: 1,728,000.
    indicesQueriesCacheSize string
    Cache size in the query phase. Value range: 1% to 100%. Unit: %, Default value: 10%.
    region string
    The region where the CSS cluster is deployed.
    reindexRemoteWhitelist string
    Configured for migrating data from the current cluster to the target cluster through the reindex API. The example value is 122.122.122.122:9200.
    threadPoolForceMergeSize string
    Queue size in the force merge thread pool. Default value: 1.
    timeouts CssConfigurationV1Timeouts
    auto_create_index str
    Whether to auto-create an index. The value can be true or false.
    cluster_id str

    The CSS cluster ID.

    Changing this parameter will create a new resource.

    css_configuration_v1_id str
    The resource ID which equals the cluster_id.
    http_cors_allow_credentials str
    Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
    http_cors_allow_headers str
    Headers allowed for cross-domain access. Including X-Requested-With, Content-Type, and Content-Length. Use commas (,) and spaces to separate headers.
    http_cors_allow_methods str
    Methods allowed for cross-domain access. Including OPTIONS, HEAD, GET, POST, PUT, and DELETE. Use commas (,) and spaces to separate methods.
    http_cors_allow_origin str
    Origin IP address allowed for cross-domain access, for example, 122.122.122.122:9200.
    http_cors_enabled str
    Whether to allow cross-domain access. The value can be true or false. Default value: false.
    http_cors_max_age str
    Cache duration of the browser. The cache is automatically cleared after the time range you specify. Unit: s, Default value: 1,728,000.
    indices_queries_cache_size str
    Cache size in the query phase. Value range: 1% to 100%. Unit: %, Default value: 10%.
    region str
    The region where the CSS cluster is deployed.
    reindex_remote_whitelist str
    Configured for migrating data from the current cluster to the target cluster through the reindex API. The example value is 122.122.122.122:9200.
    thread_pool_force_merge_size str
    Queue size in the force merge thread pool. Default value: 1.
    timeouts CssConfigurationV1TimeoutsArgs
    autoCreateIndex String
    Whether to auto-create an index. The value can be true or false.
    clusterId String

    The CSS cluster ID.

    Changing this parameter will create a new resource.

    cssConfigurationV1Id String
    The resource ID which equals the cluster_id.
    httpCorsAllowCredentials String
    Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
    httpCorsAllowHeaders String
    Headers allowed for cross-domain access. Including X-Requested-With, Content-Type, and Content-Length. Use commas (,) and spaces to separate headers.
    httpCorsAllowMethods String
    Methods allowed for cross-domain access. Including OPTIONS, HEAD, GET, POST, PUT, and DELETE. Use commas (,) and spaces to separate methods.
    httpCorsAllowOrigin String
    Origin IP address allowed for cross-domain access, for example, 122.122.122.122:9200.
    httpCorsEnabled String
    Whether to allow cross-domain access. The value can be true or false. Default value: false.
    httpCorsMaxAge String
    Cache duration of the browser. The cache is automatically cleared after the time range you specify. Unit: s, Default value: 1,728,000.
    indicesQueriesCacheSize String
    Cache size in the query phase. Value range: 1% to 100%. Unit: %, Default value: 10%.
    region String
    The region where the CSS cluster is deployed.
    reindexRemoteWhitelist String
    Configured for migrating data from the current cluster to the target cluster through the reindex API. The example value is 122.122.122.122:9200.
    threadPoolForceMergeSize String
    Queue size in the force merge thread pool. Default value: 1.
    timeouts Property Map

    Supporting Types

    CssConfigurationV1Timeouts, CssConfigurationV1TimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    The CSS configuration can be imported using the id which equals the cluster_id, e.g.

    bash

    $ pulumi import opentelekomcloud:index/cssConfigurationV1:CssConfigurationV1 test <id>
    

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

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud