1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. DdsParameterTemplate
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.DdsParameterTemplate

Explore with Pulumi AI

Manages a DDS parameter template resource within FlexibleEngine.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";

const config = new pulumi.Config();
const name = config.requireObject("name");
const parameterValues = config.requireObject("parameterValues");
const nodeType = config.requireObject("nodeType");
const nodeVersion = config.requireObject("nodeVersion");
const test = new flexibleengine.DdsParameterTemplate("test", {
    parameterValues: parameterValues,
    nodeType: nodeType,
    nodeVersion: nodeVersion,
});
Copy
import pulumi
import pulumi_flexibleengine as flexibleengine

config = pulumi.Config()
name = config.require_object("name")
parameter_values = config.require_object("parameterValues")
node_type = config.require_object("nodeType")
node_version = config.require_object("nodeVersion")
test = flexibleengine.DdsParameterTemplate("test",
    parameter_values=parameter_values,
    node_type=node_type,
    node_version=node_version)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := cfg.RequireObject("name")
		parameterValues := cfg.RequireObject("parameterValues")
		nodeType := cfg.RequireObject("nodeType")
		nodeVersion := cfg.RequireObject("nodeVersion")
		_, err := flexibleengine.NewDdsParameterTemplate(ctx, "test", &flexibleengine.DdsParameterTemplateArgs{
			ParameterValues: pulumi.Any(parameterValues),
			NodeType:        pulumi.Any(nodeType),
			NodeVersion:     pulumi.Any(nodeVersion),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var name = config.RequireObject<dynamic>("name");
    var parameterValues = config.RequireObject<dynamic>("parameterValues");
    var nodeType = config.RequireObject<dynamic>("nodeType");
    var nodeVersion = config.RequireObject<dynamic>("nodeVersion");
    var test = new Flexibleengine.DdsParameterTemplate("test", new()
    {
        ParameterValues = parameterValues,
        NodeType = nodeType,
        NodeVersion = nodeVersion,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.DdsParameterTemplate;
import com.pulumi.flexibleengine.DdsParameterTemplateArgs;
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) {
        final var config = ctx.config();
        final var name = config.get("name");
        final var parameterValues = config.get("parameterValues");
        final var nodeType = config.get("nodeType");
        final var nodeVersion = config.get("nodeVersion");
        var test = new DdsParameterTemplate("test", DdsParameterTemplateArgs.builder()
            .parameterValues(parameterValues)
            .nodeType(nodeType)
            .nodeVersion(nodeVersion)
            .build());

    }
}
Copy
configuration:
  name:
    type: dynamic
  parameterValues:
    type: dynamic
  nodeType:
    type: dynamic
  nodeVersion:
    type: dynamic
resources:
  test:
    type: flexibleengine:DdsParameterTemplate
    properties:
      parameterValues: ${parameterValues}
      nodeType: ${nodeType}
      nodeVersion: ${nodeVersion}
Copy

Create DdsParameterTemplate Resource

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

Constructor syntax

new DdsParameterTemplate(name: string, args: DdsParameterTemplateArgs, opts?: CustomResourceOptions);
@overload
def DdsParameterTemplate(resource_name: str,
                         args: DdsParameterTemplateArgs,
                         opts: Optional[ResourceOptions] = None)

@overload
def DdsParameterTemplate(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         node_type: Optional[str] = None,
                         node_version: Optional[str] = None,
                         dds_parameter_template_id: Optional[str] = None,
                         description: Optional[str] = None,
                         name: Optional[str] = None,
                         parameter_values: Optional[Mapping[str, str]] = None,
                         region: Optional[str] = None)
func NewDdsParameterTemplate(ctx *Context, name string, args DdsParameterTemplateArgs, opts ...ResourceOption) (*DdsParameterTemplate, error)
public DdsParameterTemplate(string name, DdsParameterTemplateArgs args, CustomResourceOptions? opts = null)
public DdsParameterTemplate(String name, DdsParameterTemplateArgs args)
public DdsParameterTemplate(String name, DdsParameterTemplateArgs args, CustomResourceOptions options)
type: flexibleengine:DdsParameterTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DdsParameterTemplateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DdsParameterTemplateArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DdsParameterTemplateArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DdsParameterTemplateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DdsParameterTemplateArgs
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 ddsParameterTemplateResource = new Flexibleengine.DdsParameterTemplate("ddsParameterTemplateResource", new()
{
    NodeType = "string",
    NodeVersion = "string",
    DdsParameterTemplateId = "string",
    Description = "string",
    Name = "string",
    ParameterValues = 
    {
        { "string", "string" },
    },
    Region = "string",
});
Copy
example, err := flexibleengine.NewDdsParameterTemplate(ctx, "ddsParameterTemplateResource", &flexibleengine.DdsParameterTemplateArgs{
NodeType: pulumi.String("string"),
NodeVersion: pulumi.String("string"),
DdsParameterTemplateId: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
ParameterValues: pulumi.StringMap{
"string": pulumi.String("string"),
},
Region: pulumi.String("string"),
})
Copy
var ddsParameterTemplateResource = new DdsParameterTemplate("ddsParameterTemplateResource", DdsParameterTemplateArgs.builder()
    .nodeType("string")
    .nodeVersion("string")
    .ddsParameterTemplateId("string")
    .description("string")
    .name("string")
    .parameterValues(Map.of("string", "string"))
    .region("string")
    .build());
Copy
dds_parameter_template_resource = flexibleengine.DdsParameterTemplate("ddsParameterTemplateResource",
    node_type="string",
    node_version="string",
    dds_parameter_template_id="string",
    description="string",
    name="string",
    parameter_values={
        "string": "string",
    },
    region="string")
Copy
const ddsParameterTemplateResource = new flexibleengine.DdsParameterTemplate("ddsParameterTemplateResource", {
    nodeType: "string",
    nodeVersion: "string",
    ddsParameterTemplateId: "string",
    description: "string",
    name: "string",
    parameterValues: {
        string: "string",
    },
    region: "string",
});
Copy
type: flexibleengine:DdsParameterTemplate
properties:
    ddsParameterTemplateId: string
    description: string
    name: string
    nodeType: string
    nodeVersion: string
    parameterValues:
        string: string
    region: string
Copy

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

NodeType This property is required. string

Specifies the node type of parameter template node_type. Valid value:

  • mongos: the mongos node type.
  • shard: the shard node type.
  • config: the config node type.
  • replica: the replica node type.
  • single: the single node type.

Changing this parameter will create a new resource.

NodeVersion This property is required. string

Specifies the database version. The value can be 4.2, 4.0 or 3.4.

Changing this parameter will create a new resource.

DdsParameterTemplateId string
The resource ID.
Description string
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
Name string
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
ParameterValues Dictionary<string, string>
Specifies the mapping between parameter names and parameter values. You can customize parameter values based on the parameters in the default parameter template.
Region string
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
NodeType This property is required. string

Specifies the node type of parameter template node_type. Valid value:

  • mongos: the mongos node type.
  • shard: the shard node type.
  • config: the config node type.
  • replica: the replica node type.
  • single: the single node type.

Changing this parameter will create a new resource.

NodeVersion This property is required. string

Specifies the database version. The value can be 4.2, 4.0 or 3.4.

Changing this parameter will create a new resource.

DdsParameterTemplateId string
The resource ID.
Description string
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
Name string
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
ParameterValues map[string]string
Specifies the mapping between parameter names and parameter values. You can customize parameter values based on the parameters in the default parameter template.
Region string
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
nodeType This property is required. String

Specifies the node type of parameter template node_type. Valid value:

  • mongos: the mongos node type.
  • shard: the shard node type.
  • config: the config node type.
  • replica: the replica node type.
  • single: the single node type.

Changing this parameter will create a new resource.

nodeVersion This property is required. String

Specifies the database version. The value can be 4.2, 4.0 or 3.4.

Changing this parameter will create a new resource.

ddsParameterTemplateId String
The resource ID.
description String
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
name String
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
parameterValues Map<String,String>
Specifies the mapping between parameter names and parameter values. You can customize parameter values based on the parameters in the default parameter template.
region String
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
nodeType This property is required. string

Specifies the node type of parameter template node_type. Valid value:

  • mongos: the mongos node type.
  • shard: the shard node type.
  • config: the config node type.
  • replica: the replica node type.
  • single: the single node type.

Changing this parameter will create a new resource.

nodeVersion This property is required. string

Specifies the database version. The value can be 4.2, 4.0 or 3.4.

Changing this parameter will create a new resource.

ddsParameterTemplateId string
The resource ID.
description string
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
name string
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
parameterValues {[key: string]: string}
Specifies the mapping between parameter names and parameter values. You can customize parameter values based on the parameters in the default parameter template.
region string
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
node_type This property is required. str

Specifies the node type of parameter template node_type. Valid value:

  • mongos: the mongos node type.
  • shard: the shard node type.
  • config: the config node type.
  • replica: the replica node type.
  • single: the single node type.

Changing this parameter will create a new resource.

node_version This property is required. str

Specifies the database version. The value can be 4.2, 4.0 or 3.4.

Changing this parameter will create a new resource.

dds_parameter_template_id str
The resource ID.
description str
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
name str
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
parameter_values Mapping[str, str]
Specifies the mapping between parameter names and parameter values. You can customize parameter values based on the parameters in the default parameter template.
region str
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
nodeType This property is required. String

Specifies the node type of parameter template node_type. Valid value:

  • mongos: the mongos node type.
  • shard: the shard node type.
  • config: the config node type.
  • replica: the replica node type.
  • single: the single node type.

Changing this parameter will create a new resource.

nodeVersion This property is required. String

Specifies the database version. The value can be 4.2, 4.0 or 3.4.

Changing this parameter will create a new resource.

ddsParameterTemplateId String
The resource ID.
description String
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
name String
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
parameterValues Map<String>
Specifies the mapping between parameter names and parameter values. You can customize parameter values based on the parameters in the default parameter template.
region String
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Parameters List<DdsParameterTemplateParameter>
Indicates the parameters defined by users based on the default parameter templates. The parameters structure is documented below.
Id string
The provider-assigned unique ID for this managed resource.
Parameters []DdsParameterTemplateParameter
Indicates the parameters defined by users based on the default parameter templates. The parameters structure is documented below.
id String
The provider-assigned unique ID for this managed resource.
parameters List<DdsParameterTemplateParameter>
Indicates the parameters defined by users based on the default parameter templates. The parameters structure is documented below.
id string
The provider-assigned unique ID for this managed resource.
parameters DdsParameterTemplateParameter[]
Indicates the parameters defined by users based on the default parameter templates. The parameters structure is documented below.
id str
The provider-assigned unique ID for this managed resource.
parameters Sequence[DdsParameterTemplateParameter]
Indicates the parameters defined by users based on the default parameter templates. The parameters structure is documented below.
id String
The provider-assigned unique ID for this managed resource.
parameters List<Property Map>
Indicates the parameters defined by users based on the default parameter templates. The parameters structure is documented below.

Look up Existing DdsParameterTemplate Resource

Get an existing DdsParameterTemplate 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?: DdsParameterTemplateState, opts?: CustomResourceOptions): DdsParameterTemplate
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        dds_parameter_template_id: Optional[str] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        node_type: Optional[str] = None,
        node_version: Optional[str] = None,
        parameter_values: Optional[Mapping[str, str]] = None,
        parameters: Optional[Sequence[DdsParameterTemplateParameterArgs]] = None,
        region: Optional[str] = None) -> DdsParameterTemplate
