CaCertificateArgs

data class CaCertificateArgs(val caCertificate: Output<String>? = null, val caCertificateName: Output<String>? = null, val name: Output<String>? = null, val resourceGroupId: Output<String>? = null, val tags: Output<Map<String, Any>>? = null) : ConvertibleToJava<CaCertificateArgs>

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

Constructors

Link copied to clipboard
fun CaCertificateArgs(caCertificate: Output<String>? = null, caCertificateName: Output<String>? = null, name: Output<String>? = null, resourceGroupId: Output<String>? = null, tags: Output<Map<String, Any>>? = null)

Functions

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

Properties

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

the content of the CA certificate.

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

Name of the CA Certificate.

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

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

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

The Id of resource group which the slb_ca certificate belongs.

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

A mapping of tags to assign to the resource.