tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getGaapCertificates
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 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("fooGaapCertificate", {
type: "BASIC",
content: "test:tx2KGdo3zJg/.",
});
const fooGaapCertificates = tencentcloud.getGaapCertificatesOutput({
id: fooGaapCertificate.gaapCertificateId,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo_gaap_certificate = tencentcloud.GaapCertificate("fooGaapCertificate",
type="BASIC",
content="test:tx2KGdo3zJg/.")
foo_gaap_certificates = 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, "fooGaapCertificate", &tencentcloud.GaapCertificateArgs{
Type: pulumi.String("BASIC"),
Content: pulumi.String("test:tx2KGdo3zJg/."),
})
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("fooGaapCertificate", new()
{
Type = "BASIC",
Content = "test:tx2KGdo3zJg/.",
});
var fooGaapCertificates = 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/.")
.build());
final var fooGaapCertificates = TencentcloudFunctions.getGaapCertificates(GetGaapCertificatesArgs.builder()
.id(fooGaapCertificate.gaapCertificateId())
.build());
}
}
resources:
fooGaapCertificate:
type: tencentcloud:GaapCertificate
properties:
type: BASIC
content: test:tx2KGdo3zJg/.
variables:
fooGaapCertificates:
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 dictionary
The 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
,REALSERVER
andPROXY
.BASIC
means basic certificate;CLIENT
means client CA certificate;SERVER
means server SSL certificate;REALSERVER
means realserver CA certificate;PROXY
means 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
,REALSERVER
andPROXY
.BASIC
means basic certificate;CLIENT
means client CA certificate;SERVER
means server SSL certificate;REALSERVER
means realserver CA certificate;PROXY
means 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
,REALSERVER
andPROXY
.BASIC
means basic certificate;CLIENT
means client CA certificate;SERVER
means server SSL certificate;REALSERVER
means realserver CA certificate;PROXY
means 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
,REALSERVER
andPROXY
.BASIC
means basic certificate;CLIENT
means client CA certificate;SERVER
means server SSL certificate;REALSERVER
means realserver CA certificate;PROXY
means 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
,REALSERVER
andPROXY
.BASIC
means basic certificate;CLIENT
means client CA certificate;SERVER
means server SSL certificate;REALSERVER
means realserver CA certificate;PROXY
means 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
,REALSERVER
andPROXY
.BASIC
means basic certificate;CLIENT
means client CA certificate;SERVER
means server SSL certificate;REALSERVER
means realserver CA certificate;PROXY
means 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
,REALSERVER
andPROXY
.BASIC
means basic certificate;CLIENT
means client CA certificate;SERVER
means server SSL certificate;REALSERVER
means realserver CA certificate;PROXY
means 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
,REALSERVER
andPROXY
.BASIC
means basic certificate;CLIENT
means client CA certificate;SERVER
means server SSL certificate;REALSERVER
means realserver CA certificate;PROXY
means 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
,REALSERVER
andPROXY
.BASIC
means basic certificate;CLIENT
means client CA certificate;SERVER
means server SSL certificate;REALSERVER
means realserver CA certificate;PROXY
means 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
,REALSERVER
andPROXY
.BASIC
means basic certificate;CLIENT
means client CA certificate;SERVER
means server SSL certificate;REALSERVER
means realserver CA certificate;PROXY
means 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
,REALSERVER
andPROXY
.BASIC
means basic certificate;CLIENT
means client CA certificate;SERVER
means server SSL certificate;REALSERVER
means realserver CA certificate;PROXY
means 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
,REALSERVER
andPROXY
.BASIC
means basic certificate;CLIENT
means client CA certificate;SERVER
means server SSL certificate;REALSERVER
means realserver CA certificate;PROXY
means proxy SSL certificate.
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