Slb Attachment
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());
}
}
Content copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Running Status of SLB instance. Inactive:The instance is stopped, and listener will not monitor and forward traffic. Active:The instance is running. After the instance is created, the default state is active. Locked:The instance is locked, the instance has been owed or locked by Alibaba Cloud. Expired: The instance has expired.