ApplicationScaleArgs

data class ApplicationScaleArgs(val appId: Output<String>? = null, val deployGroup: Output<String>? = null, val ecuInfos: Output<List<String>>? = null, val forceStatus: Output<Boolean>? = null) : ConvertibleToJava<ApplicationScaleArgs>

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());
}
}

Constructors

Link copied to clipboard
fun ApplicationScaleArgs(appId: Output<String>? = null, deployGroup: Output<String>? = null, ecuInfos: Output<List<String>>? = null, forceStatus: Output<Boolean>? = null)

Functions

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

Properties

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

The ID of the application that you want to deploy.

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

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

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

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

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.