1. Packages
  2. Volcengine
  3. API Docs
  4. clb
  5. Certificates
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

volcengine.clb.Certificates

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

    Use this data source to query detailed information of certificates

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    using Volcengine = Volcengine.Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var fooCertificate = new List<Volcengine.Clb.Certificate>();
        for (var rangeIndex = 0; rangeIndex < 3; rangeIndex++)
        {
            var range = new { Value = rangeIndex };
            fooCertificate.Add(new Volcengine.Clb.Certificate($"fooCertificate-{range.Value}", new()
            {
                CertificateName = $"acc-test-certificate-{range.Value}",
                Description = "acc-test-demo",
                PublicKey = @"-----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-----",
                ProjectName = "default",
                Tags = new[]
                {
                    new Volcengine.Clb.Inputs.CertificateTagArgs
                    {
                        Key = "k1",
                        Value = "v1",
                    },
                },
            }));
        }
        var fooCertificates = Volcengine.Clb.Certificates.Invoke(new()
        {
            Ids = fooCertificate.Select(__item => __item.Id).ToList(),
        });
    
    });
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"
    )
    func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
    var fooCertificate []*clb.Certificate
    for index := 0; index < 3; index++ {
        key0 := index
        val0 := index
    __res, err := clb.NewCertificate(ctx, fmt.Sprintf("fooCertificate-%v", key0), &clb.CertificateArgs{
    CertificateName: pulumi.String(fmt.Sprintf("acc-test-certificate-%v", val0)),
    Description: pulumi.String("acc-test-demo"),
    PublicKey: 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-----`),
    ProjectName: pulumi.String("default"),
    Tags: clb.CertificateTagArray{
    &clb.CertificateTagArgs{
    Key: pulumi.String("k1"),
    Value: pulumi.String("v1"),
    },
    },
    })
    if err != nil {
    return err
    }
    fooCertificate = append(fooCertificate, __res)
    }
    _ = clb.CertificatesOutput(ctx, clb.CertificatesOutputArgs{
    Ids: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:clb-certificates:Certificates.pp:16,9-29),
    }, nil);
    return nil
    })
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.clb.Certificate;
    import com.pulumi.volcengine.clb.CertificateArgs;
    import com.pulumi.volcengine.clb.inputs.CertificateTagArgs;
    import com.pulumi.volcengine.clb.ClbFunctions;
    import com.pulumi.volcengine.clb.inputs.CertificatesArgs;
    import com.pulumi.codegen.internal.KeyedValue;
    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) {
            for (var i = 0; i < 3; i++) {
                new Certificate("fooCertificate-" + i, CertificateArgs.builder()            
                    .certificateName(String.format("acc-test-certificate-%s", range.value()))
                    .description("acc-test-demo")
                    .publicKey("""
    -----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-----                """)
                    .projectName("default")
                    .tags(CertificateTagArgs.builder()
                        .key("k1")
                        .value("v1")
                        .build())
                    .build());
    
            
    }
            final var fooCertificates = ClbFunctions.Certificates(CertificatesArgs.builder()
                .ids(fooCertificate.stream().map(element -> element.id()).collect(toList()))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo_certificate = []
    for range in [{"value": i} for i in range(0, 3)]:
        foo_certificate.append(volcengine.clb.Certificate(f"fooCertificate-{range['value']}",
            certificate_name=f"acc-test-certificate-{range['value']}",
            description="acc-test-demo",
            public_key="""-----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-----""",
            project_name="default",
            tags=[volcengine.clb.CertificateTagArgs(
                key="k1",
                value="v1",
            )]))
    foo_certificates = volcengine.clb.certificates_output(ids=[__item.id for __item in foo_certificate])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    import * as volcengine from "@volcengine/pulumi";
    
    const fooCertificate: volcengine.clb.Certificate[] = [];
    for (const range = {value: 0}; range.value < 3; range.value++) {
        fooCertificate.push(new volcengine.clb.Certificate(`fooCertificate-${range.value}`, {
            certificateName: `acc-test-certificate-${range.value}`,
            description: "acc-test-demo",
            publicKey: `-----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-----`,
            projectName: "default",
            tags: [{
                key: "k1",
                value: "v1",
            }],
        }));
    }
    const fooCertificates = volcengine.clb.CertificatesOutput({
        ids: fooCertificate.map(__item => __item.id),
    });
    

    Coming soon!

    Using Certificates

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function certificates(args: CertificatesArgs, opts?: InvokeOptions): Promise<CertificatesResult>
    function certificatesOutput(args: CertificatesOutputArgs, opts?: InvokeOptions): Output<CertificatesResult>
    def certificates(certificate_name: Optional[str] = None,
                     ids: Optional[Sequence[str]] = None,
                     name_regex: Optional[str] = None,
                     output_file: Optional[str] = None,
                     project_name: Optional[str] = None,
                     tags: Optional[Sequence[CertificatesTag]] = None,
                     opts: Optional[InvokeOptions] = None) -> CertificatesResult
    def certificates_output(certificate_name: Optional[pulumi.Input[str]] = None,
                     ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                     name_regex: Optional[pulumi.Input[str]] = None,
                     output_file: Optional[pulumi.Input[str]] = None,
                     project_name: Optional[pulumi.Input[str]] = None,
                     tags: Optional[pulumi.Input[Sequence[pulumi.Input[CertificatesTagArgs]]]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[CertificatesResult]
    func Certificates(ctx *Context, args *CertificatesArgs, opts ...InvokeOption) (*CertificatesResult, error)
    func CertificatesOutput(ctx *Context, args *CertificatesOutputArgs, opts ...InvokeOption) CertificatesResultOutput
    public static class Certificates 
    {
        public static Task<CertificatesResult> InvokeAsync(CertificatesArgs args, InvokeOptions? opts = null)
        public static Output<CertificatesResult> Invoke(CertificatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<CertificatesResult> certificates(CertificatesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:clb:Certificates
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CertificateName string
    The name of the Certificate.
    Ids List<string>
    The list of Certificate IDs.
    NameRegex string
    The Name Regex of Certificate.
    OutputFile string
    File name where to save data source results.
    ProjectName string
    The ProjectName of Certificate.
    Tags List<Volcengine.CertificatesTag>
    Tags.
    CertificateName string
    The name of the Certificate.
    Ids []string
    The list of Certificate IDs.
    NameRegex string
    The Name Regex of Certificate.
    OutputFile string
    File name where to save data source results.
    ProjectName string
    The ProjectName of Certificate.
    Tags []CertificatesTag
    Tags.
    certificateName String
    The name of the Certificate.
    ids List<String>
    The list of Certificate IDs.
    nameRegex String
    The Name Regex of Certificate.
    outputFile String
    File name where to save data source results.
    projectName String
    The ProjectName of Certificate.
    tags List<CertificatesTag>
    Tags.
    certificateName string
    The name of the Certificate.
    ids string[]
    The list of Certificate IDs.
    nameRegex string
    The Name Regex of Certificate.
    outputFile string
    File name where to save data source results.
    projectName string
    The ProjectName of Certificate.
    tags CertificatesTag[]
    Tags.
    certificate_name str
    The name of the Certificate.
    ids Sequence[str]
    The list of Certificate IDs.
    name_regex str
    The Name Regex of Certificate.
    output_file str
    File name where to save data source results.
    project_name str
    The ProjectName of Certificate.
    tags Sequence[CertificatesTag]
    Tags.
    certificateName String
    The name of the Certificate.
    ids List<String>
    The list of Certificate IDs.
    nameRegex String
    The Name Regex of Certificate.
    outputFile String
    File name where to save data source results.
    projectName String
    The ProjectName of Certificate.
    tags List<Property Map>
    Tags.

    Certificates Result

    The following output properties are available:

    Certificates List<Volcengine.CertificatesCertificate>
    The collection of Certificate query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of Certificate query.
    CertificateName string
    The name of the Certificate.
    Ids List<string>
    NameRegex string
    OutputFile string
    ProjectName string
    The ProjectName of the Certificate.
    Tags List<Volcengine.CertificatesTag>
    Tags.
    Certificates []CertificatesCertificate
    The collection of Certificate query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of Certificate query.
    CertificateName string
    The name of the Certificate.
    Ids []string
    NameRegex string
    OutputFile string
    ProjectName string
    The ProjectName of the Certificate.
    Tags []CertificatesTag
    Tags.
    certificates List<CertificatesCertificate>
    The collection of Certificate query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of Certificate query.
    certificateName String
    The name of the Certificate.
    ids List<String>
    nameRegex String
    outputFile String
    projectName String
    The ProjectName of the Certificate.
    tags List<CertificatesTag>
    Tags.
    certificates CertificatesCertificate[]
    The collection of Certificate query.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of Certificate query.
    certificateName string
    The name of the Certificate.
    ids string[]
    nameRegex string
    outputFile string
    projectName string
    The ProjectName of the Certificate.
    tags CertificatesTag[]
    Tags.
    certificates Sequence[CertificatesCertificate]
    The collection of Certificate query.
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    The total count of Certificate query.
    certificate_name str
    The name of the Certificate.
    ids Sequence[str]
    name_regex str
    output_file str
    project_name str
    The ProjectName of the Certificate.
    tags Sequence[CertificatesTag]
    Tags.
    certificates List<Property Map>
    The collection of Certificate query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of Certificate query.
    certificateName String
    The name of the Certificate.
    ids List<String>
    nameRegex String
    outputFile String
    projectName String
    The ProjectName of the Certificate.
    tags List<Property Map>
    Tags.

    Supporting Types

    CertificatesCertificate

    CertificateId string
    The ID of the Certificate.
    CertificateName string
    The name of the Certificate.
    CreateTime string
    The create time of the Certificate.
    Description string
    The description of the Certificate.
    DomainName string
    The domain name of the Certificate.
    ExpiredAt string
    The expire time of the Certificate.
    Id string
    The ID of the Certificate.
    Listeners List<string>
    The ID list of the Listener.
    ProjectName string
    The ProjectName of Certificate.
    Tags List<Volcengine.CertificatesCertificateTag>
    Tags.
    CertificateId string
    The ID of the Certificate.
    CertificateName string
    The name of the Certificate.
    CreateTime string
    The create time of the Certificate.
    Description string
    The description of the Certificate.
    DomainName string
    The domain name of the Certificate.
    ExpiredAt string
    The expire time of the Certificate.
    Id string
    The ID of the Certificate.
    Listeners []string
    The ID list of the Listener.
    ProjectName string
    The ProjectName of Certificate.
    Tags []CertificatesCertificateTag
    Tags.
    certificateId String
    The ID of the Certificate.
    certificateName String
    The name of the Certificate.
    createTime String
    The create time of the Certificate.
    description String
    The description of the Certificate.
    domainName String
    The domain name of the Certificate.
    expiredAt String
    The expire time of the Certificate.
    id String
    The ID of the Certificate.
    listeners List<String>
    The ID list of the Listener.
    projectName String
    The ProjectName of Certificate.
    tags List<CertificatesCertificateTag>
    Tags.
    certificateId string
    The ID of the Certificate.
    certificateName string
    The name of the Certificate.
    createTime string
    The create time of the Certificate.
    description string
    The description of the Certificate.
    domainName string
    The domain name of the Certificate.
    expiredAt string
    The expire time of the Certificate.
    id string
    The ID of the Certificate.
    listeners string[]
    The ID list of the Listener.
    projectName string
    The ProjectName of Certificate.
    tags CertificatesCertificateTag[]
    Tags.
    certificate_id str
    The ID of the Certificate.
    certificate_name str
    The name of the Certificate.
    create_time str
    The create time of the Certificate.
    description str
    The description of the Certificate.
    domain_name str
    The domain name of the Certificate.
    expired_at str
    The expire time of the Certificate.
    id str
    The ID of the Certificate.
    listeners Sequence[str]
    The ID list of the Listener.
    project_name str
    The ProjectName of Certificate.
    tags Sequence[CertificatesCertificateTag]
    Tags.
    certificateId String
    The ID of the Certificate.
    certificateName String
    The name of the Certificate.
    createTime String
    The create time of the Certificate.
    description String
    The description of the Certificate.
    domainName String
    The domain name of the Certificate.
    expiredAt String
    The expire time of the Certificate.
    id String
    The ID of the Certificate.
    listeners List<String>
    The ID list of the Listener.
    projectName String
    The ProjectName of Certificate.
    tags List<Property Map>
    Tags.

    CertificatesCertificateTag

    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.
    key string
    The Key of Tags.
    value string
    The Value of Tags.
    key str
    The Key of Tags.
    value str
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.

    CertificatesTag

    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.
    key string
    The Key of Tags.
    value string
    The Value of Tags.
    key str
    The Key of Tags.
    value str
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine