opentelekomcloud.CssConfigurationV1
Explore with Pulumi AI
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:
- Cluster
Id string The CSS cluster ID.
Changing this parameter will create a new resource.
- Auto
Create stringIndex - Whether to auto-create an index.
The value can be
true
orfalse
. - Css
Configuration stringV1Id - The resource ID which equals the
cluster_id
. - Http
Cors stringAllow Credentials - Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
- Http
Cors stringAllow Headers - Headers allowed for cross-domain access.
Including
X-Requested-With
,Content-Type
, andContent-Length
. Use commas (,) and spaces to separate headers. - Http
Cors stringAllow Methods - Methods allowed for cross-domain access.
Including
OPTIONS
,HEAD
,GET
,POST
,PUT
, andDELETE
. Use commas (,) and spaces to separate methods. - Http
Cors stringAllow Origin - Origin IP address allowed for cross-domain access, for example,
122.122.122.122:9200
. - Http
Cors stringEnabled - Whether to allow cross-domain access.
The value can be
true
orfalse
. Default value:false
. - Http
Cors stringMax Age - 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 stringCache Size - Cache size in the query phase. Value range:
1%
to100%
. Unit: %, Default value:10%
. - Reindex
Remote stringWhitelist - 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 stringForce Merge Size - Queue size in the force merge thread pool.
Default value:
1
. - Timeouts
Css
Configuration V1Timeouts
- Cluster
Id string The CSS cluster ID.
Changing this parameter will create a new resource.
- Auto
Create stringIndex - Whether to auto-create an index.
The value can be
true
orfalse
. - Css
Configuration stringV1Id - The resource ID which equals the
cluster_id
. - Http
Cors stringAllow Credentials - Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
- Http
Cors stringAllow Headers - Headers allowed for cross-domain access.
Including
X-Requested-With
,Content-Type
, andContent-Length
. Use commas (,) and spaces to separate headers. - Http
Cors stringAllow Methods - Methods allowed for cross-domain access.
Including
OPTIONS
,HEAD
,GET
,POST
,PUT
, andDELETE
. Use commas (,) and spaces to separate methods. - Http
Cors stringAllow Origin - Origin IP address allowed for cross-domain access, for example,
122.122.122.122:9200
. - Http
Cors stringEnabled - Whether to allow cross-domain access.
The value can be
true
orfalse
. Default value:false
. - Http
Cors stringMax Age - 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 stringCache Size - Cache size in the query phase. Value range:
1%
to100%
. Unit: %, Default value:10%
. - Reindex
Remote stringWhitelist - 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 stringForce Merge Size - Queue size in the force merge thread pool.
Default value:
1
. - Timeouts
Css
Configuration V1Timeouts Args
- cluster
Id String The CSS cluster ID.
Changing this parameter will create a new resource.
- auto
Create StringIndex - Whether to auto-create an index.
The value can be
true
orfalse
. - css
Configuration StringV1Id - The resource ID which equals the
cluster_id
. - http
Cors StringAllow Credentials - Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
- http
Cors StringAllow Headers - Headers allowed for cross-domain access.
Including
X-Requested-With
,Content-Type
, andContent-Length
. Use commas (,) and spaces to separate headers. - http
Cors StringAllow Methods - Methods allowed for cross-domain access.
Including
OPTIONS
,HEAD
,GET
,POST
,PUT
, andDELETE
. Use commas (,) and spaces to separate methods. - http
Cors StringAllow Origin - Origin IP address allowed for cross-domain access, for example,
122.122.122.122:9200
. - http
Cors StringEnabled - Whether to allow cross-domain access.
The value can be
true
orfalse
. Default value:false
. - http
Cors StringMax Age - 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 StringCache Size - Cache size in the query phase. Value range:
1%
to100%
. Unit: %, Default value:10%
. - reindex
Remote StringWhitelist - 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 StringForce Merge Size - Queue size in the force merge thread pool.
Default value:
1
. - timeouts
Css
Configuration V1Timeouts
- cluster
Id string The CSS cluster ID.
Changing this parameter will create a new resource.
- auto
Create stringIndex - Whether to auto-create an index.
The value can be
true
orfalse
. - css
Configuration stringV1Id - The resource ID which equals the
cluster_id
. - http
Cors stringAllow Credentials - Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
- http
Cors stringAllow Headers - Headers allowed for cross-domain access.
Including
X-Requested-With
,Content-Type
, andContent-Length
. Use commas (,) and spaces to separate headers. - http
Cors stringAllow Methods - Methods allowed for cross-domain access.
Including
OPTIONS
,HEAD
,GET
,POST
,PUT
, andDELETE
. Use commas (,) and spaces to separate methods. - http
Cors stringAllow Origin - Origin IP address allowed for cross-domain access, for example,
122.122.122.122:9200
. - http
Cors stringEnabled - Whether to allow cross-domain access.
The value can be
true
orfalse
. Default value:false
. - http
Cors stringMax Age - 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 stringCache Size - Cache size in the query phase. Value range:
1%
to100%
. Unit: %, Default value:10%
. - reindex
Remote stringWhitelist - 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 stringForce Merge Size - Queue size in the force merge thread pool.
Default value:
1
. - timeouts
Css
Configuration V1Timeouts
- cluster_
id str The CSS cluster ID.
Changing this parameter will create a new resource.
- auto_
create_ strindex - Whether to auto-create an index.
The value can be
true
orfalse
. - css_
configuration_ strv1_ id - The resource ID which equals the
cluster_id
. - http_
cors_ strallow_ credentials - Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
- http_
cors_ strallow_ headers - Headers allowed for cross-domain access.
Including
X-Requested-With
,Content-Type
, andContent-Length
. Use commas (,) and spaces to separate headers. - http_
cors_ strallow_ methods - Methods allowed for cross-domain access.
Including
OPTIONS
,HEAD
,GET
,POST
,PUT
, andDELETE
. Use commas (,) and spaces to separate methods. - http_
cors_ strallow_ origin - Origin IP address allowed for cross-domain access, for example,
122.122.122.122:9200
. - http_
cors_ strenabled - Whether to allow cross-domain access.
The value can be
true
orfalse
. Default value:false
. - http_
cors_ strmax_ age - 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_ strcache_ size - Cache size in the query phase. Value range:
1%
to100%
. Unit: %, Default value:10%
. - reindex_
remote_ strwhitelist - 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_ strforce_ merge_ size - Queue size in the force merge thread pool.
Default value:
1
. - timeouts
Css
Configuration V1Timeouts Args
- cluster
Id String The CSS cluster ID.
Changing this parameter will create a new resource.
- auto
Create StringIndex - Whether to auto-create an index.
The value can be
true
orfalse
. - css
Configuration StringV1Id - The resource ID which equals the
cluster_id
. - http
Cors StringAllow Credentials - Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
- http
Cors StringAllow Headers - Headers allowed for cross-domain access.
Including
X-Requested-With
,Content-Type
, andContent-Length
. Use commas (,) and spaces to separate headers. - http
Cors StringAllow Methods - Methods allowed for cross-domain access.
Including
OPTIONS
,HEAD
,GET
,POST
,PUT
, andDELETE
. Use commas (,) and spaces to separate methods. - http
Cors StringAllow Origin - Origin IP address allowed for cross-domain access, for example,
122.122.122.122:9200
. - http
Cors StringEnabled - Whether to allow cross-domain access.
The value can be
true
orfalse
. Default value:false
. - http
Cors StringMax Age - 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 StringCache Size - Cache size in the query phase. Value range:
1%
to100%
. Unit: %, Default value:10%
. - reindex
Remote StringWhitelist - 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 StringForce Merge Size - 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:
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.
- Auto
Create stringIndex - Whether to auto-create an index.
The value can be
true
orfalse
. - Cluster
Id string The CSS cluster ID.
Changing this parameter will create a new resource.
- Css
Configuration stringV1Id - The resource ID which equals the
cluster_id
. - Http
Cors stringAllow Credentials - Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
- Http
Cors stringAllow Headers - Headers allowed for cross-domain access.
Including
X-Requested-With
,Content-Type
, andContent-Length
. Use commas (,) and spaces to separate headers. - Http
Cors stringAllow Methods - Methods allowed for cross-domain access.
Including
OPTIONS
,HEAD
,GET
,POST
,PUT
, andDELETE
. Use commas (,) and spaces to separate methods. - Http
Cors stringAllow Origin - Origin IP address allowed for cross-domain access, for example,
122.122.122.122:9200
. - Http
Cors stringEnabled - Whether to allow cross-domain access.
The value can be
true
orfalse
. Default value:false
. - Http
Cors stringMax Age - 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 stringCache Size - Cache size in the query phase. Value range:
1%
to100%
. Unit: %, Default value:10%
. - Region string
- The region where the CSS cluster is deployed.
- Reindex
Remote stringWhitelist - 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 stringForce Merge Size - Queue size in the force merge thread pool.
Default value:
1
. - Timeouts
Css
Configuration V1Timeouts
- Auto
Create stringIndex - Whether to auto-create an index.
The value can be
true
orfalse
. - Cluster
Id string The CSS cluster ID.
Changing this parameter will create a new resource.
- Css
Configuration stringV1Id - The resource ID which equals the
cluster_id
. - Http
Cors stringAllow Credentials - Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
- Http
Cors stringAllow Headers - Headers allowed for cross-domain access.
Including
X-Requested-With
,Content-Type
, andContent-Length
. Use commas (,) and spaces to separate headers. - Http
Cors stringAllow Methods - Methods allowed for cross-domain access.
Including
OPTIONS
,HEAD
,GET
,POST
,PUT
, andDELETE
. Use commas (,) and spaces to separate methods. - Http
Cors stringAllow Origin - Origin IP address allowed for cross-domain access, for example,
122.122.122.122:9200
. - Http
Cors stringEnabled - Whether to allow cross-domain access.
The value can be
true
orfalse
. Default value:false
. - Http
Cors stringMax Age - 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 stringCache Size - Cache size in the query phase. Value range:
1%
to100%
. Unit: %, Default value:10%
. - Region string
- The region where the CSS cluster is deployed.
- Reindex
Remote stringWhitelist - 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 stringForce Merge Size - Queue size in the force merge thread pool.
Default value:
1
. - Timeouts
Css
Configuration V1Timeouts Args
- auto
Create StringIndex - Whether to auto-create an index.
The value can be
true
orfalse
. - cluster
Id String The CSS cluster ID.
Changing this parameter will create a new resource.
- css
Configuration StringV1Id - The resource ID which equals the
cluster_id
. - http
Cors StringAllow Credentials - Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
- http
Cors StringAllow Headers - Headers allowed for cross-domain access.
Including
X-Requested-With
,Content-Type
, andContent-Length
. Use commas (,) and spaces to separate headers. - http
Cors StringAllow Methods - Methods allowed for cross-domain access.
Including
OPTIONS
,HEAD
,GET
,POST
,PUT
, andDELETE
. Use commas (,) and spaces to separate methods. - http
Cors StringAllow Origin - Origin IP address allowed for cross-domain access, for example,
122.122.122.122:9200
. - http
Cors StringEnabled - Whether to allow cross-domain access.
The value can be
true
orfalse
. Default value:false
. - http
Cors StringMax Age - 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 StringCache Size - Cache size in the query phase. Value range:
1%
to100%
. Unit: %, Default value:10%
. - region String
- The region where the CSS cluster is deployed.
- reindex
Remote StringWhitelist - 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 StringForce Merge Size - Queue size in the force merge thread pool.
Default value:
1
. - timeouts
Css
Configuration V1Timeouts
- auto
Create stringIndex - Whether to auto-create an index.
The value can be
true
orfalse
. - cluster
Id string The CSS cluster ID.
Changing this parameter will create a new resource.
- css
Configuration stringV1Id - The resource ID which equals the
cluster_id
. - http
Cors stringAllow Credentials - Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
- http
Cors stringAllow Headers - Headers allowed for cross-domain access.
Including
X-Requested-With
,Content-Type
, andContent-Length
. Use commas (,) and spaces to separate headers. - http
Cors stringAllow Methods - Methods allowed for cross-domain access.
Including
OPTIONS
,HEAD
,GET
,POST
,PUT
, andDELETE
. Use commas (,) and spaces to separate methods. - http
Cors stringAllow Origin - Origin IP address allowed for cross-domain access, for example,
122.122.122.122:9200
. - http
Cors stringEnabled - Whether to allow cross-domain access.
The value can be
true
orfalse
. Default value:false
. - http
Cors stringMax Age - 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 stringCache Size - Cache size in the query phase. Value range:
1%
to100%
. Unit: %, Default value:10%
. - region string
- The region where the CSS cluster is deployed.
- reindex
Remote stringWhitelist - 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 stringForce Merge Size - Queue size in the force merge thread pool.
Default value:
1
. - timeouts
Css
Configuration V1Timeouts
- auto_
create_ strindex - Whether to auto-create an index.
The value can be
true
orfalse
. - cluster_
id str The CSS cluster ID.
Changing this parameter will create a new resource.
- css_
configuration_ strv1_ id - The resource ID which equals the
cluster_id
. - http_
cors_ strallow_ credentials - Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
- http_
cors_ strallow_ headers - Headers allowed for cross-domain access.
Including
X-Requested-With
,Content-Type
, andContent-Length
. Use commas (,) and spaces to separate headers. - http_
cors_ strallow_ methods - Methods allowed for cross-domain access.
Including
OPTIONS
,HEAD
,GET
,POST
,PUT
, andDELETE
. Use commas (,) and spaces to separate methods. - http_
cors_ strallow_ origin - Origin IP address allowed for cross-domain access, for example,
122.122.122.122:9200
. - http_
cors_ strenabled - Whether to allow cross-domain access.
The value can be
true
orfalse
. Default value:false
. - http_
cors_ strmax_ age - 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_ strcache_ size - Cache size in the query phase. Value range:
1%
to100%
. Unit: %, Default value:10%
. - region str
- The region where the CSS cluster is deployed.
- reindex_
remote_ strwhitelist - 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_ strforce_ merge_ size - Queue size in the force merge thread pool.
Default value:
1
. - timeouts
Css
Configuration V1Timeouts Args
- auto
Create StringIndex - Whether to auto-create an index.
The value can be
true
orfalse
. - cluster
Id String The CSS cluster ID.
Changing this parameter will create a new resource.
- css
Configuration StringV1Id - The resource ID which equals the
cluster_id
. - http
Cors StringAllow Credentials - Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access.
- http
Cors StringAllow Headers - Headers allowed for cross-domain access.
Including
X-Requested-With
,Content-Type
, andContent-Length
. Use commas (,) and spaces to separate headers. - http
Cors StringAllow Methods - Methods allowed for cross-domain access.
Including
OPTIONS
,HEAD
,GET
,POST
,PUT
, andDELETE
. Use commas (,) and spaces to separate methods. - http
Cors StringAllow Origin - Origin IP address allowed for cross-domain access, for example,
122.122.122.122:9200
. - http
Cors StringEnabled - Whether to allow cross-domain access.
The value can be
true
orfalse
. Default value:false
. - http
Cors StringMax Age - 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 StringCache Size - Cache size in the query phase. Value range:
1%
to100%
. Unit: %, Default value:10%
. - region String
- The region where the CSS cluster is deployed.
- reindex
Remote StringWhitelist - 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 StringForce Merge Size - Queue size in the force merge thread pool.
Default value:
1
. - timeouts Property Map
Supporting Types
CssConfigurationV1Timeouts, CssConfigurationV1TimeoutsArgs
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.