AppGroupArgs

data class AppGroupArgs(val appGroupName: Output<String>? = null, val chargeWay: Output<String>? = null, val currentVersion: Output<String>? = null, val description: Output<String>? = null, val orderType: Output<String>? = null, val orders: Output<List<AppGroupOrderArgs>>? = null, val paymentType: Output<String>? = null, val quota: Output<AppGroupQuotaArgs>? = null, val type: Output<String>? = null) : ConvertibleToJava<AppGroupArgs>

Provides a Open Search App Group resource. For information about Open Search App Group and how to use it, see What is App Group.

NOTE: Available in v1.136.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.opensearch.AppGroup;
import com.pulumi.alicloud.opensearch.AppGroupArgs;
import com.pulumi.alicloud.opensearch.inputs.AppGroupQuotaArgs;
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) {
final var config = ctx.config();
final var name = config.get("name").orElse("name");
var default_ = new AppGroup("default", AppGroupArgs.builder()
.appGroupName(name)
.paymentType("PayAsYouGo")
.type("standard")
.quota(AppGroupQuotaArgs.builder()
.docSize(1)
.computeResource(20)
.spec("opensearch.share.common")
.build())
.build());
}
}

Import

Open Search App Group can be imported using the id, e.g.

$ pulumi import alicloud:opensearch/appGroup:AppGroup example <id>

Constructors

Link copied to clipboard
fun AppGroupArgs(appGroupName: Output<String>? = null, chargeWay: Output<String>? = null, currentVersion: Output<String>? = null, description: Output<String>? = null, orderType: Output<String>? = null, orders: Output<List<AppGroupOrderArgs>>? = null, paymentType: Output<String>? = null, quota: Output<AppGroupQuotaArgs>? = null, type: Output<String>? = null)

Functions

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

Properties

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

Application Group Name.

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

Billing model. Valid values:compute_resource and qps.

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

The version of Application Group Name.

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

The description of the resource.

Link copied to clipboard
val orders: Output<List<AppGroupOrderArgs>>? = null

Order cycle information. The details see Block order.

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

Order change type. Valid values: UPGRADE and DOWNGRADE.

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

The billing method of the resource. Valid values: Subscription and PayAsYouGo.

Link copied to clipboard
val quota: Output<AppGroupQuotaArgs>? = null

Quota information. The details see Block quota.

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

Application type. Valid Values: standard, enhanced.