tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getTseGatewayCertificates
Explore with Pulumi AI
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:
- Gateway
Id string - Gateway ID.
- Filters
List<Get
Tse Gateway Certificates Filter> - Filter conditions, valid value:
BindDomain
,Name
. - Id string
- Certificate ID. Note: This field may return null, indicating that a valid value is not available.
- Result
Output stringFile - Used to save results.
- Gateway
Id string - Gateway ID.
- Filters
[]Get
Tse Gateway Certificates Filter - Filter conditions, valid value:
BindDomain
,Name
. - Id string
- Certificate ID. Note: This field may return null, indicating that a valid value is not available.
- Result
Output stringFile - Used to save results.
- gateway
Id String - Gateway ID.
- filters
List<Get
Tse Gateway Certificates Filter> - Filter conditions, valid value:
BindDomain
,Name
. - id String
- Certificate ID. Note: This field may return null, indicating that a valid value is not available.
- result
Output StringFile - Used to save results.
- gateway
Id string - Gateway ID.
- filters
Get
Tse Gateway Certificates Filter[] - Filter conditions, valid value:
BindDomain
,Name
. - id string
- Certificate ID. Note: This field may return null, indicating that a valid value is not available.
- result
Output stringFile - Used to save results.
- gateway_
id str - Gateway ID.
- filters
Sequence[Get
Tse Gateway Certificates Filter] - 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_ strfile - Used to save results.
- gateway
Id 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.
- result
Output StringFile - Used to save results.
getTseGatewayCertificates Result
The following output properties are available:
- Gateway
Id string - Id string
- Certificate ID. Note: This field may return null, indicating that a valid value is not available.
- Results
List<Get
Tse Gateway Certificates Result> - Result.
- Filters
List<Get
Tse Gateway Certificates Filter> - Result
Output stringFile
- Gateway
Id string - Id string
- Certificate ID. Note: This field may return null, indicating that a valid value is not available.
- Results
[]Get
Tse Gateway Certificates Result - Result.
- Filters
[]Get
Tse Gateway Certificates Filter - Result
Output stringFile
- gateway
Id String - id String
- Certificate ID. Note: This field may return null, indicating that a valid value is not available.
- results
List<Get
Tse Gateway Certificates Result> - Result.
- filters
List<Get
Tse Gateway Certificates Filter> - result
Output StringFile
- gateway
Id string - id string
- Certificate ID. Note: This field may return null, indicating that a valid value is not available.
- results
Get
Tse Gateway Certificates Result[] - Result.
- filters
Get
Tse Gateway Certificates Filter[] - result
Output stringFile
- gateway_
id str - id str
- Certificate ID. Note: This field may return null, indicating that a valid value is not available.
- results
Sequence[Get
Tse Gateway Certificates Result] - Result.
- filters
Sequence[Get
Tse Gateway Certificates Filter] - result_
output_ strfile
- gateway
Id 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>
- result
Output StringFile
Supporting Types
GetTseGatewayCertificatesFilter
GetTseGatewayCertificatesResult
- Certificates
Lists List<GetTse Gateway Certificates Result Certificates List> - 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.
- Certificates
Lists []GetTse Gateway Certificates Result Certificates List - 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.
- certificates
Lists List<GetTse Gateway Certificates Result Certificates List> - 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.
- certificates
Lists GetTse Gateway Certificates Result Certificates List[] - 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[GetTse Gateway Certificates Result Certificates List] - 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.
- certificates
Lists 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
- Bind
Domains List<string> - Domains of the binding. Note: This field may return null, indicating that a valid value is not available.
- Cert
Id string - Certificate ID of ssl platform. Note: This field may return null, indicating that a valid value is not available.
- Cert
Source 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.
- Create
Time 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.
- Expire
Time 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.
- Issue
Time 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 []string - Domains of the binding. Note: This field may return null, indicating that a valid value is not available.
- Cert
Id string - Certificate ID of ssl platform. Note: This field may return null, indicating that a valid value is not available.
- Cert
Source 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.
- Create
Time 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.
- Expire
Time 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.
- Issue
Time 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 List<String> - Domains of the binding. Note: This field may return null, indicating that a valid value is not available.
- cert
Id String - Certificate ID of ssl platform. Note: This field may return null, indicating that a valid value is not available.
- cert
Source 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.
- create
Time 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.
- expire
Time 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.
- issue
Time 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 string[] - Domains of the binding. Note: This field may return null, indicating that a valid value is not available.
- cert
Id string - Certificate ID of ssl platform. Note: This field may return null, indicating that a valid value is not available.
- cert
Source 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.
- create
Time 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.
- expire
Time 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.
- issue
Time 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.
- bind
Domains List<String> - Domains of the binding. Note: This field may return null, indicating that a valid value is not available.
- cert
Id String - Certificate ID of ssl platform. Note: This field may return null, indicating that a valid value is not available.
- cert
Source 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.
- create
Time 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.
- expire
Time 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.
- issue
Time 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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack