tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getTseGatewayCertificates
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 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.
- 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 This property is required. 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
This property is required. double - Total count. Note: This field may return null, indicating that a valid value is not available.
- Certificates
Lists This property is required. []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
This property is required. float64 - Total count. Note: This field may return null, indicating that a valid value is not available.
- certificates
Lists This property is required. 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
This property is required. Double - Total count. Note: This field may return null, indicating that a valid value is not available.
- certificates
Lists This property is required. 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
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[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
This property is required. float - Total count. Note: This field may return null, indicating that a valid value is not available.
- certificates
Lists 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
- Bind
Domains This property is required. List<string> - Domains of the binding. Note: This field may return null, indicating that a valid value is not available.
- Cert
Id This property is required. string - 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. 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 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.
- Expire
Time 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.
- Issue
Time 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. []string - Domains of the binding. Note: This field may return null, indicating that a valid value is not available.
- Cert
Id This property is required. string - 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. 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 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.
- Expire
Time 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.
- Issue
Time 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. List<String> - Domains of the binding. Note: This field may return null, indicating that a valid value is not available.
- cert
Id This property is required. String - 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. 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 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.
- expire
Time 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.
- issue
Time 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. string[] - Domains of the binding. Note: This field may return null, indicating that a valid value is not available.
- cert
Id This property is required. string - 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. 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 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.
- expire
Time 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.
- issue
Time 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.
- bind
Domains This property is required. List<String> - Domains of the binding. Note: This field may return null, indicating that a valid value is not available.
- cert
Id This property is required. String - 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. 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 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.
- expire
Time 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.
- issue
Time 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.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack