Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.clb.Certificates
Explore with Pulumi AI
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;
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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: 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/T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2Tc9X4yrlW
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
tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4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HE3+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
rfm1v31v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WLasF6TYlVMgX+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:
- 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<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.
- []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<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.
- 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[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.
Certificates Result
The following output properties are available:
- Certificates
List<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<Certificates
Tag> - Tags.
- Certificates
[]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.
- []Certificates
Tag - Tags.
- certificates
List<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<Certificates
Tag> - Tags.
- certificates
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.
- Certificates
Tag[] - Tags.
- certificates
Sequence[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[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
CertificatesCertificate
- 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<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.
- []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<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.
- 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[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.
CertificatesCertificateTag
CertificatesTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.