ApplicationScale

This operation is provided to scale out an EDAS application.

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.ApplicationScale;
import com.pulumi.alicloud.edas.ApplicationScaleArgs;
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 ApplicationScale("default", ApplicationScaleArgs.builder()
.appId(var_.app_id())
.deployGroup(var_.deploy_group())
.ecuInfos(var_.ecu_info())
.forceStatus(var_.force_status())
.build());
}
}

Properties

Link copied to clipboard
val appId: Output<String>

The ID of the application that you want to deploy.

Link copied to clipboard
val deployGroup: Output<String>

The ID of the instance group to which you want to add ECS instances to scale out the application.

Link copied to clipboard
val eccInfo: Output<String>

The ecc information of the resource supplied above. The value is formulated as <ecc1,ecc2>.

Link copied to clipboard
val ecuInfos: Output<List<String>>

The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

Link copied to clipboard
val forceStatus: Output<Boolean>?

This parameter specifies whether to forcibly remove an ECS instance where the application is deployed. It is set as true only after the ECS instance expires. In normal cases, this parameter do not need to be specified.

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