tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getSslCertificates
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query SSL certificates.
Example Usage
Query all SSL certificates
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getSslCertificates({});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_ssl_certificates()
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.GetSslCertificates(ctx, &tencentcloud.GetSslCertificatesArgs{}, 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 example = Tencentcloud.GetSslCertificates.Invoke();
});
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.GetSslCertificatesArgs;
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 example = TencentcloudFunctions.getSslCertificates();
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getSslCertificates
arguments: {}
Query SSL certificates by filter
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getSslCertificates({
id: "LCYouprI",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_ssl_certificates(id="LCYouprI")
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.GetSslCertificates(ctx, &tencentcloud.GetSslCertificatesArgs{
Id: pulumi.StringRef("LCYouprI"),
}, 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 example = Tencentcloud.GetSslCertificates.Invoke(new()
{
Id = "LCYouprI",
});
});
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.GetSslCertificatesArgs;
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 example = TencentcloudFunctions.getSslCertificates(GetSslCertificatesArgs.builder()
.id("LCYouprI")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getSslCertificates
arguments:
id: LCYouprI
Using getSslCertificates
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 getSslCertificates(args: GetSslCertificatesArgs, opts?: InvokeOptions): Promise<GetSslCertificatesResult>
function getSslCertificatesOutput(args: GetSslCertificatesOutputArgs, opts?: InvokeOptions): Output<GetSslCertificatesResult>
def get_ssl_certificates(id: Optional[str] = None,
name: Optional[str] = None,
result_output_file: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSslCertificatesResult
def get_ssl_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[GetSslCertificatesResult]
func GetSslCertificates(ctx *Context, args *GetSslCertificatesArgs, opts ...InvokeOption) (*GetSslCertificatesResult, error)
func GetSslCertificatesOutput(ctx *Context, args *GetSslCertificatesOutputArgs, opts ...InvokeOption) GetSslCertificatesResultOutput
> Note: This function is named GetSslCertificates
in the Go SDK.
public static class GetSslCertificates
{
public static Task<GetSslCertificatesResult> InvokeAsync(GetSslCertificatesArgs args, InvokeOptions? opts = null)
public static Output<GetSslCertificatesResult> Invoke(GetSslCertificatesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSslCertificatesResult> getSslCertificates(GetSslCertificatesArgs args, InvokeOptions options)
public static Output<GetSslCertificatesResult> getSslCertificates(GetSslCertificatesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getSslCertificates:getSslCertificates
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- ID of the SSL certificate to be queried.
- Name string
- Name of the SSL certificate to be queried.
- Result
Output stringFile - Used to save results.
- Type string
- Type of the SSL certificate to be queried. Available values includes:
CA
andSVR
.
- Id string
- ID of the SSL certificate to be queried.
- Name string
- Name of the SSL certificate to be queried.
- Result
Output stringFile - Used to save results.
- Type string
- Type of the SSL certificate to be queried. Available values includes:
CA
andSVR
.
- id String
- ID of the SSL certificate to be queried.
- name String
- Name of the SSL certificate to be queried.
- result
Output StringFile - Used to save results.
- type String
- Type of the SSL certificate to be queried. Available values includes:
CA
andSVR
.
- id string
- ID of the SSL certificate to be queried.
- name string
- Name of the SSL certificate to be queried.
- result
Output stringFile - Used to save results.
- type string
- Type of the SSL certificate to be queried. Available values includes:
CA
andSVR
.
- id str
- ID of the SSL certificate to be queried.
- name str
- Name of the SSL certificate to be queried.
- result_
output_ strfile - Used to save results.
- type str
- Type of the SSL certificate to be queried. Available values includes:
CA
andSVR
.
- id String
- ID of the SSL certificate to be queried.
- name String
- Name of the SSL certificate to be queried.
- result
Output StringFile - Used to save results.
- type String
- Type of the SSL certificate to be queried. Available values includes:
CA
andSVR
.
getSslCertificates Result
The following output properties are available:
- Certificates
List<Get
Ssl Certificates Certificate> - An information list of certificate. Each element contains the following attributes:
- Id string
- ID of the SSL certificate.
- Name string
- Name of the SSL certificate.
- Result
Output stringFile - Type string
- Type of the SSL certificate.
- Certificates
[]Get
Ssl Certificates Certificate - An information list of certificate. Each element contains the following attributes:
- Id string
- ID of the SSL certificate.
- Name string
- Name of the SSL certificate.
- Result
Output stringFile - Type string
- Type of the SSL certificate.
- certificates
List<Get
Ssl Certificates Certificate> - An information list of certificate. Each element contains the following attributes:
- id String
- ID of the SSL certificate.
- name String
- Name of the SSL certificate.
- result
Output StringFile - type String
- Type of the SSL certificate.
- certificates
Get
Ssl Certificates Certificate[] - An information list of certificate. Each element contains the following attributes:
- id string
- ID of the SSL certificate.
- name string
- Name of the SSL certificate.
- result
Output stringFile - type string
- Type of the SSL certificate.
- certificates
Sequence[Get
Ssl Certificates Certificate] - An information list of certificate. Each element contains the following attributes:
- id str
- ID of the SSL certificate.
- name str
- Name of the SSL certificate.
- result_
output_ strfile - type str
- Type of the SSL certificate.
- certificates List<Property Map>
- An information list of certificate. Each element contains the following attributes:
- id String
- ID of the SSL certificate.
- name String
- Name of the SSL certificate.
- result
Output StringFile - type String
- Type of the SSL certificate.
Supporting Types
GetSslCertificatesCertificate
- Begin
Time string - Beginning time of the SSL certificate.
- Cert string
- Content of the SSL certificate.
- Create
Time string - Creation time of the SSL certificate.
- Domain string
- Primary domain of the SSL certificate.
- Dv
Auths List<GetSsl Certificates Certificate Dv Auth> - DV certification information.
- End
Time string - Ending time of the SSL certificate.
- Id string
- ID of the SSL certificate to be queried.
- Key string
- Key of the SSL certificate.
- Name string
- Name of the SSL certificate to be queried.
- Order
Id string - Order ID returned.
- Owner
Uin string - Account UIN.Note: This field may return NULL, indicating that the valid value cannot be obtained.
- Product
Zh stringName - Certificate authority.
- Project
Id double - Project ID of the SSL certificate.
- Status double
- Status of the SSL certificate.
- Subject
Names List<string> - ALL domains included in the SSL certificate. Including the primary domain name.
- Type string
- Type of the SSL certificate to be queried. Available values includes:
CA
andSVR
. - Validity
Period string - Validity period: unit (month).Note: This field may return NULL, indicating that the valid value cannot be obtained.
- Begin
Time string - Beginning time of the SSL certificate.
- Cert string
- Content of the SSL certificate.
- Create
Time string - Creation time of the SSL certificate.
- Domain string
- Primary domain of the SSL certificate.
- Dv
Auths []GetSsl Certificates Certificate Dv Auth - DV certification information.
- End
Time string - Ending time of the SSL certificate.
- Id string
- ID of the SSL certificate to be queried.
- Key string
- Key of the SSL certificate.
- Name string
- Name of the SSL certificate to be queried.
- Order
Id string - Order ID returned.
- Owner
Uin string - Account UIN.Note: This field may return NULL, indicating that the valid value cannot be obtained.
- Product
Zh stringName - Certificate authority.
- Project
Id float64 - Project ID of the SSL certificate.
- Status float64
- Status of the SSL certificate.
- Subject
Names []string - ALL domains included in the SSL certificate. Including the primary domain name.
- Type string
- Type of the SSL certificate to be queried. Available values includes:
CA
andSVR
. - Validity
Period string - Validity period: unit (month).Note: This field may return NULL, indicating that the valid value cannot be obtained.
- begin
Time String - Beginning time of the SSL certificate.
- cert String
- Content of the SSL certificate.
- create
Time String - Creation time of the SSL certificate.
- domain String
- Primary domain of the SSL certificate.
- dv
Auths List<GetSsl Certificates Certificate Dv Auth> - DV certification information.
- end
Time String - Ending time of the SSL certificate.
- id String
- ID of the SSL certificate to be queried.
- key String
- Key of the SSL certificate.
- name String
- Name of the SSL certificate to be queried.
- order
Id String - Order ID returned.
- owner
Uin String - Account UIN.Note: This field may return NULL, indicating that the valid value cannot be obtained.
- product
Zh StringName - Certificate authority.
- project
Id Double - Project ID of the SSL certificate.
- status Double
- Status of the SSL certificate.
- subject
Names List<String> - ALL domains included in the SSL certificate. Including the primary domain name.
- type String
- Type of the SSL certificate to be queried. Available values includes:
CA
andSVR
. - validity
Period String - Validity period: unit (month).Note: This field may return NULL, indicating that the valid value cannot be obtained.
- begin
Time string - Beginning time of the SSL certificate.
- cert string
- Content of the SSL certificate.
- create
Time string - Creation time of the SSL certificate.
- domain string
- Primary domain of the SSL certificate.
- dv
Auths GetSsl Certificates Certificate Dv Auth[] - DV certification information.
- end
Time string - Ending time of the SSL certificate.
- id string
- ID of the SSL certificate to be queried.
- key string
- Key of the SSL certificate.
- name string
- Name of the SSL certificate to be queried.
- order
Id string - Order ID returned.
- owner
Uin string - Account UIN.Note: This field may return NULL, indicating that the valid value cannot be obtained.
- product
Zh stringName - Certificate authority.
- project
Id number - Project ID of the SSL certificate.
- status number
- Status of the SSL certificate.
- subject
Names string[] - ALL domains included in the SSL certificate. Including the primary domain name.
- type string
- Type of the SSL certificate to be queried. Available values includes:
CA
andSVR
. - validity
Period string - Validity period: unit (month).Note: This field may return NULL, indicating that the valid value cannot be obtained.
- begin_
time str - Beginning time of the SSL certificate.
- cert str
- Content of the SSL certificate.
- create_
time str - Creation time of the SSL certificate.
- domain str
- Primary domain of the SSL certificate.
- dv_
auths Sequence[GetSsl Certificates Certificate Dv Auth] - DV certification information.
- end_
time str - Ending time of the SSL certificate.
- id str
- ID of the SSL certificate to be queried.
- key str
- Key of the SSL certificate.
- name str
- Name of the SSL certificate to be queried.
- order_
id str - Order ID returned.
- owner_
uin str - Account UIN.Note: This field may return NULL, indicating that the valid value cannot be obtained.
- product_
zh_ strname - Certificate authority.
- project_
id float - Project ID of the SSL certificate.
- status float
- Status of the SSL certificate.
- subject_
names Sequence[str] - ALL domains included in the SSL certificate. Including the primary domain name.
- type str
- Type of the SSL certificate to be queried. Available values includes:
CA
andSVR
. - validity_
period str - Validity period: unit (month).Note: This field may return NULL, indicating that the valid value cannot be obtained.
- begin
Time String - Beginning time of the SSL certificate.
- cert String
- Content of the SSL certificate.
- create
Time String - Creation time of the SSL certificate.
- domain String
- Primary domain of the SSL certificate.
- dv
Auths List<Property Map> - DV certification information.
- end
Time String - Ending time of the SSL certificate.
- id String
- ID of the SSL certificate to be queried.
- key String
- Key of the SSL certificate.
- name String
- Name of the SSL certificate to be queried.
- order
Id String - Order ID returned.
- owner
Uin String - Account UIN.Note: This field may return NULL, indicating that the valid value cannot be obtained.
- product
Zh StringName - Certificate authority.
- project
Id Number - Project ID of the SSL certificate.
- status Number
- Status of the SSL certificate.
- subject
Names List<String> - ALL domains included in the SSL certificate. Including the primary domain name.
- type String
- Type of the SSL certificate to be queried. Available values includes:
CA
andSVR
. - validity
Period String - Validity period: unit (month).Note: This field may return NULL, indicating that the valid value cannot be obtained.
GetSslCertificatesCertificateDvAuth
- Dv
Auth stringKey - DV authentication key.
- Dv
Auth stringValue - DV authentication value.
- Dv
Auth stringVerify Type - DV authentication type.
- Dv
Auth stringKey - DV authentication key.
- Dv
Auth stringValue - DV authentication value.
- Dv
Auth stringVerify Type - DV authentication type.
- dv
Auth StringKey - DV authentication key.
- dv
Auth StringValue - DV authentication value.
- dv
Auth StringVerify Type - DV authentication type.
- dv
Auth stringKey - DV authentication key.
- dv
Auth stringValue - DV authentication value.
- dv
Auth stringVerify Type - DV authentication type.
- dv_
auth_ strkey - DV authentication key.
- dv_
auth_ strvalue - DV authentication value.
- dv_
auth_ strverify_ type - DV authentication type.
- dv
Auth StringKey - DV authentication key.
- dv
Auth StringValue - DV authentication value.
- dv
Auth StringVerify Type - DV authentication type.
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