func GetDdsParameterTemplate(ctx *Context, name string, id IDInput, state *DdsParameterTemplateState, opts ...ResourceOption) (*DdsParameterTemplate, error)
public static DdsParameterTemplate Get(string name, Input<string> id, DdsParameterTemplateState? state, CustomResourceOptions? opts = null)
public static DdsParameterTemplate get(String name, Output<String> id, DdsParameterTemplateState state, CustomResourceOptions options)
resources:  _:    type: flexibleengine:DdsParameterTemplate    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
DdsParameterTemplateId string
The resource ID.
Description string
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
Name string
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
NodeType string

Specifies the node type of parameter template node_type. Valid value:

  • mongos: the mongos node type.
  • shard: the shard node type.
  • config: the config node type.
  • replica: the replica node type.
  • single: the single node type.

Changing this parameter will create a new resource.

NodeVersion string

Specifies the database version. The value can be 4.2, 4.0 or 3.4.

Changing this parameter will create a new resource.

ParameterValues Dictionary<string, string>
Specifies the mapping between parameter names and parameter values. You can customize parameter values based on the parameters in the default parameter template.
Parameters List<DdsParameterTemplateParameter>
Indicates the parameters defined by users based on the default parameter templates. The parameters structure is documented below.
Region string
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
DdsParameterTemplateId string
The resource ID.
Description string
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
Name string
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
NodeType string

