Instance

Provides a CEN instance resource. Cloud Enterprise Network (CEN) is a service that allows you to create a global network for rapidly building a distributed business system with a hybrid cloud computing solution. CEN enables you to build a secure, private, and enterprise-class interconnected network between VPCs in different regions and your local data centers. CEN provides enterprise-class scalability that automatically responds to your dynamic computing requirements. For information about CEN and how to use it, see What is Cloud Enterprise Network.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cen.Instance;
import com.pulumi.alicloud.cen.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) {
var example = new Instance("example", InstanceArgs.builder()
.cenInstanceName("tf_test_foo")
.description("an example for cen")
.build());
}
}

Import

CEN instance can be imported using the id, e.g.

$ pulumi import alicloud:cen/instance:Instance example cen-abc123456

Properties

Link copied to clipboard
val cenInstanceName: Output<String>

The name of the CEN instance. Defaults to null. The name must be 2 to 128 characters in length and can contain letters, numbers, periods (.), underscores (_), and hyphens (-). The name must start with a letter, but cannot start with http:// or https://.

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

The description of the CEN instance. Defaults to null. The description must be 2 to 256 characters in length. It must start with a letter, and cannot start with http:// or https://.

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

Field name has been deprecated from version 1.98.0. Use cen_instance_name instead.

Link copied to clipboard
val protectionLevel: Output<String>

Indicates the allowed level of CIDR block overlapping. Default value: REDUCE: Overlapping CIDR blocks are allowed. However, the overlapping CIDR blocks cannot be identical.

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

The Cen Instance current status.

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

A mapping of tags to assign to the resource.

Link copied to clipboard
val urn: Output<String>