Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Use this data source to query detailed information of certificates
Example Usage
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.getCertificatesOutput({
ids: fooCertificate.map(__item => __item.id),
});
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.get_certificates_output(ids=[__item.id for __item in foo_certificate])
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.GetCertificatesOutput(ctx, clb.GetCertificatesOutputArgs{
Ids: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:clb-getCertificates:getCertificates.pp:16,9-29),
}, nil);
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using 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.GetCertificates.Invoke(new()
{
Ids = fooCertificate.Select(__item => __item.Id).ToList(),
});
});
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.GetCertificatesArgs;
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.getCertificates(GetCertificatesArgs.builder()
.ids(fooCertificate.stream().map(element -> element.id()).collect(toList()))
.build());
}
}
Example coming soon!
Using getCertificates
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 getCertificates(args: GetCertificatesArgs, opts?: InvokeOptions): Promise<GetCertificatesResult>
function getCertificatesOutput(args: GetCertificatesOutputArgs, opts?: InvokeOptions): Output<GetCertificatesResult>def get_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[GetCertificatesTag]] = None,
opts: Optional[InvokeOptions] = None) -> GetCertificatesResult
def get_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[GetCertificatesTagArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCertificatesResult]func GetCertificates(ctx *Context, args *GetCertificatesArgs, opts ...InvokeOption) (*GetCertificatesResult, error)
func GetCertificatesOutput(ctx *Context, args *GetCertificatesOutputArgs, opts ...InvokeOption) GetCertificatesResultOutput> Note: This function is named GetCertificates in the Go SDK.
public static class GetCertificates
{
public static Task<GetCertificatesResult> InvokeAsync(GetCertificatesArgs args, InvokeOptions? opts = null)
public static Output<GetCertificatesResult> Invoke(GetCertificatesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCertificatesResult> getCertificates(GetCertificatesArgs args, InvokeOptions options)
public static Output<GetCertificatesResult> getCertificates(GetCertificatesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:clb/getCertificates:getCertificates
arguments:
# arguments dictionaryThe following arguments are supported:
- Certificate
Name string - The name of the Certificate.
- Ids List<string>
- The list of Certificate IDs.
- Name
Regex string - The Name Regex of Certificate.
- Output
File string - File name where to save data source results.
- Project
Name string - The ProjectName of Certificate.
-
List<Get
Certificates Tag> - Tags.
- Certificate
Name string - The name of the Certificate.
- Ids []string
- The list of Certificate IDs.
- Name
Regex string - The Name Regex of Certificate.
- Output
File string - File name where to save data source results.
- Project
Name string - The ProjectName of Certificate.
-
[]Get
Certificates Tag - Tags.
- certificate
Name String - The name of the Certificate.
- ids List<String>
- The list of Certificate IDs.
- name
Regex String - The Name Regex of Certificate.
- output
File String - File name where to save data source results.
- project
Name String - The ProjectName of Certificate.
-
List<Get
Certificates Tag> - Tags.
- certificate
Name string - The name of the Certificate.
- ids string[]
- The list of Certificate IDs.
- name
Regex string - The Name Regex of Certificate.
- output
File string - File name where to save data source results.
- project
Name string - The ProjectName of Certificate.
-
Get
Certificates Tag[] - 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.
-
Sequence[Get
Certificates Tag] - Tags.
- certificate
Name String - The name of the Certificate.
- ids List<String>
- The list of Certificate IDs.
- name
Regex String - The Name Regex of Certificate.
- output
File String - File name where to save data source results.
- project
Name String - The ProjectName of Certificate.
- List<Property Map>
- Tags.
getCertificates Result
The following output properties are available:
- Certificates
List<Get
Certificates Certificate> - The collection of Certificate query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of Certificate query.
- Certificate
Name string - The name of the Certificate.
- Ids List<string>
- Name
Regex string - Output
File string - Project
Name string - The ProjectName of the Certificate.
-
List<Get
Certificates Tag> - Tags.
- Certificates
[]Get
Certificates Certificate - The collection of Certificate query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of Certificate query.
- Certificate
Name string - The name of the Certificate.
- Ids []string
- Name
Regex string - Output
File string - Project
Name string - The ProjectName of the Certificate.
-
[]Get
Certificates Tag - Tags.
- certificates
List<Get
Certificates Certificate> - The collection of Certificate query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of Certificate query.
- certificate
Name String - The name of the Certificate.
- ids List<String>
- name
Regex String - output
File String - project
Name String - The ProjectName of the Certificate.
-
List<Get
Certificates Tag> - Tags.
- certificates
Get
Certificates Certificate[] - The collection of Certificate query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of Certificate query.
- certificate
Name string - The name of the Certificate.
- ids string[]
- name
Regex string - output
File string - project
Name string - The ProjectName of the Certificate.
-
Get
Certificates Tag[] - Tags.
- certificates
Sequence[Get
Certificates Certificate] - 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.
-
Sequence[Get
Certificates Tag] - Tags.
- certificates List<Property Map>
- The collection of Certificate query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of Certificate query.
- certificate
Name String - The name of the Certificate.
- ids List<String>
- name
Regex String - output
File String - project
Name String - The ProjectName of the Certificate.
- List<Property Map>
- Tags.
Supporting Types
GetCertificatesCertificate
- Certificate
Id string - The ID of the Certificate.
- Certificate
Name string - The name of the Certificate.
- Create
Time string - The create time of the Certificate.
- Description string
- The description of the Certificate.
- Domain
Name string - The domain name of the Certificate.
- Expired
At string - The expire time of the Certificate.
- Id string
- The ID of the Certificate.
- Listeners List<string>
- The ID list of the Listener.
- Project
Name string - The ProjectName of Certificate.
-
List<Get
Certificates Certificate Tag> - Tags.
- Certificate
Id string - The ID of the Certificate.
- Certificate
Name string - The name of the Certificate.
- Create
Time string - The create time of the Certificate.
- Description string
- The description of the Certificate.
- Domain
Name string - The domain name of the Certificate.
- Expired
At string - The expire time of the Certificate.
- Id string
- The ID of the Certificate.
- Listeners []string
- The ID list of the Listener.
- Project
Name string - The ProjectName of Certificate.
-
[]Get
Certificates Certificate Tag - Tags.
- certificate
Id String - The ID of the Certificate.
- certificate
Name String - The name of the Certificate.
- create
Time String - The create time of the Certificate.
- description String
- The description of the Certificate.
- domain
Name String - The domain name of the Certificate.
- expired
At String - The expire time of the Certificate.
- id String
- The ID of the Certificate.
- listeners List<String>
- The ID list of the Listener.
- project
Name String - The ProjectName of Certificate.
-
List<Get
Certificates Certificate Tag> - Tags.
- certificate
Id string - The ID of the Certificate.
- certificate
Name string - The name of the Certificate.
- create
Time string - The create time of the Certificate.
- description string
- The description of the Certificate.
- domain
Name string - The domain name of the Certificate.
- expired
At string - The expire time of the Certificate.
- id string
- The ID of the Certificate.
- listeners string[]
- The ID list of the Listener.
- project
Name string - The ProjectName of Certificate.
-
Get
Certificates Certificate Tag[] - 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.
-
Sequence[Get
Certificates Certificate Tag] - Tags.
- certificate
Id String - The ID of the Certificate.
- certificate
Name String - The name of the Certificate.
- create
Time String - The create time of the Certificate.
- description String
- The description of the Certificate.
- domain
Name String - The domain name of the Certificate.
- expired
At String - The expire time of the Certificate.
- id String
- The ID of the Certificate.
- listeners List<String>
- The ID list of the Listener.
- project
Name String - The ProjectName of Certificate.
- List<Property Map>
- Tags.
GetCertificatesCertificateTag
GetCertificatesTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
