InstanceArgs

data class InstanceArgs(val cenInstanceName: Output<String>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val protectionLevel: Output<String>? = null, val tags: Output<Map<String, Any>>? = null) : ConvertibleToJava<InstanceArgs>

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

Constructors

Link copied to clipboard
fun InstanceArgs(cenInstanceName: Output<String>? = null, description: Output<String>? = null, name: Output<String>? = null, protectionLevel: Output<String>? = null, tags: Output<Map<String, Any>>? = null)

Functions

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

Properties

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

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>? = null

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 name: Output<String>? = null

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

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

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
val tags: Output<Map<String, Any>>? = null

A mapping of tags to assign to the resource.