1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getTseGatewayCertificates
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getTseGatewayCertificates

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of tse gateway_certificates

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const gatewayCertificates = tencentcloud.getTseGatewayCertificates({
        filters: [{
            key: "BindDomain",
            value: "example.com",
        }],
        gatewayId: "gateway-ddbb709b",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    gateway_certificates = tencentcloud.get_tse_gateway_certificates(filters=[{
            "key": "BindDomain",
            "value": "example.com",
        }],
        gateway_id="gateway-ddbb709b")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.LookupTseGatewayCertificates(ctx, &tencentcloud.LookupTseGatewayCertificatesArgs{
    			Filters: []tencentcloud.GetTseGatewayCertificatesFilter{
    				{
    					Key:   pulumi.StringRef("BindDomain"),
    					Value: pulumi.StringRef("example.com"),
    				},
    			},
    			GatewayId: "gateway-ddbb709b",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var gatewayCertificates = Tencentcloud.GetTseGatewayCertificates.Invoke(new()
        {
            Filters = new[]
            {
                new Tencentcloud.Inputs.GetTseGatewayCertificatesFilterInputArgs
                {
                    Key = "BindDomain",
                    Value = "example.com",
                },
            },
            GatewayId = "gateway-ddbb709b",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetTseGatewayCertificatesArgs;
    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 gatewayCertificates = TencentcloudFunctions.getTseGatewayCertificates(GetTseGatewayCertificatesArgs.builder()
                .filters(GetTseGatewayCertificatesFilterArgs.builder()
                    .key("BindDomain")
                    .value("example.com")
                    .build())
                .gatewayId("gateway-ddbb709b")
                .build());
    
        }
    }
    
    variables:
      gatewayCertificates:
        fn::invoke:
          function: tencentcloud:getTseGatewayCertificates
          arguments:
            filters:
              - key: BindDomain
                value: example.com
            gatewayId: gateway-ddbb709b
    

    Using getTseGatewayCertificates

    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 getTseGatewayCertificates(args: GetTseGatewayCertificatesArgs, opts?: InvokeOptions): Promise<GetTseGatewayCertificatesResult>
    function getTseGatewayCertificatesOutput(args: GetTseGatewayCertificatesOutputArgs, opts?: InvokeOptions): Output<GetTseGatewayCertificatesResult>
    def get_tse_gateway_certificates(filters: Optional[Sequence[GetTseGatewayCertificatesFilter]] = None,
                                     gateway_id: Optional[str] = None,
                                     id: Optional[str] = None,
                                     result_output_file: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetTseGatewayCertificatesResult
    def get_tse_gateway_certificates_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetTseGatewayCertificatesFilterArgs]]]] = None,
                                     gateway_id: Optional[pulumi.Input[str]] = None,
                                     id: Optional[pulumi.Input[str]] = None,
                                     result_output_file: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetTseGatewayCertificatesResult]
    func LookupTseGatewayCertificates(ctx *Context, args *LookupTseGatewayCertificatesArgs, opts ...InvokeOption) (*LookupTseGatewayCertificatesResult, error)
    func LookupTseGatewayCertificatesOutput(ctx *Context, args *LookupTseGatewayCertificatesOutputArgs, opts ...InvokeOption) LookupTseGatewayCertificatesResultOutput

    > Note: This function is named LookupTseGatewayCertificates in the Go SDK.

    public static class GetTseGatewayCertificates 
    {
        public static Task<GetTseGatewayCertificatesResult> InvokeAsync(GetTseGatewayCertificatesArgs args, InvokeOptions? opts = null)
        public static Output<GetTseGatewayCertificatesResult> Invoke(GetTseGatewayCertificatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTseGatewayCertificatesResult> getTseGatewayCertificates(GetTseGatewayCertificatesArgs args, InvokeOptions options)
    public static Output<GetTseGatewayCertificatesResult> getTseGatewayCertificates(GetTseGatewayCertificatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getTseGatewayCertificates:getTseGatewayCertificates
      arguments:
        # arguments dictionary

    The following arguments are supported:

    GatewayId string
    Gateway ID.
    Filters List<GetTseGatewayCertificatesFilter>
    Filter conditions, valid value: BindDomain, Name.
    Id string
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    ResultOutputFile string
    Used to save results.
    GatewayId string
    Gateway ID.
    Filters []GetTseGatewayCertificatesFilter
    Filter conditions, valid value: BindDomain, Name.
    Id string
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    ResultOutputFile string
    Used to save results.
    gatewayId String
    Gateway ID.
    filters List<GetTseGatewayCertificatesFilter>
    Filter conditions, valid value: BindDomain, Name.
    id String
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    resultOutputFile String
    Used to save results.
    gatewayId string
    Gateway ID.
    filters GetTseGatewayCertificatesFilter[]
    Filter conditions, valid value: BindDomain, Name.
    id string
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    resultOutputFile string
    Used to save results.
    gateway_id str
    Gateway ID.
    filters Sequence[GetTseGatewayCertificatesFilter]
    Filter conditions, valid value: BindDomain, Name.
    id str
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    result_output_file str
    Used to save results.
    gatewayId String
    Gateway ID.
    filters List<Property Map>
    Filter conditions, valid value: BindDomain, Name.
    id String
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    resultOutputFile String
    Used to save results.

    getTseGatewayCertificates Result

    The following output properties are available:

    GatewayId string
    Id string
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    Results List<GetTseGatewayCertificatesResult>
    Result.
    Filters List<GetTseGatewayCertificatesFilter>
    ResultOutputFile string
    GatewayId string
    Id string
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    Results []GetTseGatewayCertificatesResult
    Result.
    Filters []GetTseGatewayCertificatesFilter
    ResultOutputFile string
    gatewayId String
    id String
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    results List<GetTseGatewayCertificatesResult>
    Result.
    filters List<GetTseGatewayCertificatesFilter>
    resultOutputFile String
    gatewayId string
    id string
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    results GetTseGatewayCertificatesResult[]
    Result.
    filters GetTseGatewayCertificatesFilter[]
    resultOutputFile string
    gateway_id str
    id str
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    results Sequence[GetTseGatewayCertificatesResult]
    Result.
    filters Sequence[GetTseGatewayCertificatesFilter]
    result_output_file str
    gatewayId String
    id String
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    results List<Property Map>
    Result.
    filters List<Property Map>
    resultOutputFile String

    Supporting Types

    GetTseGatewayCertificatesFilter

    Key string
    Filter name.
    Value string
    Filter value.
    Key string
    Filter name.
    Value string
    Filter value.
    key String
    Filter name.
    value String
    Filter value.
    key string
    Filter name.
    value string
    Filter value.
    key str
    Filter name.
    value str
    Filter value.
    key String
    Filter name.
    value String
    Filter value.

    GetTseGatewayCertificatesResult

    CertificatesLists List<GetTseGatewayCertificatesResultCertificatesList>
    Certificate list of gateway. Note: This field may return null, indicating that a valid value is not available.
    Total double
    Total count. Note: This field may return null, indicating that a valid value is not available.
    CertificatesLists []GetTseGatewayCertificatesResultCertificatesList
    Certificate list of gateway. Note: This field may return null, indicating that a valid value is not available.
    Total float64
    Total count. Note: This field may return null, indicating that a valid value is not available.
    certificatesLists List<GetTseGatewayCertificatesResultCertificatesList>
    Certificate list of gateway. Note: This field may return null, indicating that a valid value is not available.
    total Double
    Total count. Note: This field may return null, indicating that a valid value is not available.
    certificatesLists GetTseGatewayCertificatesResultCertificatesList[]
    Certificate list of gateway. Note: This field may return null, indicating that a valid value is not available.
    total number
    Total count. Note: This field may return null, indicating that a valid value is not available.
    certificates_lists Sequence[GetTseGatewayCertificatesResultCertificatesList]
    Certificate list of gateway. Note: This field may return null, indicating that a valid value is not available.
    total float
    Total count. Note: This field may return null, indicating that a valid value is not available.
    certificatesLists List<Property Map>
    Certificate list of gateway. Note: This field may return null, indicating that a valid value is not available.
    total Number
    Total count. Note: This field may return null, indicating that a valid value is not available.

    GetTseGatewayCertificatesResultCertificatesList

    BindDomains List<string>
    Domains of the binding. Note: This field may return null, indicating that a valid value is not available.
    CertId string
    Certificate ID of ssl platform. Note: This field may return null, indicating that a valid value is not available.
    CertSource string
    Source of certificate. Reference value:- native. Source: konga- ssl. Source: ssl platform. Note: This field may return null, indicating that a valid value is not available.
    CreateTime string
    Upload time of certificate. Note: This field may return null, indicating that a valid value is not available.
    Crt string
    Pem format of certificate. Note: This field may return null, indicating that a valid value is not available.
    ExpireTime string
    Expiration time of certificate. Note: This field may return null, indicating that a valid value is not available.
    Id string
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    IssueTime string
    Issuance time of certificateNote: This field may return null, indicating that a valid value is not available.
    Key string
    Private key of certificate. Note: This field may return null, indicating that a valid value is not available.
    Name string
    Certificate name. Note: This field may return null, indicating that a valid value is not available.
    Status string
    Status of certificate. Reference value:- expired- active. Note: This field may return null, indicating that a valid value is not available.
    BindDomains []string
    Domains of the binding. Note: This field may return null, indicating that a valid value is not available.
    CertId string
    Certificate ID of ssl platform. Note: This field may return null, indicating that a valid value is not available.
    CertSource string
    Source of certificate. Reference value:- native. Source: konga- ssl. Source: ssl platform. Note: This field may return null, indicating that a valid value is not available.
    CreateTime string
    Upload time of certificate. Note: This field may return null, indicating that a valid value is not available.
    Crt string
    Pem format of certificate. Note: This field may return null, indicating that a valid value is not available.
    ExpireTime string
    Expiration time of certificate. Note: This field may return null, indicating that a valid value is not available.
    Id string
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    IssueTime string
    Issuance time of certificateNote: This field may return null, indicating that a valid value is not available.
    Key string
    Private key of certificate. Note: This field may return null, indicating that a valid value is not available.
    Name string
    Certificate name. Note: This field may return null, indicating that a valid value is not available.
    Status string
    Status of certificate. Reference value:- expired- active. Note: This field may return null, indicating that a valid value is not available.
    bindDomains List<String>
    Domains of the binding. Note: This field may return null, indicating that a valid value is not available.
    certId String
    Certificate ID of ssl platform. Note: This field may return null, indicating that a valid value is not available.
    certSource String
    Source of certificate. Reference value:- native. Source: konga- ssl. Source: ssl platform. Note: This field may return null, indicating that a valid value is not available.
    createTime String
    Upload time of certificate. Note: This field may return null, indicating that a valid value is not available.
    crt String
    Pem format of certificate. Note: This field may return null, indicating that a valid value is not available.
    expireTime String
    Expiration time of certificate. Note: This field may return null, indicating that a valid value is not available.
    id String
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    issueTime String
    Issuance time of certificateNote: This field may return null, indicating that a valid value is not available.
    key String
    Private key of certificate. Note: This field may return null, indicating that a valid value is not available.
    name String
    Certificate name. Note: This field may return null, indicating that a valid value is not available.
    status String
    Status of certificate. Reference value:- expired- active. Note: This field may return null, indicating that a valid value is not available.
    bindDomains string[]
    Domains of the binding. Note: This field may return null, indicating that a valid value is not available.
    certId string
    Certificate ID of ssl platform. Note: This field may return null, indicating that a valid value is not available.
    certSource string
    Source of certificate. Reference value:- native. Source: konga- ssl. Source: ssl platform. Note: This field may return null, indicating that a valid value is not available.
    createTime string
    Upload time of certificate. Note: This field may return null, indicating that a valid value is not available.
    crt string
    Pem format of certificate. Note: This field may return null, indicating that a valid value is not available.
    expireTime string
    Expiration time of certificate. Note: This field may return null, indicating that a valid value is not available.
    id string
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    issueTime string
    Issuance time of certificateNote: This field may return null, indicating that a valid value is not available.
    key string
    Private key of certificate. Note: This field may return null, indicating that a valid value is not available.
    name string
    Certificate name. Note: This field may return null, indicating that a valid value is not available.
    status string
    Status of certificate. Reference value:- expired- active. Note: This field may return null, indicating that a valid value is not available.
    bind_domains Sequence[str]
    Domains of the binding. Note: This field may return null, indicating that a valid value is not available.
    cert_id str
    Certificate ID of ssl platform. Note: This field may return null, indicating that a valid value is not available.
    cert_source str
    Source of certificate. Reference value:- native. Source: konga- ssl. Source: ssl platform. Note: This field may return null, indicating that a valid value is not available.
    create_time str
    Upload time of certificate. Note: This field may return null, indicating that a valid value is not available.
    crt str
    Pem format of certificate. Note: This field may return null, indicating that a valid value is not available.
    expire_time str
    Expiration time of certificate. Note: This field may return null, indicating that a valid value is not available.
    id str
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    issue_time str
    Issuance time of certificateNote: This field may return null, indicating that a valid value is not available.
    key str
    Private key of certificate. Note: This field may return null, indicating that a valid value is not available.
    name str
    Certificate name. Note: This field may return null, indicating that a valid value is not available.
    status str
    Status of certificate. Reference value:- expired- active. Note: This field may return null, indicating that a valid value is not available.
    bindDomains List<String>
    Domains of the binding. Note: This field may return null, indicating that a valid value is not available.
    certId String
    Certificate ID of ssl platform. Note: This field may return null, indicating that a valid value is not available.
    certSource String
    Source of certificate. Reference value:- native. Source: konga- ssl. Source: ssl platform. Note: This field may return null, indicating that a valid value is not available.
    createTime String
    Upload time of certificate. Note: This field may return null, indicating that a valid value is not available.
    crt String
    Pem format of certificate. Note: This field may return null, indicating that a valid value is not available.
    expireTime String
    Expiration time of certificate. Note: This field may return null, indicating that a valid value is not available.
    id String
    Certificate ID. Note: This field may return null, indicating that a valid value is not available.
    issueTime String
    Issuance time of certificateNote: This field may return null, indicating that a valid value is not available.
    key String
    Private key of certificate. Note: This field may return null, indicating that a valid value is not available.
    name String
    Certificate name. Note: This field may return null, indicating that a valid value is not available.
    status String
    Status of certificate. Reference value:- expired- active. Note: This field may return null, indicating that a valid value is not available.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack