Instance

class Instance : KotlinCustomResource

This resource will help you to manager a Table Store Instance. It is foundation of creating data table.

NOTE: Available since v1.10.0.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ots.Instance;
import com.pulumi.alicloud.ots.InstanceArgs;
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").orElse("tf-example");
var default_ = new Instance("default", InstanceArgs.builder()
.description(name)
.accessedBy("Vpc")
.tags(Map.ofEntries(
Map.entry("Created", "TF"),
Map.entry("For", "Building table")
))
.build());
}
}

Import

OTS instance can be imported using instance id or name, e.g.

$ pulumi import alicloud:ots/instance:Instance foo "my-ots-instance"

Properties

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

The network limitation of accessing instance. Valid values:

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

The description of the instance. Currently, it does not support modifying.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val instanceType: Output<String>?

The type of instance. Valid values are "Capacity" and "HighPerformance". Default to "HighPerformance".

Link copied to clipboard
val name: Output<String>

The name of the instance.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, Any>>?

A mapping of tags to assign to the instance.

Link copied to clipboard
val urn: Output<String>