ListenerAdditionalCertificateAttachment

class ListenerAdditionalCertificateAttachment : KotlinCustomResource

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>

Properties

Link copied to clipboard
val certificateId: Output<String>

Certificate ID. Currently, only server certificates are supported.

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

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 id: Output<String>
Link copied to clipboard
val listenerId: Output<String>

The ID of the tcpssl listener.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

The status of the resource.

Link copied to clipboard
val urn: Output<String>