tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getGaapCertificates
Start a Neo task
Explain and create a tencentcloud.getGaapCertificates resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query GAAP certificate.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const fooGaapCertificate = new tencentcloud.GaapCertificate("foo", {
type: "BASIC",
content: "test:tx2KGdo3zJg/.",
name: "test_certificate",
});
const foo = tencentcloud.getGaapCertificatesOutput({
id: fooGaapCertificate.gaapCertificateId,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo_gaap_certificate = tencentcloud.GaapCertificate("foo",
type="BASIC",
content="test:tx2KGdo3zJg/.",
name="test_certificate")
foo = tencentcloud.get_gaap_certificates_output(id=foo_gaap_certificate.gaap_certificate_id)
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 {
fooGaapCertificate, err := tencentcloud.NewGaapCertificate(ctx, "foo", &tencentcloud.GaapCertificateArgs{
Type: pulumi.String("BASIC"),
Content: pulumi.String("test:tx2KGdo3zJg/."),
Name: pulumi.String("test_certificate"),
})
if err != nil {
return err
}
_ = tencentcloud.GetGaapCertificatesOutput(ctx, tencentcloud.GetGaapCertificatesOutputArgs{
Id: fooGaapCertificate.GaapCertificateId,
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var fooGaapCertificate = new Tencentcloud.GaapCertificate("foo", new()
{
Type = "BASIC",
Content = "test:tx2KGdo3zJg/.",
Name = "test_certificate",
});
var foo = Tencentcloud.GetGaapCertificates.Invoke(new()
{
Id = fooGaapCertificate.GaapCertificateId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.GaapCertificate;
import com.pulumi.tencentcloud.GaapCertificateArgs;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetGaapCertificatesArgs;
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) {
var fooGaapCertificate = new GaapCertificate("fooGaapCertificate", GaapCertificateArgs.builder()
.type("BASIC")
.content("test:tx2KGdo3zJg/.")
.name("test_certificate")
.build());
final var foo = TencentcloudFunctions.getGaapCertificates(GetGaapCertificatesArgs.builder()
.id(fooGaapCertificate.gaapCertificateId())
.build());
}
}
resources:
fooGaapCertificate:
type: tencentcloud:GaapCertificate
name: foo
properties:
type: BASIC
content: test:tx2KGdo3zJg/.
name: test_certificate
variables:
foo:
fn::invoke:
function: tencentcloud:getGaapCertificates
arguments:
id: ${fooGaapCertificate.gaapCertificateId}
Using getGaapCertificates
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 getGaapCertificates(args: GetGaapCertificatesArgs, opts?: InvokeOptions): Promise<GetGaapCertificatesResult>
function getGaapCertificatesOutput(args: GetGaapCertificatesOutputArgs, opts?: InvokeOptions): Output<GetGaapCertificatesResult>def get_gaap_certificates(id: Optional[str] = None,
name: Optional[str] = None,
result_output_file: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGaapCertificatesResult
def get_gaap_certificates_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGaapCertificatesResult]func GetGaapCertificates(ctx *Context, args *GetGaapCertificatesArgs, opts ...InvokeOption) (*GetGaapCertificatesResult, error)
func GetGaapCertificatesOutput(ctx *Context, args *GetGaapCertificatesOutputArgs, opts ...InvokeOption) GetGaapCertificatesResultOutput> Note: This function is named GetGaapCertificates in the Go SDK.
public static class GetGaapCertificates
{
public static Task<GetGaapCertificatesResult> InvokeAsync(GetGaapCertificatesArgs args, InvokeOptions? opts = null)
public static Output<GetGaapCertificatesResult> Invoke(GetGaapCertificatesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGaapCertificatesResult> getGaapCertificates(GetGaapCertificatesArgs args, InvokeOptions options)
public static Output<GetGaapCertificatesResult> getGaapCertificates(GetGaapCertificatesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getGaapCertificates:getGaapCertificates
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- ID of the certificate to be queried.
- Name string
- Name of the certificate to be queried.
- Result
Output stringFile - Used to save results.
- Type string
- Type of the certificate to be queried. Valid values:
BASIC,CLIENT,SERVER,REALSERVERandPROXY.BASICmeans basic certificate;CLIENTmeans client CA certificate;SERVERmeans server SSL certificate;REALSERVERmeans realserver CA certificate;PROXYmeans proxy SSL certificate.
- Id string
- ID of the certificate to be queried.
- Name string
- Name of the certificate to be queried.
- Result
Output stringFile - Used to save results.
- Type string
- Type of the certificate to be queried. Valid values:
BASIC,CLIENT,SERVER,REALSERVERandPROXY.BASICmeans basic certificate;CLIENTmeans client CA certificate;SERVERmeans server SSL certificate;REALSERVERmeans realserver CA certificate;PROXYmeans proxy SSL certificate.
- id String
- ID of the certificate to be queried.
- name String
- Name of the certificate to be queried.
- result
Output StringFile - Used to save results.
- type String
- Type of the certificate to be queried. Valid values:
BASIC,CLIENT,SERVER,REALSERVERandPROXY.BASICmeans basic certificate;CLIENTmeans client CA certificate;SERVERmeans server SSL certificate;REALSERVERmeans realserver CA certificate;PROXYmeans proxy SSL certificate.
- id string
- ID of the certificate to be queried.
- name string
- Name of the certificate to be queried.
- result
Output stringFile - Used to save results.
- type string
- Type of the certificate to be queried. Valid values:
BASIC,CLIENT,SERVER,REALSERVERandPROXY.BASICmeans basic certificate;CLIENTmeans client CA certificate;SERVERmeans server SSL certificate;REALSERVERmeans realserver CA certificate;PROXYmeans proxy SSL certificate.
- id str
- ID of the certificate to be queried.
- name str
- Name of the certificate to be queried.
- result_
output_ strfile - Used to save results.
- type str
- Type of the certificate to be queried. Valid values:
BASIC,CLIENT,SERVER,REALSERVERandPROXY.BASICmeans basic certificate;CLIENTmeans client CA certificate;SERVERmeans server SSL certificate;REALSERVERmeans realserver CA certificate;PROXYmeans proxy SSL certificate.
- id String
- ID of the certificate to be queried.
- name String
- Name of the certificate to be queried.
- result
Output StringFile - Used to save results.
- type String
- Type of the certificate to be queried. Valid values:
BASIC,CLIENT,SERVER,REALSERVERandPROXY.BASICmeans basic certificate;CLIENTmeans client CA certificate;SERVERmeans server SSL certificate;REALSERVERmeans realserver CA certificate;PROXYmeans proxy SSL certificate.
getGaapCertificates Result
The following output properties are available:
- Certificates
List<Get
Gaap Certificates Certificate> - An information list of certificate. Each element contains the following attributes:
- Id string
- ID of the certificate.
- Name string
- Name of the certificate.
- Result
Output stringFile - Type string
- Type of the certificate.
- Certificates
[]Get
Gaap Certificates Certificate - An information list of certificate. Each element contains the following attributes:
- Id string
- ID of the certificate.
- Name string
- Name of the certificate.
- Result
Output stringFile - Type string
- Type of the certificate.
- certificates
List<Get
Gaap Certificates Certificate> - An information list of certificate. Each element contains the following attributes:
- id String
- ID of the certificate.
- name String
- Name of the certificate.
- result
Output StringFile - type String
- Type of the certificate.
- certificates
Get
Gaap Certificates Certificate[] - An information list of certificate. Each element contains the following attributes:
- id string
- ID of the certificate.
- name string
- Name of the certificate.
- result
Output stringFile - type string
- Type of the certificate.
- certificates
Sequence[Get
Gaap Certificates Certificate] - An information list of certificate. Each element contains the following attributes:
- id str
- ID of the certificate.
- name str
- Name of the certificate.
- result_
output_ strfile - type str
- Type of the certificate.
- certificates List<Property Map>
- An information list of certificate. Each element contains the following attributes:
- id String
- ID of the certificate.
- name String
- Name of the certificate.
- result
Output StringFile - type String
- Type of the certificate.
Supporting Types
GetGaapCertificatesCertificate
- Begin
Time string - Beginning time of the certificate.
- Create
Time string - Creation time of the certificate.
- End
Time string - Ending time of the certificate.
- Id string
- ID of the certificate to be queried.
- Issuer
Cn string - Issuer name of the certificate.
- Name string
- Name of the certificate to be queried.
- Subject
Cn string - Subject name of the certificate.
- Type string
- Type of the certificate to be queried. Valid values:
BASIC,CLIENT,SERVER,REALSERVERandPROXY.BASICmeans basic certificate;CLIENTmeans client CA certificate;SERVERmeans server SSL certificate;REALSERVERmeans realserver CA certificate;PROXYmeans proxy SSL certificate.
- Begin
Time string - Beginning time of the certificate.
- Create
Time string - Creation time of the certificate.
- End
Time string - Ending time of the certificate.
- Id string
- ID of the certificate to be queried.
- Issuer
Cn string - Issuer name of the certificate.
- Name string
- Name of the certificate to be queried.
- Subject
Cn string - Subject name of the certificate.
- Type string
- Type of the certificate to be queried. Valid values:
BASIC,CLIENT,SERVER,REALSERVERandPROXY.BASICmeans basic certificate;CLIENTmeans client CA certificate;SERVERmeans server SSL certificate;REALSERVERmeans realserver CA certificate;PROXYmeans proxy SSL certificate.
- begin
Time String - Beginning time of the certificate.
- create
Time String - Creation time of the certificate.
- end
Time String - Ending time of the certificate.
- id String
- ID of the certificate to be queried.
- issuer
Cn String - Issuer name of the certificate.
- name String
- Name of the certificate to be queried.
- subject
Cn String - Subject name of the certificate.
- type String
- Type of the certificate to be queried. Valid values:
BASIC,CLIENT,SERVER,REALSERVERandPROXY.BASICmeans basic certificate;CLIENTmeans client CA certificate;SERVERmeans server SSL certificate;REALSERVERmeans realserver CA certificate;PROXYmeans proxy SSL certificate.
- begin
Time string - Beginning time of the certificate.
- create
Time string - Creation time of the certificate.
- end
Time string - Ending time of the certificate.
- id string
- ID of the certificate to be queried.
- issuer
Cn string - Issuer name of the certificate.
- name string
- Name of the certificate to be queried.
- subject
Cn string - Subject name of the certificate.
- type string
- Type of the certificate to be queried. Valid values:
BASIC,CLIENT,SERVER,REALSERVERandPROXY.BASICmeans basic certificate;CLIENTmeans client CA certificate;SERVERmeans server SSL certificate;REALSERVERmeans realserver CA certificate;PROXYmeans proxy SSL certificate.
- begin_
time str - Beginning time of the certificate.
- create_
time str - Creation time of the certificate.
- end_
time str - Ending time of the certificate.
- id str
- ID of the certificate to be queried.
- issuer_
cn str - Issuer name of the certificate.
- name str
- Name of the certificate to be queried.
- subject_
cn str - Subject name of the certificate.
- type str
- Type of the certificate to be queried. Valid values:
BASIC,CLIENT,SERVER,REALSERVERandPROXY.BASICmeans basic certificate;CLIENTmeans client CA certificate;SERVERmeans server SSL certificate;REALSERVERmeans realserver CA certificate;PROXYmeans proxy SSL certificate.
- begin
Time String - Beginning time of the certificate.
- create
Time String - Creation time of the certificate.
- end
Time String - Ending time of the certificate.
- id String
- ID of the certificate to be queried.
- issuer
Cn String - Issuer name of the certificate.
- name String
- Name of the certificate to be queried.
- subject
Cn String - Subject name of the certificate.
- type String
- Type of the certificate to be queried. Valid values:
BASIC,CLIENT,SERVER,REALSERVERandPROXY.BASICmeans basic certificate;CLIENTmeans client CA certificate;SERVERmeans server SSL certificate;REALSERVERmeans realserver CA certificate;PROXYmeans proxy SSL certificate.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
