ListenerAdditionalCertificateAttachmentArgs

data class ListenerAdditionalCertificateAttachmentArgs(val certificateId: Output<String>? = null, val dryRun: Output<Boolean>? = null, val listenerId: Output<String>? = null) : ConvertibleToJava<ListenerAdditionalCertificateAttachmentArgs>

Provides a NLB Listener Additional Certificate Attachment resource. For information about NLB Listener Additional Certificate Attachment and how to use it, see What is Listener Additional Certificate Attachment.

NOTE: Available since v1.209.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.nlb.ListenerAdditionalCertificateAttachment;
import com.pulumi.alicloud.nlb.ListenerAdditionalCertificateAttachmentArgs;
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("terraform-example");
var default_ = new ListenerAdditionalCertificateAttachment("default", ListenerAdditionalCertificateAttachmentArgs.builder()
.certificateId("10513353-cn-hangzhou")
.listenerId("lsn-gmpiutpjy6e58qequ1@14500")
.build());
}
}

Import

NLB Listener Additional Certificate Attachment can be imported using the id, e.g.

$ pulumi import alicloud:nlb/listenerAdditionalCertificateAttachment:ListenerAdditionalCertificateAttachment example <listener_id>:<certificate_id>

Constructors

fun ListenerAdditionalCertificateAttachmentArgs(certificateId: Output<String>? = null, dryRun: Output<Boolean>? = null, listenerId: Output<String>? = null)

Functions

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

Properties

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

Certificate ID. Currently, only server certificates are supported.

Link copied to clipboard
val dryRun: Output<Boolean>? = null

Whether to PreCheck only this request, value: - true: sends a check request and does not create a resource. Check items include whether required parameters, request format, and business restrictions have been filled in. If the check fails, the corresponding error is returned. If the check passes, the error code 'DryRunOperation' is returned '. - false (default): Sends a normal request, returns the HTTP 2xx status code after the check, and directly performs the operation.

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

The ID of the tcpssl listener.