Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
volcengine.alb.getCertificates
Explore with Pulumi AI
Use this data source to query detailed information of alb certificates
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.alb.getCertificates({
certificateName: "tf-test",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.alb.get_certificates(certificate_name="tf-test")
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.GetCertificates(ctx, &alb.GetCertificatesArgs{
CertificateName: pulumi.StringRef("tf-test"),
}, 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.GetCertificates.Invoke(new()
{
CertificateName = "tf-test",
});
});
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.GetCertificatesArgs;
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.getCertificates(GetCertificatesArgs.builder()
.certificateName("tf-test")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:alb:getCertificates
Arguments:
certificateName: tf-test
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,
output_file: Optional[str] = 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,
output_file: Optional[pulumi.Input[str]] = 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:alb/getCertificates:getCertificates
arguments:
# arguments dictionary
The following arguments are supported:
- Certificate
Name string - The Name of Certificate.
- Ids List<string>
- The list of Certificate IDs.
- Output
File string - File name where to save data source results.
- Certificate
Name string - The Name of Certificate.
- Ids []string
- The list of Certificate IDs.
- Output
File string - File name where to save data source results.
- certificate
Name String - The Name of Certificate.
- ids List<String>
- The list of Certificate IDs.
- output
File String - File name where to save data source results.
- certificate
Name string - The Name of Certificate.
- ids string[]
- The list of Certificate IDs.
- output
File string - File name where to save data source results.
- certificate_
name str - The Name of Certificate.
- ids Sequence[str]
- The list of Certificate IDs.
- output_
file str - File name where to save data source results.
- certificate
Name String - The Name of Certificate.
- ids List<String>
- The list of Certificate IDs.
- output
File String - File name where to save data source results.
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>
- Output
File string
- 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
- Output
File string
- 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>
- output
File String
- 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[]
- output
File string
- 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]
- output_
file str
- 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>
- output
File String
Supporting Types
GetCertificatesCertificate
- Certificate
Id string - The ID of the Certificate.
- Certificate
Name string - The Name of Certificate.
- Certificate
Type string - The type 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 the Certificate.
- Status string
- The status of the Certificate.
- Certificate
Id string - The ID of the Certificate.
- Certificate
Name string - The Name of Certificate.
- Certificate
Type string - The type 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 the Certificate.
- Status string
- The status of the Certificate.
- certificate
Id String - The ID of the Certificate.
- certificate
Name String - The Name of Certificate.
- certificate
Type String - The type 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 the Certificate.
- status String
- The status of the Certificate.
- certificate
Id string - The ID of the Certificate.
- certificate
Name string - The Name of Certificate.
- certificate
Type string - The type 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 the Certificate.
- status string
- The status of the Certificate.
- certificate_
id str - The ID of the Certificate.
- certificate_
name str - The Name of Certificate.
- certificate_
type str - The type 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 the Certificate.
- status str
- The status of the Certificate.
- certificate
Id String - The ID of the Certificate.
- certificate
Name String - The Name of Certificate.
- certificate
Type String - The type 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 the Certificate.
- status String
- The status of the Certificate.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.