Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.alb.Certificates
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.Certificates({
    certificateName: "tf-test",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.alb.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.Certificates(ctx, &alb.CertificatesArgs{
			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.Certificates.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.CertificatesArgs;
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.Certificates(CertificatesArgs.builder()
            .certificateName("tf-test")
            .build());
    }
}
variables:
  default:
    fn::invoke:
      Function: volcengine:alb:Certificates
      Arguments:
        certificateName: tf-test
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,
                 output_file: Optional[str] = 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,
                 output_file: Optional[pulumi.Input[str]] = 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) CertificatesResultOutputpublic 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)
public static Output<CertificatesResult> certificates(CertificatesArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:alb:Certificates
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CertificateName string
- The Name of Certificate.
- Ids List<string>
- The list of Certificate IDs.
- OutputFile string
- File name where to save data source results.
- CertificateName string
- The Name of Certificate.
- Ids []string
- The list of Certificate IDs.
- OutputFile string
- File name where to save data source results.
- certificateName String
- The Name of Certificate.
- ids List<String>
- The list of Certificate IDs.
- outputFile String
- File name where to save data source results.
- certificateName string
- The Name of Certificate.
- ids string[]
- The list of Certificate IDs.
- outputFile 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.
- certificateName String
- The Name of Certificate.
- ids List<String>
- The list of Certificate IDs.
- outputFile String
- File name where to save data source results.
Certificates Result
The following output properties are available:
- Certificates
List<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>
- OutputFile string
- 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
- OutputFile string
- 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>
- outputFile String
- 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[]
- outputFile string
- 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]
- output_file str
- 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>
- outputFile String
Supporting Types
CertificatesCertificate 
- CertificateId string
- The ID of the Certificate.
- CertificateName string
- The Name of Certificate.
- CertificateType string
- The type 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 the Certificate.
- Status string
- The status of the Certificate.
- CertificateId string
- The ID of the Certificate.
- CertificateName string
- The Name of Certificate.
- CertificateType string
- The type 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 the Certificate.
- Status string
- The status of the Certificate.
- certificateId String
- The ID of the Certificate.
- certificateName String
- The Name of Certificate.
- certificateType String
- The type 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 the Certificate.
- status String
- The status of the Certificate.
- certificateId string
- The ID of the Certificate.
- certificateName string
- The Name of Certificate.
- certificateType string
- The type 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 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.
- certificateId String
- The ID of the Certificate.
- certificateName String
- The Name of Certificate.
- certificateType String
- The type 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 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 volcengineTerraform Provider.