1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. slb
  5. ServerCertificate
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.slb.ServerCertificate

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

    A Load Balancer Server Certificate is an ssl Certificate 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 Server Certificate and how to use it, see Configure Server Certificate.

    Example Usage

    • using server_certificate/private content as string example
    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    // create a server certificate
    const foo = new alicloud.slb.ServerCertificate("foo", {
        name: "slbservercertificate",
        serverCertificate: `-----BEGIN CERTIFICATE-----
    MIICWDCCAcGgAwIBAgIJAP7vOtjPtQIjMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
    BAYTAkNOMRMwEQYDVQQIDApjbi1iZWlqaW5nMSEwHwYDVQQKDBhJbnRlcm5ldCBX
    aWRnaXRzIFB0eSBMdGQwHhcNMjAxMDIwMDYxOTUxWhcNMjAxMTE5MDYxOTUxWjBF
    MQswCQYDVQQGEwJDTjETMBEGA1UECAwKY24tYmVpamluZzEhMB8GA1UECgwYSW50
    ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB
    gQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9BVuFIBoU8nrP
    Y9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2CNIzxr9DjCzN5
    tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQABo1AwTjAdBgNV
    HQ4EFgQUYDwuuqC2a2UPrfm1v31vE7+GRM4wHwYDVR0jBBgwFoAUYDwuuqC2a2UP
    rfm1v31vE7+GRM4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOBgQAovSB0
    5JRKrg7lYR/KlTuKHmozfyL9UER0/dpTSoqsCyt8yc1BbtAKUJWh09BujBE1H22f
    lKvCAjhPmnNdfd/l9GrmAWNDWEDPLdUTkGSkKAScMpdS+mLmOBuYWgdnOtq3eQGf
    t07tlBL+dtzrrohHpfLeuNyYb40g8VQdp3RRRQ==
    -----END CERTIFICATE-----`,
        privateKey: `-----BEGIN RSA PRIVATE KEY-----
    MIICXAIBAAKBgQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9
    BVuFIBoU8nrPY9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2C
    NIzxr9DjCzN5tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQAB
    AoGARe2oaCo5lTDK+c4Zx3392hoqQ94r0DmWHPBvNmwAooYd+YxLPrLMe5sMjY4t
    dmohnLNevCK1Uzw5eIX6BNSo5CORBcIDRmiAgwiYiS3WOv2+qi9g5uIdMiDr+EED
    K8wZJjB5E2WyfxL507vtW4T5L36yfr8SkmqH3GvzpI2jCqECQQDsy0AmBzyfK0tG
    Nw1+iF9SReJWgb1f5iHvz+6Dt5ueVQngrl/5++Gp5bNoaQMkLEDsy0iHIj9j43ji
    0DON05uDAkEA1GXgGn8MXXKyuzYuoyYXCBH7aF579d7KEGET/jjnXx9DHcfRJZBY
    B9ghMnnonSOGboF04Zsdd3xwYF/3OHYssQJAekd/SeQEzyE5TvoQ8t2Tc9X4yrlW
    xNX/gmp6/fPr3biGUEtb7qi+4NBodCt+XsingmB7hKUP3RJTk7T2WnAC5wJAMqHi
    jY5x3SkFkHl3Hq9q2CKpQxUbCd7FXqg1wum/xj5GmqfSpNjHE3+jUkwbdrJMTrWP
    rmRy3tQMWf0mixAo0QJBAN4IcZChanq8cZyNqqoNbxGm4hkxUmE0W4hxHmLC2CYZ
    V4JpNm8dpi4CiMWLasF6TYlVMgX+aPxYRUWc/qqf1/Q=
    -----END RSA PRIVATE KEY-----`,
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    # create a server certificate
    foo = alicloud.slb.ServerCertificate("foo",
        name="slbservercertificate",
        server_certificate="""-----BEGIN CERTIFICATE-----
    MIICWDCCAcGgAwIBAgIJAP7vOtjPtQIjMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
    BAYTAkNOMRMwEQYDVQQIDApjbi1iZWlqaW5nMSEwHwYDVQQKDBhJbnRlcm5ldCBX
    aWRnaXRzIFB0eSBMdGQwHhcNMjAxMDIwMDYxOTUxWhcNMjAxMTE5MDYxOTUxWjBF
    MQswCQYDVQQGEwJDTjETMBEGA1UECAwKY24tYmVpamluZzEhMB8GA1UECgwYSW50
    ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB
    gQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9BVuFIBoU8nrP
    Y9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2CNIzxr9DjCzN5
    tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQABo1AwTjAdBgNV
    HQ4EFgQUYDwuuqC2a2UPrfm1v31vE7+GRM4wHwYDVR0jBBgwFoAUYDwuuqC2a2UP
    rfm1v31vE7+GRM4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOBgQAovSB0
    5JRKrg7lYR/KlTuKHmozfyL9UER0/dpTSoqsCyt8yc1BbtAKUJWh09BujBE1H22f
    lKvCAjhPmnNdfd/l9GrmAWNDWEDPLdUTkGSkKAScMpdS+mLmOBuYWgdnOtq3eQGf
    t07tlBL+dtzrrohHpfLeuNyYb40g8VQdp3RRRQ==
    -----END CERTIFICATE-----""",
        private_key="""-----BEGIN RSA PRIVATE KEY-----
    MIICXAIBAAKBgQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9
    BVuFIBoU8nrPY9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2C
    NIzxr9DjCzN5tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQAB
    AoGARe2oaCo5lTDK+c4Zx3392hoqQ94r0DmWHPBvNmwAooYd+YxLPrLMe5sMjY4t
    dmohnLNevCK1Uzw5eIX6BNSo5CORBcIDRmiAgwiYiS3WOv2+qi9g5uIdMiDr+EED
    K8wZJjB5E2WyfxL507vtW4T5L36yfr8SkmqH3GvzpI2jCqECQQDsy0AmBzyfK0tG
    Nw1+iF9SReJWgb1f5iHvz+6Dt5ueVQngrl/5++Gp5bNoaQMkLEDsy0iHIj9j43ji
    0DON05uDAkEA1GXgGn8MXXKyuzYuoyYXCBH7aF579d7KEGET/jjnXx9DHcfRJZBY
    B9ghMnnonSOGboF04Zsdd3xwYF/3OHYssQJAekd/SeQEzyE5TvoQ8t2Tc9X4yrlW
    xNX/gmp6/fPr3biGUEtb7qi+4NBodCt+XsingmB7hKUP3RJTk7T2WnAC5wJAMqHi
    jY5x3SkFkHl3Hq9q2CKpQxUbCd7FXqg1wum/xj5GmqfSpNjHE3+jUkwbdrJMTrWP
    rmRy3tQMWf0mixAo0QJBAN4IcZChanq8cZyNqqoNbxGm4hkxUmE0W4hxHmLC2CYZ
    V4JpNm8dpi4CiMWLasF6TYlVMgX+aPxYRUWc/qqf1/Q=
    -----END RSA PRIVATE KEY-----""")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// create a server certificate
    		_, err := slb.NewServerCertificate(ctx, "foo", &slb.ServerCertificateArgs{
    			Name: pulumi.String("slbservercertificate"),
    			ServerCertificate: pulumi.String(`-----BEGIN CERTIFICATE-----
    MIICWDCCAcGgAwIBAgIJAP7vOtjPtQIjMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
    BAYTAkNOMRMwEQYDVQQIDApjbi1iZWlqaW5nMSEwHwYDVQQKDBhJbnRlcm5ldCBX
    aWRnaXRzIFB0eSBMdGQwHhcNMjAxMDIwMDYxOTUxWhcNMjAxMTE5MDYxOTUxWjBF
    MQswCQYDVQQGEwJDTjETMBEGA1UECAwKY24tYmVpamluZzEhMB8GA1UECgwYSW50
    ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB
    gQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9BVuFIBoU8nrP
    Y9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2CNIzxr9DjCzN5
    tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQABo1AwTjAdBgNV
    HQ4EFgQUYDwuuqC2a2UPrfm1v31vE7+GRM4wHwYDVR0jBBgwFoAUYDwuuqC2a2UP
    rfm1v31vE7+GRM4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOBgQAovSB0
    5JRKrg7lYR/KlTuKHmozfyL9UER0/dpTSoqsCyt8yc1BbtAKUJWh09BujBE1H22f
    lKvCAjhPmnNdfd/l9GrmAWNDWEDPLdUTkGSkKAScMpdS+mLmOBuYWgdnOtq3eQGf
    t07tlBL+dtzrrohHpfLeuNyYb40g8VQdp3RRRQ==
    -----END CERTIFICATE-----`),
    			PrivateKey: pulumi.String(`-----BEGIN RSA PRIVATE KEY-----
    MIICXAIBAAKBgQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9
    BVuFIBoU8nrPY9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2C
    NIzxr9DjCzN5tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQAB
    AoGARe2oaCo5lTDK+c4Zx3392hoqQ94r0DmWHPBvNmwAooYd+YxLPrLMe5sMjY4t
    dmohnLNevCK1Uzw5eIX6BNSo5CORBcIDRmiAgwiYiS3WOv2+qi9g5uIdMiDr+EED
    K8wZJjB5E2WyfxL507vtW4T5L36yfr8SkmqH3GvzpI2jCqECQQDsy0AmBzyfK0tG
    Nw1+iF9SReJWgb1f5iHvz+6Dt5ueVQngrl/5++Gp5bNoaQMkLEDsy0iHIj9j43ji
    0DON05uDAkEA1GXgGn8MXXKyuzYuoyYXCBH7aF579d7KEGET/jjnXx9DHcfRJZBY
    B9ghMnnonSOGboF04Zsdd3xwYF/3OHYssQJAekd/SeQEzyE5TvoQ8t2Tc9X4yrlW
    xNX/gmp6/fPr3biGUEtb7qi+4NBodCt+XsingmB7hKUP3RJTk7T2WnAC5wJAMqHi
    jY5x3SkFkHl3Hq9q2CKpQxUbCd7FXqg1wum/xj5GmqfSpNjHE3+jUkwbdrJMTrWP
    rmRy3tQMWf0mixAo0QJBAN4IcZChanq8cZyNqqoNbxGm4hkxUmE0W4hxHmLC2CYZ
    V4JpNm8dpi4CiMWLasF6TYlVMgX+aPxYRUWc/qqf1/Q=
    -----END RSA PRIVATE KEY-----`),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        // create a server certificate
        var foo = new AliCloud.Slb.ServerCertificate("foo", new()
        {
            Name = "slbservercertificate",
            Certificate = @"-----BEGIN CERTIFICATE-----
    MIICWDCCAcGgAwIBAgIJAP7vOtjPtQIjMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
    BAYTAkNOMRMwEQYDVQQIDApjbi1iZWlqaW5nMSEwHwYDVQQKDBhJbnRlcm5ldCBX
    aWRnaXRzIFB0eSBMdGQwHhcNMjAxMDIwMDYxOTUxWhcNMjAxMTE5MDYxOTUxWjBF
    MQswCQYDVQQGEwJDTjETMBEGA1UECAwKY24tYmVpamluZzEhMB8GA1UECgwYSW50
    ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB
    gQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9BVuFIBoU8nrP
    Y9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2CNIzxr9DjCzN5
    tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQABo1AwTjAdBgNV
    HQ4EFgQUYDwuuqC2a2UPrfm1v31vE7+GRM4wHwYDVR0jBBgwFoAUYDwuuqC2a2UP
    rfm1v31vE7+GRM4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOBgQAovSB0
    5JRKrg7lYR/KlTuKHmozfyL9UER0/dpTSoqsCyt8yc1BbtAKUJWh09BujBE1H22f
    lKvCAjhPmnNdfd/l9GrmAWNDWEDPLdUTkGSkKAScMpdS+mLmOBuYWgdnOtq3eQGf
    t07tlBL+dtzrrohHpfLeuNyYb40g8VQdp3RRRQ==
    -----END CERTIFICATE-----",
            PrivateKey = @"-----BEGIN RSA PRIVATE KEY-----
    MIICXAIBAAKBgQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9
    BVuFIBoU8nrPY9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2C
    NIzxr9DjCzN5tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQAB
    AoGARe2oaCo5lTDK+c4Zx3392hoqQ94r0DmWHPBvNmwAooYd+YxLPrLMe5sMjY4t
    dmohnLNevCK1Uzw5eIX6BNSo5CORBcIDRmiAgwiYiS3WOv2+qi9g5uIdMiDr+EED
    K8wZJjB5E2WyfxL507vtW4T5L36yfr8SkmqH3GvzpI2jCqECQQDsy0AmBzyfK0tG
    Nw1+iF9SReJWgb1f5iHvz+6Dt5ueVQngrl/5++Gp5bNoaQMkLEDsy0iHIj9j43ji
    0DON05uDAkEA1GXgGn8MXXKyuzYuoyYXCBH7aF579d7KEGET/jjnXx9DHcfRJZBY
    B9ghMnnonSOGboF04Zsdd3xwYF/3OHYssQJAekd/SeQEzyE5TvoQ8t2Tc9X4yrlW
    xNX/gmp6/fPr3biGUEtb7qi+4NBodCt+XsingmB7hKUP3RJTk7T2WnAC5wJAMqHi
    jY5x3SkFkHl3Hq9q2CKpQxUbCd7FXqg1wum/xj5GmqfSpNjHE3+jUkwbdrJMTrWP
    rmRy3tQMWf0mixAo0QJBAN4IcZChanq8cZyNqqoNbxGm4hkxUmE0W4hxHmLC2CYZ
    V4JpNm8dpi4CiMWLasF6TYlVMgX+aPxYRUWc/qqf1/Q=
    -----END RSA PRIVATE KEY-----",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.slb.ServerCertificate;
    import com.pulumi.alicloud.slb.ServerCertificateArgs;
    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) {
            // create a server certificate
            var foo = new ServerCertificate("foo", ServerCertificateArgs.builder()
                .name("slbservercertificate")
                .serverCertificate("""
    -----BEGIN CERTIFICATE-----
    MIICWDCCAcGgAwIBAgIJAP7vOtjPtQIjMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
    BAYTAkNOMRMwEQYDVQQIDApjbi1iZWlqaW5nMSEwHwYDVQQKDBhJbnRlcm5ldCBX
    aWRnaXRzIFB0eSBMdGQwHhcNMjAxMDIwMDYxOTUxWhcNMjAxMTE5MDYxOTUxWjBF
    MQswCQYDVQQGEwJDTjETMBEGA1UECAwKY24tYmVpamluZzEhMB8GA1UECgwYSW50
    ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB
    gQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9BVuFIBoU8nrP
    Y9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2CNIzxr9DjCzN5
    tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQABo1AwTjAdBgNV
    HQ4EFgQUYDwuuqC2a2UPrfm1v31vE7+GRM4wHwYDVR0jBBgwFoAUYDwuuqC2a2UP
    rfm1v31vE7+GRM4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOBgQAovSB0
    5JRKrg7lYR/KlTuKHmozfyL9UER0/dpTSoqsCyt8yc1BbtAKUJWh09BujBE1H22f
    lKvCAjhPmnNdfd/l9GrmAWNDWEDPLdUTkGSkKAScMpdS+mLmOBuYWgdnOtq3eQGf
    t07tlBL+dtzrrohHpfLeuNyYb40g8VQdp3RRRQ==
    -----END CERTIFICATE-----            """)
                .privateKey("""
    -----BEGIN RSA PRIVATE KEY-----
    MIICXAIBAAKBgQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9
    BVuFIBoU8nrPY9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2C
    NIzxr9DjCzN5tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQAB
    AoGARe2oaCo5lTDK+c4Zx3392hoqQ94r0DmWHPBvNmwAooYd+YxLPrLMe5sMjY4t
    dmohnLNevCK1Uzw5eIX6BNSo5CORBcIDRmiAgwiYiS3WOv2+qi9g5uIdMiDr+EED
    K8wZJjB5E2WyfxL507vtW4T5L36yfr8SkmqH3GvzpI2jCqECQQDsy0AmBzyfK0tG
    Nw1+iF9SReJWgb1f5iHvz+6Dt5ueVQngrl/5++Gp5bNoaQMkLEDsy0iHIj9j43ji
    0DON05uDAkEA1GXgGn8MXXKyuzYuoyYXCBH7aF579d7KEGET/jjnXx9DHcfRJZBY
    B9ghMnnonSOGboF04Zsdd3xwYF/3OHYssQJAekd/SeQEzyE5TvoQ8t2Tc9X4yrlW
    xNX/gmp6/fPr3biGUEtb7qi+4NBodCt+XsingmB7hKUP3RJTk7T2WnAC5wJAMqHi
    jY5x3SkFkHl3Hq9q2CKpQxUbCd7FXqg1wum/xj5GmqfSpNjHE3+jUkwbdrJMTrWP
    rmRy3tQMWf0mixAo0QJBAN4IcZChanq8cZyNqqoNbxGm4hkxUmE0W4hxHmLC2CYZ
    V4JpNm8dpi4CiMWLasF6TYlVMgX+aPxYRUWc/qqf1/Q=
    -----END RSA PRIVATE KEY-----            """)
                .build());
    
        }
    }
    
    resources:
      # create a server certificate
      foo:
        type: alicloud:slb:ServerCertificate
        properties:
          name: slbservercertificate
          serverCertificate: |-
            -----BEGIN CERTIFICATE-----
            MIICWDCCAcGgAwIBAgIJAP7vOtjPtQIjMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
            BAYTAkNOMRMwEQYDVQQIDApjbi1iZWlqaW5nMSEwHwYDVQQKDBhJbnRlcm5ldCBX
            aWRnaXRzIFB0eSBMdGQwHhcNMjAxMDIwMDYxOTUxWhcNMjAxMTE5MDYxOTUxWjBF
            MQswCQYDVQQGEwJDTjETMBEGA1UECAwKY24tYmVpamluZzEhMB8GA1UECgwYSW50
            ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB
            gQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9BVuFIBoU8nrP
            Y9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2CNIzxr9DjCzN5
            tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQABo1AwTjAdBgNV
            HQ4EFgQUYDwuuqC2a2UPrfm1v31vE7+GRM4wHwYDVR0jBBgwFoAUYDwuuqC2a2UP
            rfm1v31vE7+GRM4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOBgQAovSB0
            5JRKrg7lYR/KlTuKHmozfyL9UER0/dpTSoqsCyt8yc1BbtAKUJWh09BujBE1H22f
            lKvCAjhPmnNdfd/l9GrmAWNDWEDPLdUTkGSkKAScMpdS+mLmOBuYWgdnOtq3eQGf
            t07tlBL+dtzrrohHpfLeuNyYb40g8VQdp3RRRQ==
            -----END CERTIFICATE-----        
          privateKey: |-
            -----BEGIN RSA PRIVATE KEY-----
            MIICXAIBAAKBgQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9
            BVuFIBoU8nrPY9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2C
            NIzxr9DjCzN5tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQAB
            AoGARe2oaCo5lTDK+c4Zx3392hoqQ94r0DmWHPBvNmwAooYd+YxLPrLMe5sMjY4t
            dmohnLNevCK1Uzw5eIX6BNSo5CORBcIDRmiAgwiYiS3WOv2+qi9g5uIdMiDr+EED
            K8wZJjB5E2WyfxL507vtW4T5L36yfr8SkmqH3GvzpI2jCqECQQDsy0AmBzyfK0tG
            Nw1+iF9SReJWgb1f5iHvz+6Dt5ueVQngrl/5++Gp5bNoaQMkLEDsy0iHIj9j43ji
            0DON05uDAkEA1GXgGn8MXXKyuzYuoyYXCBH7aF579d7KEGET/jjnXx9DHcfRJZBY
            B9ghMnnonSOGboF04Zsdd3xwYF/3OHYssQJAekd/SeQEzyE5TvoQ8t2Tc9X4yrlW
            xNX/gmp6/fPr3biGUEtb7qi+4NBodCt+XsingmB7hKUP3RJTk7T2WnAC5wJAMqHi
            jY5x3SkFkHl3Hq9q2CKpQxUbCd7FXqg1wum/xj5GmqfSpNjHE3+jUkwbdrJMTrWP
            rmRy3tQMWf0mixAo0QJBAN4IcZChanq8cZyNqqoNbxGm4hkxUmE0W4hxHmLC2CYZ
            V4JpNm8dpi4CiMWLasF6TYlVMgX+aPxYRUWc/qqf1/Q=
            -----END RSA PRIVATE KEY-----        
    
    • using server_certificate/private file example

    Create ServerCertificate Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ServerCertificate(name: string, args?: ServerCertificateArgs, opts?: CustomResourceOptions);
    @overload
    def ServerCertificate(resource_name: str,
                          args: Optional[ServerCertificateArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServerCertificate(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          alicloud_certifacte_id: Optional[str] = None,
                          alicloud_certifacte_name: Optional[str] = None,
                          alicloud_certificate_id: Optional[str] = None,
                          alicloud_certificate_name: Optional[str] = None,
                          alicloud_certificate_region_id: Optional[str] = None,
                          name: Optional[str] = None,
                          private_key: Optional[str] = None,
                          resource_group_id: Optional[str] = None,
                          server_certificate: Optional[str] = None,
                          tags: Optional[Mapping[str, Any]] = None)
    func NewServerCertificate(ctx *Context, name string, args *ServerCertificateArgs, opts ...ResourceOption) (*ServerCertificate, error)
    public ServerCertificate(string name, ServerCertificateArgs? args = null, CustomResourceOptions? opts = null)
    public ServerCertificate(String name, ServerCertificateArgs args)
    public ServerCertificate(String name, ServerCertificateArgs args, CustomResourceOptions options)
    
    type: alicloud:slb:ServerCertificate
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ServerCertificateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ServerCertificateArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ServerCertificateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServerCertificateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServerCertificateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var serverCertificateResource = new AliCloud.Slb.ServerCertificate("serverCertificateResource", new()
    {
        AlicloudCertificateId = "string",
        AlicloudCertificateName = "string",
        AlicloudCertificateRegionId = "string",
        Name = "string",
        PrivateKey = "string",
        ResourceGroupId = "string",
        Certificate = "string",
        Tags = 
        {
            { "string", "any" },
        },
    });
    
    example, err := slb.NewServerCertificate(ctx, "serverCertificateResource", &slb.ServerCertificateArgs{
    	AlicloudCertificateId:       pulumi.String("string"),
    	AlicloudCertificateName:     pulumi.String("string"),
    	AlicloudCertificateRegionId: pulumi.String("string"),
    	Name:                        pulumi.String("string"),
    	PrivateKey:                  pulumi.String("string"),
    	ResourceGroupId:             pulumi.String("string"),
    	ServerCertificate:           pulumi.String("string"),
    	Tags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    })
    
    var serverCertificateResource = new ServerCertificate("serverCertificateResource", ServerCertificateArgs.builder()
        .alicloudCertificateId("string")
        .alicloudCertificateName("string")
        .alicloudCertificateRegionId("string")
        .name("string")
        .privateKey("string")
        .resourceGroupId("string")
        .serverCertificate("string")
        .tags(Map.of("string", "any"))
        .build());
    
    server_certificate_resource = alicloud.slb.ServerCertificate("serverCertificateResource",
        alicloud_certificate_id="string",
        alicloud_certificate_name="string",
        alicloud_certificate_region_id="string",
        name="string",
        private_key="string",
        resource_group_id="string",
        server_certificate="string",
        tags={
            "string": "any",
        })
    
    const serverCertificateResource = new alicloud.slb.ServerCertificate("serverCertificateResource", {
        alicloudCertificateId: "string",
        alicloudCertificateName: "string",
        alicloudCertificateRegionId: "string",
        name: "string",
        privateKey: "string",
        resourceGroupId: "string",
        serverCertificate: "string",
        tags: {
            string: "any",
        },
    });
    
    type: alicloud:slb:ServerCertificate
    properties:
        alicloudCertificateId: string
        alicloudCertificateName: string
        alicloudCertificateRegionId: string
        name: string
        privateKey: string
        resourceGroupId: string
        serverCertificate: string
        tags:
            string: any
    

    ServerCertificate Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ServerCertificate resource accepts the following input properties:

    AlicloudCertifacteId string

    Deprecated: Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

    AlicloudCertifacteName string

    Deprecated: Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

    AlicloudCertificateId string
    an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now.
    AlicloudCertificateName string
    the name of the certificate specified by alicloud_certificate_id.but it is not supported on the international site of alibaba cloud now.
    AlicloudCertificateRegionId string
    the region of the certificate specified by alicloud_certificate_id. but it is not supported on the international site of alibaba cloud now.
    Certificate string
    the content of the ssl certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    Name string
    Name of the Server Certificate.
    PrivateKey string
    the content of privat key of the ssl certificate specified by server_certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    ResourceGroupId string
    The Id of resource group which the slb server certificate belongs.
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    AlicloudCertifacteId string

    Deprecated: Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

    AlicloudCertifacteName string

    Deprecated: Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

    AlicloudCertificateId string
    an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now.
    AlicloudCertificateName string
    the name of the certificate specified by alicloud_certificate_id.but it is not supported on the international site of alibaba cloud now.
    AlicloudCertificateRegionId string
    the region of the certificate specified by alicloud_certificate_id. but it is not supported on the international site of alibaba cloud now.
    Name string
    Name of the Server Certificate.
    PrivateKey string
    the content of privat key of the ssl certificate specified by server_certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    ResourceGroupId string
    The Id of resource group which the slb server certificate belongs.
    ServerCertificate string
    the content of the ssl certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    alicloudCertifacteId String

    Deprecated: Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

    alicloudCertifacteName String

    Deprecated: Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

    alicloudCertificateId String
    an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now.
    alicloudCertificateName String
    the name of the certificate specified by alicloud_certificate_id.but it is not supported on the international site of alibaba cloud now.
    alicloudCertificateRegionId String
    the region of the certificate specified by alicloud_certificate_id. but it is not supported on the international site of alibaba cloud now.
    name String
    Name of the Server Certificate.
    privateKey String
    the content of privat key of the ssl certificate specified by server_certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    resourceGroupId String
    The Id of resource group which the slb server certificate belongs.
    serverCertificate String
    the content of the ssl certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    alicloudCertifacteId string

    Deprecated: Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

    alicloudCertifacteName string

    Deprecated: Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

    alicloudCertificateId string
    an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now.
    alicloudCertificateName string
    the name of the certificate specified by alicloud_certificate_id.but it is not supported on the international site of alibaba cloud now.
    alicloudCertificateRegionId string
    the region of the certificate specified by alicloud_certificate_id. but it is not supported on the international site of alibaba cloud now.
    name string
    Name of the Server Certificate.
    privateKey string
    the content of privat key of the ssl certificate specified by server_certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    resourceGroupId string
    The Id of resource group which the slb server certificate belongs.
    serverCertificate string
    the content of the ssl certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    tags {[key: string]: any}
    A mapping of tags to assign to the resource.
    alicloud_certifacte_id str

    Deprecated: Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

    alicloud_certifacte_name str

    Deprecated: Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

    alicloud_certificate_id str
    an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now.
    alicloud_certificate_name str
    the name of the certificate specified by alicloud_certificate_id.but it is not supported on the international site of alibaba cloud now.
    alicloud_certificate_region_id str
    the region of the certificate specified by alicloud_certificate_id. but it is not supported on the international site of alibaba cloud now.
    name str
    Name of the Server Certificate.
    private_key str
    the content of privat key of the ssl certificate specified by server_certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    resource_group_id str
    The Id of resource group which the slb server certificate belongs.
    server_certificate str
    the content of the ssl certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    tags Mapping[str, Any]
    A mapping of tags to assign to the resource.
    alicloudCertifacteId String

    Deprecated: Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

    alicloudCertifacteName String

    Deprecated: Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

    alicloudCertificateId String
    an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now.
    alicloudCertificateName String
    the name of the certificate specified by alicloud_certificate_id.but it is not supported on the international site of alibaba cloud now.
    alicloudCertificateRegionId String
    the region of the certificate specified by alicloud_certificate_id. but it is not supported on the international site of alibaba cloud now.
    name String
    Name of the Server Certificate.
    privateKey String
    the content of privat key of the ssl certificate specified by server_certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    resourceGroupId String
    The Id of resource group which the slb server certificate belongs.
    serverCertificate String
    the content of the ssl certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    tags Map<Any>
    A mapping of tags to assign to the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServerCertificate resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ServerCertificate Resource

    Get an existing ServerCertificate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ServerCertificateState, opts?: CustomResourceOptions): ServerCertificate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alicloud_certifacte_id: Optional[str] = None,
            alicloud_certifacte_name: Optional[str] = None,
            alicloud_certificate_id: Optional[str] = None,
            alicloud_certificate_name: Optional[str] = None,
            alicloud_certificate_region_id: Optional[str] = None,
            name: Optional[str] = None,
            private_key: Optional[str] = None,
            resource_group_id: Optional[str] = None,
            server_certificate: Optional[str] = None,
            tags: Optional[Mapping[str, Any]] = None) -> ServerCertificate
    func GetServerCertificate(ctx *Context, name string, id IDInput, state *ServerCertificateState, opts ...ResourceOption) (*ServerCertificate, error)
    public static ServerCertificate Get(string name, Input<string> id, ServerCertificateState? state, CustomResourceOptions? opts = null)
    public static ServerCertificate get(String name, Output<String> id, ServerCertificateState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AlicloudCertifacteId string

    Deprecated: Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

    AlicloudCertifacteName string

    Deprecated: Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

    AlicloudCertificateId string
    an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now.
    AlicloudCertificateName string
    the name of the certificate specified by alicloud_certificate_id.but it is not supported on the international site of alibaba cloud now.
    AlicloudCertificateRegionId string
    the region of the certificate specified by alicloud_certificate_id. but it is not supported on the international site of alibaba cloud now.
    Certificate string
    the content of the ssl certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    Name string
    Name of the Server Certificate.
    PrivateKey string
    the content of privat key of the ssl certificate specified by server_certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    ResourceGroupId string
    The Id of resource group which the slb server certificate belongs.
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    AlicloudCertifacteId string

    Deprecated: Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

    AlicloudCertifacteName string

    Deprecated: Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

    AlicloudCertificateId string
    an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now.
    AlicloudCertificateName string
    the name of the certificate specified by alicloud_certificate_id.but it is not supported on the international site of alibaba cloud now.
    AlicloudCertificateRegionId string
    the region of the certificate specified by alicloud_certificate_id. but it is not supported on the international site of alibaba cloud now.
    Name string
    Name of the Server Certificate.
    PrivateKey string
    the content of privat key of the ssl certificate specified by server_certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    ResourceGroupId string
    The Id of resource group which the slb server certificate belongs.
    ServerCertificate string
    the content of the ssl certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    alicloudCertifacteId String

    Deprecated: Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

    alicloudCertifacteName String

    Deprecated: Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

    alicloudCertificateId String
    an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now.
    alicloudCertificateName String
    the name of the certificate specified by alicloud_certificate_id.but it is not supported on the international site of alibaba cloud now.
    alicloudCertificateRegionId String
    the region of the certificate specified by alicloud_certificate_id. but it is not supported on the international site of alibaba cloud now.
    name String
    Name of the Server Certificate.
    privateKey String
    the content of privat key of the ssl certificate specified by server_certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    resourceGroupId String
    The Id of resource group which the slb server certificate belongs.
    serverCertificate String
    the content of the ssl certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    alicloudCertifacteId string

    Deprecated: Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

    alicloudCertifacteName string

    Deprecated: Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

    alicloudCertificateId string
    an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now.
    alicloudCertificateName string
    the name of the certificate specified by alicloud_certificate_id.but it is not supported on the international site of alibaba cloud now.
    alicloudCertificateRegionId string
    the region of the certificate specified by alicloud_certificate_id. but it is not supported on the international site of alibaba cloud now.
    name string
    Name of the Server Certificate.
    privateKey string
    the content of privat key of the ssl certificate specified by server_certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    resourceGroupId string
    The Id of resource group which the slb server certificate belongs.
    serverCertificate string
    the content of the ssl certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    tags {[key: string]: any}
    A mapping of tags to assign to the resource.
    alicloud_certifacte_id str

    Deprecated: Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

    alicloud_certifacte_name str

    Deprecated: Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

    alicloud_certificate_id str
    an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now.
    alicloud_certificate_name str
    the name of the certificate specified by alicloud_certificate_id.but it is not supported on the international site of alibaba cloud now.
    alicloud_certificate_region_id str
    the region of the certificate specified by alicloud_certificate_id. but it is not supported on the international site of alibaba cloud now.
    name str
    Name of the Server Certificate.
    private_key str
    the content of privat key of the ssl certificate specified by server_certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    resource_group_id str
    The Id of resource group which the slb server certificate belongs.
    server_certificate str
    the content of the ssl certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    tags Mapping[str, Any]
    A mapping of tags to assign to the resource.
    alicloudCertifacteId String

    Deprecated: Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.

    alicloudCertifacteName String

    Deprecated: Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.

    alicloudCertificateId String
    an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now.
    alicloudCertificateName String
    the name of the certificate specified by alicloud_certificate_id.but it is not supported on the international site of alibaba cloud now.
    alicloudCertificateRegionId String
    the region of the certificate specified by alicloud_certificate_id. but it is not supported on the international site of alibaba cloud now.
    name String
    Name of the Server Certificate.
    privateKey String
    the content of privat key of the ssl certificate specified by server_certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    resourceGroupId String
    The Id of resource group which the slb server certificate belongs.
    serverCertificate String
    the content of the ssl certificate. where alicloud_certificate_id is null, it is required, otherwise it is ignored.
    tags Map<Any>
    A mapping of tags to assign to the resource.

    Import

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

    $ pulumi import alicloud:slb/serverCertificate:ServerCertificate example abc123456
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi