InstanceClusterAttachment

Provides an EDAS instance cluster attachment resource.

NOTE: Available in 1.82.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.edas.InstanceClusterAttachment;
import com.pulumi.alicloud.edas.InstanceClusterAttachmentArgs;
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 default_ = new InstanceClusterAttachment("default", InstanceClusterAttachmentArgs.builder()
.clusterId(var_.cluster_id())
.instanceIds(var_.instance_ids())
.build());
}
}

Properties

Link copied to clipboard
val clusterId: Output<String>

The ID of the cluster that you want to create the application.

Link copied to clipboard

The cluster members map of the resource supplied above. The key is instance_id and the value is cluster_member_id.

Link copied to clipboard
val ecuMap: Output<Map<String, String>>

The ecu map of the resource supplied above. The key is instance_id and the value is ecu_id.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val instanceIds: Output<List<String>>

The ID of instance. Type: list.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val statusMap: Output<Map<String, Int>>

The status map of the resource supplied above. The key is instance_id and the values are 1(running) 0(converting) -1(failed) and -2(offline).

Link copied to clipboard
val urn: Output<String>