SlbAttachmentArgs

data class SlbAttachmentArgs(val appId: Output<String>? = null, val listenerPort: Output<Int>? = null, val slbId: Output<String>? = null, val slbIp: Output<String>? = null, val type: Output<String>? = null, val vserverGroupId: Output<String>? = null) : ConvertibleToJava<SlbAttachmentArgs>

Binds SLB to 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.SlbAttachment;
import com.pulumi.alicloud.edas.SlbAttachmentArgs;
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 SlbAttachment("default", SlbAttachmentArgs.builder()
.appId(var_.app_id())
.slbId(var_.slb_id())
.slbIp(var_.slb_ip())
.type(var_.type())
.listenerPort(var_.listener_port())
.vserverGroupId(var_.vserver_group_id())
.build());
}
}

Constructors

Link copied to clipboard
fun SlbAttachmentArgs(appId: Output<String>? = null, listenerPort: Output<Int>? = null, slbId: Output<String>? = null, slbIp: Output<String>? = null, type: Output<String>? = null, vserverGroupId: Output<String>? = null)

Functions

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

Properties

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

The ID of the application to which you want to bind an SLB instance.

Link copied to clipboard
val listenerPort: Output<Int>? = null

The listening port for the bound SLB instance.

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

The ID of the SLB instance that is going to be bound.

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

The IP address that is allocated to the bound SLB instance.

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

The type of the bound SLB instance.

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

The ID of the virtual server (VServer) group associated with the intranet SLB instance.