Specifies the node type of parameter template node_type. Valid value:

  • mongos: the mongos node type.
  • shard: the shard node type.
  • config: the config node type.
  • replica: the replica node type.
  • single: the single node type.

Changing this parameter will create a new resource.

NodeVersion string

Specifies the database version. The value can be 4.2, 4.0 or 3.4.

Changing this parameter will create a new resource.

ParameterValues map[string]string
Specifies the mapping between parameter names and parameter values. You can customize parameter values based on the parameters in the default parameter template.
Parameters []DdsParameterTemplateParameterArgs
Indicates the parameters defined by users based on the default parameter templates. The parameters structure is documented below.
Region string
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
ddsParameterTemplateId String
The resource ID.
description String
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
name String
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
nodeType String

Specifies the node type of parameter template node_type. Valid value:

  • mongos: the mongos node type.
  • shard: the shard node type.
  • config: the config node type.
  • replica: the replica node type.
  • single: the single node type.

Changing this parameter will create a new resource.

nodeVersion String

Specifies the database version. The value can be 4.2, 4.0 or 3.4.

Changing this parameter will create a new resource.

parameterValues Map<String,String>
Specifies the mapping between parameter names and parameter values. You can customize parameter values based on the parameters in the default parameter template.
parameters List<DdsParameterTemplateParameter>
Indicates the parameters defined by users based on the default parameter templates. The parameters structure is documented below.
region String
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
ddsParameterTemplateId string
The resource ID.
description string
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
name string
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
nodeType string

