ParameterGroup

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>

Properties

Link copied to clipboard
val dbType: Output<String>

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

Link copied to clipboard
val dbVersion: Output<String>

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

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

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

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.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>