CaCertificate

A Load Balancer CA Certificate is used by the listener of the protocol https. For information about slb and how to use it, see What is Server Load Balancer. For information about CA Certificate and how to use it, see Configure CA Certificate.

Example Usage

  • using CA certificate content

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.slb.CaCertificate;
import com.pulumi.alicloud.slb.CaCertificateArgs;
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 foo = new CaCertificate("foo", CaCertificateArgs.builder()
.caCertificate("""
-----BEGIN CERTIFICATE-----
MIIDRjCCAq+gAwIBAgIJAJnI******90EAxEG/bJJyOm5LqoiA=
-----END CERTIFICATE-----
""")
.caCertificateName("tf-testAccSlbCACertificate")
.build());
}
}

Import

Server Load balancer CA Certificate can be imported using the id, e.g.

$ pulumi import alicloud:slb/caCertificate:CaCertificate example abc123456

Properties

Link copied to clipboard
val caCertificate: Output<String>

the content of the CA certificate.

Link copied to clipboard

Name of the CA Certificate.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Field name has been deprecated from provider version 1.123.1. New field ca_certificate_name instead

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceGroupId: Output<String>

The Id of resource group which the slb_ca certificate belongs.

Link copied to clipboard
val tags: Output<Map<String, Any>>?

A mapping of tags to assign to the resource.

Link copied to clipboard
val urn: Output<String>