Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Use this data source to query detailed information of alb all certificates
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.alb.getAllCertificates({
ids: [
"cert-1pf4a8k8tokcg845wfariphc2",
"cert-xoekc6lpu9s054ov5eohm3bj",
],
projectName: "default",
tags: [{
key: "key1",
value: "value2",
}],
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.alb.get_all_certificates(ids=[
"cert-1pf4a8k8tokcg845wfariphc2",
"cert-xoekc6lpu9s054ov5eohm3bj",
],
project_name="default",
tags=[volcengine.alb.GetAllCertificatesTagArgs(
key="key1",
value="value2",
)])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/alb"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := alb.GetAllCertificates(ctx, &alb.GetAllCertificatesArgs{
Ids: []string{
"cert-1pf4a8k8tokcg845wfariphc2",
"cert-xoekc6lpu9s054ov5eohm3bj",
},
ProjectName: pulumi.StringRef("default"),
Tags: []alb.GetAllCertificatesTag{
{
Key: "key1",
Value: "value2",
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Alb.GetAllCertificates.Invoke(new()
{
Ids = new[]
{
"cert-1pf4a8k8tokcg845wfariphc2",
"cert-xoekc6lpu9s054ov5eohm3bj",
},
ProjectName = "default",
Tags = new[]
{
new Volcengine.Alb.Inputs.GetAllCertificatesTagInputArgs
{
Key = "key1",
Value = "value2",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.alb.AlbFunctions;
import com.pulumi.volcengine.alb.inputs.GetAllCertificatesArgs;
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) {
final var default = AlbFunctions.getAllCertificates(GetAllCertificatesArgs.builder()
.ids(
"cert-1pf4a8k8tokcg845wfariphc2",
"cert-xoekc6lpu9s054ov5eohm3bj")
.projectName("default")
.tags(GetAllCertificatesTagArgs.builder()
.key("key1")
.value("value2")
.build())
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:alb:getAllCertificates
Arguments:
ids:
- cert-1pf4a8k8tokcg845wfariphc2
- cert-xoekc6lpu9s054ov5eohm3bj
projectName: default
tags:
- key: key1
value: value2
Using getAllCertificates
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 getAllCertificates(args: GetAllCertificatesArgs, opts?: InvokeOptions): Promise<GetAllCertificatesResult>
function getAllCertificatesOutput(args: GetAllCertificatesOutputArgs, opts?: InvokeOptions): Output<GetAllCertificatesResult>def get_all_certificates(certificate_name: Optional[str] = None,
certificate_type: 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[GetAllCertificatesTag]] = None,
opts: Optional[InvokeOptions] = None) -> GetAllCertificatesResult
def get_all_certificates_output(certificate_name: Optional[pulumi.Input[str]] = None,
certificate_type: 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[GetAllCertificatesTagArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAllCertificatesResult]func GetAllCertificates(ctx *Context, args *GetAllCertificatesArgs, opts ...InvokeOption) (*GetAllCertificatesResult, error)
func GetAllCertificatesOutput(ctx *Context, args *GetAllCertificatesOutputArgs, opts ...InvokeOption) GetAllCertificatesResultOutput> Note: This function is named GetAllCertificates in the Go SDK.
public static class GetAllCertificates
{
public static Task<GetAllCertificatesResult> InvokeAsync(GetAllCertificatesArgs args, InvokeOptions? opts = null)
public static Output<GetAllCertificatesResult> Invoke(GetAllCertificatesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAllCertificatesResult> getAllCertificates(GetAllCertificatesArgs args, InvokeOptions options)
public static Output<GetAllCertificatesResult> getAllCertificates(GetAllCertificatesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:alb/getAllCertificates:getAllCertificates
arguments:
# arguments dictionaryThe following arguments are supported:
- Certificate
Name string - The Name of Certificate.
- Certificate
Type string - The type of Certificate. Valid values:
CA,Server. - Ids List<string>
- A list of IDs.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name of Certificate.
-
List<Get
All Certificates Tag> - Tags.
- Certificate
Name string - The Name of Certificate.
- Certificate
Type string - The type of Certificate. Valid values:
CA,Server. - Ids []string
- A list of IDs.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name of Certificate.
-
[]Get
All Certificates Tag - Tags.
- certificate
Name String - The Name of Certificate.
- certificate
Type String - The type of Certificate. Valid values:
CA,Server. - ids List<String>
- A list of IDs.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project
Name String - The project name of Certificate.
-
List<Get
All Certificates Tag> - Tags.
- certificate
Name string - The Name of Certificate.
- certificate
Type string - The type of Certificate. Valid values:
CA,Server. - ids string[]
- A list of IDs.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- project
Name string - The project name of Certificate.
-
Get
All Certificates Tag[] - Tags.
- certificate_
name str - The Name of Certificate.
- certificate_
type str - The type of Certificate. Valid values:
CA,Server. - ids Sequence[str]
- A list of IDs.
- name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- project_
name str - The project name of Certificate.
-
Sequence[Get
All Certificates Tag] - Tags.
- certificate
Name String - The Name of Certificate.
- certificate
Type String - The type of Certificate. Valid values:
CA,Server. - ids List<String>
- A list of IDs.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project
Name String - The project name of Certificate.
- List<Property Map>
- Tags.
getAllCertificates Result
The following output properties are available:
- Certificates
List<Get
All 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 query.
- Certificate
Name string - The name of the Certificate.
- Certificate
Type string - The type of the Certificate.
- Ids List<string>
- Name
Regex string - Output
File string - Project
Name string - The ProjectName of the Certificate.
-
List<Get
All Certificates Tag> - Tags.
- Certificates
[]Get
All 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 query.
- Certificate
Name string - The name of the Certificate.
- Certificate
Type string - The type of the Certificate.
- Ids []string
- Name
Regex string - Output
File string - Project
Name string - The ProjectName of the Certificate.
-
[]Get
All Certificates Tag - Tags.
- certificates
List<Get
All 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 query.
- certificate
Name String - The name of the Certificate.
- certificate
Type String - The type of the Certificate.
- ids List<String>
- name
Regex String - output
File String - project
Name String - The ProjectName of the Certificate.
-
List<Get
All Certificates Tag> - Tags.
- certificates
Get
All 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 query.
- certificate
Name string - The name of the Certificate.
- certificate
Type string - The type of the Certificate.
- ids string[]
- name
Regex string - output
File string - project
Name string - The ProjectName of the Certificate.
-
Get
All Certificates Tag[] - Tags.
- certificates
Sequence[Get
All 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 query.
- certificate_
name str - The name of the Certificate.
- certificate_
type str - The type of the Certificate.
- ids Sequence[str]
- name_
regex str - output_
file str - project_
name str - The ProjectName of the Certificate.
-
Sequence[Get
All 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 query.
- certificate
Name String - The name of the Certificate.
- certificate
Type String - The type 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
GetAllCertificatesCertificate
- Certificate
Id string - The ID of the Certificate.
- Certificate
Name string - The Name of Certificate.
- Certificate
Type string - The type of Certificate. Valid values:
CA,Server. - 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 project name of Certificate.
- San string
- The list of extended domain names for the certificate, separated by English commas ',', including (commonName, DnsName, IP).
- Status string
- The status of the Certificate.
-
List<Get
All Certificates Certificate Tag> - Tags.
- Certificate
Id string - The ID of the Certificate.
- Certificate
Name string - The Name of Certificate.
- Certificate
Type string - The type of Certificate. Valid values:
CA,Server. - 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 project name of Certificate.
- San string
- The list of extended domain names for the certificate, separated by English commas ',', including (commonName, DnsName, IP).
- Status string
- The status of the Certificate.
-
[]Get
All Certificates Certificate Tag - Tags.
- certificate
Id String - The ID of the Certificate.
- certificate
Name String - The Name of Certificate.
- certificate
Type String - The type of Certificate. Valid values:
CA,Server. - 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 project name of Certificate.
- san String
- The list of extended domain names for the certificate, separated by English commas ',', including (commonName, DnsName, IP).
- status String
- The status of the Certificate.
-
List<Get
All Certificates Certificate Tag> - Tags.
- certificate
Id string - The ID of the Certificate.
- certificate
Name string - The Name of Certificate.
- certificate
Type string - The type of Certificate. Valid values:
CA,Server. - 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 project name of Certificate.
- san string
- The list of extended domain names for the certificate, separated by English commas ',', including (commonName, DnsName, IP).
- status string
- The status of the Certificate.
-
Get
All Certificates Certificate Tag[] - Tags.
- certificate_
id str - The ID of the Certificate.
- certificate_
name str - The Name of Certificate.
- certificate_
type str - The type of Certificate. Valid values:
CA,Server. - 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 project name of Certificate.
- san str
- The list of extended domain names for the certificate, separated by English commas ',', including (commonName, DnsName, IP).
- status str
- The status of the Certificate.
-
Sequence[Get
All Certificates Certificate Tag] - Tags.
- certificate
Id String - The ID of the Certificate.
- certificate
Name String - The Name of Certificate.
- certificate
Type String - The type of Certificate. Valid values:
CA,Server. - 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 project name of Certificate.
- san String
- The list of extended domain names for the certificate, separated by English commas ',', including (commonName, DnsName, IP).
- status String
- The status of the Certificate.
- List<Property Map>
- Tags.
GetAllCertificatesCertificateTag
GetAllCertificatesTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
