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,
});
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)
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
})
}
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,
});
});
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());
}
}
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}
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 string
- The unique name of the resource.
- args DdsParameterTemplateArgs
- 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 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 string
- The unique name of the resource.
- args DdsParameterTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DdsParameterTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
const ddsParameterTemplateResource = new flexibleengine.DdsParameterTemplate("ddsParameterTemplateResource", {
nodeType: "string",
nodeVersion: "string",
ddsParameterTemplateId: "string",
description: "string",
name: "string",
parameterValues: {
string: "string",
},
region: "string",
});
type: flexibleengine:DdsParameterTemplate
properties:
ddsParameterTemplateId: string
description: string
name: string
nodeType: string
nodeVersion: string
parameterValues:
string: string
region: string
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:
- Node
Type 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.
- Node
Version string 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 stringTemplate Id - 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 (_).
- Parameter
Values 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.
- Node
Type 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.
- Node
Version string 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 stringTemplate Id - 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 (_).
- Parameter
Values 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.
- node
Type 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.
- node
Version String 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 StringTemplate Id - 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 (_).
- parameter
Values 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.
- node
Type 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.
- node
Version string 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 stringTemplate Id - 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 (_).
- parameter
Values {[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 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.
- dds_
parameter_ strtemplate_ id - 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.
- node
Type 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.
- node
Version String 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 StringTemplate Id - 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 (_).
- parameter
Values 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<Dds
Parameter Template Parameter> - 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
[]Dds
Parameter Template Parameter - 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<Dds
Parameter Template Parameter> - 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
Dds
Parameter Template Parameter[] - 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[Dds
Parameter Template Parameter] - 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
- 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.
- Dds
Parameter stringTemplate Id - 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 (_).
- Node
Type 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.
- Node
Version string 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 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<Dds
Parameter Template Parameter> - 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 stringTemplate Id - 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 (_).
- Node
Type 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.
- Node
Version string 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 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
[]Dds
Parameter Template Parameter Args - 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 StringTemplate Id - 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 (_).
- node
Type 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.
- node
Version String 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 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<Dds
Parameter Template Parameter> - 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 stringTemplate Id - 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 (_).
- node
Type 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.
- node
Version string 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 {[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
Dds
Parameter Template Parameter[] - 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_ strtemplate_ id - 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[Dds
Parameter Template Parameter Args] - 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.
- dds
Parameter StringTemplate Id - 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 (_).
- node
Type 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.
- node
Version String 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 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 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 (_).
- Readonly 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 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 string
- Indicates the parameter type. The value can be integer, string, boolean, float, or list.
- Value string
- Indicates the parameter value.
- Value
Range string - Indicates the value range.
- 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 (_).
- Readonly 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 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 string
- Indicates the parameter type. The value can be integer, string, boolean, float, or list.
- Value string
- Indicates the parameter value.
- Value
Range string - Indicates the value range.
- 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 (_).
- readonly 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.
- restart
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 String
- Indicates the parameter type. The value can be integer, string, boolean, float, or list.
- value String
- Indicates the parameter value.
- value
Range String - Indicates the value range.
- 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 (_).
- readonly 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.
- restart
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 string
- Indicates the parameter type. The value can be integer, string, boolean, float, or list.
- value string
- Indicates the parameter value.
- value
Range string - Indicates the value range.
- 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 (_).
- readonly 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 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 str
- Indicates the parameter type. The value can be integer, string, boolean, float, or list.
- value str
- Indicates the parameter value.
- value_
range str - Indicates the value range.
- 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 (_).
- readonly 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.
- restart
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 String
- Indicates the parameter type. The value can be integer, string, boolean, float, or list.
- value String
- Indicates the parameter value.
- value
Range 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>
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.