Specifies the node type of parameter template node_type. Valid value:

  • mongos: the mongos node type.
  • shard: the shard node type.
  • config: the config node type.
  • replica: the replica node type.
  • single: the single node type.

Changing this parameter will create a new resource.

nodeVersion string

Specifies the database version. The value can be 4.2, 4.0 or 3.4.

Changing this parameter will create a new resource.

parameterValues {[key: string]: string}
Specifies the mapping between parameter names and parameter values. You can customize parameter values based on the parameters in the default parameter template.
parameters DdsParameterTemplateParameter[]
Indicates the parameters defined by users based on the default parameter templates. The parameters structure is documented below.
region string
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
dds_parameter_template_id str
The resource ID.
description str
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
name str
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
node_type str

Specifies the node type of parameter template node_type. Valid value:

  • mongos: the mongos node type.
  • shard: the shard node type.
  • config: the config node type.
  • replica: the replica node type.
  • single: the single node type.

Changing this parameter will create a new resource.

node_version str

Specifies the database version. The value can be 4.2, 4.0 or 3.4.

Changing this parameter will create a new resource.

parameter_values Mapping[str, str]
Specifies the mapping between parameter names and parameter values. You can customize parameter values based on the parameters in the default parameter template.
parameters Sequence[DdsParameterTemplateParameterArgs]
Indicates the parameters defined by users based on the default parameter templates. The parameters structure is documented below.
region str
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
ddsParameterTemplateId String
The resource ID.
description String
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
name String
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
nodeType String

Specifies the node type of parameter template node_type. Valid value:

  • mongos: the mongos node type.
  • shard: the shard node type.
  • config: the config node type.
  • replica: the replica node type.
  • single: the single node type.

Changing this parameter will create a new resource.

nodeVersion String

Specifies the database version. The value can be 4.2, 4.0 or 3.4.

Changing this parameter will create a new resource.

