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

tencentcloud.getTseGatewayCertificates

Explore with Pulumi AI

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",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

gateway_certificates = tencentcloud.get_tse_gateway_certificates(filters=[{
        "key": "BindDomain",
        "value": "example.com",
    }],
    gateway_id="gateway-ddbb709b")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  gatewayCertificates:
    fn::invoke:
      function: tencentcloud:getTseGatewayCertificates
      arguments:
        filters:
          - key: BindDomain
            value: example.com
        gatewayId: gateway-ddbb709b
Copy

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>
Copy
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]
Copy
func LookupTseGatewayCertificates(ctx *Context, args *LookupTseGatewayCertificatesArgs, opts ...InvokeOption) (*LookupTseGatewayCertificatesResult, error)
func LookupTseGatewayCertificatesOutput(ctx *Context, args *LookupTseGatewayCertificatesOutputArgs, opts ...InvokeOption) LookupTseGatewayCertificatesResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetTseGatewayCertificatesResult> getTseGatewayCertificates(GetTseGatewayCertificatesArgs args, InvokeOptions options)
public static Output<GetTseGatewayCertificatesResult> getTseGatewayCertificates(GetTseGatewayCertificatesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getTseGatewayCertificates:getTseGatewayCertificates
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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

GetTseGatewayCertificatesResultCertificatesList

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