ParameterGroupArgs

data class ParameterGroupArgs(val dbType: Output<String>? = null, val dbVersion: Output<String>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val parameters: Output<List<ParameterGroupParameterArgs>>? = null) : ConvertibleToJava<ParameterGroupArgs>

Provides a PolarDB Parameter Group resource. For information about PolarDB Parameter Group and how to use it, see What is Parameter Group.

NOTE: Available in v1.183.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.polardb.ParameterGroup;
import com.pulumi.alicloud.polardb.ParameterGroupArgs;
import com.pulumi.alicloud.polardb.inputs.ParameterGroupParameterArgs;
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 ParameterGroup("example", ParameterGroupArgs.builder()
.dbType("MySQL")
.dbVersion("8.0")
.description("example_value")
.parameters(ParameterGroupParameterArgs.builder()
.paramName("wait_timeout")
.paramValue("86400")
.build())
.build());
}
}

Import

PolarDB Parameter Group can be imported using the id, e.g.

$ pulumi import alicloud:polardb/parameterGroup:ParameterGroup example <id>

Constructors

Link copied to clipboard
fun ParameterGroupArgs(dbType: Output<String>? = null, dbVersion: Output<String>? = null, description: Output<String>? = null, name: Output<String>? = null, parameters: Output<List<ParameterGroupParameterArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ParameterGroupArgs

Properties

Link copied to clipboard
val dbType: Output<String>? = null

The type of the database engine. Only MySQL is supported.

Link copied to clipboard
val dbVersion: Output<String>? = null

The version number of the database engine. Valid values: 5.6, 5.7, 8.0.

Link copied to clipboard
val description: Output<String>? = null

The description of the parameter template. It must be 0 to 200 characters in length.

Link copied to clipboard
val name: Output<String>? = null

The name of the parameter template. It must be 8 to 64 characters in length, and can contain letters, digits, and underscores (_). It must start with a letter and cannot contain Chinese characters.

Link copied to clipboard

The parameter template. See the following Block parameters.