parameterValues Map<String>
Specifies the mapping between parameter names and parameter values. You can customize parameter values based on the parameters in the default parameter template.
parameters List<Property Map>
Indicates the parameters defined by users based on the default parameter templates. The parameters structure is documented below.
region String
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.

Supporting Types

DdsParameterTemplateParameter
, DdsParameterTemplateParameterArgs

Description This property is required. string
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
Name This property is required. string
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
Readonly This property is required. bool
Indicates whether the parameter is read-only.

  • If the value is true, the parameter is read-only.
  • If the value is false, the parameter is not read-only.
RestartRequired This property is required. bool
Indicates whether the instance needs to be restarted.

  • If the value is true, restart is required.
  • If the value is false, restart is not required.
Type This property is required. string
Indicates the parameter type. The value can be integer, string, boolean, float, or list.
Value This property is required. string
Indicates the parameter value.
ValueRange This property is required. string
Indicates the value range.
Description This property is required. string
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
Name This property is required. string
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
Readonly This property is required. bool
Indicates whether the parameter is read-only.

  • If the value is true, the parameter is read-only.
  • If the value is false, the parameter is not read-only.
RestartRequired This property is required. bool
Indicates whether the instance needs to be restarted.

  • If the value is true, restart is required.
  • If the value is false, restart is not required.
Type This property is required. string
Indicates the parameter type. The value can be integer, string, boolean, float, or list.
Value This property is required. string
Indicates the parameter value.
ValueRange This property is required. string
Indicates the value range.
description This property is required. String
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
name This property is required. String
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
readonly This property is required. Boolean
Indicates whether the parameter is read-only.

  • If the value is true, the parameter is read-only.
  • If the value is false, the parameter is not read-only.
restartRequired This property is required. Boolean
Indicates whether the instance needs to be restarted.

  • If the value is true, restart is required.
  • If the value is false, restart is not required.
type This property is required. String
Indicates the parameter type. The value can be integer, string, boolean, float, or list.
value This property is required. String
Indicates the parameter value.
valueRange This property is required. String
Indicates the value range.
description This property is required. string
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
name This property is required. string
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
readonly This property is required. boolean
Indicates whether the parameter is read-only.

  • If the value is true, the parameter is read-only.
  • If the value is false, the parameter is not read-only.
restartRequired This property is required. boolean
Indicates whether the instance needs to be restarted.

  • If the value is true, restart is required.
  • If the value is false, restart is not required.
type This property is required. string
Indicates the parameter type. The value can be integer, string, boolean, float, or list.
value This property is required. string
Indicates the parameter value.
valueRange This property is required. string
Indicates the value range.
description This property is required. str
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
name This property is required. str
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
readonly This property is required. bool
Indicates whether the parameter is read-only.

  • If the value is true, the parameter is read-only.
  • If the value is false, the parameter is not read-only.
restart_required This property is required. bool
Indicates whether the instance needs to be restarted.

  • If the value is true, restart is required.
  • If the value is false, restart is not required.
type This property is required. str
Indicates the parameter type. The value can be integer, string, boolean, float, or list.
value This property is required. str
Indicates the parameter value.
value_range This property is required. str
Indicates the value range.
description This property is required. String
Specifies the parameter template description. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'=.
name This property is required. String
Specifies the parameter template name. The value must be 1 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
readonly This property is required. Boolean
Indicates whether the parameter is read-only.

  • If the value is true, the parameter is read-only.
  • If the value is false, the parameter is not read-only.
restartRequired This property is required. Boolean
Indicates whether the instance needs to be restarted.

  • If the value is true, restart is required.
  • If the value is false, restart is not required.
type This property is required. String
Indicates the parameter type. The value can be integer, string, boolean, float, or list.
value This property is required. String
Indicates the parameter value.
valueRange This property is required. String
Indicates the value range.

Import

The DDS parameter template can be imported using the id, e.g.

$ pulumi import flexibleengine:index/ddsParameterTemplate:DdsParameterTemplate test <tempalate_id>
Copy

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

Package Details

Repository
flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
License
Notes
This Pulumi package is based on the flexibleengine Terraform Provider.